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

:root {
  --bg-dark: #0a0c14;
  --bg-card: #111827;
  --bg-card2: #161d2e;
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --accent-glow: rgba(0, 212, 255, 0.25);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(0, 212, 255, 0.15);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #0d1526;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: 14px; color: var(--text-muted); flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-accept { background: var(--accent); color: #000; border: none; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 14px; transition: opacity 0.2s; }
.btn-accept:hover { opacity: 0.85; }
.btn-decline { background: transparent; color: var(--text-muted); border: 1px solid var(--border); padding: 8px 20px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: border-color 0.2s; }
.btn-decline:hover { border-color: var(--accent); color: var(--text); }

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 12, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 4px; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(0,212,255,0.1); }
.nav-cta {
  background: var(--accent); color: #000 !important; font-weight: 700 !important;
  padding: 8px 18px !important; border-radius: 8px !important;
}
.nav-cta:hover { background: #00b8e0 !important; color: #000 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 90vh; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,12,20,0.7) 0%, rgba(124,58,237,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1;
  margin-bottom: 20px; max-width: 700px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #000; font-weight: 700;
  padding: 14px 32px; border-radius: 10px; font-size: 16px;
  border: none; cursor: pointer; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: #00b8e0; color: #000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,0.35); }
.btn-secondary {
  background: transparent; color: #fff; font-weight: 600;
  padding: 14px 32px; border-radius: 10px; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer; transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(0,212,255,0.1); border: 1px solid var(--border);
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ===== REVIEWS GRID ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,212,255,0.12); }
.review-card img { width: 100%; height: 200px; object-fit: cover; }
.review-body { padding: 20px; }
.review-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review-genre { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 700; }
.review-score {
  background: var(--accent); color: #000; font-weight: 800; font-size: 13px;
  padding: 3px 10px; border-radius: 6px;
}
.review-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.review-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.review-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.review-link::after { content: '→'; transition: transform 0.2s; }
.review-link:hover::after { transform: translateX(4px); }

/* ===== TOURNAMENTS ===== */
.tournaments-section { background: var(--bg-card2); }
.tournament-list { display: flex; flex-direction: column; gap: 16px; }
.tournament-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  transition: border-color 0.2s;
}
.tournament-item:hover { border-color: var(--accent); }
.t-date { text-align: center; background: rgba(0,212,255,0.08); border-radius: 8px; padding: 10px 16px; min-width: 70px; }
.t-date .month { font-size: 11px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.t-date .day { font-size: 28px; font-weight: 800; line-height: 1; }
.t-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.t-info p { color: var(--text-muted); font-size: 14px; }
.t-tags { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.t-tag { font-size: 11px; padding: 3px 10px; border-radius: 100px; border: 1px solid var(--border); color: var(--text-muted); }
.t-status { text-align: right; }
.status-badge {
  display: inline-block; padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
}
.status-open { background: rgba(0,212,255,0.15); color: var(--accent); border: 1px solid var(--accent); }
.status-soon { background: rgba(124,58,237,0.15); color: #a78bfa; border: 1px solid #7c3aed; }
.status-ended { background: rgba(100,116,139,0.15); color: var(--text-muted); border: 1px solid #475569; }

/* ===== FEATURED BANNER ===== */
.featured-banner {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 360px; display: flex; align-items: center;
  margin-bottom: 24px;
}
.featured-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.featured-content { position: relative; z-index: 2; padding: 40px; }
.featured-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.featured-content p { color: var(--text-muted); max-width: 480px; margin-bottom: 24px; }

/* ===== SUBSCRIBE SECTION ===== */
.subscribe-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.subscribe-box { max-width: 560px; margin: 0 auto; text-align: center; }
.subscribe-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.subscribe-box p { color: var(--text-muted); margin-bottom: 28px; }
.subscribe-form { display: flex; gap: 12px; }
.subscribe-form input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 12px 18px; border-radius: 10px; font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.subscribe-form input:focus { border-color: var(--accent); }
.subscribe-form button {
  background: var(--accent); color: #000; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border: none; border-radius: 10px; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.subscribe-form button:hover { background: #00b8e0; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-msg.success { color: #4ade80; }
.form-msg.error { color: #f87171; }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-features { list-style: none; margin: 24px 0; }
.about-features li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--text-muted); font-size: 15px; }
.about-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ===== CONTACT SECTION ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }
.contact-details { list-style: none; }
.contact-details li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: rgba(0,212,255,0.1); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 2px; }
.contact-value { font-weight: 600; }
.contact-form-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-form-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--border);
  color: var(--text); padding: 11px 14px; border-radius: 8px; font-size: 15px;
  font-family: var(--font); outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn {
  width: 100%; background: var(--accent); color: #000; font-weight: 700; font-size: 16px;
  padding: 13px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.submit-btn:hover { background: #00b8e0; transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer {
  background: #060810; border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); font-size: 13px; }
.footer-legal a:hover { color: var(--accent); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(180deg, rgba(0,212,255,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ===== POLICY PAGES ===== */
.policy-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.policy-content h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 12px; color: var(--accent); }
.policy-content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.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: 8px; line-height: 1.7; }
.policy-content a { color: var(--accent); }
.policy-meta { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 32px; font-size: 14px; color: var(--text-muted); }

/* ===== TOURNAMENTS PAGE ===== */
.tournament-hero-img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 40px;
  border: 1px solid var(--border);
}
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
  padding: 8px 18px; border-radius: 100px; font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: rgba(0,212,255,0.1); border-color: var(--accent); color: var(--accent); }

/* ===== REVIEWS PAGE ===== */
.reviews-hero-img {
  width: 100%; height: 320px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 40px;
  border: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tournament-item { grid-template-columns: auto 1fr; }
  .t-status { grid-column: 2; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; }
  .mobile-menu a { color: var(--text-muted); padding: 10px 16px; border-radius: 8px; font-size: 15px; }
  .mobile-menu a:hover { background: rgba(0,212,255,0.08); color: var(--accent); }
  .hero-stats { gap: 24px; }
  .subscribe-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .tournament-item { grid-template-columns: 1fr; }
  .t-status { text-align: left; }
}
