/* ============================================
   BOOKS OF MAGIC — RESPONSIVE.CSS
   Mobile-First Responsive System
   ============================================ */

/* ============================================
   BASE: Mobile First (< 640px)
   ============================================ */

/* Container */
.container {
    padding: 0 16px;
}

/* Header */
.main-nav {
    display: none;
}

.header-cta {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
}

.mobile-menu-overlay {
    display: flex;
}

/* Hero */
.hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: auto;
}

.hero-headline {
    font-size: 2.2rem;
}

.hero-visual {
    order: -1;
}

.spellbook-container {
    width: 260px;
    height: 340px;
}

.spellbook-cover {
    width: 200px;
    height: 280px;
}

.hero-cta-group {
    flex-direction: column;
    gap: 12px;
}

.hero-cta-group .btn {
    width: 100%;
    justify-content: center;
}

/* Game Section */
.game-meta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
}

/* Features */
.features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* About Teaser */
.about-teaser-inner {
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-teaser-visual {
    order: -1;
}

.arcane-circle {
    width: 220px;
    height: 220px;
}

/* Responsible Banner */
.responsible-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

/* Content Two Col */
.content-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
}

.content-col-text .section-title {
    font-size: 1.6rem;
}

/* Values Grid */
.values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Team Grid */
.team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Contact */
.contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Responsible Grid */
.responsible-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Support Grid */
.support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Symbols Grid */
.symbols-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Age Banner */
.age-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

/* Footer */
.footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Page Hero */
.page-hero-title {
    font-size: 2rem;
}

/* Section Spacing */
.content-section {
    padding: 60px 0;
}

.game-section,
.features-section,
.about-teaser-section {
    padding: 60px 0;
}

/* Responsible Core */
.responsible-core {
    flex-direction: column;
    gap: 16px;
}

/* Legal */
.legal-content {
    max-width: 100%;
}

/* ============================================
   SMALL: 480px+
   ============================================ */
@media (min-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .hero-cta-group {
        flex-direction: row;
    }

    .hero-cta-group .btn {
        width: auto;
    }
}

/* ============================================
   TABLET: 768px+
   ============================================ */
@media (min-width: 768px) {
    :root {
        --container-padding: 24px;
    }

    /* Header */
    .header-cta {
        display: flex;
    }

    /* Hero */
    .hero-headline {
        font-size: 3rem;
    }

    .spellbook-container {
        width: 320px;
        height: 400px;
    }

    .spellbook-cover {
        width: 240px;
        height: 330px;
    }

    /* Content */
    .content-section {
        padding: 80px 0;
    }

    .game-section,
    .features-section,
    .about-teaser-section {
        padding: 80px 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Game Meta */
    .game-meta {
        flex-direction: row;
    }

    /* Symbols Grid */
    .symbols-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Page Hero */
    .page-hero-title {
        font-size: 2.8rem;
    }
}

/* ============================================
   DESKTOP SMALL: 1024px+
   ============================================ */
@media (min-width: 1024px) {
    :root {
        --container-padding: 32px;
    }

    /* Header */
    .main-nav {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        min-height: calc(100vh - var(--header-height));
    }

    .hero-headline {
        font-size: clamp(2.8rem, 4vw, 4rem);
    }

    .hero-visual {
        order: 0;
    }

    .spellbook-container {
        width: 360px;
        height: 440px;
    }

    .spellbook-cover {
        width: 260px;
        height: 360px;
    }

    /* Hero CTA */
    .hero-cta-group {
        flex-direction: row;
    }

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

    /* About Teaser */
    .about-teaser-inner {
        grid-template-columns: 1fr 1fr;
    }

    .about-teaser-visual {
        order: 0;
    }

    /* Content */
    .content-section {
        padding: 100px 0;
    }

    .game-section,
    .features-section,
    .about-teaser-section {
        padding: 100px 0;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Responsible */
    .responsible-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Support */
    .support-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr 1.4fr;
    }

    /* Responsible Core */
    .responsible-core {
        flex-direction: row;
    }

    /* Age Banner */
    .age-banner {
        flex-direction: row;
        text-align: left;
    }

    /* Responsible Banner */
    .responsible-banner {
        flex-direction: row;
        text-align: left;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    }
}

/* ============================================
   DESKTOP LARGE: 1280px+
   ============================================ */
@media (min-width: 1280px) {
    .hero-headline {
        font-size: 4.5rem;
    }

    .spellbook-container {
        width: 380px;
        height: 460px;
    }

    .spellbook-cover {
        width: 280px;
        height: 380px;
    }

    .content-section {
        padding: 120px 0;
    }

    .game-section,
    .features-section,
    .about-teaser-section {
        padding: 120px 0;
    }
}

/* ============================================
   TOUCH DEVICE ADJUSTMENTS
   ============================================ */
@media (hover: none) {
    .feature-card:hover,
    .value-card:hover,
    .team-card:hover,
    .responsible-card:hover,
    .support-card:hover,
    .symbol-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}