@charset "utf-8";
/* ==========================================================================
   Dragon Keepers - responsive.css
   Responsive Styles (@media queries)
   ========================================================================== */

/* ==========================================================================
   Grid Container Breakpoints
   ========================================================================== */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .col-md-1 {
        flex: 0 0 auto;
        width: 8.333333%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .col-md-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .col-lg-1 {
        flex: 0 0 auto;
        width: 8.333333%;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.666667%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.333333%;
    }

    .mb-lg-0 {
        margin-bottom: 0 !important;
    }

    .gx-lg-8 {
        column-gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .gx-xl-12 {
        column-gap: 3rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ==========================================================================
   Component Specific Responsive Styles
   ========================================================================== */

/* Tablet & Desktop (min-width: 769px) */
@media (min-width: 769px) {

    /* Token Info h4, h5 font size adjustment */
    #tokenomics .token-info h4 {
        font-size: 4rem;
        /* Drastically enlarged for animation emphasis */
    }

    #tokenomics .token-info h5 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Tablet (max-width: 1399px)
   ========================================================================== */
@media (max-width: 1399px) {

    /* Section spacing adjustment - Tablet */
    .py-14 {
        padding-top: 9rem !important;
        padding-bottom: 9rem !important;
    }

    /* Typography Overrides (Tablet) */
    .display-1 {
        font-size: 3.5rem;
    }

    .display-3 {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.35rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    /* Hamburger Button - Visible */
    .hamburger {
        display: flex;
    }

    /* Mobile Navigation Slide-in */
    nav.primary {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 15, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 30px 30px;
        transition: right 0.4s ease;
        z-index: 140;
    }

    nav.primary.active {
        right: 0;
    }

    nav.primary ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav.primary a {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Tablet & Mobile Grid Adjustments (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {

    /* Battle Section - Vertical Spacing */
    .battle-info {
        row-gap: 3rem;
        /* 48px Gap for Tablet/Mobile Stack */
    }
}

/* ==========================================================================
   Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* Typography Overrides (Mobile) */
    .display-1 {
        font-size: 2.5rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .display-6 {
        font-size: 1.25rem;
    }

    .lead {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    /* Spacing */
    .pt-20,
    .pb-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Section spacing adjustment - Mobile (User request: wider) */
    .py-14 {
        padding-top: 7rem !important;
        padding-bottom: 7rem !important;
    }

    /* Device Mockup - Responsive (Selector matched to HTML ID #preview) */
    #preview .device-mockup,
    .device-mockup {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 9 / 19.5;
    }

    .token-info {
        text-align: center;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #tokenomics .token-info h4 {
        font-size: 2.75rem;
        /* Ensure visual impact on mobile */
        margin-bottom: 0.5rem !important;
    }

    #tokenomics .token-info h5 {
        font-size: 1.15rem;
        margin-bottom: 2rem !important;
    }

    .token-info ul li {
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        /* Gap between label and value if needed */
    }

    /* Sanctuary Info - Mobile Center Alignment */
    .sanctuary-info {
        text-align: center;
    }

    .sanctuary-info .feature-list {
        justify-content: center;
    }

    .sanctuary-info ul.icon-list li,
    .sanctuary-info ul.icon-list li span:first-child {
        justify-content: center;
        width: auto;
        display: inline-flex;
    }

    .sanctuary-info ul.icon-list li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Donut Chart - Mobile Responsive */
    .donut-chart {
        width: 160px;
        height: 160px;
    }

    .chart-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    /* Ranking Section - Mobile Fix */
    #ranking .glass-card {
        flex-direction: column;
        align-items: center;
        gap: 0 !important;
        /* Remove gap to control spacing via padding */
    }

    #ranking .ranking-badge {
        width: 100%;
        padding-bottom: 2rem;
        /* Increased padding for better spacing */
        border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    }

    #ranking .ranking-badge:last-child {
        padding-bottom: 0;
        border-bottom: none;
        padding-top: 2rem;
        /* Matching padding-top for symmetry */
    }

    /* Header */
    header {
        padding: 0 20px;
    }

    /* Hero Section */
    #hero {
        padding-top: 100px;
        min-height: 100vh;
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   Small Mobile (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .display-1 {
        font-size: 2rem;
    }

    .display-3 {
        font-size: 1.5rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}