/* ============================================
   $BRAINROT - PURE CHAOS STYLESHEET
   ============================================ */

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

:root {
    --bg: #0a0a0a;
    --pink: #ff00ff;
    --blue: #00ffff;
    --green: #00ff00;
    --yellow: #ffff00;
    --red: #ff0000;
    --white: #ffffff;
    --orange: #ff6600;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Comic Neue', cursive, 'Comic Sans MS', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

.hidden {
    display: none !important;
}

/* Custom cursor */
body::after {
    content: '🧠';
    position: fixed;
    pointer-events: none;
    font-size: 24px;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

/* ============================================
   ENTRY SCREEN
   ============================================ */

#entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    gap: 20px;
    overflow: hidden;
}
.entry-chaos-bg {
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(var(--pink) 0% 25%, var(--bg) 0% 50%) 50% / 40px 40px;
    opacity: 0.03;
    animation: bgSpin 10s linear infinite;
}
@keyframes bgSpin { to { transform: rotate(360deg); } }
.entry-floating {
    position: absolute;
    font-size: 60px;
    opacity: 0.3;
    animation: entryFloat 3s ease-in-out infinite alternate;
    pointer-events: none;
}
.entry-floating.f2 { top: 15%; left: 80%; font-size: 50px; animation-duration: 2.5s; animation-delay: 0.3s; }
.entry-floating.f3 { top: 70%; left: 15%; font-size: 70px; animation-duration: 2s; animation-delay: 0.6s; }
.entry-floating.f4 { top: 20%; left: 20%; font-size: 45px; animation-duration: 3.5s; animation-delay: 0.9s; }
.entry-floating.f5 { top: 80%; left: 75%; font-size: 55px; animation-duration: 2.8s; animation-delay: 1.2s; }
.entry-floating.f6 { top: 40%; left: 85%; font-size: 80px; font-family: 'Bungee Shade'; color: var(--yellow); animation-duration: 1.5s; opacity: 0.2; }
.entry-floating.f7 { top: 60%; left: 10%; font-size: 65px; animation-duration: 2.2s; animation-delay: 0.5s; }
.entry-floating.f8 { top: 10%; left: 50%; font-size: 55px; animation-duration: 2.7s; animation-delay: 0.7s; }
@keyframes entryFloat {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-30px) rotate(15deg) scale(1.1); }
}
.entry-sub-warning {
    font-family: 'Comic Neue', cursive;
    font-size: clamp(1rem, 3vw, 2rem);
    color: var(--pink);
    animation: skibidiShake 0.15s linear infinite;
    text-shadow: 0 0 10px var(--pink);
}
@keyframes skibidiShake {
    0% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(-3px, 2px) rotate(-2deg); }
    50% { transform: translate(3px, -2px) rotate(2deg); }
    75% { transform: translate(-2px, -3px) rotate(-1deg); }
    100% { transform: translate(2px, 3px) rotate(1deg); }
}
.entry-marquee {
    position: absolute;
    bottom: 40px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.entry-marquee span {
    display: inline-block;
    font-family: 'Permanent Marker', cursive;
    font-size: 14px;
    color: var(--green);
    opacity: 0.3;
    letter-spacing: 3px;
    animation: marqueeScroll 15s linear infinite;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.entry-warning {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(1.5rem, 5vw, 4rem);
    color: var(--red);
    text-align: center;
    animation: warningPulse 0.5s ease-in-out infinite alternate;
    text-shadow: 0 0 20px var(--red), 0 0 40px var(--red), 0 0 80px var(--red);
    padding: 0 20px;
}

@keyframes warningPulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.05); opacity: 0.7; }
}

.pulse-btn {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    padding: 20px 60px;
    background: transparent;
    color: var(--green);
    border: 4px solid var(--green);
    cursor: pointer;
    animation: btnPulse 1s ease-in-out infinite;
    text-transform: uppercase;
    transition: all 0.1s;
    position: relative;
    overflow: hidden;
}

.pulse-btn:hover {
    background: var(--green);
    color: var(--bg);
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 0 30px var(--green), 0 0 60px var(--green);
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 10px var(--green); }
    50% { box-shadow: 0 0 30px var(--green), 0 0 60px var(--green), 0 0 90px var(--green); }
}

.entry-sub {
    font-family: 'Comic Neue', cursive;
    color: #666;
    font-size: 1rem;
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 95%, 100% { opacity: 1; }
    96% { opacity: 0; }
    97% { opacity: 1; }
    98% { opacity: 0; }
}

/* ============================================
   CURSOR TRAIL CANVAS
   ============================================ */

#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99998;
}

/* ============================================
   EMOJI RAIN
   ============================================ */

#emoji-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.floating-video {
    position: absolute;
    z-index: 40;
    border: 3px solid var(--pink);
    box-shadow: 0 0 20px var(--pink), 0 0 40px rgba(255,0,255,0.3);
    border-radius: 8px;
    overflow: hidden;
    animation: videoFloat 4s ease-in-out infinite alternate;
    pointer-events: none;
}
.floating-video iframe {
    display: block;
}
@keyframes videoFloat {
    0% { transform: translateY(0) rotate(var(--rot, 5deg)); }
    100% { transform: translateY(-20px) rotate(var(--rot, -5deg)); }
}
.falling-img {
    position: fixed;
    top: -100px;
    z-index: 50;
    pointer-events: none;
    border-radius: 50%;
    object-fit: cover;
    animation: fallDown linear forwards;
}
@keyframes fallDown {
    0% { top: -100px; }
    100% { top: 110vh; }
}
.falling-emoji {
    position: absolute;
    top: -50px;
    font-size: 30px;
    animation: fall linear forwards;
    pointer-events: none;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   GLITCH TEXT EFFECT
   ============================================ */

.glitch-text {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(3rem, 12vw, 10rem);
    color: var(--white);
    position: relative;
    text-align: center;
    animation: glitchShake 0.3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--pink);
    animation: glitch1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch-text::after {
    color: var(--blue);
    animation: glitch2 0.3s infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(3px, 3px); }
    100% { transform: translate(0); }
}

@keyframes glitch2 {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(-3px, -3px); }
    100% { transform: translate(0); }
}

@keyframes glitchShake {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -1px); }
    30% { transform: translate(2px, 1px); }
    50% { transform: translate(-1px, 2px); }
    70% { transform: translate(1px, -2px); }
    90% { transform: translate(-2px, 1px); }
}

/* ============================================
   GLITCH FLICKER ON SECTION TITLES
   ============================================ */

.glitch-flicker {
    animation: glitchFlicker 4s infinite;
}

@keyframes glitchFlicker {
    0%, 89%, 91%, 93%, 95%, 100% {
        opacity: 1;
        transform: translate(0) skewX(0);
        text-shadow: 0 0 10px var(--pink), 0 0 20px var(--blue);
    }
    90% {
        opacity: 0.8;
        transform: translate(-4px, 2px) skewX(5deg);
        text-shadow: 3px 0 var(--pink), -3px 0 var(--blue);
    }
    92% {
        opacity: 0.9;
        transform: translate(4px, -2px) skewX(-3deg);
        text-shadow: -3px 0 var(--pink), 3px 0 var(--blue);
    }
    94% {
        opacity: 0.7;
        transform: translate(-2px, 1px) skewX(2deg);
        text-shadow: 2px 0 var(--green), -2px 0 var(--red);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-sub {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1rem, 3vw, 2rem);
    color: var(--blue);
    margin-top: 10px;
    text-shadow: 0 0 10px var(--blue);
    animation: textFloat 3s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-image {
    margin: 30px auto;
    text-align: center;
}
.hero-logo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pink);
    box-shadow: 0 0 30px var(--pink), 0 0 60px rgba(255,0,255,0.3);
    animation: logoPulse 2s ease-in-out infinite alternate;
}
@keyframes logoPulse {
    from { box-shadow: 0 0 30px var(--pink), 0 0 60px rgba(255,0,255,0.3); transform: scale(1); }
    to { box-shadow: 0 0 50px var(--blue), 0 0 80px rgba(0,255,255,0.3); transform: scale(1.05); }
}

.wojak-placeholder {
    width: 200px;
    height: 200px;
    border: 4px dashed var(--pink);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-family: 'Permanent Marker', cursive;
    color: var(--pink);
    font-size: 1.2rem;
    text-align: center;
    animation: wobble 2s ease-in-out infinite;
    background: rgba(255, 0, 255, 0.05);
}

@keyframes wobble {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.1rem;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    border: 3px solid;
    transition: all 0.15s;
    position: relative;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.1) rotate(-2deg);
}

.btn-pink {
    color: var(--pink);
    border-color: var(--pink);
    text-shadow: 0 0 10px var(--pink);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.btn-pink:hover {
    background: var(--pink);
    color: var(--bg);
    box-shadow: 0 0 30px var(--pink), 0 0 60px var(--pink);
}

.btn-blue {
    color: var(--blue);
    border-color: var(--blue);
    text-shadow: 0 0 10px var(--blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-blue:hover {
    background: var(--blue);
    color: var(--bg);
    box-shadow: 0 0 30px var(--blue), 0 0 60px var(--blue);
}

.btn-green {
    color: var(--green);
    border-color: var(--green);
    text-shadow: 0 0 10px var(--green);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.btn-green:hover {
    background: var(--green);
    color: var(--bg);
    box-shadow: 0 0 30px var(--green), 0 0 60px var(--green);
}

.btn-huge {
    font-size: 1.5rem;
    padding: 20px 50px;
}

.ca-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 25px;
    border: 2px solid var(--yellow);
    background: rgba(255, 255, 0, 0.05);
    flex-wrap: wrap;
}

.ca-label {
    font-family: 'Permanent Marker', cursive;
    color: var(--yellow);
    font-size: 1.2rem;
}

.ca-address {
    font-family: 'Comic Neue', cursive;
    color: var(--green);
    font-size: 1rem;
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-btn {
    font-family: 'Permanent Marker', cursive;
    padding: 8px 20px;
    background: var(--yellow);
    color: var(--bg);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--yellow);
}

/* Infinite spinner element */
.infinite-spinner {
    position: absolute;
    top: 20%;
    right: 5%;
    font-family: 'Bungee Shade', cursive;
    font-size: 2rem;
    color: var(--pink);
    opacity: 0.3;
    animation: infiniteSpin 3s linear infinite;
    pointer-events: none;
}

@keyframes infiniteSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-hover:hover {
    animation: quickSpin 0.5s ease-in-out;
}

@keyframes quickSpin {
    from { transform: rotate(0deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1.1); }
}

/* ============================================
   TICKER BAR
   ============================================ */

.ticker-bar {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--pink), var(--blue), var(--green), var(--yellow), var(--red), var(--pink));
    background-size: 200% 100%;
    animation: rainbowBg 3s linear infinite;
    padding: 12px 0;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

@keyframes rainbowBg {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.ticker-content {
    display: inline-block;
    animation: tickerScroll 15s linear infinite;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.3rem;
    color: var(--bg);
    font-weight: bold;
}

.ticker-bar.reverse .ticker-content {
    animation: tickerScrollReverse 18s linear infinite;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes tickerScrollReverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(45deg, var(--pink), var(--blue), var(--green), var(--yellow));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   WHAT IS BRAINROT
   ============================================ */

.what-text {
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 2.5;
}

.shake-text {
    animation: textShake 0.1s infinite;
}

@keyframes textShake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, 1px); }
    100% { transform: translate(-1px, -1px); }
}

.sideways-text {
    display: inline-block;
    transform: rotate(-5deg);
    color: var(--pink);
}

.upside-down {
    display: inline-block;
    transform: rotate(180deg);
    color: var(--green);
}

.big-67 {
    font-family: 'Bungee Shade', cursive;
    font-size: 5rem;
    color: var(--red);
    animation: pulse67 0.5s ease-in-out infinite alternate;
    text-shadow: 0 0 30px var(--red), 0 0 60px var(--red);
}

@keyframes pulse67 {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

.color-cycle {
    animation: colorCycle 0.5s infinite;
}

@keyframes colorCycle {
    0% { color: var(--pink); text-shadow: 0 0 20px var(--pink); }
    20% { color: var(--blue); text-shadow: 0 0 20px var(--blue); }
    40% { color: var(--green); text-shadow: 0 0 20px var(--green); }
    60% { color: var(--yellow); text-shadow: 0 0 20px var(--yellow); }
    80% { color: var(--red); text-shadow: 0 0 20px var(--red); }
    100% { color: var(--pink); text-shadow: 0 0 20px var(--pink); }
}

/* ============================================
   BRAINROT GALLERY
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.gallery-item:nth-child(even):hover {
    transform: scale(1.05) rotate(-2deg);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255,0,255,0.3);
}
.img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.img-placeholder::after {
    content: '🧠';
    font-size: 3rem;
    opacity: 0.3;
}

.gallery-item span {
    display: block;
    padding: 10px;
    font-family: 'Permanent Marker', cursive;
    font-size: 0.9rem;
    color: var(--blue);
}

.flash-random {
    animation: flashPulse 2s ease-in-out infinite;
}

@keyframes flashPulse {
    0%, 85%, 100% { border-color: rgba(255, 0, 255, 0.3); }
    90% { border-color: var(--yellow); box-shadow: 0 0 30px var(--yellow); background: rgba(255, 255, 0, 0.1); }
    95% { border-color: var(--red); box-shadow: 0 0 30px var(--red); }
}

/* Stagger the flash timing */
.gallery-item:nth-child(3).flash-random { animation-delay: 0.5s; }
.gallery-item:nth-child(5).flash-random { animation-delay: 1s; }
.gallery-item:nth-child(8).flash-random { animation-delay: 1.5s; }
.gallery-item:nth-child(10).flash-random { animation-delay: 0.3s; }
.gallery-item:nth-child(12).flash-random { animation-delay: 0.8s; }

/* ============================================
   SYMPTOMS
   ============================================ */

.symptoms-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.symptom-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s;
    opacity: 0.5;
}

.symptom-item.checked {
    opacity: 1;
    border-color: var(--green);
    background: rgba(0, 255, 0, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.symptom-check {
    width: 25px;
    height: 25px;
    accent-color: var(--green);
    pointer-events: none;
}

.big-67-inline {
    font-family: 'Bungee Shade', cursive;
    font-size: 2rem;
    color: var(--red);
    animation: colorCycle 0.3s infinite;
}

.diagnosis-result {
    text-align: center;
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    margin-top: 40px;
    padding: 30px;
    border: 3px solid var(--red);
    background: rgba(255, 0, 0, 0.1);
    animation: warningPulse 0.5s ease-in-out infinite alternate;
}

/* ============================================
   TOKENOMICS
   ============================================ */

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.token-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--pink);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.token-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 0, 255, 0.1), transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: cardSpin 4s linear infinite;
}

@keyframes cardSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.token-number {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    position: relative;
    word-break: break-all;
    text-align: center;
    z-index: 1;
}

.token-label {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.2rem;
    color: var(--blue);
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.token-sub {
    font-family: 'Comic Neue', cursive;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
    position: relative;
    z-index: 1;
}

.spin-number {
    animation: spinNumber 5s linear infinite;
    display: inline-block;
}

@keyframes spinNumber {
    0%, 90%, 100% { transform: rotateY(0deg); }
    95% { transform: rotateY(360deg); }
}

.bounce-number {
    animation: bounceNum 1s ease-in-out infinite;
    display: inline-block;
    color: var(--green);
    text-shadow: 0 0 20px var(--green);
}

@keyframes bounceNum {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.shake-number {
    animation: shakeNum 0.1s infinite;
    display: inline-block;
    color: var(--red);
    text-shadow: 0 0 20px var(--red);
}

@keyframes shakeNum {
    0% { transform: translate(0, 0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, 2px); }
    100% { transform: translate(-2px, -2px); }
}

.glitch-number {
    position: relative;
    color: var(--yellow);
}

.glitch-number::before,
.glitch-number::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.glitch-number::before {
    color: var(--pink);
    animation: glitch1 0.2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.glitch-number::after {
    color: var(--blue);
    animation: glitch2 0.2s infinite;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

/* Fly-in animations */
.fly-in-left {
    opacity: 0;
    transform: translateX(-100px) rotate(-10deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fly-in-right {
    opacity: 0;
    transform: translateX(100px) rotate(10deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fly-in-left.visible,
.fly-in-right.visible {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* ============================================
   CTA SECTION
   ============================================ */

#cta {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 255, 0.15) 0%, transparent 70%);
}

.cta-title {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    animation: textShake 0.15s infinite;
}

.cta-sub {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 40px;
}

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

.cta-67 {
    font-family: 'Bungee Shade', cursive;
    font-size: 1.5rem;
    color: var(--red);
    margin-top: 40px;
    animation: colorCycle 0.3s infinite;
    opacity: 0.6;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid rgba(255, 0, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

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

.footer-links a {
    color: var(--blue);
    text-decoration: none;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--pink);
    text-shadow: 0 0 10px var(--pink);
    transform: scale(1.1);
}

.footer-ca {
    font-family: 'Comic Neue', cursive;
    color: var(--yellow);
    margin-bottom: 20px;
    font-size: 1rem;
    word-break: break-all;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   SCREEN SHAKE
   ============================================ */

.screen-shake {
    animation: screenShake 0.3s ease-in-out;
}

@keyframes screenShake {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-5px, -3px); }
    20% { transform: translate(5px, 3px); }
    30% { transform: translate(-3px, 5px); }
    40% { transform: translate(3px, -5px); }
    50% { transform: translate(-5px, 3px); }
    60% { transform: translate(5px, -3px); }
    70% { transform: translate(-3px, -5px); }
    80% { transform: translate(3px, 5px); }
    90% { transform: translate(-5px, -3px); }
}

/* ============================================
   NOISE OVERLAY
   ============================================ */

#main-site::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    animation: noiseMove 0.5s steps(10) infinite;
}

@keyframes noiseMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-10%, -10%); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-huge {
        font-size: 1.2rem;
        padding: 15px 35px;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .infinite-spinner {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ============================================
   SCROLLBAR CHAOS
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--pink), var(--blue), var(--green), var(--yellow), var(--red));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--red), var(--yellow), var(--green), var(--blue), var(--pink));
}

/* ============================================
   ENTRY EXPLOSION
   ============================================ */

#entry-screen.exploding {
    animation: explode 0.8s forwards;
}

@keyframes explode {
    0% { transform: scale(1); opacity: 1; filter: blur(0); }
    50% { transform: scale(1.5); opacity: 0.5; filter: blur(5px); }
    100% { transform: scale(3); opacity: 0; filter: blur(20px); }
}
