/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #0a0a0f; color: #ffffff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; backdrop-filter: blur(20px); background: rgba(10,10,15,0.8); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 800; }
.logo-b { color: #00d4ff; } .logo-mc { color: #00d4ff; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #888; transition: color 0.3s; }
.nav-links a:hover { color: #00d4ff; }
.nav-cta { background: linear-gradient(135deg, #00d4ff, #0088ff); color: #000; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; padding: 10px 24px; border-radius: 6px; transition: transform 0.3s, box-shadow 0.3s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.3); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(0,100,200,0.15), transparent 70%), radial-gradient(ellipse at 80% 80%, rgba(100,0,200,0.1), transparent 50%); }
.hero-particles { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-block; padding: 6px 20px; border: 1px solid rgba(0,212,255,0.4); border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; color: #00d4ff; margin-bottom: 24px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.hero-title { font-family: 'Orbitron', sans-serif; line-height: 1; margin-bottom: 24px; }
.title-line1 { display: block; font-size: clamp(2rem, 8vw, 5rem); font-weight: 400; color: #888; letter-spacing: 0.3em; }
.title-line2 { display: block; font-size: clamp(2.5rem, 10vw, 6.5rem); font-weight: 900; background: linear-gradient(135deg, #00d4ff, #0088ff, #aa55ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 0.05em; }
.hero-subtitle { font-size: 1.1rem; color: #999; max-width: 550px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 60px; }
.ip-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 32px; cursor: pointer; transition: all 0.3s; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ip-box:hover { border-color: #00d4ff; background: rgba(0,212,255,0.05); box-shadow: 0 0 30px rgba(0,212,255,0.1); }
.ip-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; color: #555; }
.ip-value { font-family: 'Orbitron', monospace; font-size: 1.3rem; font-weight: 700; color: #fff; }
.ip-copy { font-size: 0.65rem; color: #00d4ff; font-weight: 600; letter-spacing: 0.1em; }
.btn-discord { background: #5865F2; color: #fff; font-weight: 700; font-size: 0.85rem; padding: 16px 32px; border-radius: 12px; transition: all 0.3s; letter-spacing: 0.05em; }
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(88,101,242,0.3); }
.hero-stats { display: flex; gap: 48px; justify-content: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 800; color: #00d4ff; }
.stat-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; color: #555; margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.3em; color: #444; }
.scroll-arrow { width: 2px; height: 20px; background: linear-gradient(to bottom, #444, transparent); animation: scrollBounce 2s infinite; }
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== SECTIONS ===== */
.section { padding: 120px 0; }
.section-dark { background: #0d0d14; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 12px; letter-spacing: 0.05em; }
.section-subtitle { text-align: center; color: #777; font-size: 1rem; margin-bottom: 60px; }

/* ===== FLOW ===== */
.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.flow-step { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 32px; transition: all 0.3s; }
.flow-step:hover { border-color: #00d4ff; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,212,255,0.05); }
.flow-number { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 900; color: rgba(0,212,255,0.15); margin-bottom: 16px; }
.flow-step h3 { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px; }
.flow-step p { color: #777; font-size: 0.9rem; line-height: 1.6; }

/* ===== AGENTS ===== */
.section-agents { background: linear-gradient(180deg, #0a0a0f 0%, #0d0d1a 100%); }
.agents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.agent-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 28px 24px; text-align: center; transition: all 0.4s; cursor: pointer; }
.agent-card:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.agent-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.agent-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 8px; }
.agent-role { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 12px; }
.role-duelist { background: rgba(255,50,50,0.15); color: #ff5555; }
.role-controller { background: rgba(50,100,255,0.15); color: #5577ff; }
.role-flanker { background: rgba(150,50,200,0.15); color: #aa55ff; }
.role-sentinel { background: rgba(50,200,80,0.15); color: #55ff77; }
.agent-card p { color: #666; font-size: 0.8rem; line-height: 1.5; }
.agent-spells { margin-top: 16px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.spell { font-size: 0.78rem; color: #aaa; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.spell-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 4px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em; flex-shrink: 0; }
.spell-sig { background: rgba(0,200,100,0.15); color: #55ff88; border: 1px solid rgba(0,200,100,0.25); }
.spell-ab { background: rgba(255,200,0,0.12); color: #ffcc44; border: 1px solid rgba(255,200,0,0.2); }
.spell-ult { background: rgba(255,50,50,0.15); color: #ff5555; border: 1px solid rgba(255,50,50,0.25); }

/* ===== RANKED LADDER ===== */
.ranked-ladder { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 60px; }
.ranked-arrow { color: #333; font-size: 1.2rem; }
.rank-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 20px 16px; text-align: center; transition: all 0.3s; min-width: 130px; flex: 0 0 auto; }
.rank-card:hover { border-color: var(--rank-color); box-shadow: 0 0 30px color-mix(in srgb, var(--rank-color) 20%, transparent); transform: translateY(-4px); }
.rank-card-immortal { border: 1px solid rgba(255,85,85,0.25); background: linear-gradient(135deg, rgba(255,50,50,0.08), rgba(255,150,0,0.05)); }
.rank-card-immortal:hover { box-shadow: 0 0 40px rgba(255,85,85,0.2), 0 0 80px rgba(255,85,85,0.05); }
.rank-tier { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 900; color: var(--rank-color); margin-bottom: 6px; letter-spacing: 0.1em; }
.rank-name { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; color: var(--rank-color); margin-bottom: 4px; }
.rank-sub { font-size: 0.65rem; color: #555; }

/* ===== RANKED MECHANICS ===== */
.ranked-mechanics { margin-bottom: 60px; }
.ranked-mechanics-title { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; text-align: center; margin-bottom: 32px; color: #ccc; letter-spacing: 0.1em; }
.mechanic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mechanic-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 24px; transition: all 0.3s; }
.mechanic-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-3px); background: rgba(255,255,255,0.03); }
.mechanic-icon { font-size: 1.5rem; margin-bottom: 10px; }
.mechanic-card h4 { font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: #00d4ff; margin-bottom: 8px; }
.mechanic-card p { font-size: 0.82rem; color: #888; line-height: 1.6; }
.mechanic-card strong { color: #ccc; }

/* ===== RR EXAMPLE ===== */
.rr-example { max-width: 500px; margin: 0 auto; }
.rr-example-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 28px; }
.rr-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.rr-label { color: #888; }
.rr-value { font-weight: 700; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; }
.rr-positive { color: #55ff88; }
.rr-negative { color: #ff5555; }
.rr-total { border-top: 1px solid rgba(0,212,255,0.2); border-bottom: none; margin-top: 8px; padding-top: 12px; }
.rr-total .rr-label { color: #fff; font-weight: 700; }
.rr-total .rr-value { font-size: 1rem; }
.rr-bar-wrap { margin-top: 20px; }
.rr-bar-label { font-size: 0.75rem; color: #888; margin-bottom: 8px; text-align: center; }
.rr-bar-label strong { color: #ffaa00; }
.rr-bar-track { height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.rr-bar-fill { height: 100%; background: linear-gradient(90deg, #55ff88, #00d4ff); border-radius: 4px; transition: width 1s ease; }
.rr-bar-result { text-align: center; margin-top: 10px; font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: 800; color: #55ff88; letter-spacing: 0.1em; }

/* ===== BATTLE PASS ===== */
.section-battlepass { background: linear-gradient(180deg, #0d0d14 0%, #0a0a0f 100%); }
.bp-preview { max-width: 800px; margin: 0 auto; }
.bp-track { display: flex; gap: 12px; overflow-x: auto; padding: 20px 0; }
.bp-tier { flex: 0 0 140px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; text-align: center; }
.bp-tier-num { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 900; color: #00d4ff; margin-bottom: 12px; }
.bp-reward { padding: 8px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.bp-free { background: rgba(255,255,255,0.05); color: #aaa; }
.bp-premium { background: linear-gradient(135deg, rgba(255,170,0,0.15), rgba(255,100,0,0.15)); color: #ffaa00; border: 1px solid rgba(255,170,0,0.2); }
.bp-labels { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.bp-label-free { font-size: 0.7rem; font-weight: 700; color: #666; letter-spacing: 0.15em; }
.bp-label-premium { font-size: 0.7rem; font-weight: 700; color: #ffaa00; letter-spacing: 0.15em; }

/* ===== LEADERBOARD ===== */
.leaderboard-table { max-width: 700px; margin: 0 auto; }
.lb-header { display: grid; grid-template-columns: 50px 1fr 100px 80px 80px; padding: 12px 20px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: #555; border-bottom: 1px solid rgba(255,255,255,0.06); }
.lb-row { display: grid; grid-template-columns: 50px 1fr 100px 80px 80px; padding: 16px 20px; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.03); transition: background 0.3s; }
.lb-row:hover { background: rgba(255,255,255,0.02); }
.lb-gold span:first-child { color: #ffaa00; font-weight: 800; }
.lb-silver span:first-child { color: #ccc; font-weight: 800; }
.lb-bronze span:first-child { color: #cd7f32; font-weight: 800; }
.lb-note { text-align: center; color: #444; font-size: 0.8rem; margin-top: 24px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 800; }
.footer-brand p { color: #555; font-family: 'Inter', sans-serif; font-size: 0.85rem; margin-top: 8px; font-weight: 400; }
.footer-links h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; color: #555; margin-bottom: 12px; }
.footer-links a, .footer-links p { display: block; color: #777; font-size: 0.85rem; margin-bottom: 8px; transition: color 0.3s; }
.footer-links a:hover { color: #00d4ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.footer-bottom p { color: #333; font-size: 0.75rem; text-align: center; }

/* ===== STORE ===== */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.store-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 24px; text-align: center; position: relative; transition: all 0.3s; }
.store-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.store-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #00d4ff; color: #000; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.15em; padding: 4px 16px; border-radius: 100px; }
.store-vipplus .store-badge { background: #55ffff; }
.store-legend .store-badge { background: linear-gradient(135deg, #ffaa00, #ff6600); }
.store-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 800; margin: 16px 0 8px; }
.store-vip h3 { color: #55ff55; } .store-vipplus h3 { color: #55ffff; } .store-legend h3 { color: #ffaa00; }
.store-price { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 900; margin-bottom: 20px; }
.store-price span { font-size: 0.8rem; color: #666; font-weight: 400; }
.store-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.store-card li { padding: 6px 0; color: #aaa; font-size: 0.85rem; }
.store-card li::before { content: '✓ '; color: #55ff55; font-weight: 700; }
.store-btn { display: inline-block; padding: 12px 32px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; background: linear-gradient(135deg, #00d4ff, #0088ff); color: #000; transition: all 0.3s; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.3); }
.store-btn-gold { background: linear-gradient(135deg, #ffaa00, #ff6600); }
.store-btn-gold:hover { box-shadow: 0 8px 30px rgba(255,170,0,0.3); }
.store-btn-purple { background: linear-gradient(135deg, #aa55ff, #6600cc); color: #fff; }
.store-btn-purple:hover { box-shadow: 0 8px 30px rgba(170,85,255,0.3); }
.store-bp { max-width: 600px; margin: 0 auto; }
.store-battlepass { text-align: center; }
.store-battlepass h3 { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; color: #aa55ff; margin-bottom: 8px; }
.store-battlepass p { color: #888; font-size: 0.85rem; margin: 12px 0 20px; }

@media (max-width: 768px) {
    .store-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .lb-header, .lb-row { grid-template-columns: 40px 1fr 80px 60px 60px; font-size: 0.75rem; }
    .ranked-ladder { flex-direction: column; gap: 4px; }
    .ranked-arrow { transform: rotate(90deg); }
    .mechanic-grid { grid-template-columns: 1fr; }
}
