/* --- Variables & Setup --- */
:root {
    --bg-inner: #050505; /* Stark dark background */
    --border-color: #222222; /* Subtle dark borders for UI elements if needed */
    --accent-color: #39ff14; /* Neon green */
    --text-color: #ffffff;

    --display-font: 'Anton', sans-serif;
    --ui-font: 'Inter', sans-serif;

    --border-width: 4px;
}

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

.main-window {
    width: 100%;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

body {
    background-color: var(--bg-inner);
    font-family: var(--ui-font);
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* --- Header Bar --- */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: relative;
    z-index: 10;
}

.pill-btn {
    background: #111111;
    color: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-family: var(--ui-font);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--border-color);
    transition: all 0.2s ease;
}

.pill-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--accent-color);
    color: var(--accent-color);
}

.pill-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px var(--border-color);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 3px 3px 0px var(--border-color);
    transition: all 0.2s ease;
}

.icon-circle:hover {
    background: var(--accent-color);
    color: #000;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px var(--accent-color);
}

.icon-circle:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px var(--border-color);
}

/* --- Marquee Ribbon --- */
.ribbon-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

.ribbon {
    background-color: var(--accent-color);
    border-top: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    padding: 0.8rem 0;
    width: 95%; /* Leave gap on left */
    margin-left: auto; /* Push to right */
    position: relative;

    /* Jagged edge on left using clip-path */
    clip-path: polygon(
        20px 0%, 100% 0%, 100% 100%, 0% 100%,
        15px 80%, 5px 60%, 25px 40%, 10px 20%
    );
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    font-family: var(--display-font);
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

    /* Animation */
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Simulated ribbon fold behind */
.ribbon-fold {
    position: absolute;
    left: 4%;
    top: 100%;
    width: 20px;
    height: 20px;
    background-color: #228b0c; /* Darker green */
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 9;
}

/* --- Main Content (Hero) --- */
.main-content {
    min-height: calc(100vh - 120px); /* Account for header */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Keep the hero text bounded */
    padding-bottom: 4rem;
}

/* Massive Background Text */
.background-text {
    font-family: var(--display-font);
    font-size: 20vw; /* Reduced from 32vw to prevent vertical clipping */
    line-height: 0.85;
    color: #1a1a1a; /* Subtle dark gray for watermark effect */
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    white-space: nowrap;
}

/* Mascot */
.mascot-img {
    position: absolute;
    bottom: -2rem;
    right: 5%;
    z-index: 2;
    height: 75vh;
    max-height: 900px;
    object-fit: contain;
    filter: drop-shadow(10px 10px 0px rgba(0,0,0,0.5));
    transform-origin: bottom center;
    animation: breathe 4s ease-in-out infinite;
}

/* --- Bottom Left Actions --- */
.bottom-left-actions {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.description {
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 300px;
}

.btn-buy {
    background-color: var(--accent-color);
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    box-shadow: 5px 5px 0px var(--border-color);
    transition: all 0.2s ease;
}

.btn-buy:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #ffffff;
}

.btn-buy:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px 0px var(--border-color);
}

.arrow-circle {
    background: #050505;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Animations --- */
.float {
    display: inline-block;
    animation: floating ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

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

/* --- Scroll Arrow --- */
.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--accent-color);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* --- New Sections --- */
.content-section {
    width: 100%;
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.massive-heading {
    font-family: var(--display-font);
    font-size: 6.5rem;
    line-height: 0.9;
    color: #ffffff;
    text-transform: uppercase;
}

.stroke-text {
    -webkit-text-stroke: 3px #ffffff;
    color: transparent;
}

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

.body-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #aaaaaa;
    margin-bottom: 2rem;
}

.two-col-layout {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.col-left, .col-right {
    flex: 1;
}

/* Huge Marquee */
.marquee-ribbon-huge {
    background-color: var(--accent-color);
    padding: 1.5rem 0;
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    transform: rotate(-2deg) scale(1.05);
    margin: 2rem 0 6rem;
    border-top: 4px solid var(--border-color);
    border-bottom: 4px solid var(--border-color);
    z-index: 5;
}

.marquee-content-huge {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    font-family: var(--display-font);
    font-size: 4rem;
    letter-spacing: 2px;
    color: #000;
    animation: marquee-fast 20s linear infinite;
}

.marquee-content-huge span {
    flex-shrink: 0;
    white-space: nowrap;
    padding-right: 0.5rem;
}

@keyframes marquee-fast {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Tokenomics */
.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--display-font);
    font-size: 15vw;
    color: #111111;
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: #0a0a0a;
    border: 4px solid var(--border-color);
    padding: 4rem;
    text-align: center;
    box-shadow: 15px 15px 0px var(--border-color);
    transition: all 0.2s ease;
}

.rotated-left { transform: rotate(-3deg); }
.rotated-right { transform: rotate(3deg); }

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translate(-5px, -5px) rotate(0deg);
    box-shadow: 20px 20px 0px var(--accent-color);
}

.stat-card h3 {
    font-family: var(--ui-font);
    color: #666;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.stat-card p {
    font-family: var(--display-font);
    color: #fff;
    font-size: 4rem;
    transition: color 0.2s ease;
}

.stat-card:hover p {
    color: var(--accent-color);
}

/* How to Buy */
.step-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.step-card {
    background: #0a0a0a;
    border: 4px solid var(--border-color);
    padding: 4rem 3rem;
    position: relative;
    box-shadow: 10px 10px 0px var(--border-color);
    overflow: hidden;
}

.step-num {
    font-family: var(--display-font);
    font-size: 15rem;
    color: var(--accent-color);
    line-height: 0.8;
    position: absolute;
    top: -2rem;
    right: -2rem;
    opacity: 0.15;
    z-index: 0;
}

.step-card h4 {
    font-family: var(--display-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: #aaa;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Footer */
.main-footer {
    padding: 6rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer-cta {
    font-size: 10vw;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 2px #333;
    margin-bottom: 4rem;
    width: 100%;
}

.footer-cta:hover {
    -webkit-text-stroke: 2px var(--accent-color);
}

.footer-socials {
    display: flex;
    gap: 2rem;
    margin-bottom: 6rem;
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
}

.block-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    font-size: 1.6rem;
    padding: 1.2rem;
}

.disclaimer {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
    color: #666666;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
}

.disclaimer strong {
    color: #999999;
    font-weight: 800;
}

.copyright {
    color: #444;
    font-weight: 800;
}

/* --- Fullscreen Menu --- */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fullscreen-menu.show {
    opacity: 1;
    visibility: visible;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.menu-link {
    font-family: var(--display-font);
    font-size: 8vw;
    color: #444444; /* Dark grey text */
    text-decoration: none;
    text-transform: uppercase;
    line-height: 0.9;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.menu-link:hover {
    color: #ffffff; /* Stark white on hover */
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}

.menu-footer {
    position: absolute;
    bottom: 2rem;
    color: #444444;
    font-size: 0.9rem;
    font-weight: 800;
}

/* --- Shared section sub-heading --- */
.section-sub {
    text-align: center;
    color: #888888;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 1.5rem auto 3.5rem;
}

/* --- Rewards Flow --- */
.flow-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
}

.flow-card {
    flex: 1;
    background: #0a0a0a;
    border: 4px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 10px 10px 0px var(--border-color);
    transition: all 0.2s ease;
}

.flow-card:hover {
    border-color: var(--accent-color);
    transform: translate(-4px, -4px);
    box-shadow: 14px 14px 0px var(--accent-color);
}

.flow-step {
    font-family: var(--display-font);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--accent-color);
}

.flow-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin: 0.6rem 0 1rem;
}

.flow-card h4 {
    font-family: var(--display-font);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.flow-card p {
    color: #aaa;
    line-height: 1.5;
}

.flow-connector {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* --- Live Chart --- */
.chart-panel {
    position: relative;
    height: 440px;
    background: #0a0a0a;
    border: 4px solid var(--border-color);
    box-shadow: 12px 12px 0px var(--border-color);
    overflow: hidden;
}

.chart-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.chart-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.chart-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 75%;
    opacity: 0.4;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.chart-overlay {
    position: relative;
    z-index: 1;
}

.pulse-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--display-font);
    letter-spacing: 2px;
    font-size: 1.3rem;
    color: #fff;
    background: rgba(5, 5, 5, 0.8);
    padding: 0.8rem 1.4rem;
    border: 2px solid var(--border-color);
}

.pulse-ball {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-color);
    animation: pulse-ball 1.4s ease-in-out infinite;
}

@keyframes pulse-ball {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.chart-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.chart-btn {
    font-family: var(--ui-font);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.6rem;
    background: #111111;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    box-shadow: 4px 4px 0px var(--border-color);
    transition: all 0.2s ease;
}

.chart-btn:hover {
    color: var(--accent-color);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--accent-color);
}

.chart-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px var(--border-color);
}

/* --- FAQ --- */
.faq-list {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: #0a0a0a;
    border: 4px solid var(--border-color);
    box-shadow: 8px 8px 0px var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: var(--accent-color);
    box-shadow: 8px 8px 0px var(--accent-color);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem 2rem;
    font-family: var(--display-font);
    font-size: 1.4rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-color); }

.faq-plus {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    background: var(--accent-color);
}

.faq-plus::before { top: 9px; left: 0; width: 20px; height: 3px; }
.faq-plus::after { left: 9px; top: 0; width: 3px; height: 20px; transition: transform 0.2s ease, opacity 0.2s ease; }

.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }

.faq-item p {
    padding: 0 2rem 1.8rem;
    color: #aaa;
    line-height: 1.65;
    font-size: 1.05rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .background-text {
        font-size: 35vw;
    }

    .mascot-img {
        height: 40vh;
        margin-left: 0;
    }

    .bottom-left-actions {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 2rem;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }

    .main-content {
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .menu-link {
        font-size: 15vw;
    }

    .ribbon {
        width: 100%;
        clip-path: none;
    }
    .ribbon-fold {
        display: none;
    }

    .two-col-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .grid-layout, .step-grid {
        grid-template-columns: 1fr;
    }

    .massive-heading {
        font-size: 3.5rem;
    }

    .marquee-content-huge {
        font-size: 2.5rem;
    }

    .section-sub {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .flow-grid {
        flex-direction: column;
    }

    .flow-connector {
        transform: rotate(90deg);
        align-self: center;
    }

    .chart-panel {
        height: 300px;
    }

    .pulse-tag {
        font-size: 1rem;
        letter-spacing: 1px;
        text-align: center;
    }

    .faq-item summary {
        font-size: 1.1rem;
        padding: 1.2rem 1.3rem;
    }

    .faq-item p {
        padding: 0 1.3rem 1.4rem;
    }
}
