/* 
   THEME: NEON KAWAII DEGEN
   TARGET: PUMP.FUN
*/

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Inter:wght@400;600;800&display=swap');

:root {
    /* Core Palette */
    --neon-pink: #FF0099;
    --neon-cyan: #00FFEA;
    --neon-yellow: #FAFF00;
    --neon-purple: #9D00FF;

    /* Backgrounds */
    --bg-dark: #0a0a12;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-white: #ffffff;
    --text-dim: #a0a0b0;

    /* Effects */
    --glow-pink: 0 0 20px rgba(255, 0, 153, 0.6);
    --glow-cyan: 0 0 20px rgba(0, 255, 234, 0.6);
    --border-gradient: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(157, 0, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 153, 0.2) 0%, transparent 40%);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* Allow clicking through */
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Bangers', cursive;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.neon-border {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    z-index: 1;
}

.neon-border::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: var(--border-gradient);
    z-index: -1;
    filter: blur(5px);
    opacity: 0.7;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    height: var(--header-height);
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 2rem;
    color: var(--text-white);
    text-shadow: 2px 2px 0px var(--neon-pink);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.cta-btn {
    background: #10e07e;
    /* Pump.fun Green */
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(16, 224, 126, 0.6);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(16, 224, 126, 0.8);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.hero-title {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px #000;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-mascot {
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-mascot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--text-white);
    box-shadow: 0 0 50px rgba(255, 0, 153, 0.5);
}

/* Contract Box */
.contract-box {
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed var(--neon-cyan);
    padding: 20px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.contract-box:hover {
    background: rgba(0, 255, 234, 0.1);
}

.contract-address {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Marquee Bar */
.marquee-container {
    background: var(--neon-pink);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    transform: rotate(-2deg);
    margin: 40px 0;
    border-top: 2px solid var(--neon-yellow);
    border-bottom: 2px solid var(--neon-yellow);
    box-shadow: 0 0 20px var(--neon-pink);
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.marquee-item {
    display: inline-block;
    margin: 0 20px;
}

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

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

/* Glitch Effect */
.glitch {
    position: relative;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--neon-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--neon-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    15% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(60px, 9999px, 30px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    10% {
        clip: rect(60px, 9999px, 30px, 0);
    }

    15% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 60px, 0);
    }
}

/* How to Buy Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--neon-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    box-shadow: 0 0 10px var(--neon-pink);
}

.step-title {
    font-size: 1.5rem;
    margin: 10px 0;
    color: var(--neon-yellow);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    padding: 30px;
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-family: 'Bangers', cursive;
    color: var(--neon-yellow);
}

.stat-label {
    color: var(--text-dim);
    font-size: 1rem;
    text-transform: uppercase;
}

/* Features / Roadmap */
.section-title {
    font-size: 4rem;
    text-align: center;
    margin: 80px 0 40px;
}

.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border-left: 5px solid var(--neon-pink);
}

.roadmap-phase {
    background: var(--neon-pink);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Bangers', cursive;
}

/* Chad Wall */
.chad-wall-container {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.chad-wall-scroll {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scroll-vertical 20s linear infinite;
}

.chad-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--neon-cyan);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 15px;
}

.chad-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neon-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chad-content h4 {
    color: var(--neon-yellow);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.chad-content p {
    color: var(--text-white);
    font-size: 0.9rem;
}

.chad-overlay-top,
.chad-overlay-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    pointer-events: none;
}

.chad-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
}

.chad-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }

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

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--neon-cyan);
    color: black;
    transform: translateY(-5px);
}

.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--neon-pink);
    border: 2px solid white;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 20px var(--neon-pink);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.music-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background: var(--neon-cyan);
    box-shadow: 0 0 30px var(--neon-cyan);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 153, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 0, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 153, 0);
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .sticky-header {
        height: auto;
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        border-radius: 20px;
        width: 95%;
        top: 10px;
    }

    .nav-links {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 5px 10px;
        border-radius: 10px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .contract-box {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding-top: 220px;
        /* Add more padding to account for taller header */
    }
}