@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #f7fafc;
    line-height: 1.6;
    overflow-x: hidden;
    image-rendering: pixelated;
    min-height: 100vh;
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */
.pixel-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: starTwinkle 8s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 0, 0, 0.15) 3px);
    pointer-events: none;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* ========================================
   MOBILE HEADER WITH HAMBURGER MENU
   ======================================== */
.arcade-header {
    background: #2d3748;
    border-bottom: 4px solid #4a5568;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.arcade-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 101;
}

.logo-pixel {
    font-size: 1.75rem;
    animation: pixelBounce 1.5s ease-in-out infinite;
}

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

.logo-title {
    font-size: 0.75rem;
    color: #ffd700;
    text-shadow: 2px 2px 0 #ff69b4;
    white-space: nowrap;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 101;
}

.hamburger {
    width: 24px;
    height: 3px;
    background: #ffd700;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.65rem;
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-cta {
    display: none;
}

.desktop-only {
    display: inline-block;
}

/* Button Styles */
.pixel-btn {
    font-family: 'Press Start 2P', cursive;
    padding: 0.875rem 1.5rem;
    border: 4px solid;
    background: #48bb78;
    color: #1a202c;
    border-color: #38a169;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 0 #2f855a, 0 8px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.1s;
    font-size: 0.7rem;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pixel-btn:hover {
    background: #68d391;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2f855a, 0 10px 0 rgba(0, 0, 0, 0.3);
}

.pixel-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2f855a, 0 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-play {
    background: #f56565;
    border-color: #e53e3e;
    box-shadow: 0 4px 0 #c53030, 0 8px 0 rgba(0, 0, 0, 0.3);
}

.btn-play:hover {
    background: #fc8181;
    box-shadow: 0 6px 0 #c53030, 0 10px 0 rgba(0, 0, 0, 0.3);
}

.btn-play:active {
    box-shadow: 0 2px 0 #c53030, 0 4px 0 rgba(0, 0, 0, 0.3);
}

/* ========================================
   HERO SECTION - MOBILE OPTIMIZED
   ======================================== */
.hero-arcade {
    padding: 3rem 1rem;
    min-height: auto;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-left {
    animation: slideInLeft 0.8s ease-out;
    text-align: center;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.insert-coin {
    background: #1a202c;
    border: 3px solid #ffd700;
    padding: 0.75rem 1.25rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
    color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: coinBlink 2s ease-in-out infinite;
}

@keyframes coinBlink {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

.coin-blink {
    animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.title-arcade {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: #fff;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.title-highlight {
    display: block;
    color: #ffd700;
    text-shadow: 3px 3px 0 #ff69b4, 6px 6px 0 rgba(0, 0, 0, 0.3);
    animation: titlePulse 2s ease-in-out infinite;
}

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

.hero-text {
    font-size: 0.75rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: stretch;
}

.btn-start {
    background: #4299e1;
    border-color: #3182ce;
    box-shadow: 0 4px 0 #2c5282, 0 8px 0 rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
    padding: 1.125rem 2rem;
    width: 100%;
}

.btn-start:hover {
    background: #63b3ed;
    box-shadow: 0 6px 0 #2c5282, 0 10px 0 rgba(0, 0, 0, 0.3);
}

.btn-start:active {
    box-shadow: 0 2px 0 #2c5282, 0 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-info {
    background: #a0aec0;
    border-color: #718096;
    box-shadow: 0 4px 0 #4a5568, 0 8px 0 rgba(0, 0, 0, 0.3);
    width: 100%;
}

.btn-info:hover {
    background: #cbd5e0;
    box-shadow: 0 6px 0 #4a5568, 0 10px 0 rgba(0, 0, 0, 0.3);
}

.btn-info:active {
    box-shadow: 0 2px 0 #4a5568, 0 4px 0 rgba(0, 0, 0, 0.3);
}

.arcade-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

.stat-pixel {
    background: #1a202c;
    border: 3px solid #4a5568;
    padding: 1rem 0.5rem;
    text-align: center;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.stat-num {
    font-size: 1.25rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-txt {
    font-size: 0.55rem;
    color: #a0aec0;
}

.hero-right {
    animation: slideInRight 0.8s ease-out;
    max-width: 500px;
    margin: 0 auto;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-screen-preview {
    animation: floatPreview 6s ease-in-out infinite;
}

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

.screen-border {
    background: #2d3748;
    border: 5px solid #4a5568;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3), 0 0 0 3px #1a202c;
    position: relative;
}

.screen-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ff69b4, #00ff00, #00bfff);
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.screen-content {
    background: #1a202c;
    padding: 1.5rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
}

.preview-timer {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    color: #ffd700;
}

.preview-hearts {
    font-size: 1rem;
}

.preview-letter {
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 3px 3px 0 #ff69b4, 6px 6px 0 rgba(0, 0, 0, 0.4);
    animation: letterFloat 2s ease-in-out infinite;
}

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

.preview-question {
    font-size: 0.65rem;
    color: #63b3ed;
    text-align: center;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    width: 100%;
}

.preview-btn {
    font-family: 'Press Start 2P', cursive;
    background: #4a5568;
    color: #f7fafc;
    border: 3px solid #718096;
    padding: 0.875rem;
    font-size: 0.7rem;
    cursor: pointer;
    box-shadow: 0 4px 0 #2d3748;
    transition: all 0.1s;
    min-height: 48px;
}

.preview-btn:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2d3748;
}

.preview-correct {
    background: #48bb78;
    border-color: #38a169;
    box-shadow: 0 0 20px rgba(72, 187, 120, 0.5);
}

/* ========================================
   SECTION CONTAINERS
   ======================================== */
.features-arcade,
.learning-center-section,
.exam-section,
.metrics-arcade,
.faq-section,
.howto-arcade,
.cta-arcade {
    padding: 3rem 1rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 0 #ff69b4, 4px 4px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.title-underline {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    margin: 0 auto;
}

.section-desc {
    font-size: 0.7rem;
    color: #cbd5e0;
    margin-top: 1rem;
    line-height: 1.6;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-arcade {
    background: #1a202c;
    border-top: 4px solid #4a5568;
    border-bottom: 4px solid #4a5568;
}

.features-grid-pixel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-box {
    background: #2d3748;
    border: 4px solid #4a5568;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.feature-box:active {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    border-color: #ffd700;
}

.feature-icon-pixel {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.feature-name {
    font-size: 0.85rem;
    color: #63b3ed;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-desc {
    font-size: 0.65rem;
    color: #cbd5e0;
    line-height: 1.7;
}

/* ========================================
   LEARNING CENTER - MOBILE OPTIMIZED
   ======================================== */
.learning-center-section {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-top: 4px solid #4a5568;
    border-bottom: 4px solid #4a5568;
}

.learning-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.learning-card {
    background: #2d3748;
    border: 4px solid #4a5568;
    padding: 1.75rem 1.5rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.learning-card:active {
    transform: translateY(-4px);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
    border-color: #ffd700;
}

.learning-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.learning-title {
    font-size: 0.95rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.learning-content {
    flex: 1;
    text-align: left;
}

.technique-head {
    font-size: 0.7rem;
    color: #63b3ed;
    margin: 1rem 0 0.625rem 0;
    line-height: 1.4;
}

.technique-text {
    font-size: 0.625rem;
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.technique-text strong {
    color: #ffd700;
}

.learning-btn {
    font-family: 'Press Start 2P', cursive;
    display: block;
    text-align: center;
    padding: 1rem;
    background: #4299e1;
    color: #1a202c;
    border: 3px solid #3182ce;
    text-decoration: none;
    margin-top: 1.5rem;
    box-shadow: 0 4px 0 #2c5282;
    transition: all 0.1s;
    font-size: 0.65rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2c5282;
}

/* ========================================
   EXAM SECTION
   ======================================== */
.exam-section {
    background: #1a202c;
    border-top: 4px solid #4a5568;
    border-bottom: 4px solid #4a5568;
}

.exam-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.exam-box {
    background: #2d3748;
    border: 4px solid #4a5568;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.exam-box:active {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    border-color: #ffd700;
}

.exam-badge {
    background: #f56565;
    color: #1a202c;
    font-size: 0.65rem;
    padding: 0.5rem 1.25rem;
    display: inline-block;
    margin-bottom: 1.25rem;
    border: 3px solid #1a202c;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.exam-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.exam-name {
    font-size: 0.95rem;
    color: #ffd700;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.exam-points {
    list-style: none;
    text-align: left;
}

.exam-points li {
    font-size: 0.65rem;
    color: #e2e8f0;
    padding: 0.625rem;
    margin-bottom: 0.5rem;
    background: #1a202c;
    border-left: 4px solid #63b3ed;
    line-height: 1.6;
}

/* ========================================
   FAQ SECTION - ACCORDION STYLE
   ======================================== */
.faq-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-top: 4px solid #4a5568;
    border-bottom: 4px solid #4a5568;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-box {
    background: #2d3748;
    border: 4px solid #4a5568;
    padding: 1.5rem;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.faq-box:active {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    border-color: #63b3ed;
}

.faq-question {
    font-size: 0.75rem;
    color: #ffd700;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.faq-answer {
    font-size: 0.65rem;
    color: #cbd5e0;
    line-height: 1.8;
}

/* ========================================
   METRICS SECTION
   ======================================== */
.metrics-arcade {
    background: #1a202c;
    border-top: 4px solid #4a5568;
    border-bottom: 4px solid #4a5568;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.metric-box {
    background: #2d3748;
    border: 4px solid #4a5568;
    padding: 1.75rem 1rem;
    text-align: center;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.metric-box:active {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    border-color: #ffd700;
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.metric-number {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 0.55rem;
    color: #a0aec0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.howto-arcade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.steps-pixel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-box {
    background: #2d3748;
    border: 4px solid #4a5568;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.step-box:active {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.step-badge {
    background: #ffd700;
    color: #1a202c;
    font-size: 0.65rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 3px solid #1a202c;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-name {
    font-size: 0.95rem;
    color: #ffd700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.step-info {
    font-size: 0.65rem;
    color: #cbd5e0;
    line-height: 1.7;
}

.step-arrow {
    display: none;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-arcade {
    background: #1a202c;
    border-top: 4px solid #4a5568;
    text-align: center;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
}

.cta-flash {
    background: #f56565;
    color: #1a202c;
    font-size: 0.65rem;
    padding: 0.5rem 1.25rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 3px solid #1a202c;
    animation: flashPulse 1.5s ease-in-out infinite;
}

@keyframes flashPulse {
    0%, 100% {
        background: #f56565;
        box-shadow: 0 0 20px rgba(245, 101, 101, 0.5);
    }
    50% {
        background: #fc8181;
        box-shadow: 0 0 40px rgba(245, 101, 101, 1);
    }
}

.cta-title {
    font-size: 1.75rem;
    color: #ffd700;
    text-shadow: 3px 3px 0 #ff69b4, 6px 6px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.cta-subtitle {
    font-size: 0.75rem;
    color: #cbd5e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-giant {
    font-size: 0.85rem;
    padding: 1.25rem 2rem;
    background: #ffd700;
    border-color: #ff69b4;
    color: #1a202c;
    box-shadow: 0 6px 0 #c53030, 0 12px 0 rgba(0, 0, 0, 0.3);
    animation: btnGlow 2s ease-in-out infinite;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow: 0 6px 0 #c53030, 0 12px 0 rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 6px 0 #c53030, 0 12px 0 rgba(0, 0, 0, 0.3), 0 0 50px rgba(255, 215, 0, 1);
    }
}

.btn-giant:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #c53030, 0 6px 0 rgba(0, 0, 0, 0.3);
}

.cta-note {
    font-size: 0.625rem;
    color: #a0aec0;
    margin-top: 1.25rem;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-arcade {
    background: #2d3748;
    border-top: 4px solid #4a5568;
    padding: 2.5rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 0.85rem;
    color: #ffd700;
    margin-bottom: 0.875rem;
}

.footer-tagline {
    font-size: 0.65rem;
    color: #a0aec0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-links {
    font-size: 0.6rem;
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-link {
    color: #63b3ed;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.5rem;
    display: inline-block;
}

.footer-link:active {
    color: #ffd700;
}

.footer-copy {
    font-size: 0.55rem;
    color: #718096;
    line-height: 1.6;
}

/* ========================================
   TABLET STYLES (768px and up)
   ======================================== */
@media (min-width: 768px) {
    .header-container {
        padding: 0 2rem;
    }

    .logo-title {
        font-size: 0.85rem;
    }

    .hero-arcade {
        padding: 4rem 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: left;
    }

    .title-arcade {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.8rem;
        margin-left: 0;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn-start,
    .btn-info {
        width: auto;
        flex: 1;
    }

    .arcade-stats {
        margin: 0;
    }

    .features-grid-pixel {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exam-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .steps-pixel {
        flex-direction: row;
        align-items: center;
    }

    .step-arrow {
        display: block;
        font-size: 2rem;
        color: #ffd700;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .btn-giant {
        font-size: 1rem;
        width: auto;
    }
}

/* ========================================
   DESKTOP STYLES (1024px and up)
   ======================================== */
@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .title-arcade {
        font-size: 2.5rem;
    }

    .features-grid-pixel {
        grid-template-columns: repeat(3, 1fr);
    }

    .learning-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .exam-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    /* Hover effects for desktop */
    .feature-box:hover,
    .learning-card:hover,
    .exam-box:hover,
    .faq-box:hover,
    .metric-box:hover,
    .step-box:hover {
        transform: translateY(-8px);
        box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.3);
        border-color: #ffd700;
    }

    .pixel-btn:hover,
    .learning-btn:hover {
        background: #68d391;
    }
}

/* ========================================
   MOBILE-SPECIFIC STYLES (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #2d3748;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 5rem 0 2rem 0;
        transition: left 0.3s ease;
        border-right: 4px solid #4a5568;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 100;
    }

    .header-nav.active {
        left: 0;
    }

    .nav-link {
        padding: 1.25rem 2rem;
        border-bottom: 1px solid #4a5568;
        font-size: 0.7rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.nav-cta {
        display: block;
        background: #f56565;
        color: #1a202c;
        margin: 1rem;
        text-align: center;
        border: 3px solid #e53e3e;
        box-shadow: 0 4px 0 #c53030;
        padding: 1rem;
    }

    .desktop-only {
        display: none;
    }

    /* Overlay when menu is open */
    .header-nav.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }
}

/* ========================================
   SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .title-arcade {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .arcade-stats {
        grid-template-columns: 1fr;
        max-width: 250px;
    }

    .stat-pixel {
        padding: 1.25rem 1rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .pixel-btn:hover,
    .preview-btn:hover,
    .nav-link:hover,
    .learning-btn:hover {
        transform: none;
        box-shadow: initial;
    }

    /* Increase touch targets */
    .nav-link,
    .pixel-btn,
    .preview-btn,
    .learning-btn {
        min-height: 48px;
        min-width: 48px;
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}