* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: hidden;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.app-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: auto 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.app-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 480px) {
    .app-card {
        flex-direction: row;
    }
}

.app-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.app-icon img {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    object-fit: cover;
    border: 1px solid #c0c0c0;
}

.app-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #333;
}

.app-description {
    color: #666;
    margin-bottom: 16px;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #777;
}

.download-button {
    display: inline-block;
    background-color: #3858a6;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.download-button:hover, .download-button:active {
    background-color: #284289;
}

.button-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.note {
    font-size: 14px;
    color: #888;
}

/* iOS specific styles */
.ios-button {
    background-color: #007AFF;
}

.ios-button:hover, .ios-button:active {
    background-color: #0062cc;
}

/* Other downloads link */
.other-downloads-link {
    margin-top: 16px;
    color: #3858a6;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.other-downloads-link:hover {
    text-decoration: underline;
}

/* All downloads view */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.download-option-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.android-option {
    background-color: #3858a6;
}

.android-option:hover {
    background-color: #284289;
}

.ios-option {
    background-color: #007AFF;
}

.ios-option:hover {
    background-color: #0062cc;
}

.play-store-option {
    background-color: #01875f;
}

.play-store-option:hover {
    background-color: #016d4e;
}

.back-link {
    margin-top: 16px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
    color: #3858a6;
}

/* APK download link */
.apk-download-link {
    font-size: 14px;
    display: inline-block;
    color: #3858a6;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 16px;
    width: 100%;
}

.apk-download-link:hover {
    text-decoration: underline;
}

/* Instructions view */
.instructions {
    margin-bottom: 24px;
}

.instruction-steps {
    padding-left: 24px;
    margin-bottom: 24px;
}

.instruction-steps li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
}
