:root {
    --accent: #10b981; /* Emerald 500 */
    --bg: #050505;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: white;
    margin: 0;
    overflow-x: hidden;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

canvas {
    max-height: 300px;
}

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

.age-badge p:first-child {
    color: rgba(255, 255, 255, 0.62);
}

.age-badge #live-age {
    color: #ecfdf5;
}

[class*="border-emerald"] p:first-child {
    color: rgba(255, 255, 255, 0.62);
}


.finance-feature-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 3.5rem;
    padding-top: 0.125rem;
    color: var(--accent);
}

.finance-feature-icons .lucide {
    flex-shrink: 0;
}

.reactive-border {
    transition: border-color 200ms ease;
}

.reactive-border:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.reactive-border-blue {
    transition: border-color 200ms ease;
}

.reactive-border-blue:hover {
    border-color: rgba(59, 130, 246, 0.55);
}

#lang-toggle {
    display: inline-block;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 200ms ease;
    font-family: inherit;
    text-transform: uppercase;
}

#lang-toggle:hover {
    color: #6ee7b7;
    background-color: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.5);
}

#lang-toggle.glow-blue {
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

#lang-toggle.glow-green {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    color: #6ee7b7;
}

.mass-tile {
    transition: background-color 200ms ease, border-color 200ms ease;
}

.mass-tile:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.55);
}

.mass-tile .mass-label {
    transition: color 200ms ease;
}

.mass-tile:hover .mass-label {
    color: #60a5fa;
}
