/*
Theme Name: Jaya9 BD
Theme URI: https://jaya9bd.net
Author: Jaya9 BD
Author URI: https://jaya9bd.net
Description: Trusted Best Online Cricket Exchange & Sports Betting Platform in Bangladesh
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: gaming, sports, cricket, casino, betting, dark, modern
Text Domain: jaya9bd
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-orange: #f7941d;
  --brand-gold:   #ffd700;
  --brand-red:    #e63946;
  --brand-blue:   #1a237e;
  --dark-bg:      #0d0d1a;
  --dark-card:    #12122a;
  --dark-border:  #1e1e3a;
  --text-primary: #ffffff;
  --text-muted:   #a0a0c0;
  --gradient-hero: linear-gradient(135deg, #0d0d1a 0%, #1a0533 50%, #0d1a2e 100%);
  --gradient-btn:  linear-gradient(90deg, #f7941d, #ff6b35);
  --gradient-gold: linear-gradient(90deg, #ffd700, #f7941d);
  --radius:        10px;
  --radius-lg:     18px;
  --shadow-glow:   0 0 20px rgba(247,148,29,.35);
  --transition:    all .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.section-pad { padding: 70px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 40px 0; }
}
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .3px;
  white-space: nowrap;
}
.btn-sm {
  padding: 8px 14px;
  font-size: .8rem;
}
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(247,148,29,.5); }
.btn-outline {
  background: transparent;
  color: var(--brand-orange);
  border: 2px solid var(--brand-orange);
}
.btn-outline:hover { background: var(--brand-orange); color: #fff; }
.btn-gold {
  background: var(--gradient-gold);
  color: #000;
  font-weight: 700;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 8px; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--brand-blue);
  padding: 6px 0;
  font-size: .8rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-ticker { color: var(--brand-gold); overflow: hidden; white-space: nowrap; }
.top-bar-right { display: flex; gap: 16px; align-items: center; color: #ccc; }
.top-bar-right a:hover { color: var(--brand-orange); }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  background: #0a0a18;
  border-bottom: 2px solid var(--brand-orange);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img { height: 48px; width: auto; }
.header-inner nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.site-logo span {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav > li {
  position: relative;
  display: inline-flex;
}
.primary-nav > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: .87rem;
  font-weight: 600;
  color: #e0e0ff;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
}
.primary-nav > li > a:hover,
.primary-nav > li.active > a {
  color: var(--brand-orange);
  background: rgba(247,148,29,.1);
}
.primary-nav .nav-badge {
  background: var(--brand-red);
  color: #fff;
  font-size: .65rem;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}

/* Dropdown */
.primary-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #16162e;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  overflow: hidden;
}
.primary-nav li:hover > .dropdown-menu { display: block; }

/* Support WP default submenu class names */
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #16162e;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  overflow: hidden;
}
.primary-nav li:hover > .sub-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: .85rem;
  color: #ccc;
  border-bottom: 1px solid var(--dark-border);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: rgba(247,148,29,.15); color: var(--brand-orange); }

/* WP submenus */
.primary-nav .sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: .85rem;
  color: #ccc;
  border-bottom: 1px solid var(--dark-border);
}
.primary-nav .sub-menu li:last-child a { border-bottom: none; }
.primary-nav .sub-menu li a:hover { background: rgba(247,148,29,.15); color: var(--brand-orange); }

/* Header actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: .85rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--dark-border);
  transition: var(--transition);
}
.lang-switcher:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px 6px;
  background: none;
  border: none;
  min-width: 32px;
  justify-content: center;
  align-items: center;
}
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* Dropdown positioning */
.primary-nav .dropdown-menu,
.primary-nav .sub-menu { left: 0; right: auto; min-width: 200px; }


/* =============================================
   HERO / BANNER SLIDER
   ============================================= */
.hero-banner {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  min-height: 460px;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(247,148,29,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-slider { position: relative; }
.hero-slide {
  display: flex;
  align-items: center;
  min-height: 460px;
  padding: 40px 0;
}
.hero-content { max-width: 600px; z-index: 2; position: relative; }
.hero-tag {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
  opacity: .7;
}

/* Marquee ticker */
.ticker-wrap {
  background: var(--brand-orange);
  padding: 8px 0;
  overflow: hidden;
}
.ticker-content {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item::before { content: '● '; }

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-heading h2 {
  font-size: clamp(1.3rem, 4vw, 1.5rem);
  font-weight: 800;
  color: #fff;
}
.section-heading .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), transparent);
  min-width: 60px;
}
.section-heading .badge {
  background: var(--brand-orange);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.section-heading .btn {
  flex-shrink: 0;
  margin-left: auto;
}

/* =============================================
   LIVE MATCHES
   ============================================= */
.live-section { background: var(--dark-bg); }
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.match-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.match-card:hover { transform: translateY(-4px); border-color: var(--brand-orange); box-shadow: var(--shadow-glow); }
.match-card-header {
  background: #1a1a35;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.live-badge {
  background: var(--brand-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
.match-date { color: var(--text-muted); }
.match-card-body { padding: 16px; }
.match-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 8px;
}
.team { text-align: center; font-size: .85rem; color: var(--text-muted); }
.team strong { display: block; color: #fff; font-size: .95rem; }
.odds { text-align: center; }
.odds-value {
  background: rgba(247,148,29,.15);
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 6px 16px;
  border-radius: 6px;
  display: inline-block;
}

/* =============================================
   GAME CATEGORIES / CARDS
   ============================================= */
.game-categories { background: #0b0b1e; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.game-cat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.game-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.game-cat-card:hover { transform: translateY(-6px); }
.game-cat-card:hover::before { opacity: 1; }
.game-cat-card.cricket::before { background: linear-gradient(135deg, rgba(0,200,83,.1), transparent); }
.game-cat-card.casino::before  { background: linear-gradient(135deg, rgba(247,148,29,.1), transparent); }
.game-cat-card.slot::before    { background: linear-gradient(135deg, rgba(156,39,176,.1), transparent); }
.game-cat-card.sports::before  { background: linear-gradient(135deg, rgba(33,150,243,.1), transparent); }
.game-cat-card.fishing::before { background: linear-gradient(135deg, rgba(0,188,212,.1), transparent); }
.game-cat-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}
.game-cat-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.game-cat-card p { font-size: .75rem; color: var(--text-muted); }
.game-cat-card:hover { border-color: var(--brand-orange); box-shadow: var(--shadow-glow); }

/* =============================================
   PROMOTIONS / REFERRAL BANNER
   ============================================= */
.promo-section { background: var(--dark-bg); }
.promo-banner {
  background: linear-gradient(135deg, #1a0533 0%, #0d1a2e 50%, #1a0533 100%);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,148,29,.15), transparent 70%);
  right: -100px; top: -100px;
  pointer-events: none;
}
.promo-tag {
  background: var(--brand-orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}
.promo-amount {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--brand-gold);
  line-height: 1.1;
  margin-bottom: 6px;
}
.promo-label { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.promo-stats { display: flex; gap: 30px; margin-bottom: 24px; }
.promo-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--brand-gold); }
.promo-stat span { font-size: .8rem; color: var(--text-muted); }
.promo-image img { width: 100%; border-radius: var(--radius-lg); }

/* Promotion page grid/cards */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.promo-grid .promo-banner {
  padding: 28px;
  border-radius: 14px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(26,5,51,0.6), rgba(13,26,46,0.6));
  border: 1px solid var(--dark-border);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  overflow: hidden;
}
.promo-grid .promo-banner .promo-tag { display: inline-block; }
.promo-grid .promo-amount { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--brand-gold); font-weight: 900; }
.promo-grid .promo-label { color: var(--text-muted); }
.promo-grid .btn { align-self: start; }


/* =============================================
   FEATURES / TRUST SECTION
   ============================================= */
.features-section {
  background: linear-gradient(180deg, #0b0b1e, var(--dark-bg));
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--brand-orange); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .85rem; color: var(--text-muted); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #0d0d1a, #1a0533);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 2px solid var(--brand-orange);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(247,148,29,.15), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative; z-index: 1;
}
.page-hero p { color: var(--text-muted); margin-top: 8px; font-size: 1rem; position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .85rem;
  color: var(--text-muted);
  position: relative; z-index: 1;
}
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb span { color: var(--brand-orange); }

/* =============================================
   GAMES GRID (Casino / Slot / Sportsbook)
   ============================================= */
.games-page { background: var(--dark-bg); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  align-items: center;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  color: #ccc;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.search-bar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 6px 14px;
}
.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: .9rem;
  width: 200px;
}
.search-bar input::placeholder { color: var(--text-muted); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--brand-orange); box-shadow: var(--shadow-glow); }
.game-card-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a0533, #0d1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.game-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-info { padding: 12px; }
.game-card-info h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.game-card-info span { font-size: .75rem; color: var(--text-muted); }
.game-provider-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,.75);
  color: var(--brand-gold);
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

/* =============================================
   CRICKET PAGE
   ============================================= */
.cricket-hero-bg {
  background: linear-gradient(135deg, #0a2e0a, #0d1a0d, #0d0d1a);
}
.cricket-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.stat-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-box strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--brand-gold); }
.stat-box span { font-size: .8rem; color: var(--text-muted); }
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.matches-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.matches-table thead { background: rgba(247,148,29,.15); }
.matches-table th { padding: 14px 16px; font-size: .85rem; font-weight: 700; color: var(--brand-orange); text-align: left; white-space: nowrap; }
.matches-table td { padding: 12px 16px; font-size: .85rem; border-bottom: 1px solid var(--dark-border); color: #ccc; }
.matches-table tr:last-child td { border-bottom: none; }
.matches-table tr:hover td { background: rgba(247,148,29,.05); }
.status-live { color: var(--brand-red); font-weight: 700; }
.status-upcoming { color: var(--brand-gold); }

/* =============================================
   AUTH PAGES (Login / Register)
   ============================================= */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding: 60px 0;
}
.auth-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 50px; margin: 0 auto 12px; }
.auth-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.auth-sub { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: #ccc; }
.form-control {
  width: 100%;
  background: #0d0d1a;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #fff;
  font-size: .9rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(247,148,29,.15); }
.form-control::placeholder { color: var(--text-muted); }
.input-group { position: relative; }
.input-icon {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  font-size: .9rem;
  pointer-events: none;
}
.input-group .form-control { padding-left: 38px; }
.input-toggle {
  position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  font-size: .9rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); }
.form-check input { accent-color: var(--brand-orange); width: 14px; height: 14px; }
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 20px;
}
.forgot-link { color: var(--brand-orange); font-size: .85rem; }
.forgot-link:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--dark-border); }
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--dark-border);
  background: #0d0d1a;
  color: #ccc;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--brand-orange); color: #fff; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: .9rem; }
.auth-switch a { color: var(--brand-orange); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }

/* Terms checkbox */
.terms-link { color: var(--brand-orange); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #070714;
  border-top: 2px solid var(--dark-border);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-desc { color: var(--text-muted); font-size: .87rem; line-height: 1.8; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #ccc;
  transition: var(--transition);
}
.social-icon:hover { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: #fff; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--brand-orange); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: .87rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--brand-orange); padding-left: 4px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { color: var(--text-muted); font-size: .82rem; }
.footer-badges { display: flex; gap: 10px; align-items: center; }
.footer-badge {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.payment-methods { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.payment-icon {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .8rem;
  color: #ccc;
}

.footer-disclaimer {
  background: #050510;
  padding: 16px 0;
  text-align: center;
}
.footer-disclaimer p { color: #555; font-size: .78rem; line-height: 1.7; }

/* =============================================
   RESPONSIBLE GAMING BAR
   ============================================= */
.age-bar {
  background: var(--brand-red);
  padding: 8px 0;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
}

/* Mobile Bottom Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0a0a18;
  border-top: 1px solid var(--dark-border);
  z-index: 999;
  padding: 8px 0 6px;
}
.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .65rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
}
.mobile-nav-item span { font-size: 1.3rem; }
.mobile-nav-item.active,
.mobile-nav-item:hover { color: var(--brand-orange); }

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0a0a18;
  z-index: 1100;
  overflow-y: auto;
  padding: 20px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-menu-nav li a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ccc;
  border-bottom: 1px solid var(--dark-border);
}
.mobile-menu-nav li a:hover { color: var(--brand-orange); }
.mobile-menu-actions { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 70px; right: 20px;
  background: var(--brand-orange);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  z-index: 998;
  opacity: 0; visibility: hidden;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* =============================================
   SPORTSBOOK PAGE
   ============================================= */
.sportsbook-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.sports-sidebar {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.sidebar-title {
  background: rgba(247,148,29,.15);
  padding: 12px 16px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand-orange);
  border-bottom: 1px solid var(--dark-border);
}
.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: .87rem;
  color: #ccc;
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.sidebar-menu li a:hover,
.sidebar-menu li a.active { background: rgba(247,148,29,.1); color: var(--brand-orange); }
.sidebar-menu li:last-child a { border-bottom: none; }
.sport-count {
  margin-left: auto;
  background: var(--dark-bg);
  color: var(--text-muted);
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 10px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sportsbook-layout { grid-template-columns: 1fr; }
  .sports-sidebar { position: static; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
}

@media (max-width: 768px) {
  /* Mobile header layout */
  .header-inner { padding: 6px 0; gap: 6px; }
  .site-logo img { height: 40px; }
  .site-logo span { font-size: 1.3rem; }
  .header-inner nav { display: none !important; }
  .header-actions { gap: 4px; }
  .header-actions .lang-switcher { display: none; }
  .header-actions .btn { padding: 8px 12px; font-size: .75rem; }
  .hamburger { display: flex; }
  .mobile-menu { z-index: 2000; }

  /* Hero adjustments on mobile to reduce excessive padding */
  .hero-slide { min-height: 280px; padding: 12px 0; }
  .hero-content { max-width: 100%; padding: 0 12px; }
  .hero-title { font-size: 1.6rem; }
  .hero-sub { font-size: .85rem; }
  .hero-cta { gap: 8px; flex-wrap: wrap; }
  .hero-cta .btn { padding: 8px 12px; font-size: .8rem; }

  .hero-image { opacity: .15; width: 100%; }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-image { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .game-card { min-height: 180px; }
  .game-card-title { font-size: .9rem; }
  .game-card-players { font-size: .7rem; }
  .mobile-nav { display: block; }
  body { padding-bottom: 60px; }
  .scroll-top { bottom: 76px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .match-card { min-height: 140px; }
  .match-title { font-size: .85rem; }
  .filter-btn { padding: 6px 10px; font-size: .75rem; }
  .live-badge { font-size: .65rem; }
  .breadcrumb { font-size: .8rem; }
  .page-hero { padding: 20px 0; }
  .page-hero h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .site-logo img { height: 36px; }
  .site-logo span { font-size: 1.1rem; }
  .header-actions .btn { padding: 6px 10px; font-size: .7rem; }
  .hero-title { font-size: 1.5rem; }
  .hero-sub { font-size: .8rem; }
  .hero-slide { min-height: 240px; padding: 8px 0; }
  .hero-cta .btn { padding: 6px 10px; font-size: .75rem; }
  .auth-card { padding: 20px 16px; }
  .auth-card h2 { font-size: 1.3rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input { padding: 10px 12px; font-size: .85rem; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .match-card { min-height: 120px; }
  .match-title { font-size: .75rem; }
  .filter-btn { padding: 5px 8px; font-size: .7rem; }
  .breadcrumb { font-size: .7rem; }
  .page-hero { padding: 16px 0; }
  .page-hero h1 { font-size: 1.3rem; }
  .promo-card { padding: 12px; }
  .promo-card h3 { font-size: 1rem; }
  .tab-buttons { gap: 6px; }
  .tab-btn { padding: 6px 10px; font-size: .7rem; }
}
