:root {
    --primary-color: #25D366;
    --primary-dark: #075E54;
    --text-gray: #4A5568;
    --bg-color: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
}

/* Celebration Modal Styles */
.celebration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.63);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.celebration-modal.show {
    display: flex;
    opacity: 1;
}

.celebration-content {
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    width: 400px;
}

.celebration-modal.show .celebration-content {
    transform: scale(1);
}

.celebration-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.celebration-content p {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.close-celebration {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: none;
}

.close-celebration:hover {
    background-color: #1fa855;
}

/* Header Styles */
.header {
    background-color: var(--primary-dark);
    padding: 1rem;
    color: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
}

.icon-small {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    max-width: 28rem;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.card {
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.choice-button {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.choice-button:hover {
    border-color: var(--primary-color);
}

.choice-button.selected {
    border-color: var(--primary-color);
    background-color: rgba(37, 211, 102, 0.05);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.button-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-dark);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.choice-button:hover .button-icon,
.choice-button.selected .button-icon {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

.button-text {
    flex: 1;
}

.button-text h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.button-text p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.choice-button.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Footer Styles */
.footer {
    margin-top: auto;
    padding: 1.5rem;
    background-color: white;
    box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 640px) {
    .card {
        padding: 1.5rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .button-text h2 {
        font-size: 1rem;
    }
}