/* ============================================
   Project 0080 — Crypto/Web3 Style
   Deep purple-indigo + cyan glow, dark theme
   ============================================ */

:root {
    scroll-behavior: smooth;
    --glow-cyan: #06b6d4;
    --glow-purple: #a855f7;
    --glow-indigo: #6366f1;
    --bg-deep: #0a0a1a;
    --bg-card: rgba(15, 15, 40, 0.8);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    color: #e2e8f0;
}

/* ====== Animated Mesh Gradient Background ====== */
.mesh-bg {
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
}
.mesh-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(99,102,241,0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 70% at 80% 60%, rgba(6,182,212,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 80%, rgba(168,85,247,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 70% 40% at 40% 10%, rgba(99,102,241,0.08) 0%, transparent 40%);
    animation: meshFloat 12s ease-in-out infinite alternate;
    z-index: 0;
}
.mesh-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(6,182,212,0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(168,85,247,0.08) 0%, transparent 40%);
    animation: meshFloat 15s ease-in-out infinite alternate-reverse;
    z-index: 0;
}
@keyframes meshFloat {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(-10px, -10px); }
    100% { transform: scale(1) translate(10px, 5px); }
}

/* ====== Floating Token Badges ====== */
.token-float {
    position: absolute;
    border-radius: 50%;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #a5b4fc;
    animation: tokenFloat 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
.token-float:nth-child(1) { width: 64px; height: 64px; top: 10%; left: 5%; animation-delay: 0s; }
.token-float:nth-child(2) { width: 48px; height: 48px; top: 65%; left: 8%; animation-delay: 1.5s; }
.token-float:nth-child(3) { width: 72px; height: 72px; top: 15%; right: 8%; animation-delay: 3s; }
.token-float:nth-child(4) { width: 52px; height: 52px; bottom: 20%; right: 5%; animation-delay: 4.5s; }
@keyframes tokenFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(8px) rotate(-3deg); }
}

/* ====== NFT-style Glow Cards ====== */
.nft-card {
    background: linear-gradient(145deg, rgba(30,27,75,0.7), rgba(15,15,40,0.8));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 20px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.nft-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(6,182,212,0.3), rgba(168,85,247,0.3), rgba(99,102,241,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.nft-card:hover::before {
    opacity: 1;
}
.nft-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 0 30px rgba(6,182,212,0.2),
        0 0 60px rgba(168,85,247,0.15),
        0 20px 50px rgba(0,0,0,0.4);
    border-color: rgba(6,182,212,0.4);
}
.nft-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.nft-card:hover .card-glow {
    opacity: 1;
}

/* ====== Crypto Button Styles ====== */
.btn-cyber {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: 1px solid rgba(99,102,241,0.5);
    box-shadow: 0 0 25px rgba(99,102,241,0.3), 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-cyber:hover {
    box-shadow: 0 0 40px rgba(99,102,241,0.5), 0 0 80px rgba(6,182,212,0.25), 0 12px 35px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}
.btn-cyber-outline {
    background: transparent;
    border: 1px solid rgba(6,182,212,0.5);
    box-shadow: 0 0 15px rgba(6,182,212,0.1);
    transition: all 0.3s ease;
}
.btn-cyber-outline:hover {
    border-color: rgba(6,182,212,0.8);
    box-shadow: 0 0 30px rgba(6,182,212,0.25), 0 0 60px rgba(6,182,212,0.1);
    transform: translateY(-3px);
    background: rgba(6,182,212,0.05);
}

/* ====== Ticker Stat Counters ====== */
.ticker-stat {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}
.ticker-value {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #c4b5fd 0%, #818cf8 60%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.ticker-label {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ====== Testimonial Cards Web3 ====== */
.testimonial-web3 {
    background: rgba(20,20,50,0.6);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    transition: all 0.4s ease;
}
.testimonial-web3:hover {
    border-color: rgba(6,182,212,0.3);
    box-shadow: 0 0 40px rgba(6,182,212,0.08), 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(-4px);
}

/* ====== Accordion Web3 ====== */
.accordion-web3 {
    background: rgba(20,20,50,0.5);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
}
.accordion-web3:hover {
    border-color: rgba(99,102,241,0.25);
    box-shadow: 0 0 20px rgba(99,102,241,0.05);
}
.accordion-web3.active {
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 0 25px rgba(6,182,212,0.1);
}

/* ====== Hamburger Menu ====== */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #e2e8f0;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ====== Glow Divider ====== */
.divider-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), rgba(168,85,247,0.4), transparent);
}

/* ====== CTA Gradient ====== */
.cta-web3-bg {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f0a2e 30%, #0a1628 60%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}
.cta-web3-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(6,182,212,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(168,85,247,0.12) 0%, transparent 50%);
}

/* ====== Token Badge in stats ====== */
.stat-badge {
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25);
    border-radius: 999px;
    color: #67e8f9;
    font-size: 0.7rem;
    padding: 2px 10px;
}

/* ====== Star Rating Glow ====== */
.star-glow {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251,191,36,0.5));
}

/* ====== Avatar rings ====== */
.avatar-ring {
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    padding: 2px;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .ticker-value { font-size: 2.2rem; }
    .token-float { display: none; }
}
