*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0f;
  color: #e0e0e8;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-gold { background: linear-gradient(135deg, #f0a040, #e8842a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: #fff; }
.brand-icon { font-size: 22px; }
.brand-text small { font-weight: 500; font-size: 12px; opacity: 0.5; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #888; transition: all 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-auth { display: flex; gap: 8px; }
.nav-btn {
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: all 0.2s; cursor: pointer;
}
.nav-btn-outline { border: 1px solid rgba(255,255,255,0.12); color: #ccc; }
.nav-btn-outline:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.nav-btn-solid {
  background: linear-gradient(135deg, #f0a040, #e8842a); color: #0a0a0f; border: none;
}
.nav-btn-solid:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(240,160,64,0.3); }
.nav-hamburger { display: none; background: none; border: none; color: #e0e0e8; font-size: 24px; cursor: pointer; padding: 4px; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(10,10,15,0.98); backdrop-filter: blur(20px);
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: #aaa;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.mobile-menu hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 8px 0; }

/* Pages */
.page { display: none; }
.page.active { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 700;
  transition: all 0.2s; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #f0a040, #e8842a); color: #0a0a0f;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,160,64,0.35); }
.btn-secondary {
  background: rgba(255,255,255,0.06); color: #e0e0e8; border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(240,160,64,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(200,100,64,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 70%, rgba(240,160,64,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0; line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 500;
  background: rgba(240,160,64,0.08); border: 1px solid rgba(240,160,64,0.12);
  color: #f0a040; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; display: inline-block; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title {
  font-size: clamp(48px, 12vw, 96px); font-weight: 900; line-height: 0.95;
  background: linear-gradient(135deg, #f0a040, #e8842a, #ff6b35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px; letter-spacing: -2px;
}
.hero-desc { font-size: 18px; color: #888; font-weight: 500; margin-bottom: 32px; }

/* Hero IP */
.hero-ip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 24px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.2s; margin-bottom: 32px;
}
.hero-ip:hover { background: rgba(255,255,255,0.06); border-color: rgba(240,160,64,0.25); }
.ip-label { font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.ip-value { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.ip-btn {
  padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, #f0a040, #e8842a); color: #0a0a0f;
  transition: all 0.2s;
}
.hero-ip:hover .ip-btn { box-shadow: 0 4px 16px rgba(240,160,64,0.3); }
.hero-actions { display: flex; gap: 12px; justify-content: center; }

/* Stats Bar */
.stats-bar {
  display: flex; justify-content: center; align-items: center; gap: 0;
  max-width: 800px; margin: -30px auto 0; padding: 28px 32px;
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}
.stat-item { flex: 1; text-align: center; padding: 4px 16px; }
.stat-number { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.ip-stat { font-size: 16px; letter-spacing: 0.5px; color: #f0a040; }
.stat-desc { font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.06); }

/* Section common */
.section-label {
  text-align: center; font-size: 13px; font-weight: 600; color: #f0a040;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px;
}
.section-title { text-align: center; font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.section-sub { text-align: center; color: #666; font-size: 16px; margin-bottom: 48px; }

/* Features */
.features-section {
  padding: 100px 24px 80px;
  max-width: 1100px; margin: 0 auto;
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.feature-card {
  padding: 32px; border-radius: 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.04); border-color: rgba(240,160,64,0.12);
  transform: translateY(-4px);
}
.fc-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: #666; font-size: 14px; line-height: 1.7; }
.fc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.fc-tags span {
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: rgba(240,160,64,0.08); color: #f0a040;
}

/* Players */
.players-section { padding: 60px 24px 100px; max-width: 1100px; margin: 0 auto; }
.players-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.player-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  font-size: 14px; font-weight: 500;
}
.player-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4caf50; flex-shrink: 0;
}
.players-loading { color: #555; font-size: 14px; }

/* CTA */
.cta-section {
  margin: 0 24px 80px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(240,160,64,0.06), rgba(200,100,64,0.03));
  border: 1px solid rgba(240,160,64,0.1);
  padding: 64px 32px; text-align: center;
}
.cta-content { max-width: 500px; margin: 0 auto; }
.cta-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.cta-content p { color: #888; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; align-items: center; }
.cta-ip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; font-size: 15px; font-weight: 600; color: #aaa;
  transition: all 0.2s;
}
.cta-ip:hover { background: rgba(255,255,255,0.06); border-color: rgba(240,160,64,0.2); color: #fff; }
.cta-ip svg { opacity: 0.5; }

/* Auth */
.auth-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 24px;
}
.auth-box {
  width: 100%; max-width: 400px; padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h2 { font-size: 28px; font-weight: 800; }
.auth-header p { color: #666; font-size: 14px; margin-top: 4px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12px; font-weight: 600; color: #888;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.field input {
  width: 100%; padding: 14px 16px; border-radius: 10px; font-size: 15px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  color: #e0e0e8; outline: none; transition: all 0.2s; font-family: inherit;
}
.field input:focus { border-color: rgba(240,160,64,0.4); background: rgba(255,255,255,0.05); }
.field input::placeholder { color: #333; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: #666; }
.auth-switch a { color: #f0a040; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.auth-msg { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; }
.auth-msg.error { display: block; background: rgba(244,67,54,0.08); border: 1px solid rgba(244,67,54,0.15); color: #ef5350; }
.auth-msg.success { display: block; background: rgba(76,175,80,0.08); border: 1px solid rgba(76,175,80,0.15); color: #66bb6a; }
.auth-msg.info { display: block; background: rgba(33,150,243,0.08); border: 1px solid rgba(33,150,243,0.15); color: #42a5f5; }

/* Page header */
.page-header {
  padding: 120px 0 48px; text-align: center;
}
.page-label {
  font-size: 13px; font-weight: 600; color: #f0a040;
  text-transform: uppercase; letter-spacing: 2px;
}
.page-header h2 { font-size: 36px; font-weight: 800; margin-top: 8px; }
.page-header p { color: #666; margin-top: 8px; font-size: 16px; }

/* Placeholder cards */
.placeholder-card {
  text-align: center; max-width: 500px; margin: 0 auto 80px;
  padding: 60px 32px; border-radius: 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
}
.placeholder-icon { font-size: 56px; margin-bottom: 16px; }
.placeholder-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.placeholder-card p { color: #666; }

/* Footer */
.footer {
  padding: 60px 0 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.footer-brand p { color: #666; font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.soc-link {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  color: #666; transition: all 0.2s;
}
.soc-link:hover { background: rgba(240,160,64,0.1); border-color: rgba(240,160,64,0.2); color: #f0a040; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: #888;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.footer-col a {
  display: block; padding: 5px 0; font-size: 14px; color: #555; transition: color 0.2s;
}
.footer-col a:hover { color: #f0a040; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 13px; color: #444;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-right { display: none; }
  .nav-hamburger { display: block; }
  .stats-bar { flex-direction: column; gap: 16px; padding: 24px; margin-top: -20px; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ip { flex-direction: column; gap: 8px; padding: 16px 20px; width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
}
