/* rollup.report - Seapunk Blockchain Analytics */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --abyssal: #0A0F1E;
    --deep-panel: #121A30;
    --sonar-cyan: #00CED1;
    --biolum-green: #00FA9A;
    --coral-pink: #FF69B4;
    --deep-violet: #7B68EE;
    --muted-teal: #5A7A7A;
    --light-foam: #E0F0F0;
}
body {
    background: var(--abyssal);
    color: var(--light-foam);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

/* Top Bar */
#top-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: rgba(10,15,30,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,206,209,0.1);
}
.nav-brand {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--sonar-cyan);
}
.nav-status {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: var(--biolum-green);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--biolum-green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Bubbles (ambient) */
#bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Sonar */
.sonar {
    display: block;
    max-width: 250px;
    margin: 0 auto 2rem;
}
.sonar-ring {
    opacity: 0;
    animation: sonarPulse 4s ease-out infinite;
}
.r1 { animation-delay: 0s; }
.r2 { animation-delay: 0.8s; }
.r3 { animation-delay: 1.6s; }
@keyframes sonarPulse {
    0% { opacity: 0.5; transform-origin: center; }
    100% { opacity: 0; }
}
.blip {
    animation: blipGlow 3s ease-in-out infinite alternate;
}
.blip:nth-child(5) { animation-delay: 0.5s; }
.blip:nth-child(6) { animation-delay: 1s; }
@keyframes blipGlow { 0% { opacity: 0.4; } 100% { opacity: 1; } }

/* Hero */
#hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 2rem 3rem;
}
.hero-title {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--light-foam);
}
.hero-sub {
    font-size: 1rem;
    color: var(--muted-teal);
    margin-top: 0.5rem;
}

/* Content */
#content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}
.report-section {
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.report-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sonar-cyan);
    margin-bottom: 1.5rem;
}
.section-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--light-foam);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.metric-card {
    background: var(--deep-panel);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0,206,209,0.1);
}
.glow-cyan { animation: glowCyan 4s ease-in-out infinite alternate; }
.glow-pink { animation: glowPink 4s ease-in-out infinite alternate; }
.glow-violet { animation: glowViolet 4s ease-in-out infinite alternate; }
@keyframes glowCyan { 0% { box-shadow: 0 0 10px rgba(0,206,209,0.1); } 100% { box-shadow: 0 0 20px rgba(0,206,209,0.2); } }
@keyframes glowPink { 0% { box-shadow: 0 0 10px rgba(255,105,180,0.1); } 100% { box-shadow: 0 0 20px rgba(255,105,180,0.2); } }
@keyframes glowViolet { 0% { box-shadow: 0 0 10px rgba(123,104,238,0.1); } 100% { box-shadow: 0 0 20px rgba(123,104,238,0.2); } }

.metric-value {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 1.5rem;
    color: var(--biolum-green);
}
.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted-teal);
    margin-top: 0.5rem;
}

/* Data Bars */
.data-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}
.bar-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--muted-teal);
    flex: 0 0 80px;
}
.bar-track {
    flex: 1;
    height: 6px;
    background: var(--deep-panel);
    border-radius: 3px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: var(--sonar-cyan);
    border-radius: 3px;
    transition: width 1s ease;
}
.bar-fill.wide { background: var(--biolum-green); }
.bar-fill.pink { background: var(--coral-pink); }
.bar-fill.violet { background: var(--deep-violet); }
.bar-value {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--light-foam);
    flex: 0 0 70px;
    text-align: right;
}

/* Footer */
#footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
}
.footer-text {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--muted-teal);
    opacity: 0.3;
}

@media (max-width: 600px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .data-bar { flex-wrap: wrap; }
    .bar-label { flex: 0 0 100%; }
}
