/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0d14;
  --bg-card: #111827;
  --bg-nav: #0d1117;
  --accent: #00c8ff;
  --accent2: #7c3aed;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #1e2d3d;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,200,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: .45rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
}
.nav-cta:hover { background: #fff; color: #000 !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  max-width: 700px;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,255,.35); color: #000; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 5rem 2rem; }
.section-full .inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.card-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; line-height: 1.4; }
.card-text { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; gap: 1rem; font-size: .8rem; color: var(--text-muted); }
.rating { color: #f59e0b; font-weight: 700; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--accent); }
.stat-label { font-size: .85rem; color: var(--text-muted); }

/* ===== TOURNAMENT CARDS ===== */
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tournament-card img { width: 100%; height: 220px; object-fit: cover; }
.tournament-card .t-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.tournament-card .t-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.tournament-card .t-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.tournament-card .t-status {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.status-live { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }
.status-upcoming { background: rgba(0,200,255,.1); color: var(--accent); border: 1px solid rgba(0,200,255,.25); }
.status-past { background: rgba(148,163,184,.1); color: var(--text-muted); border: 1px solid rgba(148,163,184,.2); }
.tournament-card .t-desc { font-size: .9rem; color: var(--text-muted); flex: 1; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, #0d1117 0%, #111827 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
}
.newsletter-section h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.newsletter-section p { color: var(--text-muted); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: .75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button { white-space: nowrap; }
#newsletter-msg { margin-top: 1rem; font-size: .9rem; color: var(--accent); min-height: 1.4em; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.contact-icon { font-size: 1.2rem; margin-top: .1rem; }
.contact-detail strong { color: #fff; font-size: .9rem; }
.contact-detail span { color: var(--text-muted); font-size: .9rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: .4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
#contact-msg { margin-top: .75rem; font-size: .9rem; color: var(--accent); min-height: 1.4em; }

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/about.jpg');
  background-size: cover;
  background-position: center top;
  filter: brightness(.4);
}
.about-hero-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.about-hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; }
.about-hero-content p { color: var(--text-muted); font-size: 1.1rem; max-width: 500px; margin-top: .75rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  margin: 0 auto 1rem;
}
.team-card h4 { font-size: 1rem; font-weight: 700; color: #fff; }
.team-card span { font-size: .85rem; color: var(--accent); }

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}
.policy-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; }
.policy-hero p { color: var(--text-muted); margin-top: .5rem; }

.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.policy-content h2 { font-size: 1.3rem; font-weight: 700; color: #fff; margin: 2rem 0 .75rem; }
.policy-content p { color: var(--text-muted); margin-bottom: 1rem; }
.policy-content ul { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { margin-bottom: .4rem; }
.policy-content a { color: var(--accent); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: .75rem; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; max-width: 260px; }
.footer-col h5 { font-size: .85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: var(--text-muted); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { color: var(--text-muted); font-size: .85rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-muted); font-size: .85rem; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== PAGE HERO (generic) ===== */
.page-hero {
  background: linear-gradient(135deg, #0d1117 0%, #111827 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.page-hero .inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: .5rem; }
.page-hero p { color: var(--text-muted); font-size: 1rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); margin: 0 .4rem; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #111827;
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: .9rem; color: var(--text-muted); flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent); }
.cookie-btns { display: flex; gap: .75rem; }
.btn-accept {
  background: var(--accent);
  color: #000;
  border: none;
  padding: .5rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: .9rem;
}
.btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: .5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
}
.btn-decline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== REVIEW PAGE ===== */
.review-header { padding: 3rem 2rem 0; max-width: 1200px; margin: 0 auto; }
.review-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.score-badge {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  width: 70px; height: 70px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.review-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.review-body { max-width: 860px; }
.review-body h2 { font-size: 1.4rem; font-weight: 700; color: #fff; margin: 2rem 0 .75rem; }
.review-body p { color: var(--text-muted); margin-bottom: 1rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.pros, .cons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.pros h4 { color: #22c55e; margin-bottom: .75rem; }
.cons h4 { color: #ef4444; margin-bottom: .75rem; }
.pros ul, .cons ul { list-style: none; }
.pros ul li::before { content: '+ '; color: #22c55e; font-weight: 700; }
.cons ul li::before { content: '− '; color: #ef4444; font-weight: 700; }
.pros ul li, .cons ul li { color: var(--text-muted); font-size: .9rem; margin-bottom: .4rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-nav); padding: 1rem 2rem; border-bottom: 1px solid var(--border); gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .pros-cons { grid-template-columns: 1fr; }
  .hero { height: 480px; }
}
