:root {
    --bg-color: #0b0c0a;
    --acc-neon: #39FF14;
    --acc-dark: #1b660a;
    --gold: #FFB800;
    --gold-bright: #FFD700;
    --trench-brown: #312115;
    --trench-dark: #18130e;
    --text-main: #e8eee8;
    --text-dim: #aec4ae;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: crosshair;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(circle at top right, #1d2516 0%, #0b0c0a 50%, #15110d 100%);
}

/* Grit Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.08"/%3E%3C/svg%3E');
    z-index: 9999;
}

h1,
h2,
h3,
.logo-text,
.btn-primary,
.ticker-content {
    font-family: 'Black Ops One', system-ui;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(180deg, rgba(8, 9, 7, 0.95) 0%, rgba(8, 9, 7, 0.7) 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(57, 255, 20, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-img {
    height: 60px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(57, 255, 20, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.5));
}

.logo-container:hover .logo-img {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px var(--acc-neon), 0 0 20px var(--acc-dark);
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #ffffff 0%, #b3ffb3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--acc-neon);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--acc-neon);
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--acc-neon);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10rem 5% 5rem;
    position: relative;
    overflow: hidden;
}

/* Add atmospheric fog to the hero */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    background: radial-gradient(circle at 70% 50%, rgba(57, 255, 20, 0.15) 0%, rgba(255, 184, 0, 0.05) 40%, rgba(0, 0, 0, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    animation: drift 20s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes drift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, 2%);
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.tagline {
    color: var(--gold-bright);
    font-family: 'Black Ops One', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    display: inline-block;
    border-bottom: 2px solid var(--acc-neon);
    padding-bottom: 0.3rem;
}

.glitch {
    font-size: 5.5rem;
    color: #fff;
    position: relative;
    text-shadow:
        0.05em 0 0 rgba(255, 255, 255, 0.8),
        -0.025em -0.05em 0 var(--acc-neon),
        0.025em 0.05em 0 var(--acc-dark);
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-dim);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.contract-box {
    background: rgba(10, 15, 10, 0.8);
    border: 2px solid var(--acc-dark);
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(57, 255, 20, 0.1);
    backdrop-filter: blur(5px);
}

.contract-address {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    color: var(--gold-bright);
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(57, 255, 20, 0.15);
    color: var(--acc-neon);
    border: 1px solid var(--acc-neon);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-family: 'Black Ops One', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.btn-secondary:hover {
    background: var(--acc-neon);
    color: #000;
    box-shadow: 0 0 20px var(--acc-neon);
    transform: scale(1.05);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--acc-neon) 0%, #1d990d 100%);
    color: #050805;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(57, 255, 20, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fff;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(57, 255, 20, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.btn-social {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 1.2rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-family: 'Black Ops One', sans-serif;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.btn-social:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--acc-neon);
    color: var(--acc-neon);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.hero-img {
    max-width: 110%;
    /* Make it pop out a bit */
    border-radius: 12px;
    border: 4px solid #1a221a;
    box-shadow: 0 0 0 4px var(--acc-neon), 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 80px rgba(57, 255, 20, 0.3);
    position: relative;
    z-index: 10;
}

.floating {
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(-1deg);
    }
}

/* Ticker tape upgraded */
.ticker-tape {
    background: linear-gradient(90deg, #111 0%, #000 50%, #111 100%);
    color: var(--acc-neon);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    font-size: 2rem;
    white-space: nowrap;
    border-top: 4px solid var(--acc-neon);
    border-bottom: 4px solid var(--acc-neon);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.9);
    z-index: 10;
}

.ticker-content {
    display: inline-block;
    animation: ticker 25s linear infinite;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.ticker-content span {
    margin: 0 3rem;
}

/* Add a gold highlight to some text in ticker */
.ticker-content span.gold-text {
    color: var(--gold-bright);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* General Sections */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

h2 {
    text-align: center;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 4rem;
    text-shadow: 3px 3px 0 var(--acc-dark), 0 0 25px rgba(57, 255, 20, 0.4);
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #ffffff, var(--acc-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Lore Section */
.about-section {
    background: linear-gradient(to bottom, var(--bg-color), var(--trench-brown), var(--bg-color));
    position: relative;
    border-top: 1px solid var(--trench-dark);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23ffffff" fill-opacity="0.03"/></svg>');
    pointer-events: none;
}

.lore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.lore-card {
    background: linear-gradient(145deg, rgba(30, 22, 15, 0.9), rgba(12, 14, 12, 0.95));
    border: 1px solid #4a3826;
    border-left: 4px solid var(--acc-neon);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.lore-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    border-left-color: var(--gold-bright);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.15);
}

.lore-card::before {
    content: 'TOP SECRET / NOFORN';
    position: absolute;
    top: 12px;
    right: 15px;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
}

.lore-card h3 {
    color: var(--gold-bright);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.lore-card p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Chart Section */
.chart-section {
    background: var(--bg-color);
    position: relative;
    padding-bottom: 2rem;
}

.chart-container {
    width: 100%;
    height: 600px;
    background: #0a0e0a;
    border: 3px solid var(--acc-dark);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 0 2px var(--acc-neon), 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 50px rgba(57, 255, 20, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.chart-container::before {
    content: 'RADAR ONLINE';
    position: absolute;
    top: -2px;
    left: 20px;
    background: var(--acc-neon);
    color: #000;
    font-family: 'Black Ops One', sans-serif;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 10;
}

.chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 3px var(--acc-neon), 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 70px rgba(57, 255, 20, 0.35);
}

.chart-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    filter: sepia(0.3) hue-rotate(80deg) saturate(1.2);
    /* Make it fit the green/mud theme slightly */
}

/* Tokenomics Section */
.tokenomics-section {
    background: radial-gradient(circle at top, var(--trench-dark) 0%, var(--bg-color) 100%);
    position: relative;
    padding-bottom: 8rem;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.stat-box {
    text-align: center;
    background: linear-gradient(135deg, #182015, #0a0e0a);
    border: 2px solid var(--acc-dark);
    padding: 3rem 1.5rem;
    border-radius: 12px;
    width: 310px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dog tag hole detail */
.stat-box::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-box:hover {
    transform: translateY(-15px);
    border-color: var(--acc-neon);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 40px rgba(57, 255, 20, 0.2);
}

.stat-value {
    font-size: 3rem;
    font-family: 'Black Ops One', sans-serif;
    color: var(--acc-neon);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1;
    word-break: break-word;
}

.stat-label {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 6rem 2rem;
    }

    .hero {
        padding: 10rem 5% 4rem;
    }

    h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .glitch {
        font-size: 4rem;
    }

    .nav-links {
        display: none;
    }

    .contract-box {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image-container {
        transform: none;
    }
}