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

:root {
  --gold: #d4a017;
  --gold-light: #f0c040;
  --navy: #0d1b2a;
  --navy-mid: #162032;
  --navy-light: #1e2d42;
  --text: #e8eaf0;
  --text-muted: #9aa5b4;
  --accent: #4fc3f7;
  --card-bg: #162032;
  --border: #253348;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.45);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

p { color: var(--text-muted); }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

section { padding: 72px 0; }

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===== HEADER / NAV ===== */
header {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo span { color: var(--gold); }

.logo img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }

nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

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

nav ul li a:hover,
nav ul li a.active {
  background: var(--navy-light);
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
}

.nav-cta:hover { background: var(--gold-light) !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);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 20px;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  color: #c8d0dc;
  margin-bottom: 36px;
  max-width: 560px;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }

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

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

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

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

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

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

.review-card-body { padding: 22px; }

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

.genre-tag {
  background: var(--navy-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.review-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: #fff; }
.review-card p { font-size: 0.9rem; margin-bottom: 16px; }

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold);
  float: right;
  margin-top: -4px;
}

.score-badge.high { background: #4caf50; color: #fff; }
.score-badge.mid { background: var(--gold); color: var(--navy); }

.read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more::after { content: '→'; transition: transform var(--transition); }
.read-more:hover::after { transform: translateX(4px); }

/* ===== TOURNAMENT SECTION ===== */
.tournaments-section { background: var(--navy-mid); }

.tournament-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.tournaments-list { display: flex; flex-direction: column; gap: 16px; }

.tournament-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color var(--transition);
}

.tournament-item:hover { border-color: var(--gold); }

.t-date {
  min-width: 70px;
  text-align: center;
  background: var(--navy);
  border-radius: 8px;
  padding: 10px;
}

.t-date .day { font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.t-date .month { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); }

.t-info { flex: 1; }
.t-info h4 { font-size: 1rem; margin-bottom: 4px; }
.t-info p { font-size: 0.85rem; margin: 0; }

.t-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.newsletter-section h2 { font-size: 1.9rem; margin-bottom: 12px; }
.newsletter-section p { margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--navy);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus { border-color: var(--gold); }

.form-message {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px;
  border-radius: 6px;
  display: none;
}

.form-message.success { background: rgba(76,175,80,0.15); color: #81c784; display: block; }
.form-message.error { background: rgba(244,67,54,0.15); color: #ef9a9a; display: block; }

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

.contact-info h2 { font-size: 1.9rem; margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; }

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

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--navy-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--navy-mid); }

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.about-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.about-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 { font-size: 1.8rem; margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

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

.value-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.value-card h4 { margin-bottom: 6px; font-size: 1rem; }
.value-card p { font-size: 0.88rem; }

/* ===== REVIEWS PAGE ===== */
.page-hero {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 40px;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}

/* ===== TOURNAMENTS PAGE ===== */
.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.tournament-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

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

.tournament-card-body { padding: 22px; }
.tournament-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tournament-card p { font-size: 0.88rem; margin-bottom: 14px; }

.tournament-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-chip {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.detail-chip strong { color: var(--text); }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 20px;
}

.policy-content h1 { font-size: 2.2rem; margin-bottom: 8px; }

.policy-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.policy-content h2 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
  color: var(--gold-light);
}

.policy-content p { margin-bottom: 14px; font-size: 0.95rem; }

.policy-content ul {
  margin: 10px 0 14px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.policy-content ul li { margin-bottom: 6px; }

.policy-content a { color: var(--gold); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 0.9rem; margin: 14px 0 20px; max-width: 280px; }

.footer-col h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1e2d42;
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s ease;
  max-width: 320px;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: #4caf50; }
.toast.error { border-color: #ef5350; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-mid); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .tournament-item { flex-wrap: wrap; }
  .hero-content { padding: 60px 20px; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}
