/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0a0c14;
  color: #e0e4f0;
  line-height: 1.7;
  min-height: 100vh;
}
a { color: #f07020; text-decoration: none; transition: color .2s; }
a:hover { color: #ffaa55; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --orange: #f07020;
  --orange-light: #ffaa55;
  --dark: #0a0c14;
  --dark2: #12151f;
  --dark3: #1a1e2e;
  --border: #2a2e42;
  --text: #e0e4f0;
  --muted: #8890aa;
  --radius: 10px;
}

/* ===== HEADER / NAV ===== */
header {
  background: rgba(10,12,20,.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.nav-inner {
  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.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .5px;
}
.logo img { width: 36px; height: 36px; border-radius: 6px; }
.logo span { color: var(--orange); }
nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
nav ul li a {
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
nav ul li a:hover,
nav ul li a.active { color: var(--text); background: var(--dark3); }
.nav-cta a {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 6px !important;
}
.nav-cta a:hover { background: var(--orange-light) !important; }

/* Hamburger */
.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: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-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(.35);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.1rem;
  color: #b0b8d0;
  max-width: 560px;
  margin-bottom: 36px;
}
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--orange-light); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, transform .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* ===== SECTION LAYOUT ===== */
section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
}

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

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--orange); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 22px; }
.card-tag {
  display: inline-block;
  background: rgba(240,112,32,.15);
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card-text { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.rating { color: var(--orange); font-weight: 700; }
.card-link { color: var(--orange); font-weight: 600; font-size: .9rem; }
.card-link:hover { color: var(--orange-light); }

/* ===== TOURNAMENT TABLE ===== */
.tournament-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.tournament-table th {
  background: var(--dark3);
  padding: 14px 18px;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.tournament-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.tournament-table tr:last-child td { border-bottom: none; }
.tournament-table tr:hover td { background: rgba(255,255,255,.03); }
.badge-open { background: rgba(50,200,100,.15); color: #32c864; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-closed { background: rgba(200,50,50,.15); color: #c83232; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-upcoming { background: rgba(240,112,32,.15); color: var(--orange); padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; }

/* ===== FEATURED BANNER ===== */
.featured-banner {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 48px;
}
.featured-banner img { width: 100%; height: 320px; object-fit: cover; }
.featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-body h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.featured-body p { color: var(--muted); margin-bottom: 24px; }

/* ===== NEWSLETTER / CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #1a1e2e 0%, #0f1220 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-inner p { color: var(--muted); margin-bottom: 32px; }
.subscribe-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.subscribe-form input {
  flex: 1;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.subscribe-form input:focus { border-color: var(--orange); }
.subscribe-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.subscribe-form button:hover { background: var(--orange-light); }
.form-msg { margin-top: 14px; font-size: .9rem; min-height: 22px; }
.form-msg.success { color: #32c864; }
.form-msg.error { color: #e05050; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-detail strong { display: block; font-size: .9rem; color: var(--text); }
.contact-detail span { font-size: .88rem; color: var(--muted); }
.contact-form-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark3); }
.submit-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.submit-btn:hover { background: var(--orange-light); }

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.about-hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/about.jpg');
  background-size: cover;
  background-position: center top;
  filter: brightness(.3);
}
.page-hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.page-hero-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 14px; }
.page-hero-content p { color: #b0b8d0; max-width: 560px; font-size: 1.05rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px;
}
.policy-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.policy-date { color: var(--muted); font-size: .88rem; margin-bottom: 40px; }
.policy-content h2 { font-size: 1.2rem; font-weight: 700; margin: 36px 0 12px; color: var(--orange); }
.policy-content p { color: #c0c8dc; margin-bottom: 16px; font-size: .95rem; }
.policy-content ul { padding-left: 20px; margin-bottom: 16px; }
.policy-content ul li { color: #c0c8dc; font-size: .95rem; margin-bottom: 8px; list-style: disc; }
.policy-content a { color: var(--orange); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
}
.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 .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 280px; }
.footer-col h4 { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 16px; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--orange); }
.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(--muted); font-size: .83rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); font-size: .83rem; }
.footer-links a:hover { color: var(--orange); }

/* ===== UTILITY ===== */
.alt-bg { background: var(--dark3); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .featured-banner { grid-template-columns: 1fr; }
  .featured-banner img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,12,20,.98); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
}
