/* Base Resets and Scrollbar */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0d14;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00f0ff;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(18, 24, 38, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(to right, #ffffff, #e2e8f0, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-brand {
    background: linear-gradient(135deg, #00f0ff 0%, #008b94 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon Glow Button */
.btn-glow {
    position: relative;
    z-index: 1;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: #00f0ff;
    z-index: -1;
    border-radius: 9999px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-glow:hover::before {
    opacity: 0.6;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    width: 100%;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 13, 20, 1) 0%, rgba(10, 13, 20, 0.8) 40%, transparent 100%);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 13, 20, 1) 0%, rgba(10, 13, 20, 0.8) 40%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

/* Tokenomics Pie Chart */
.pie-chart {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    /* Clean, clearly separated 40 / 20 / 15 / 15 / 10 segments */
    background: conic-gradient(
        #00f0ff 0deg 144deg,      /* 40% Presale */
        #10b981 144deg 216deg,    /* 20% Liquidity */
        #3b82f6 216deg 270deg,    /* 15% Marketing */
        #6366f1 270deg 324deg,    /* 15% Ecosystem */
        #e5e7eb 324deg 360deg     /* 10% Team */
    );
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
    border: 2px solid rgba(255,255,255,0.08);
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Timeline specific line */
.timeline-line {
    position: absolute;
    left: 19px; /* center of a 40px icon */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00f0ff 0%, rgba(0, 240, 255, 0.1) 100%);
    z-index: 0;
}