/* CSS Variables */
:root {
    --bg: #0b0d10;
    --fg: #e6f1ff;
    --muted: #7c8aa5;
    --up: #27e08b;
    --down: #ff3b3b;
    --accent: #c8f902;
    --glow: rgba(200, 249, 2, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Moving Chart Background */
.chart-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--up) 15%, 
        var(--down) 30%, 
        var(--up) 45%, 
        var(--down) 60%, 
        var(--up) 75%, 
        var(--down) 90%, 
        transparent 100%
    );
    animation: chart-move 6s linear infinite;
    opacity: 0.4;
    box-shadow: 0 0 10px var(--up);
}

.chart-line:nth-child(2) {
    animation-delay: -1.5s;
    opacity: 0.3;
    box-shadow: 0 0 10px var(--down);
}

.chart-line:nth-child(3) {
    animation-delay: -3s;
    opacity: 0.25;
    box-shadow: 0 0 8px var(--up);
}

.chart-line:nth-child(4) {
    animation-delay: -4.5s;
    opacity: 0.2;
    box-shadow: 0 0 8px var(--down);
}

@keyframes chart-move {
    0% {
        transform: translateY(100vh) scaleY(1);
    }
    25% {
        transform: translateY(75vh) scaleY(1.5);
    }
    50% {
        transform: translateY(50vh) scaleY(2);
    }
    75% {
        transform: translateY(25vh) scaleY(1.5);
    }
    100% {
        transform: translateY(0) scaleY(1);
    }
}

/* Scanline Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 13, 16, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 138, 165, 0.2);
    z-index: 100;
    transition: opacity 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: linear-gradient(135deg, var(--bg) 0%, #1a1d24 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

/* Glitch Text Effect */
.glitch-text {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 20px var(--glow);
    position: relative;
    margin-bottom: 2rem;
    animation: glitch 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 {
    animation: glitch-1 2s infinite;
    color: var(--up);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 2.5s infinite;
    color: var(--down);
    z-index: -2;
}

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

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

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

/* Ticker Badge */
.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(124, 138, 165, 0.1);
    border: 1px solid rgba(124, 138, 165, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-family: monospace;
    font-size: 1.1rem;
}

.ticker-symbol {
    color: var(--accent);
    font-weight: bold;
}

.ticker-price {
    color: var(--up);
    animation: price-flash 2s infinite;
}

@keyframes price-flash {
    0%, 50% { color: var(--up); }
    25%, 75% { color: var(--down); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 20px var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow);
}

.btn-secondary {
    background: transparent;
    color: var(--fg);
    border: 2px solid var(--fg);
}

.btn-secondary:hover {
    background: var(--fg);
    color: var(--bg);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Marquee Ticker */
.marquee-container {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: rgba(11, 13, 16, 0.8);
    border-top: 1px solid rgba(124, 138, 165, 0.2);
}

.marquee {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    padding: 0.5rem 2rem;
    font-family: monospace;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 2rem;
}

.marquee-item.up {
    color: var(--up);
}

.marquee-item.down {
    color: var(--down);
}

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

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent);
    text-shadow: 0 0 10px var(--glow);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.about-tweet {
    display: flex;
    justify-content: center;
}





/* Token Box Section */
.token-box {
    background: linear-gradient(135deg, var(--bg) 0%, #1a1d24 100%);
}

.token-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(124, 138, 165, 0.1);
    border: 1px solid rgba(124, 138, 165, 0.2);
    border-radius: 8px;
}

.token-label {
    color: var(--muted);
    font-weight: 500;
}

.token-value {
    color: var(--accent);
    font-weight: bold;
}

.contract-address {
    font-family: monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(200, 249, 2, 0.1);
    border: 1px solid rgba(200, 249, 2, 0.3);
}

.contract-address:hover {
    background: rgba(200, 249, 2, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--glow);
    transform: scale(1.02);
}

.contract-address.copied {
    background: var(--up);
    color: var(--bg);
    animation: contract-copied 0.5s ease;
}

@keyframes contract-copied {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.token-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: rgba(11, 13, 16, 0.95);
    border-top: 1px solid rgba(124, 138, 165, 0.2);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.footer-disclaimer {
    color: var(--muted);
    font-style: italic;
}

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

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

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

.footer-copyright {
    color: var(--muted);
    font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .token-details {
        grid-template-columns: 1fr;
    }
    
    .token-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    

}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.share-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg: #000000;
        --fg: #ffffff;
        --muted: #cccccc;
        --up: #00ff00;
        --down: #ff0000;
        --accent: #ffff00;
    }
}
