:root {
    --primary-green: #00FF41;
    --primary-red: #FF0000;
    --dark-bg: #050505;
    --font-heading: 'Black Ops One', sans-serif;
    --font-body: 'Chakra Petch', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: var(--primary-green);
    font-family: var(--font-body);
    font-weight: 600;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

/* Base Halftone overlay */
.halftone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background-image: radial-gradient(var(--dark-bg) 25%, transparent 25%), radial-gradient(var(--dark-bg) 25%, transparent 25%);
    background-position: 0 0, 2px 2px;
    background-size: 4px 4px;
    opacity: 0.2;
    z-index: 998;
}

/* OVERALL CONTAINER */
.main-container {
    width: 100%;
    max-width: 1400px;
    /* Wider for comic panels */
    background: #000;
    border-left: 2px solid var(--primary-green);
    border-right: 2px solid var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    z-index: 10;
    position: relative;
}

/* --- TOP NAV BAR --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #0a0a0a;
    border-bottom: 2px solid var(--primary-green);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-white {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-green);
}

.btn-buy-now {
    border: 2px solid var(--primary-red);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 30px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6), inset 0 0 10px rgba(255, 0, 0, 0.3);
    transition: 0.3s;
    font-family: var(--font-heading);
}

.btn-buy-now:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8), inset 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Typography Defaults */
.section-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.subtitle {
    color: var(--primary-green);
    font-family: var(--font-body);
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.body-text {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- PANELS --- */
.panel {
    border-bottom: 2px solid var(--primary-green);
    position: relative;
    padding: 40px;
    overflow: hidden;
}

/* HERO PANEL */
.hero-panel {
    padding: 0;
    /* image goes edge to edge */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contract-pill {
    border: 2px solid var(--primary-green);
    padding: 15px 40px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

/* SPLIT PANEL LAYOUT */
.split-panel {
    display: flex;
    gap: 50px;
    align-items: center;
}

.reverse-split {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.split-image img {
    width: 100%;
    max-width: 600px;
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 10px 10px 0px var(--primary-green);
}

.comic-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.comic-row img {
    width: calc(50% - 10px);
    border: 3px solid #fff;
    border-radius: 6px;
    box-shadow: 5px 5px 0px var(--primary-red);
}

.split-content {
    flex: 1;
}

/* TOKENOMICS PANEL */
.tokenomics-panel {
    position: relative;
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.token-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-img-dimmed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(100%) sepia(100%) hue-rotate(80deg) saturate(300%) contrast(150%);
}

.content-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.stats-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.stat-box {
    border: 2px solid cyan;
    background: rgba(0, 255, 255, 0.05);
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.2);
    border-radius: 6px;
}

.stat-title {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.stat-value {
    color: #fff;
    font-size: 2rem;
    font-family: var(--font-heading);
}

/* ROADMAP LIST */
.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roadmap-phase {
    background: rgba(0, 255, 65, 0.1);
    border-left: 5px solid var(--primary-green);
    padding: 20px;
}

.phase-number {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.phase-details {
    color: #ccc;
    font-size: 1.1rem;
}

/* COMMUNITY & SECURITY */
.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comms-network {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.comm-btn {
    border: 2px solid #333;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.comm-btn:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.security-badges {
    display: flex;
    gap: 20px;
}

.shield {
    width: 140px;
    height: 160px;
    background: var(--primary-green);
    clip-path: polygon(50% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 0 20px var(--primary-green);
}

.shield .inner {
    width: 100%;
    height: 100%;
    background: #111;
    clip-path: polygon(50% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.3);
}

.shield span {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.caption {
    margin-top: 10px;
    font-style: italic;
    color: #fff;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {

    /* Header / Nav */
    .top-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .logo-white {
        font-size: 2rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .btn-buy-now {
        margin-top: 5px;
        width: 100%;
        text-align: center;
    }

    /* Contract Pill */
    .contract-pill {
        padding: 10px 15px;
        font-size: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 5px;
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
    }

    .contract-pill .text {
        word-break: break-all;
        line-height: 1.4;
    }

    /* Panels Layout */
    .panel {
        padding: 30px 20px;
    }

    .split-panel,
    .reverse-split {
        flex-direction: column !important;
        gap: 30px;
    }

    /* Typography */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    /* Images and Grids */
    .comic-row {
        flex-direction: column;
        gap: 15px;
    }

    .comic-row img {
        width: 100%;
    }

    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }

    /* Footer / Comm Buttons */
    .comms-network {
        flex-direction: column;
        width: 100%;
    }

    .comm-btn {
        justify-content: center;
        width: 100%;
    }

    .security-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .shield {
        width: 100px;
        height: 115px;
    }

    .shield span {
        font-size: 0.8rem;
    }
}