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

:root {
    --purple: #9333ea;
    --purple-light: #a855f7;
    --magenta: #c026d3;
    --blue: #3b82f6;
    --accent: #c084fc;
    --bg: #070910;
    --bg2: #0d1020;
    --bg3: #111827;
    --card: #0f1526;
    --card-hover: #141d35;
    --border: rgba(147, 51, 234, 0.15);
    --border-hover: rgba(147, 51, 234, 0.4);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --radius: 16px;
}

html { scroll-behavior: smooth; }

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

/* ─── BG ORBS ─── */
.bg-orb { position: fixed; border-radius: 50%; filter: blur(100px); opacity: 0.12; pointer-events: none; z-index: 0; animation: float 8s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: var(--purple); top: -100px; left: -150px; }
.orb-2 { width: 400px; height: 400px; background: var(--magenta); top: 30vh; right: -100px; animation-delay: 3s; }
.orb-3 { width: 350px; height: 350px; background: var(--blue); bottom: 10vh; left: 20%; animation-delay: 6s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

/* ─── UTILS ─── */
.gradient-text { background: linear-gradient(135deg, var(--purple-light), var(--magenta), #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.accent { color: var(--purple-light); }
.hidden { display: none !important; }

/* ─── NAV ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s, border-color 0.3s; }
nav.scrolled { background: rgba(7,9,16,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 48px; max-width: 1200px; margin: 0 auto; }
.nav-left { display: flex; align-items: center; gap: 12px; }
nav img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(147,51,234,0.6)); }
.nav-brand { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn-discord { display: flex; align-items: center; gap: 8px; background: #5865F2; color: white; text-decoration: none; padding: 9px 18px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; transition: all 0.2s; box-shadow: 0 4px 20px rgba(88,101,242,0.3); }
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(88,101,242,0.5); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; padding: 16px 24px 24px; background: rgba(7,9,16,0.97); border-top: 1px solid var(--border); gap: 4px; }
.mobile-menu a { color: var(--muted); text-decoration: none; padding: 12px 8px; border-radius: 8px; font-weight: 500; transition: all 0.2s; }
.mobile-menu a:hover { color: var(--text); background: var(--card); }
.mobile-menu .mobile-discord { margin-top: 8px; background: #5865F2; color: white; text-align: center; padding: 13px; border-radius: 10px; }

/* ─── HERO ─── */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(147,51,234,0.1); border: 1px solid rgba(147,51,234,0.3); padding: 7px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-bottom: 28px; animation: fadeUp 0.6s ease both; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(0.85); } }
.hero h1 { font-size: clamp(2.8rem,7vw,5.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px; animation: fadeUp 0.6s 0.1s ease both; }
.hero-sub { max-width: 600px; color: var(--muted); font-size: 1.1rem; margin-bottom: 40px; animation: fadeUp 0.6s 0.2s ease both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.6s 0.3s ease both; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--purple), var(--magenta)); color: white; text-decoration: none; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 1rem; transition: all 0.2s; box-shadow: 0 8px 32px rgba(147,51,234,0.35); border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(147,51,234,0.55); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; padding: 14px 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); font-weight: 600; font-size: 1rem; transition: all 0.2s; }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
.hero-visual { position: relative; margin-top: 64px; animation: fadeUp 0.6s 0.4s ease both; }
.hero-logo { width: 160px; height: 160px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 0 40px rgba(147,51,234,0.7)); animation: logoFloat 4s ease-in-out infinite; }
@keyframes logoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.glow-ring { position: absolute; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(147,51,234,0.25) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity:1; } 50% { transform: translate(-50%,-50%) scale(1.2); opacity:0.6; } }

/* ─── STATS ─── */
.stats-section { position: relative; z-index: 1; padding: 0 24px; margin-bottom: 80px; }
.stats-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 48px; backdrop-filter: blur(10px); }
.stat-card { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: center; }
.stat-icon { font-size: 1.8rem; line-height: 1; }
.online-dot-wrap { display: flex; align-items: center; justify-content: center; }
.online-dot { width: 14px; height: 14px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 12px #22c55e; animation: pulse 2s infinite; }
.stat-info p { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.stat-number { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.stat-divider { width: 1px; height: 52px; background: var(--border); margin: 0 24px; }

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: rgba(147,51,234,0.12); color: var(--accent); padding: 5px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; border: 1px solid rgba(147,51,234,0.25); }
.section-header h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto; }

/* ─── FEATURES ─── */
.features-section { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.feature-card:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.feature-large { grid-column: 1; grid-row: 1 / 3; }
.feature-glow { position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(147,51,234,0.15) 0%, transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.feature-card:hover .feature-glow { opacity: 1; }
.feature-emoji { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.feature-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags span { background: rgba(147,51,234,0.1); border: 1px solid rgba(147,51,234,0.2); color: var(--accent); padding: 4px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; }

/* ─── RANKS BANNER ─── */
.ranks-banner { background: linear-gradient(135deg, rgba(147,51,234,0.08), rgba(192,38,211,0.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 24px; text-align: center; position: relative; z-index: 1; }
.ranks-banner p { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 16px; }
.ranks-list { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ranks-list span { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 6px 16px; border-radius: 100px; font-size: 0.88rem; font-weight: 600; white-space: nowrap; transition: all 0.2s; }
.ranks-list span:hover { background: rgba(147,51,234,0.15); border-color: rgba(147,51,234,0.35); transform: translateY(-2px); }

/* ─── TOURNAMENT ─── */
.tournament-section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }
.tournament-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.countdown-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 40px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.countdown-card::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 300px; height: 200px; background: radial-gradient(ellipse, rgba(147,51,234,0.18) 0%, transparent 70%); pointer-events: none; }
.countdown-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; border: 1px solid rgba(147,51,234,0.25); background: rgba(147,51,234,0.1); color: var(--accent); }
.countdown-status.live { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: #4ade80; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-light); animation: pulse 2s infinite; }
.countdown-status.live .status-dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.countdown-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.countdown-grid { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 16px 18px; min-width: 72px; }
.countdown-num { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, var(--purple-light), var(--magenta)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-variant-numeric: tabular-nums; }
.countdown-sub { font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.countdown-sep { font-size: 2rem; font-weight: 900; color: var(--border-hover); line-height: 1; padding-bottom: 18px; }
.countdown-meta { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.calendar-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 36px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.calendar-header h3 { font-size: 1.1rem; font-weight: 700; }
.calendar-tz { font-size: 0.75rem; font-weight: 600; color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); padding: 4px 10px; border-radius: 100px; }
.calendar-list { display: flex; flex-direction: column; gap: 10px; }
.calendar-item { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 18px; transition: all 0.2s; }
.calendar-item:hover { background: rgba(147,51,234,0.08); border-color: rgba(147,51,234,0.2); }
.calendar-item.next { background: rgba(147,51,234,0.1); border-color: rgba(147,51,234,0.35); }
.cal-date { display: flex; flex-direction: column; align-items: center; background: rgba(147,51,234,0.15); border-radius: 10px; padding: 8px 12px; min-width: 52px; }
.calendar-item.next .cal-date { background: linear-gradient(135deg, var(--purple), var(--magenta)); }
.cal-day { font-size: 1.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.cal-month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-top: 2px; }
.calendar-item.next .cal-month { color: rgba(255,255,255,0.8); }
.cal-info { flex: 1; }
.cal-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.cal-time { font-size: 0.8rem; color: var(--muted); }
.cal-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 100px; background: linear-gradient(135deg, var(--purple), var(--magenta)); color: white; white-space: nowrap; }

/* ─── SOCIALS ─── */
.socials-section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }
.socials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.social-card:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.social-platform { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 8px; width: fit-content; }
.social-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.social-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; flex: 1; }
.social-arrow { color: var(--purple-light); font-size: 1.2rem; font-weight: 700; transition: transform 0.2s; margin-top: 4px; }
.social-card:hover .social-arrow { transform: translateX(4px); }

/* ─── CTA ─── */
.cta-section { padding: 80px 24px 100px; position: relative; z-index: 1; }
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 64px 48px; position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(147,51,234,0.12) 0%, transparent 70%); pointer-events: none; }
.cta-logo { width: 72px; height: 72px; object-fit: contain; margin-bottom: 24px; filter: drop-shadow(0 0 24px rgba(147,51,234,0.6)); }
.cta-inner h2 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-inner p { color: var(--muted); font-size: 1rem; margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto; }

/* ─── FOOTER ─── */
footer { border-top: 1px solid var(--border); padding: 28px 48px; position: relative; z-index: 1; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.footer-left img { width: 28px; height: 28px; object-fit: contain; }
.footer-copy { color: var(--muted); font-size: 0.85rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════
   ADMIN PANEL
═══════════════════════════════════════════════ */
.admin-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}

.admin-panel {
    background: #0d1120;
    border: 1px solid rgba(147,51,234,0.3);
    border-radius: 20px;
    width: 100%; max-width: 700px;
    max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
    overflow: hidden;
}

.admin-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.admin-title { display: flex; align-items: center; gap: 14px; }
.admin-icon { font-size: 1.8rem; }
.admin-title h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.admin-title p { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.admin-close {
    background: rgba(255,255,255,0.07); border: none; color: var(--muted);
    width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
    font-size: 1rem; transition: all 0.2s;
}
.admin-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.admin-tabs {
    display: flex; gap: 4px; padding: 14px 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.admin-tab {
    background: none; border: none; color: var(--muted);
    padding: 10px 18px; border-radius: 8px 8px 0 0;
    font-size: 0.88rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s; border-bottom: 2px solid transparent;
    font-family: 'Inter', system-ui, sans-serif;
}
.admin-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.admin-tab.active { color: var(--accent); border-bottom-color: var(--purple-light); background: rgba(147,51,234,0.06); }

.admin-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

.admin-section { margin-bottom: 28px; }
.admin-section:last-child { margin-bottom: 0; }
.admin-section h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }

.admin-hint { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }

.admin-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }

.admin-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.admin-field label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.admin-field input,
.admin-field select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.admin-field input:focus,
.admin-field select:focus { border-color: rgba(147,51,234,0.5); background: rgba(147,51,234,0.06); }
.admin-field select option { background: #0d1120; color: var(--text); }

/* Socials editor rows */
.social-editor-row { margin-bottom: 10px; }
.social-editor-inner {
    display: grid;
    grid-template-columns: 130px 1fr 1.4fr 1.8fr 36px;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 12px 14px;
}
.social-editor-inner input,
.social-editor-inner select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text);
    padding: 8px 10px;
    font-size: 0.85rem;
    font-family: 'Inter', system-ui, sans-serif;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
}
.social-editor-inner input:focus,
.social-editor-inner select:focus { border-color: rgba(147,51,234,0.5); }
.social-editor-inner select option { background: #0d1120; }
.se-remove {
    background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2);
    color: #f87171; border-radius: 8px; width: 36px; height: 36px;
    cursor: pointer; font-size: 0.85rem; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.se-remove:hover { background: rgba(239,68,68,0.2); }

.btn-add-social {
    background: rgba(147,51,234,0.1); border: 1px dashed rgba(147,51,234,0.35);
    color: var(--accent); padding: 10px 20px; border-radius: 10px;
    font-size: 0.88rem; font-weight: 600; cursor: pointer; width: 100%;
    margin-top: 8px; transition: all 0.2s;
    font-family: 'Inter', system-ui, sans-serif;
}
.btn-add-social:hover { background: rgba(147,51,234,0.18); border-style: solid; }

.btn-save-pass {
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    border: none; color: white; padding: 10px 22px; border-radius: 10px;
    font-size: 0.9rem; font-weight: 700; cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: opacity 0.2s;
}
.btn-save-pass:hover { opacity: 0.85; }

.admin-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.2);
}

.btn-reset {
    background: none; border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted); padding: 10px 18px; border-radius: 10px;
    font-size: 0.88rem; font-weight: 600; cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif; transition: all 0.2s;
}
.btn-reset:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

.btn-save {
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    border: none; color: white; padding: 12px 28px; border-radius: 10px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 4px 20px rgba(147,51,234,0.35);
    transition: all 0.2s;
}
.btn-save:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(147,51,234,0.5); }

/* Login panel */
.login-panel {
    background: #0d1120;
    border: 1px solid rgba(147,51,234,0.3);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 380px; width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.login-icon { font-size: 2.8rem; margin-bottom: 4px; }
.login-panel h2 { font-size: 1.4rem; font-weight: 800; }
.login-panel p { color: var(--muted); font-size: 0.9rem; }
.login-panel input {
    width: 100%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    color: var(--text); padding: 13px 16px; font-size: 1rem;
    font-family: 'Inter', system-ui, sans-serif; outline: none;
    text-align: center; letter-spacing: 0.15em; margin-top: 4px;
    transition: border-color 0.2s;
}
.login-panel input:focus { border-color: rgba(147,51,234,0.5); }
.login-error { color: #f87171; font-size: 0.85rem; min-height: 1.2em; }
.login-btns { display: flex; gap: 10px; width: 100%; margin-top: 4px; }
.login-btns button {
    flex: 1; padding: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
    background: none; color: var(--muted); font-size: 0.9rem; font-weight: 600;
    cursor: pointer; font-family: 'Inter', system-ui, sans-serif; transition: all 0.2s;
}
.login-btns button:hover { color: var(--text); }
.btn-login { background: linear-gradient(135deg, var(--purple), var(--magenta)) !important; border-color: transparent !important; color: white !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-large { grid-column: 1; grid-row: auto; }
    .socials-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { flex-wrap: wrap; gap: 28px; padding: 28px 24px; }
    .stat-divider { display: none; }
    .stat-card { flex: none; width: calc(50% - 14px); }
    .tournament-layout { grid-template-columns: 1fr; }
    .social-editor-inner { grid-template-columns: 1fr 1fr; }
    .social-editor-inner .se-url { grid-column: 1 / -1; }
    .social-editor-inner .se-remove { grid-column: 2; justify-self: end; }
}

@media (max-width: 640px) {
    .nav-inner { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .btn-discord { display: none; }
    .hero { padding: 120px 20px 60px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
    .socials-grid { grid-template-columns: 1fr; }
    .cta-inner { padding: 40px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .stat-card { width: 100%; }
    .countdown-unit { min-width: 58px; padding: 12px 10px; }
    .countdown-num { font-size: 1.8rem; }
    .admin-panel { max-height: 95vh; border-radius: 16px; }
    .social-editor-inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════ */
.contact-section {
    padding: 100px 24px;
    max-width: 680px;
    margin: 0 auto;
}
.contact-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.03em;
}
.contact-field input,
.contact-field textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: rgba(147,51,234,0.6);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(255,255,255,0.3);
}
.contact-submit {
    width: 100%;
    justify-content: center;
    gap: 8px;
}
.contact-hint {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}


/* contact additions */
.contact-success {
    text-align: center;
    padding: 40px 20px;
}
.contact-success-icon { font-size: 3rem; margin-bottom: 12px; }
.contact-success h3   { font-size: 1.4rem; margin-bottom: 8px; }
.contact-success p    { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.contact-required { color: #f87171; font-size: 0.85em; }
.contact-optional { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 0.85em; }
.contact-error {
    color: #f87171;
    font-size: 0.875rem;
    text-align: center;
    padding: 8px 12px;
    background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: 8px;
}
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════
   WINNER SECTION
═══════════════════════════════════════════════════════ */
.winner-section {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}
.winner-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
}
.winner-date {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.winner-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    border-radius: 16px;
    min-width: 120px;
}
.podium-first {
    background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,215,0,0.04));
    border: 1px solid rgba(255,215,0,0.25);
    transform: translateY(-16px);
}
.podium-second {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
}
.podium-third {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
}
.podium-medal { font-size: 2rem; }
.podium-name  { font-size: 1rem; font-weight: 700; color: #fff; }
.podium-first .podium-name { font-size: 1.15rem; }
.podium-place { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.winner-note  { color: rgba(255,255,255,0.5); font-style: italic; margin-top: 8px; }
.winner-empty { text-align: center; color: rgba(255,255,255,0.3); padding: 40px; font-style: italic; }

/* ═══════════════════════════════════════════════════════
   COACHING SECTION
═══════════════════════════════════════════════════════ */
.coaching-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.coaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.coaching-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s, transform 0.2s;
}
.coaching-card:hover {
    border-color: rgba(147,51,234,0.35);
    transform: translateY(-3px);
}
.coaching-header { display: flex; flex-direction: column; gap: 4px; }
.coaching-topic  { font-size: 1.1rem; font-weight: 700; color: #fff; }
.coaching-coach  { font-size: 0.85rem; color: rgba(147,51,234,0.9); }
.coaching-details { display: flex; flex-direction: column; gap: 8px; }
.coaching-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}
.coaching-detail span { font-size: 1rem; }
.coaching-join {
    margin-top: auto;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 10px;
}
.coaching-empty {
    text-align: center;
    color: rgba(255,255,255,0.3);
    padding: 40px;
    font-style: italic;
}