/* ============================================
   $IO - Crypto Battle Royale Info Page
   Green Grid Background Theme
   ============================================ */

:root {
    --bg-green: #1a2e1a;
    --bg-green-dark: #0f1a0f;
    --grid-line: #243d24;
    --grid-line-light: #2d4d2d;
    --accent-green: #4ade80;
    --accent-lime: #a3e635;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --card-bg: rgba(20, 40, 20, 0.8);
    --card-border: rgba(74, 222, 128, 0.2);
    --card-border-hover: rgba(74, 222, 128, 0.5);
    --gold-light: #ffd700;
    --gold-mid: #f4a900;
    --gold-dark: #b8860b;
    --gold-glow: rgba(255, 215, 0, 0.6);
    /* Blueprint theme for tokenomics - lighter */
    --bg-blueprint: #0f2744;
    --grid-blueprint: #2a4a6f;
    --accent-blue: #00a8ff;
    --accent-blue-glow: rgba(0, 168, 255, 0.3);
    --card-bg-blue: rgba(15, 39, 68, 0.9);
    --card-border-blue: rgba(0, 168, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-green);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

/* Base hidden states for scroll animations */
.reveal {
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.fade-up {
    transform: translateY(40px);
}

.reveal.fade-down {
    transform: translateY(-40px);
}

.reveal.fade-left {
    transform: translateX(-40px);
}

.reveal.fade-right {
    transform: translateX(40px);
}

.reveal.fade-scale {
    transform: scale(0.85);
}

.reveal.fade-rotate {
    transform: rotate(-5deg) translateY(30px);
}

/* Visible state - triggered by JS */
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
}

/* Stagger delays for grouped elements */
.reveal.delay-1 { transition-delay: 0.05s; }
.reveal.delay-2 { transition-delay: 0.1s; }
.reveal.delay-3 { transition-delay: 0.15s; }
.reveal.delay-4 { transition-delay: 0.2s; }
.reveal.delay-5 { transition-delay: 0.25s; }
.reveal.delay-6 { transition-delay: 0.3s; }
.reveal.delay-7 { transition-delay: 0.35s; }
.reveal.delay-8 { transition-delay: 0.4s; }

/* Special animation for hero elements */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-reveal.delay-1 { animation-delay: 0.1s; }
.hero-reveal.delay-2 { animation-delay: 0.2s; }
.hero-reveal.delay-3 { animation-delay: 0.3s; }
.hero-reveal.delay-4 { animation-delay: 0.4s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Animated Expanding Underline for Links
   ============================================ */
a:not(.btn):not(.btn-play-gold):not(.btn-secondary):not(.social-link):not(.nav-ca):not(.nav-links a):not(.nav-logo) {
    position: relative;
    text-decoration: none;
}

a:not(.btn):not(.btn-play-gold):not(.btn-secondary):not(.social-link):not(.nav-ca):not(.nav-links a):not(.nav-logo)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease, left 0.3s ease;
}

a:not(.btn):not(.btn-play-gold):not(.btn-secondary):not(.social-link):not(.nav-ca):not(.nav-links a):not(.nav-logo):hover::after {
    width: 100%;
    left: 0;
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 26, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    width: 100%;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.2s ease;
    z-index: 1;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    background: #fff;
    color: #000;
    font-weight: 600;
}

/* Contract Address in Nav */
.nav-ca {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 40, 20, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-ca:hover {
    border-color: var(--accent-green);
    background: rgba(74, 222, 128, 0.1);
}

.nav-ca-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-ca-address {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-green);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: max-width 0.3s ease;
}

.nav-ca:hover .nav-ca-address {
    max-width: 400px;
}

.nav-ca-copy {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-ca:hover .nav-ca-copy {
    color: var(--accent-green);
}

.nav-ca.copied .nav-ca-address {
    color: var(--gold-light);
}

.nav-ca.copied .nav-ca-copy {
    color: var(--gold-light);
}

/* Golden Shiny Play Button */
.btn-play-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px var(--gold-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-play-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Shine effect for $VEX text - animates within the text itself */
.shine-text {
    background: linear-gradient(
        90deg,
        var(--accent-green) 0%,
        var(--accent-green) 35%,
        #ffffff 50%,
        var(--accent-lime) 65%,
        var(--accent-lime) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0% { background-position: 100% center; }
    100% { background-position: -100% center; }
}

/* Override for nav logo which is smaller */
.nav-logo.shine-text {
    background: linear-gradient(
        90deg,
        var(--accent-green) 0%,
        var(--accent-green) 35%,
        #ffffff 50%,
        var(--accent-lime) 65%,
        var(--accent-lime) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Override for flow token name in blue section */
.flow-token-name.shine-text {
    background: linear-gradient(
        90deg,
        var(--accent-blue) 0%,
        var(--accent-blue) 35%,
        #ffffff 50%,
        #60c0ff 65%,
        #60c0ff 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

.btn-play-gold:hover {
    transform: scale(1.15);
    box-shadow:
        0 8px 25px var(--gold-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-play-gold:active {
    transform: scale(0.8);
    transition: transform 0.1s ease;
}

.btn-play-gold .play-icon {
    font-size: 0.8rem;
}

.btn-play-large {
    padding: 18px 44px;
    font-size: 1.15rem;
    border-radius: 10px;
}

.btn-play-large .play-icon {
    font-size: 1rem;
}

/* Green Grid Background */
.hero,
.case-study,
.token-features,
.game-features,
.team-section {
    background-color: var(--bg-green);
    background-image:
        /* Vertical thin lines */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            var(--grid-line) 49px,
            var(--grid-line) 50px
        ),
        /* Horizontal thin lines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            var(--grid-line) 49px,
            var(--grid-line) 50px
        );
    background-size: 50px 50px;
    position: relative;
}

/* Section Spotlight Lighting Effect */
.case-study::before,
.token-features::before,
.game-features::before,
.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(
        ellipse 50% 80% at 50% 20%,
        rgba(74, 222, 128, 0.06) 0%,
        rgba(74, 222, 128, 0.03) 30%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

/* Subtle top accent line that fades at edges */
.case-study::after,
.token-features::after,
.game-features::after,
.team-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.3) 20%,
        rgba(74, 222, 128, 0.5) 50%,
        rgba(74, 222, 128, 0.3) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Alternating section darkness for visual separation */
.case-study,
.game-features {
    background-color: var(--bg-green-dark);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            rgba(36, 61, 36, 0.5) 49px,
            rgba(36, 61, 36, 0.5) 50px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(36, 61, 36, 0.5) 49px,
            rgba(36, 61, 36, 0.5) 50px
        );
    background-size: 50px 50px;
}

/* Blueprint theme for Tokenomics section */
.token-features {
    background-color: var(--bg-blueprint);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            var(--grid-blueprint) 49px,
            var(--grid-blueprint) 50px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            var(--grid-blueprint) 49px,
            var(--grid-blueprint) 50px
        );
    background-size: 50px 50px;
}

.token-features::before {
    background: radial-gradient(
        ellipse 50% 80% at 50% 20%,
        rgba(0, 168, 255, 0.08) 0%,
        rgba(0, 168, 255, 0.04) 30%,
        transparent 60%
    ) !important;
}

.token-features::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 168, 255, 0.3) 20%,
        rgba(0, 168, 255, 0.5) 50%,
        rgba(0, 168, 255, 0.3) 80%,
        transparent 100%
    ) !important;
}

/* Holder pattern background for tokenomics */
.mindmap-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 168, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    border-radius: 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

/* Player Sprites Background */
.hero-players {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.player-sprite {
    position: absolute;
    display: flex;
    align-items: center;
    opacity: 0.2;
}

.player-sprite .player-body {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(74, 222, 128, 0.5));
}

.player-sprite .player-weapon {
    width: 220px;
    height: auto;
    margin-left: -70px;
    transform: rotate(-30deg);
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.4));
}

/* Walking animations - each player moves in a different pattern */
/* Rotation faces the movement direction (sprite default faces right, so 0deg = right) */
.player-1 {
    animation: walk1 25s linear infinite;
}

.player-2 {
    animation: walk2 30s linear infinite;
}

.player-3 {
    animation: walk3 22s linear infinite;
}

.player-4 {
    animation: walk4 28s linear infinite;
}

@keyframes walk1 {
    0% { top: 10%; left: 5%; transform: rotate(225deg); }
    25% { top: 30%; left: 25%; transform: rotate(150deg); }
    50% { top: 15%; left: 40%; transform: rotate(-30deg); }
    75% { top: 35%; left: 15%; transform: rotate(60deg); }
    100% { top: 10%; left: 5%; transform: rotate(225deg); }
}

@keyframes walk2 {
    0% { top: 20%; right: 5%; left: auto; transform: rotate(-45deg); }
    25% { top: 40%; right: 25%; left: auto; transform: rotate(45deg); }
    50% { top: 25%; right: 35%; left: auto; transform: rotate(-150deg); }
    75% { top: 45%; right: 10%; left: auto; transform: rotate(120deg); }
    100% { top: 20%; right: 5%; left: auto; transform: rotate(-45deg); }
}

@keyframes walk3 {
    0% { bottom: 30%; left: 10%; top: auto; transform: rotate(210deg); }
    25% { bottom: 15%; left: 30%; top: auto; transform: rotate(140deg); }
    50% { bottom: 25%; left: 45%; top: auto; transform: rotate(-20deg); }
    75% { bottom: 10%; left: 20%; top: auto; transform: rotate(70deg); }
    100% { bottom: 30%; left: 10%; top: auto; transform: rotate(210deg); }
}

@keyframes walk4 {
    0% { bottom: 25%; right: 10%; left: auto; top: auto; transform: rotate(-35deg); }
    25% { bottom: 10%; right: 30%; left: auto; top: auto; transform: rotate(30deg); }
    50% { bottom: 20%; right: 40%; left: auto; top: auto; transform: rotate(-130deg); }
    75% { bottom: 35%; right: 15%; left: auto; top: auto; transform: rotate(130deg); }
    100% { bottom: 25%; right: 10%; left: auto; top: auto; transform: rotate(-35deg); }
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 40%,
        transparent 0%,
        rgba(26, 46, 26, 0.7) 50%,
        rgba(26, 46, 26, 0.95) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero .section-fade-line {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.hero-title {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-title-small {
    font-size: 0.4em;
    opacity: 0.8;
    background: none !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    color: var(--text-primary);
}

/* Animated shine for hero title */
.hero-title.shine-text {
    background: linear-gradient(
        90deg,
        var(--accent-green) 0%,
        var(--accent-green) 35%,
        #ffffff 50%,
        var(--accent-lime) 65%,
        var(--accent-lime) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 60px rgba(74, 222, 128, 0.3));
    /* Combined reveal + shine animation */
    opacity: 0;
    transform: translateY(30px);
    animation:
        heroReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards,
        textShine 3s ease-in-out 0.7s infinite;
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* DEVELOPED LIVE badge */
.live-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    animation: liveBlink 0.8s ease-in-out infinite;
    box-shadow: 0 0 8px #ff3b3b;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Section fade line */
.section-fade-line {
    width: 100%;
    max-width: 800px;
    height: 1px;
    margin: 40px auto;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 100%
    );
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-lime) 100%);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(74, 222, 128, 0.4);
}

.btn-primary:active {
    transform: scale(0.8);
    transition: transform 0.1s ease;
}

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

.btn-secondary:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: scale(1.15);
}

.btn-secondary:active {
    transform: scale(0.8);
    transition: transform 0.1s ease;
}

.hero-weapons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.weapon-float {
    position: absolute;
    opacity: 0.15;
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.3));
    animation: float 6s ease-in-out infinite;
}

.weapon-1 {
    width: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.weapon-2 {
    width: 150px;
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.weapon-3 {
    width: 80px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   Section Styling
   ============================================ */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* ============================================
   Case Study Section
   ============================================ */
.case-study-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

.case-study-intro p {
    margin-bottom: 16px;
}

.case-study-intro .highlight {
    color: var(--accent-green);
    font-weight: 700;
}

.case-study-intro .emphasis {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-lime);
    margin-top: 24px;
}

.citation-link {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.85em;
    vertical-align: super;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.citation-link:hover {
    opacity: 1;
}

/* ============================================
   Flowchart Tokenomics
   ============================================ */
.flowchart {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Token Header */
.flow-header {
    text-align: center;
    margin-bottom: 0;
}

.flow-token-name {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-blue), #60c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.flow-ca {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg-blue);
    border: 2px dotted var(--card-border-blue);
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flow-ca:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 168, 255, 0.1);
}

.flow-ca-text {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-blue);
}

.flow-ca.copied .flow-ca-text {
    color: var(--gold-light);
}

/* ============================================
   MindElixir Tokenomics Mind Map
   ============================================ */

.mindmap-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 40px 0;
    position: relative;
    min-height: 800px;
    overflow: visible;
}

/* MindElixir Blueprint Theme Overrides */
.mindmap-container svg {
    overflow: visible !important;
}

/* Node styling to match blueprint theme */
.mindmap-container .mind-elixir-node {
    background: var(--card-bg-blue) !important;
    border: 2px solid var(--accent-blue) !important;
    border-radius: 16px !important;
    color: var(--text-primary) !important;
    padding: 20px 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.mindmap-container .mind-elixir-node:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-blue-glow);
    border-color: #60c0ff !important;
}

/* Root node (center $FRAGS) */
.mindmap-container .mind-elixir-node[data-nodeid="root"] {
    border-width: 3px !important;
    box-shadow: 0 0 40px var(--accent-blue-glow);
    padding: 32px 48px !important;
    font-size: 2rem !important;
}

/* Connection lines with blueprint gradient */
.mindmap-container path {
    stroke: url(#lineGradient) !important;
    filter: url(#lineGlow) !important;
    stroke-width: 3 !important;
    opacity: 1 !important;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .mindmap-container {
        min-height: auto;
    }

    .mindmap-container path {
        opacity: 0.6 !important;
        stroke-width: 2 !important;
    }

    .mindmap-container .mind-elixir-node {
        padding: 16px 20px !important;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
}

.stat-card.featured {
    border-color: var(--accent-green);
    background: rgba(74, 222, 128, 0.1);
}

.stat-card.warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.stat-card.dead {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.status-warning {
    color: #fbbf24;
    font-weight: 600;
}

.status-dead {
    color: #ff6b6b;
    font-weight: 600;
}

.stat-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.stat-card.featured .stat-logo {
    color: var(--accent-green);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-card.featured .stat-number {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.stat-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-note {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-style: italic;
}

.differentiators {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.differentiators h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.diff-list {
    list-style: none;
    text-align: left;
}

.diff-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diff-list li:last-child {
    border-bottom: none;
}

.diff-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.diff-list li a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.diff-list li a:hover {
    color: var(--accent-lime);
}

/* ============================================
   Token Features Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
}

.feature-card.coming-soon {
    opacity: 0.8;
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.3));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-headline {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.feature-card p:last-child {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   Game Features Section
   ============================================ */
.game-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.game-feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.game-feature:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
}

.game-feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.game-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.game-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    text-align: center;
}

.team-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* ============================================
   Marketing Plan Section
   ============================================ */
.marketing-section {
    background-color: var(--bg-green);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            var(--grid-line) 49px,
            var(--grid-line) 50px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            var(--grid-line) 49px,
            var(--grid-line) 50px
        );
    background-size: 50px 50px;
    position: relative;
}

.marketing-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.marketing-phase {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.marketing-phase:hover {
    border-color: var(--card-border-hover);
    transform: scale(1.05);
}

.phase-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
}

.phase-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.phase-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.marketing-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background-color: var(--bg-green-dark);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49px,
            rgba(36, 61, 36, 0.5) 49px,
            rgba(36, 61, 36, 0.5) 50px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49px,
            rgba(36, 61, 36, 0.5) 49px,
            rgba(36, 61, 36, 0.5) 50px
        );
    background-size: 50px 50px;
    position: relative;
}

.faq-list {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item summary:hover {
    background: rgba(74, 222, 128, 0.05);
}

.faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item .faq-content p {
    margin: 0;
    padding: 12px 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-green-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Links with Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-green);
    transform: translateY(-5px);
    border-color: var(--accent-green);
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.social-link:hover svg {
    color: #000;
}

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

.contract-address {
    font-family: monospace;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        height: 60px;
    }

    .btn-play-gold {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 24px 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn,
    .btn-play-gold.btn-play-large {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .weapon-float {
        display: none;
    }
}

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

    .stat-number {
        font-size: 2.5rem;
    }
}
