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

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --border: #2d2d4e;
  --success: #10b981;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(124,58,237,0.15);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

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

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,15,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo span { color: var(--primary); }
.logo img { width: 36px; height: 36px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(124,58,237,0.15);
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.25);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(124,58,237,0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}

.btn-accent:hover {
  box-shadow: 0 6px 28px rgba(6,182,212,0.5);
  color: #fff;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body { padding: 24px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-accent {
  background: rgba(6,182,212,0.15);
  color: var(--accent);
}

.card-date { color: var(--text-muted); font-size: 0.82rem; }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.stars { color: #f59e0b; letter-spacing: 1px; }

/* ===== FEATURED REVIEW ===== */
.featured-review {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 56px;
}

.featured-review img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.featured-review-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.2);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
}

.featured-review-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}

.featured-review-body p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.97rem;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }

/* ===== TOURNAMENT TABLE ===== */
.tournament-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tournament-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.tournament-table th {
  background: var(--bg-card2);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tournament-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.tournament-table tr:last-child td { border-bottom: none; }

.tournament-table tbody tr {
  background: var(--bg-card);
  transition: background var(--transition);
}

.tournament-table tbody tr:hover { background: rgba(124,58,237,0.08); }

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-live { background: rgba(16,185,129,0.15); color: #10b981; }
.status-upcoming { background: rgba(6,182,212,0.15); color: var(--accent); }
.status-completed { background: rgba(148,163,184,0.15); color: var(--text-muted); }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-section p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form input::placeholder { color: var(--text-muted); }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(124,58,237,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail-text span { font-size: 0.95rem; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  display: none;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  color: #10b981;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: 380px; object-fit: cover; }

.about-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

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

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.team-card h4 { font-weight: 700; margin-bottom: 4px; }
.team-card p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px;
}

.policy-content h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.policy-content .last-updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 40px; }

.policy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.policy-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.policy-content ul { color: var(--text-muted); padding-left: 24px; margin-bottom: 14px; }
.policy-content ul li { margin-bottom: 6px; line-height: 1.7; }
.policy-content a { color: var(--accent); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

#cookie-banner p { color: var(--text-muted); font-size: 0.9rem; flex: 1; min-width: 260px; }
#cookie-banner a { color: var(--accent); }

.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; line-height: 1.7; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text-main); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--text-main); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-main); }
.breadcrumb span { color: var(--text-main); }

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== REVIEW SCORE ===== */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
}

.score-great { background: rgba(16,185,129,0.2); color: #10b981; border: 1px solid rgba(16,185,129,0.4); }
.score-good { background: rgba(6,182,212,0.2); color: var(--accent); border: 1px solid rgba(6,182,212,0.4); }
.score-ok { background: rgba(245,158,11,0.2); color: #f59e0b; border: 1px solid rgba(245,158,11,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-review { grid-template-columns: 1fr; }
  .featured-review img { min-height: 240px; max-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .featured-review-body { padding: 28px; }
  .newsletter-section { padding: 40px 24px; }
  .form-card { padding: 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .cards-grid { grid-template-columns: 1fr; }
}
