@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-family: "DM sans", san-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

body {
    background: #E6E6E9;
}

header {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 200px;
    padding: 10px 30px;
    margin: 0 auto;
    margin-bottom: 50px;
    background-color: #FCFCFC;
    
}


.logo {
    height: 64px;
    width: 64px;
}

nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

nav a {
    text-decoration: none;
    color: black;
}



nav a:hover {
    text-decoration: underline;
}

.buy-btn {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    background-color: #4169E1;
    padding: 15px 30px;
    border-radius: 24px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.4s;
}

.buy-btn:hover {
    border-radius: 0;
    text-decoration: none;
}

.hide-mobile {
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: space-between;
    
}

.hide-desktop {
    display: none;
}

.hero-div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    position: relative;
    margin-bottom: 100px;
}

.hero-img-div {
    height: 500px;
    width: 1200px;
    background-color: #D9D9D9;
    margin: 0 auto;
    background-image: url(image/hero-img.jpg);
    background-position: center;
    background-size: cover;
    clip-path: path("M20 0H1180Q1200 0 1200 20V480Q1200 500 1180 500H500Q480 500 480 440V315Q480 295 460 295H20Q0 295 0 275V20Q0 0 20 0Z");

}

.hero-quote-div {
    position: absolute;
    padding: 10px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 15px;
}

.hero-quote-div h1 {
    font-family: "DM sans", sans-serif;
    font-weight: 400;
}

.world-div {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.world-headlines-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    h2 {
        text-align: center;
        font-weight: 400;
        font-family: "DM sans", sans-serif;
    }

    p {
        text-align: center;
    }

}

.world-map-container {
    overflow: hidden;
    width: 100%;
    height: 850px;
    background: url(assets/world-map.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.infograph-div {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.info-headlines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.info-headlines h1 {
    font-family: "DM sans", sans-serif;
}

.grey-text {
    color: #8A8B8E;
    text-transform: uppercase;
}

.info-subheadline {
    text-align: center;
}

.gallery-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    margin-bottom: 100px;
}

.gallery-flex-div {
    display: flex;
    gap: 1em;
}

.gallery-flex-div-2 {
    display: flex;
    gap: 1em;
}

.card {
    height: 300px;
    width: 570px;
}

.card3 {
    width: 655px;
}

.card4 {
    width: 480px;
}


.card {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    background-color: #FCFCFC;

    h1 {
        font-size: 20px;
        font-weight: 600;
        font-family: "DM sans", sans-serif;
    }

    p {
        font-size: 16px;
        font-weight: 500;
    }
}



.tokenomics-div {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tokenomics-wrap {
    text-align: center;
}

.tokenomics-flex-card-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 10px;
}

.tokenomics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px 45px;
    background: #FCFCFC;
    border: 0.5px solid #00030A;
    border-radius: 8px;
    height: 100px;
    width: 280px;
}

.tokenomics h3 {
    font-size: 24px;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.total-supply-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding-top: 100px;
    margin-bottom: 100px;
}

.total-supply-chart-div {
    height: 360px;
    width: 360px;
    background: url(assets/chart.svg);
    background-position: center;
    background-size: cover;
}

.staking-div {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 100px;
}

.staking-headlines {
    display: flex;
    flex-direction: column;

    h1 {
        text-align: center;
    }

    p {
        text-align: center;
    }
}

.staking-img-div {
    margin: 0 auto;
}

.roadmap-wrap {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 100px;
}

.roadmap-wrap-container {
    display: flex;
    max-width: 1200px;
    justify-content: space-between;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.roadmap-info-div {
    text-align: center;
}

.roadmap-line-div {
    height: 800px;

    img {
        height: 750px;
    }
}

.roadmap-phase-div-2 {
    display: flex;
    flex-direction: column;
    justify-items: flex-end;
}


.phase {
    height: 400px;
    padding-top: 40px;
    text-align: right;
}

.phase h4 {
    font-family: "DM sans", sans-serif;
    font-size: 20px;
}

.phase2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10px;
    text-align: left;
}

.phase3 {
    text-align: right;
    padding-top: 85px;
}

.phase4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}

.whitepaper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    h1 {
        font-family: "DM sans", sans-serif;
    }

    p {
        text-align: center;
    }
}

.image-gallery-container {
    display: flex;
    gap: 1em;

}

.gallery {
    width: 300px;
    height: 120px;
    background-color: #00030A;
}


/* FAQ Container */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    box-sizing: border-box;

    h1 {
        text-align: center;
    }
}

/* FAQ Item */
.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* FAQ Trigger (Button) */
.faq-trigger {
    all: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    font: inherit;
    min-height: 60px;
    /* Matches desired content height */
}

.faq-trigger:hover {
    background-color: #f9f9f9;
}

.faq-trigger:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: -2px;
}

/* FAQ Title */
.faq-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    pointer-events: none;
}

/* FAQ Icon */
.faq-icon {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Content */
.faq-content {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    padding: 0 24px;
    min-height: 60px;
    /* Ensures open state matches trigger height */
    display: flex;
    align-items: center;
}

.faq-item.open .faq-content {
    padding: 0 24px;
}

footer {
    padding: 20px;
}

footer h1 {
    font-family: "DM sans";
    text-align: center;
    font-size: 32px;
}

.tos-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tos-div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.tos-div a {
    text-decoration: none;
    color: #00030A;
}

.ellipse {
    display: flex;
    gap: 10px;
}

.socials-link {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: px;
}

.policy-container {
    padding: 10px;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

@keyframes introLoad {
    from {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}


@media only screen and (max-width: 940px) {
    /* slide-in panel - stacked layout for mobile */
    .hide-mobile {
        position: fixed;
        right: 0;
        top: 0;
        background: #ffffff;
        height: 100vh;
        width: 50%;
        z-index: 999;
        text-transform: uppercase;
        transform: translateX(100%);
        transition: transform .5s ease-in-out;
        overflow: auto;
        padding: 1rem 0;
        display: flex;                /* ensure vertical stacking */
        flex-direction: column;       /* stack children vertically */
        align-items: stretch;
        gap: 1rem;
        box-sizing: border-box;
    }

    /* larger, more tappable close button and ensure it's on top */
    .hide-mobile .close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 64px;                  /* bigger tap target */
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        color: #000;
        font-size: 1.1rem;
        cursor: pointer;
        z-index: 1003;                /* increased z-index */
        pointer-events: auto;         /* ensure it's clickable */
    }

    .hide-mobile .close:active {
        transform: scale(0.98);
    }
    
    /* vertical nav with gaps between links */
    .hide-mobile nav {
        list-style: none;
        padding: 0;
        margin: 6.5rem 0 0 0; /* leaves room for .close */
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-left: 0;
        align-items: stretch;
        box-sizing: border-box;
    }

    .hide-mobile nav a {
        color: black;
        padding: .75em 2em;
        display: block;
        text-align: center;
        text-decoration: none;
        background: transparent;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .hide-mobile nav a:hover {
        background: rgb(235, 235, 235);
    }



    /* ensure buy button stacks and becomes full-width inside the panel */
    .hide-mobile .buy-btn {
        display: flex;                 /* keep existing flex layout */
        align-items: center;
        justify-content: center;
        width: calc(100% - 2rem);      /* give horizontal padding */
        margin: 0 1rem;
        padding: 12px 16px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .buy-btn {
        background-color: #0066ff;

        img {
            display: none;
        }
    }

    .buy-btn:hover {
        border-radius: 24px;
        text-decoration: none;
    }

    /* allow both toggle methods: ID-based and class-based */
    #nav {
        transform: translateX(0%);
    }

    

    /* also support toggling by adding a class to the panel */
    .hide-mobile.open,
    .hide-mobile.show {
        transform: translateX(0%);
    }

    .hide-desktop {
        display: block;
        padding: 15px;
    }

    .hide-desktop img {
        height: 32px;
        width: 32px;
        cursor: pointer;
    }
    
    .hide-desktop .menu {
        display: block;
        cursor: pointer;
    }

    body {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0px;
    }



    .hero-div {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
        gap: 20px;
    }

    main {
        margin-bottom: 50px;
    }

    .hero-img-div {
        height: 250px;
        width: 100%;
        aspect-ratio: 2 / 1;
        border-radius: 10px;
        clip-path: none;
        /* clip-path: path("M6 0H344Q350 0 350 6V270Q350 280 344 280H145Q139 280 139 260V195Q139 186 133 186H6Q0 186 0 177V6Q0 0 6 0Z"); */
    }

    .hero-quote-div {
        position: relative;
        top: 5px;
        padding-top: 5px;

        h1 {
            text-align: center;
            font-weight: 500;
            font-size: 1.2rem;
        }

        p {
            font-size: 0.95rem;
            text-align: center;
        }
    }

    .world-map-container {
        overflow: hidden;
        width: 100%;
        height: 390px;
        background: url(assets/world-map.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

    }

    .world-headlines-wrap {
        max-width: 100%;
        padding: 0 15px;

        h2 {
            font-size: 1.1rem;
            font-weight: 500;

        }

        p {
            font-size: 0.95rem;
            line-height: 1.2em;
        }
    }

    .infograph-div {
        max-width: 100%;
        padding: 0 15px;
    }

    .info-headlines {
        width: 100%;
        padding: 0 15px;

        h1 {
            font-size: 1.4rem;
        }

        p {
            font-size: 13px;
            line-height: 1.2em;
        }

    }

    .grey-text {
        font-size: 0.8rem;
    }


    .gallery-div {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
    }

    .gallery-flex-div {
        display: flex;
        flex-direction: column;
    }

    .gallery-flex-div-2 {
        display: flex;
        flex-direction: column;
    }

    .card {
        width: 100%;

        p {
            font-size: 0.95rem;
        }
    }

    .tokenomics-wrap {
        h1 {
            font-size: 1.2rem;
        }

        p {
            font-size: 0.95rem;
        }
    }

    .tokenomics-flex-card-div {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .tokenomics {
        width: 100%;
    }


    .total-supply-chart-div {
        width: 285px;
        height: 285px;
        background: url(assets/chart.svg);
        background-position: center;
        background-size: cover;
    }

    .total-supply-indicator-div {
        width: 100%;

        img {
            width: 100%;
        }
    }


    .staking-div {
        max-width: 100%;
        padding: 0 15px;
    }

    .staking-headlines {
        max-width: 100%;
        padding: 0 15px;

        h1 {
            font-size: 1.1rem;
        }

        p {
            width: 100%;
            font-size: 0.95rem;
        }
    }

    span {
        display: none;
    }

    .staking-img-div {
        max-width: 100%;
        padding: 0 15px;

        img {
            width: 100%;
        }
    }

    .chart-img {
        width: 100%;
        height: 80px;
    }

    .roadmap-wrap {
        margin-bottom: 50px;
    }

    .roadmap-line-div {
        display: none;
    }

    .roadmap-wrap-container {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
        gap: 25px;
    }

    .roadmap-phase-div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
        padding: 0 15px;

    }

    .roadmap-phase-div-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 25px;
    }


    .phase {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 0;
        height: auto;

        h4 {
            font-size: 1.2rem;
            text-align: center;
        }

        p {
            text-align: center;
            font-size: 0.9rem;
        }
    }

    .whitepaper {
        margin-bottom: 50px;
        max-width: 100%;
        padding: 0 15px;

        h1 {
            font-size: 1.2rem;
        }

        p {
            font-size: 0.95rem;
        }
    }

    .faq-container {
        /* max-width: 100%; */
        /* padding: 0 15px; */
        min-height: 350px;
        margin-bottom: 50px;

        h1 {
            text-align: center;
            font-size: 1.2rem;
            font-family: "DM sans", sans-serif;
        }
    }

    .faq-title {
        font-size: 1rem;
    }

    footer {
        max-width: 100%;
        padding: 0 15px;

        h1 {
            font-size: 1.2rem;

        }
    }

    .tos-div {
        a {
            font-size: 0.8rem;
        }
    }
}