/* ===== CSS RESET & VARIABLES ===== */
:root {
    --primary-blue: #0545EB;
    --primary-dark-blue: #0426DB;
    --primary-light-blue: #1084d0;
    --accent-yellow: #FFE878;
    --accent-gold: #FFD700;
    --bg-light: #ffffff;
    --bg-lighter: #f5f5f5;
    --text-dark: #0a0a0a;
    --text-gray: #666666;
    --win95-gray: #c0c0c0;
    --win95-dark: #808080;
    --win95-light: #ffffff;
    --win95-blue: #000080;
    --glow-blue: 0 0 20px rgba(5, 69, 235, 0.5);
    --glow-yellow: 0 0 20px rgba(255, 232, 120, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pixelify Sans', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== SCANLINES OVERLAY ===== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* ===== INTRO OVERLAY ===== */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

#intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#intro-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 6rem;
    z-index: 10001;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

#intro-text.show {
    opacity: 1;
    transform: scale(1);
}

.intro-dollar {
    color: var(--accent-yellow);
    text-shadow: var(--glow-yellow);
}

.intro-js {
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
}

#intro-status {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: var(--primary-blue);
    margin-top: 2rem;
    z-index: 10001;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--primary-blue);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5rem;
}

.logo-dollar {
    color: var(--accent-yellow);
    text-shadow: var(--glow-yellow);
}

.logo-js {
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
}

.buy-btn {
    background: var(--primary-blue) !important;
    color: var(--text-white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0;
    font-weight: bold;
    animation: pulse-blue 2s infinite;
}

.buy-btn:hover {
    background: var(--accent-yellow) !important;
    color: var(--bg-dark) !important;
}

@keyframes pulse-blue {
    0%, 100% { box-shadow: 0 0 5px var(--primary-blue); }
    50% { box-shadow: 0 0 20px var(--primary-blue), 0 0 40px var(--primary-blue); }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-blue);
    transform: scale(1.2);
}

/* ===== TICKER BANNER ===== */
.ticker-container {
    margin-top: 70px;
    background: var(--primary-blue);
    overflow: hidden;
    border-bottom: 2px solid var(--primary-dark-blue);
}

.ticker {
    display: flex;
    animation: ticker 20s linear infinite;
}

.ticker span {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    color: var(--text-white);
    padding: 0.75rem 0;
    white-space: nowrap;
    animation: flash-colors 0.5s infinite;
}

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

@keyframes flash-colors {
    0%, 100% { color: var(--text-white); }
    50% { color: var(--accent-yellow); }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(5, 69, 235, 0.1) 0%, transparent 50%),
        var(--bg-light);
}

.hero-content {
    max-width: 900px;
}

/* Coin Image */
.coin-image {
    margin-bottom: 2rem;
}

.coin-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    animation: coin-float 3s ease-in-out infinite, coin-glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(5, 69, 235, 0.5));
}

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

@keyframes coin-glow {
    0% { filter: drop-shadow(0 0 20px rgba(5, 69, 235, 0.5)); }
    100% { filter: drop-shadow(0 0 40px rgba(255, 232, 120, 0.8)); }
}

/* Glitch Effect */
.glitch {
    font-family: 'Press Start 2P', monospace;
    font-size: 8rem;
    color: var(--primary-blue);
    position: relative;
    text-shadow: var(--glow-blue);
    animation: glitch-main 3s infinite;
}

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

.glitch::before {
    color: var(--accent-yellow);
    animation: glitch-1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translateX(-2px);
}

.glitch::after {
    color: var(--primary-light-blue);
    animation: glitch-2 2s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translateX(2px);
}

@keyframes glitch-main {
    0%, 90%, 100% { transform: skewX(0deg); }
    92% { transform: skewX(2deg); }
    94% { transform: skewX(-2deg); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    40% { transform: translateX(-2px) skewX(2deg); }
    60% { transform: translateX(2px); }
    80% { transform: translateX(-2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translateX(2px); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px) skewX(-2deg); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

.subtitle {
    font-family: 'Press Start 2P', monospace;
    font-size: 2.5rem;
    color: var(--accent-yellow);
    text-shadow: var(--glow-yellow);
    margin-top: 1rem;
    animation: pulse-text 2s infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
    letter-spacing: 2px;
}

/* Contract Box */
.contract-box {
    margin-top: 3rem;
    background: rgba(5, 69, 235, 0.1);
    border: 2px solid var(--primary-blue);
    padding: 1.5rem;
}

.contract-label {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contract-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#ca-text {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-dark);
    word-break: break-all;
}

#ca-text.coming-soon {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    color: var(--primary-blue);
    animation: pulse-text 2s infinite;
}

.copy-btn {
    background: var(--primary-blue);
    color: var(--text-white);
    border: none;
    padding: 0.5rem 1rem;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent-yellow);
}

.copy-btn.copied {
    background: var(--accent-yellow);
}

/* Platform Links */
.platform-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(5, 69, 235, 0.05);
    border: 1px solid var(--text-gray);
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    border-color: var(--primary-blue);
    background: rgba(5, 69, 235, 0.1);
}

.platform-badge img {
    width: 24px;
    height: 24px;
}

/* ===== WIN95 WINDOWS ===== */
.win95-window {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-light) var(--win95-dark) var(--win95-dark) var(--win95-light);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.win95-window.large {
    max-width: 1000px;
}

.win95-title-bar {
    background: linear-gradient(90deg, var(--win95-blue), #1084d0);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.win95-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
}

.win95-icon {
    font-size: 1rem;
}

.win95-controls {
    display: flex;
    gap: 2px;
}

.win95-btn {
    width: 20px;
    height: 20px;
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-light) var(--win95-dark) var(--win95-dark) var(--win95-light);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.win95-btn:active {
    border-color: var(--win95-dark) var(--win95-light) var(--win95-light) var(--win95-dark);
}

.win95-content {
    padding: 2rem;
    background: var(--bg-light);
    border: 2px solid;
    border-color: var(--win95-dark) var(--win95-light) var(--win95-light) var(--win95-dark);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 2rem;
    background: var(--bg-lighter);
}

.section-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-blue);
    font-weight: bold;
}

.subsection-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.motto {
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.flash-text {
    animation: flash-glow 1s infinite;
    color: var(--accent-yellow);
}

@keyframes flash-glow {
    0%, 100% {
        text-shadow: var(--glow-yellow);
        opacity: 1;
    }
    50% {
        text-shadow: 0 0 40px var(--accent-yellow), 0 0 60px var(--accent-yellow);
        opacity: 0.9;
    }
}

.node-reference {
    margin-top: 2rem;
    background: #f0f4ff;
    border: 1px solid var(--primary-blue);
    padding: 1.5rem;
    overflow-x: auto;
}

.node-reference pre {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-blue);
    white-space: pre;
    margin: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    background: rgba(5, 69, 235, 0.05);
    border: 2px solid var(--primary-blue);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
}

.stat-value {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5rem;
    color: var(--accent-yellow);
    text-shadow: var(--glow-yellow);
    margin-bottom: 0.5rem;
}

.stat-value.coming-soon-stat {
    font-size: 1rem;
    color: var(--primary-blue);
    text-shadow: none;
    animation: pulse-text 2s infinite;
}

.stat-value.live-data {
    color: var(--accent-yellow);
    text-shadow: var(--glow-yellow);
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
    padding: 6rem 2rem;
    background: var(--bg-lighter);
}

.community-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.community-cards.single {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.community-card {
    background: rgba(5, 69, 235, 0.05);
    border: 2px solid var(--text-gray);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.community-card:hover {
    transform: translateY(-5px);
}

.community-card.twitter:hover {
    border-color: #1DA1F2;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.3);
}

.community-card.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
}

.community-card.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.card-icon {
    font-size: 2.5rem;
}

.card-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ===== MEMES SECTION ===== */
.memes-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.meme-text {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.meme-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.meme-item {
    aspect-ratio: 1;
    background: rgba(5, 69, 235, 0.05);
    border: 2px solid var(--primary-blue);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meme-item:hover {
    box-shadow: var(--glow-blue);
    transform: scale(1.02);
}

.meme-item:hover img {
    transform: scale(1.1);
}

.meme-placeholder {
    aspect-ratio: 1;
    background: rgba(5, 69, 235, 0.1);
    border: 2px dashed var(--primary-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meme-placeholder:hover {
    background: rgba(5, 69, 235, 0.2);
    transform: scale(1.02);
}

.meme-emoji {
    font-size: 3rem;
}

.meme-placeholder span:last-child {
    font-size: 0.8rem;
    color: var(--primary-blue);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-blue);
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-yellow);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    box-shadow: var(--glow-blue);
}

/* ===== TOKENOMICS SECTION ===== */
.tokenomics-section {
    padding: 6rem 2rem;
    background: var(--bg-lighter);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.token-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(5, 69, 235, 0.05);
    border: 1px solid var(--text-gray);
}

.token-value {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.token-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 8rem 2rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(5, 69, 235, 0.15) 0%, transparent 50%),
        var(--bg-light);
    text-align: center;
}

.cta-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    padding: 1.25rem 3rem;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: pulse-blue 2s infinite;
}

.cta-button:hover {
    background: var(--accent-yellow);
    transform: scale(1.05);
}

.btn-rocket {
    font-size: 1.5rem;
    animation: rocket-bounce 1s infinite;
}

@keyframes rocket-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-lighter);
    border-top: 2px solid var(--primary-blue);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-motto {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-size: 0.7rem;
    color: var(--text-gray);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .stats-grid,
    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .glitch {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    nav {
        display: none;
    }

    .header-content {
        justify-content: space-between;
    }

    .stats-grid,
    .tokenomics-grid,
    .community-cards {
        grid-template-columns: 1fr;
    }

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

    #intro-text {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .win95-content {
        padding: 1rem;
    }

    .platform-links {
        flex-direction: column;
        align-items: center;
    }

    .meme-gallery {
        grid-template-columns: 1fr;
    }
}
