* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Indonesian Palette - Bright & Playful */
    --sunset-orange: #FF6B35;
    --tropical-blue: #004E89;
    --bright-yellow: #FFD23F;
    --forest-green: #06A77D;
    --coral-pink: #FF8FA3;
    --sky-blue: #87CEEB;
    --warm-white: #FFFEF7;
    --deep-purple: #6A4C93;
    
    /* Semantic Colors */
    --primary: var(--tropical-blue);
    --secondary: var(--sunset-orange);
    --accent: var(--bright-yellow);
    --success: var(--forest-green);
    --info: var(--sky-blue);
    --warning: var(--coral-pink);
    
    /* Background */
    --bg-main: linear-gradient(135deg, #87CEEB 0%, #FFD23F 25%, #FF8FA3 50%, #06A77D 75%, #FF6B35 100%);
    --surface: rgba(255, 254, 247, 0.95);
    --surface-glass: rgba(255, 255, 255, 0.1);
    --surface-dark: rgba(0, 78, 137, 0.1);
    
    /* Text */
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --text-white: #FFFFFF;
    --text-accent: var(--tropical-blue);
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 210, 63, 0.4);
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    background: var(--bg-main);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* Glass morphism background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 210, 63, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 167, 125, 0.2) 0%, transparent 50%);
    animation: floatingBubbles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatingBubbles {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Screen Management */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px) scale(0.9);
    transition: all 0.5s var(--bounce);
    z-index: 1;
    overflow-y: auto;
    padding: 1rem;
}

.screen.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 10;
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

/* Modern Glass Card Style */
.card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--bright-yellow), var(--forest-green), var(--coral-pink));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Brand Section - Modern & Clean */
.brand {
    margin-bottom: 3rem;
    position: relative;
}

.mascot {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: mascotBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes mascotBounce {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.brand h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--tropical-blue), var(--sunset-orange), var(--forest-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.brand p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 500;
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Modern Typography */
h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-accent);
    position: relative;
}

/* Modern Form Elements */
.form-group {
    margin-bottom: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-accent);
    font-size: clamp(1rem, 3vw, 1.2rem);
    text-align: center;
}

input[type="text"], textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: clamp(1rem, 3vw, 1.2rem);
    background: var(--surface);
    border: 2px solid rgba(0, 78, 137, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
    backdrop-filter: blur(10px);
    text-align: center;
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: var(--tropical-blue);
    box-shadow: 0 0 0 4px rgba(0, 78, 137, 0.1), var(--shadow-md);
    transform: translateY(-2px);
}

input[type="text"]::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    min-height: 56px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    margin: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tropical-blue), var(--sunset-orange));
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-accent);
    border: 2px solid var(--tropical-blue);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: var(--tropical-blue);
    color: var(--text-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Modern Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 1rem 0 1rem;
}

.option {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 78, 137, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    color: var(--text-primary);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--bright-yellow), var(--forest-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.option:hover::before {
    opacity: 1;
}

.option:hover {
    border-color: var(--tropical-blue);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.option.selected {
    border-color: var(--tropical-blue);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 78, 137, 0.1) 100%);
    transform: scale(1.02);
}

.option.recommended {
    position: relative;
    border-color: var(--sunset-orange);
}

.option.recommended::after {
    content: '⭐ Recommended';
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, var(--sunset-orange), var(--coral-pink));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
}

.option.special-merdeka {
    border-color: #FF0000;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 0, 0, 0.05) 100%);
    position: relative;
}

.option.special-merdeka::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF0000, #FFFFFF, #FF0000);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.option.special-merdeka::after {
    content: '🎆 Special Event';
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #FF0000, #DC143C);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    animation: merdekaGlow 2s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
}

@keyframes merdekaGlow {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.option .flag, .option .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.option .name {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-accent);
}

.option .sample, .option .desc {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

/* Modern Countdown Design */
.countdown-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tropical-blue), var(--sunset-orange), var(--forest-green));
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: countdownPulse 1.5s ease-in-out infinite;
}

@keyframes countdownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

#countdown-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#countdown-text {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-accent);
    margin-top: 2rem;
    font-weight: 500;
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Game Interface - Clean & Modern */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-accent);
    font-weight: 600;
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--bright-yellow), var(--forest-green));
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat .label {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat .value {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-accent);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

/* Story Context - Modern Design */
.story-context {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 2rem 0;
    animation: storyFloat 4s ease-in-out infinite;
}

@keyframes storyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.story-mascot {
    font-size: clamp(2.5rem, 6vw, 4rem);
    animation: mascotTalk 2s ease-in-out infinite;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes mascotTalk {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

.story-bubble {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    position: relative;
    flex: 1;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-bubble::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--surface);
}

#sentence {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 1.6;
    font-weight: 500;
    color: var(--text-primary);
}

.char {
    position: relative;
    transition: all 0.2s ease;
    padding: 2px 1px;
    border-radius: 4px;
}

.char.correct {
    color: white;
    background: linear-gradient(135deg, var(--forest-green), var(--sky-blue));
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.char.incorrect {
    color: white;
    background: linear-gradient(135deg, var(--coral-pink), var(--sunset-orange));
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: shake 0.3s ease-in-out;
}

.char.current {
    background: linear-gradient(135deg, var(--bright-yellow), var(--sunset-orange));
    color: var(--text-primary);
    transform: scale(1.1);
    animation: currentBlink 1s ease-in-out infinite;
    box-shadow: 0 4px 8px rgba(255, 210, 63, 0.4);
}

@keyframes currentBlink {
    0%, 100% { box-shadow: 0 4px 8px rgba(255, 210, 63, 0.4); }
    50% { box-shadow: 0 4px 16px rgba(255, 210, 63, 0.8); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0) scale(1.05); }
    25% { transform: translateX(-3px) scale(1.05); }
    75% { transform: translateX(3px) scale(1.05); }
}

/* Typing Input - Modern Style */
#typing-input {
    min-height: 120px;
    resize: none;
    font-size: clamp(1rem, 3vw, 1.3rem);
    line-height: 1.6;
    font-weight: 500;
    border: 2px solid rgba(0, 78, 137, 0.2);
    backdrop-filter: blur(20px);
}

/* Results Screen - Modern Cards */
.celebration {
    margin-bottom: 2rem;
    animation: celebrationBounce 2s ease-in-out infinite;
}

@keyframes celebrationBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.celebration p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 1rem;
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.result-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--bright-yellow), var(--forest-green));
}

.result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.result-card.primary {
    border-color: var(--tropical-blue);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 78, 137, 0.1) 100%);
}

.result-card .icon {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    animation: resultIcon 2s ease-in-out infinite;
}

@keyframes resultIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.result-card .label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-card .value {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-accent);
    font-family: 'Poppins', sans-serif;
}

/* Actions - Modern Layout */
.actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .screen {
        padding: 1rem;
        height: 100vh;
        overflow-y: auto;
    }
    
    .brand h1 {
        font-size: 2rem;
    }
    
    .brand p {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .option {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .story-context {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .story-bubble::before {
        display: none;
    }
    
    .story-bubble {
        padding: 1.5rem;
    }
    
    #sentence {
        font-size: 1.1rem;
    }
    
    .countdown-circle {
        width: 160px;
        height: 160px;
    }
    
    #countdown-number {
        font-size: 3rem;
    }
    
    #countdown-text {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .result-card {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }
    
    .actions {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .game-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
    }
    
    input[type="text"], textarea {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .result-card {
        padding: 1.25rem 1rem;
        min-height: 100px;
    }
    
    .result-card .value {
        font-size: 1.5rem;
    }
    
    .mascot {
        font-size: 3rem;
    }
    
    .story-mascot {
        font-size: 3rem;
    }
    
    .mascot-celebration {
        font-size: 3.5rem;
    }
    
    .countdown-circle {
        width: 140px;
        height: 140px;
    }
    
    #countdown-number {
        font-size: 2.5rem;
    }
    
    .option {
        min-height: 120px;
        padding: 1.25rem 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .screen {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    }
    
    .btn, .option, .result-card, .card {
        border-width: 2px;
    }
}