:root {
    --matrix-green: #C3F53C;
    /* Robinhood Neon */
    --dark-emerald: #0B3D0B;
    --diamond-white: #FFFFFF;
    --void-black: #000000;
    --font-mono: 'VT323', monospace;
    --font-impact: 'Outfit', sans-serif;
    /* Modern font */
}

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

body {
    background-color: var(--void-black);
    color: var(--matrix-green);
    font-family: var(--font-mono);
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.6;
}

/* Global Effects */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
}

.vhs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 999;
    mix-blend-mode: overlay;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-impact);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section 1: Hero */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Opacity handled in JS */
}

.hero-content {
    z-index: 10;
    max-width: 1200px;
    padding: 20px;
}

.hero-image-container {
    position: relative;
    margin-bottom: 20px;
    /* Border removed as per user request */
    /* border: 2px solid var(--matrix-green); */
    box-shadow: 0 0 20px var(--matrix-green);
    display: inline-block;
    /* Centers the container if parent is text-align: center */
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    /* No filter needed as per user request */
    mix-blend-mode: normal;
}

.hero-text-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-impact);
    font-size: 5rem;
    color: var(--diamond-white);
    text-shadow:
        0 0 10px var(--matrix-green),
        0 0 20px var(--matrix-green),
        0 0 40px var(--matrix-green);
    z-index: 20;
    pointer-events: none;
    white-space: nowrap;
    width: 100%;
}

.timestamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-family: var(--font-mono);
    color: var(--matrix-green);
    text-shadow: 0 0 5px var(--matrix-green);
    font-size: 1.2rem;
}

h1.glitch {
    font-size: 4rem;
    color: var(--diamond-white);
    text-shadow: 2px 2px var(--matrix-green);
    margin-bottom: 10px;
    position: relative;
}

.sub-headline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--matrix-green);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    font-family: var(--font-impact);
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--matrix-green);
}

.btn-primary {
    background-color: var(--matrix-green);
    color: var(--void-black);
    box-shadow: 0 0 15px var(--matrix-green);
}

.btn-primary:hover {
    background-color: var(--diamond-white);
    color: var(--void-black);
    box-shadow: 0 0 25px var(--diamond-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--matrix-green);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 15px var(--matrix-green);
}

/* Section 2: About */
#about {
    padding: 80px 20px;
    background-color: #050505;
}

.split-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--diamond-white);
    text-shadow: 0 0 10px var(--diamond-white);
}

.about-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.portrait-container {
    position: relative;
    border: 2px solid var(--matrix-green);
    box-shadow: 0 0 20px var(--dark-emerald);
}

.vlad-portrait {
    max-width: 100%;
    height: auto;
    display: block;
    /* Filter removed as per user request */
    mix-blend-mode: normal;
}

.sparkles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Section 3: Stickers */
#stickers {
    padding: 80px 20px;
    text-align: center;
}

#stickers h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--matrix-green);
}

.sticker-gallery {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sticker-item {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.sticker-item img {
    max-width: 100%;
    max-height: 100%;
    /* PNGs now carry a real alpha channel and are pre-tinted to #CCFF00 (green removed);
       no blend-mode hack needed — just add the neon glow. */
    filter: drop-shadow(0 0 6px #CCFF00);
}

.sticker-item:hover {
    transform: scale(1.1) rotate(5deg);
}

.sticker-item:hover img {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

#copy-feedback {
    margin-top: 20px;
    color: var(--diamond-white);
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.5s;
}

#copy-feedback.hidden {
    opacity: 0;
}

/* Contract Address (CA) */
.ca-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 26px;
    padding: 0 16px;
}

.ca-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid var(--matrix-green);
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(195, 245, 60, 0.3);
    font-family: var(--font-mono);
    cursor: pointer;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ca-box:hover {
    box-shadow: 0 0 26px rgba(195, 245, 60, 0.6);
    transform: translateY(-2px);
}

.ca-label {
    background: var(--matrix-green);
    color: var(--void-black);
    font-family: var(--font-impact);
    font-weight: 900;
    padding: 2px 9px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.ca-address {
    color: var(--matrix-green);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    word-break: break-all;
    text-shadow: 0 0 6px rgba(195, 245, 60, 0.7);
}

.ca-copy {
    color: var(--diamond-white);
    font-size: 0.85rem;
    opacity: 0.7;
    white-space: nowrap;
}

/* Section 3.5: Squad */
#squad {
    padding: 40px 20px;
    text-align: center;
    background-color: #000;
}

.squad-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--dark-emerald);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.squad-image {
    width: 100%;
    height: auto;
    display: block;
    /* Lighter, yellower tint */
    filter: sepia(1) hue-rotate(35deg) saturate(2.5) brightness(1.2) contrast(0.9);
}

/* Section 4: How to Buy */
#how-to-buy {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.terminal-window {
    background-color: #000;
    border: 2px solid var(--matrix-green);
    width: 100%;
    max-width: 800px;
    box-shadow: 0 0 20px var(--matrix-green);
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background-color: var(--matrix-green);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.terminal-title {
    color: var(--void-black);
    font-weight: bold;
    margin-left: 10px;
}

.terminal-body {
    padding: 20px;
    color: var(--matrix-green);
}

.terminal-body ol {
    list-style: none;
    margin-top: 10px;
}

.terminal-body li {
    margin-bottom: 10px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Section 5: Footer */
footer {
    background-color: #000;
    padding: 40px 0 0;
    text-align: center;
    border-top: 1px solid var(--dark-emerald);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--matrix-green);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--diamond-white);
    text-shadow: 0 0 10px var(--diamond-white);
}

.copyright {
    color: #444;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.ticker-tape {
    background-color: var(--matrix-green);
    color: var(--void-black);
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 0;
}

.ticker-content {
    display: inline-block;
    animation: ticker 20s linear infinite;
    font-weight: bold;
    font-size: 1.2rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    h1.glitch {
        font-size: 2.5rem;
    }

    .split-screen {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
    }
}