@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;700;900&display=swap');

:root {
  --bg-primary: #0a0d10; /* Sleek neutral dark background */
  --bg-secondary: #0e1216; /* Slate dark secondary background */
  --bg-card: #141a20; /* Slate dark card background */
  --bg-card-hover: #1c242e; /* Slate dark hover card */
  --accent-grad: linear-gradient(135deg, #10a37f 0%, #17c964 100%); /* Clean emerald gradient */
  --accent-color: #ffdf1b;
  --accent-glow: rgba(255, 223, 27, 0.2);
  --primary-color: #10a37f; /* Premium teal/emerald accent color */
  --primary-glow: rgba(16, 163, 127, 0.15);
  --success-color: #00a826;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border-color: rgba(255, 255, 255, 0.06); /* Cleaner border */
  --border-focus: #10a37f;
  --glass-blur: blur(12px);
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 163, 127, 0.02) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bg-card-hover);
}

/* Header Styles */
.header-main {
  height: var(--header-height);
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.header-container {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-img {
  height: 42px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img:hover {
  transform: scale(1.05);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-header-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.balance-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.balance-val {
  color: var(--success-color);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn-deposit {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all 0.3s ease;
}

.btn-deposit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-menu {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.btn-menu:hover {
  color: var(--accent-color);
}

/* Main Container Layout */
.main-wrapper {
  margin-top: var(--header-height);
  flex: 1;
  display: flex;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Sidenav Styles */
.sidenav {
  width: 245px;
  background: rgba(11, 15, 25, 0.6);
  border-right: 1px solid var(--border-color);
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height));
  position: sticky;
  top: var(--header-height);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90;
  overflow-y: auto;
}

.sidenav::-webkit-scrollbar {
  width: 4px;
}
.sidenav::-webkit-scrollbar-track {
  background: transparent;
}
.sidenav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.sidenav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sidenav.collapsed {
  width: 0;
  overflow: hidden;
  border-right-color: transparent;
}

.profile-card {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-wrapper {
  position: relative;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success-color);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px var(--success-color);
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 600;
  font-size: 1.05rem;
}

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

.nav-list {
  list-style: none;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.nav-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-item-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  transform: translateX(4px);
}

.nav-item-link.active {
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  border-left: 3px solid var(--primary-color);
}

.nav-link-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-icon {
  font-size: 1.25rem;
  width: 24px;
  display: flex;
  justify-content: center;
}

/* App Core Content Pane */
.content-pane {
  flex: 1;
  padding: 1.5rem 1.5rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  overflow-y: auto;
}

/* Sports Category Header Ribbon */
.sports-ribbon {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.sports-ribbon::-webkit-scrollbar {
  height: 4px;
}

.sport-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.7rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sport-tab:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  transform: translateY(-2px);
}

.sport-tab.active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.sport-tab-icon {
  font-size: 1.1rem;
}

/* Dashboard Columns Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
  width: 100%;
}

.main-column {
  min-width: 0;
  width: 100%;
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Game Listing Container */
.games-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Match Card */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 1rem;
}

.match-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.match-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 0 1 380px;
  min-width: 0;
}

.match-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.match-league {
  font-weight: 600;
}

.match-time {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  color: #fbbf24;
}

.match-teams {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.team-score {
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--success-color);
  font-size: 1.2rem;
  min-width: 24px;
  text-align: right;
}

/* Odds Selector Buttons */
.odds-container {
  display: flex;
  gap: 0.5rem;
}

.odd-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 75px;
  transition: all 0.2s ease;
}

.odd-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
}

.odd-btn.selected {
  background: var(--accent-grad) !important;
  border-color: #17c964 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.odd-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.odd-btn.selected .odd-label {
  color: rgba(255, 255, 255, 0.8);
}

.odd-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Betting Slip Container (Sidebar) */
.bet-slip-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.bet-slip {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.slip-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slip-clear-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.slip-clear-btn:hover {
  color: #ef4444;
}

.selections-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.empty-slip-msg {
  text-align: center;
  color: var(--text-dim);
  padding: 2rem 0;
  font-size: 0.95rem;
}

/* Selection Item */
.selection-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sel-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sel-teams {
  font-weight: 600;
  font-size: 0.9rem;
}

.sel-choice {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.sel-odd {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-main);
  align-self: center;
}

.sel-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.sel-remove:hover {
  color: #ef4444;
}

/* Slip calculations area */
.slip-summary {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.summary-row.total-odds {
  font-weight: 700;
  font-size: 1rem;
}

.stake-input-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.25rem 0.75rem;
}

.stake-input {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  width: 100%;
  outline: none;
}

.currency-symbol {
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 0.5rem;
}

.btn-place-bet {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-place-bet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-place-bet:disabled {
  background: var(--bg-card);
  box-shadow: none;
  color: var(--text-dim);
  cursor: not-allowed;
  transform: none;
}

/* Modals Overlay & Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: var(--glass-blur);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #fff;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary-color);
}

.modal-action-btn {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  padding: 0.8rem;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all 0.3s ease;
}

.modal-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* History / Ticket Grid Panels */
.history-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.history-type {
  font-weight: 600;
  font-size: 1rem;
}

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

.history-amount {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
}

.history-amount.credit {
  color: var(--success-color);
}

.history-amount.debit {
  color: #ef4444;
}

/* Ticket Details Panel */
.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.ticket-id {
  font-weight: 700;
  color: var(--text-muted);
}

.ticket-status {
  padding: 0.3rem 0.7rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ticket-status.won {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-color);
}

.ticket-status.pending {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.ticket-selections {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tkt-sel-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.tkt-sel-teams {
  font-weight: 600;
}

.tkt-sel-odd {
  color: var(--text-muted);
}

.ticket-summary {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Footer Section */
.footer-main {
  background: #070a10;
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-left: 3px solid var(--accent-color);
  padding-left: 8px;
  margin-bottom: 0.2rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list.flex-row {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.footer-link i {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-link:hover i {
  color: var(--accent-color);
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ff4d4d;
  color: #ff4d4d;
  font-weight: 800;
  font-size: 0.8rem;
}

.badge-rg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.promotion-badge-link {
  background: rgba(255, 215, 0, 0.05);
  border: 1px dashed rgba(255, 215, 0, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  color: #ffd700;
}

.promotion-badge-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #fff;
  transform: none;
}

.promotion-badge-link:hover i {
  color: #ffd700;
}

.hot-badge {
  background: #ff4d4d;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 4px;
  letter-spacing: 0.5px;
}

.payment-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.payment-badge i {
  font-size: 0.95rem;
}

.footer-disclaimer {
  max-width: 1600px;
  margin: 3rem auto 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: justify;
}

.footer-disclaimer strong {
  color: var(--text-muted);
}

.footer-bottom {
  max-width: 1600px;
  margin: 1.5rem auto 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-meta {
  display: flex;
  gap: 1.5rem;
}

/* XLive Iframe Styles */
.iframe-wrapper {
  grid-column: 1 / -1; /* Take up full width in the grid */
  width: 100%;
  height: 680px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-wrapper.hidden {
  display: none;
}

.sports-ribbon.hidden {
  display: none;
}

.bet-slip-sidebar.hidden {
  display: none;
}

/* Sidebar Active Tickets List */
.active-tickets-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom scrollbar for active tickets sidebar */
.active-tickets-sidebar::-webkit-scrollbar {
  width: 4px;
}
.active-tickets-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.active-tickets-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.sidebar-ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.sidebar-ticket-card:hover {
  border-color: var(--brand-accent);
  background: var(--bg-card-hover);
}

.sidebar-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.sidebar-ticket-id {
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-ticket-status {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-ticket-status.pending {
  background: rgba(234, 179, 8, 0.15);
  color: #fbbf24;
}

.sidebar-ticket-selections {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.sidebar-tkt-sel-row {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  line-height: 1.3;
}

.sidebar-tkt-sel-teams {
  color: var(--text-primary);
  font-weight: 600;
}

.sidebar-tkt-sel-odd {
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.sidebar-ticket-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.sidebar-ticket-stake {
  color: var(--text-muted);
}

.sidebar-ticket-win {
  font-weight: 700;
  color: var(--success-color);
}

/* Team Modal Tabs & Stats */
.team-modal-tabs {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
  gap: 8px;
}

.team-modal-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  flex: 1;
  text-align: center;
}

.team-modal-tab-btn:hover {
  color: var(--text-primary);
}

.team-modal-tab-btn.active {
  color: var(--brand-accent);
}

.team-modal-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.team-modal-tab-content {
  display: none;
  animation: modalTabFadeIn 0.25s ease-in-out forwards;
}

.team-modal-tab-content.active {
  display: block;
}

@keyframes modalTabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.h2h-match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.75rem;
}

.h2h-match-row:last-child {
  border-bottom: none;
}

.h2h-teams {
  flex: 1;
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
}

.h2h-score {
  font-weight: 700;
  color: var(--brand-accent);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  min-width: 32px;
  text-align: center;
  margin-left: 8px;
}

.h2h-date {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-right: 8px;
  min-width: 70px;
}

/* Standings Table in Team Modal */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.standings-table th, .standings-table td {
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.standings-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.68rem;
}

.standings-table tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.standings-table td.team-cell {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.standings-table tr.active-team-row {
  background: rgba(0, 255, 90, 0.05);
}

.standings-table tr.active-team-row td.team-cell {
  color: var(--brand-accent);
}

/* --- Pitch and Lineups styles --- */
.lineup-pitch {
  background: linear-gradient(180deg, #1b4d22 0%, #0d2810 100%);
  border: 2px solid rgba(255,255,255,0.15);
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 0;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}

/* Pitch markings */
.lineup-pitch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.pitch-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-penalty-area-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 140px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  border-top: none;
  transform: translateX(-50%);
}

.pitch-penalty-area-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 140px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: none;
  transform: translateX(-50%);
}

.pitch-goal-area-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 70px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-top: none;
  transform: translateX(-50%);
}

.pitch-goal-area-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 70px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: none;
  transform: translateX(-50%);
}

/* Pitch players */
.pitch-player {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  width: 60px;
  text-align: center;
  transition: transform 0.2s ease;
}

.pitch-player:hover {
  transform: translate(-50%, -55%) scale(1.1);
}

.pitch-player-jersey {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #0d131a;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.pitch-player.away .pitch-player-jersey {
  background: #3b82f6;
  color: #fff;
  border-color: #fff;
}

.pitch-player-name {
  font-size: 0.65rem;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1.5px 3px rgba(0,0,0,0.9);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58px;
}

.pitch-player-rating {
  font-size: 0.55rem;
  background: #10b981;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
  margin-top: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.pitch-player-rating.yellow {
  background: #fbbf24;
  color: #000;
}

/* Absentees Grid */
.absentees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.absentee-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.absentee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.absentee-row:last-child {
  border-bottom: none;
}

/* Stats Comparison Bar */
.stats-comp-row {
  margin-bottom: 10px;
}

.stats-comp-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.stats-comp-bar-container {
  display: flex;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}

.stats-comp-bar-home {
  background: var(--brand-accent);
}

.stats-comp-bar-away {
  background: #3b82f6;
}

/* Odds Table */
.odds-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.odds-comp-table th, .odds-comp-table td {
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.odds-comp-table th {
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.odds-value {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  min-width: 36px;
  transition: all 0.2s ease;
}

.odds-value.highest {
  background: rgba(255, 223, 27, 0.15);
  color: var(--brand-accent);
  border: 1px solid rgba(255, 223, 27, 0.3);
}

/* Responsive modal content layout override */
@media (max-width: 768px) {
  #team-modal-body > div {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #team-modal-body > div > div:first-child {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 16px;
  }
  .team-modal-tabs {
    flex-wrap: wrap;
    gap: 4px;
  }
  .team-modal-tab-btn {
    font-size: 0.75rem;
    padding: 0.4rem;
    flex: auto;
    min-width: 80px;
  }
  .absentees-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-grid.full-width {
  grid-template-columns: 1fr;
}

.hidden {
  display: none !important;
}

/* Live vs Upcoming Toggle Controls */
.match-toggle-container {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 30px;
  gap: 4px;
  margin-bottom: 2rem;
  width: fit-content;
}

.match-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.match-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.match-toggle-btn.active {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

/* World Cup 2026 Golden Glow Style */
.match-card.world-cup-card {
  position: relative;
  border: 1px solid rgba(245, 158, 11, 0.3); /* Gold/Amber border */
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(245, 158, 11, 0.08); /* Gold glow */
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.65) 0%, rgba(20, 25, 40, 0.8) 100%);
  overflow: hidden;
  padding-left: 1.5rem; /* Make room for the gold line */
}

.match-card.world-cup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #fbbf24, #d97706); /* Gold strip */
}

/* World Cup Badge styling */
.world-cup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0b0f19;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* Upcoming specific details */
.upcoming-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fb7185;
  font-size: 0.8rem;
  font-weight: 600;
}
.upcoming-dot {
  width: 6px;
  height: 6px;
  background-color: #fb7185;
  border-radius: 50%;
  box-shadow: 0 0 6px #fb7185;
}
/* Ended matches specific details */
.ended-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.ended-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
}

.match-card.ended-card {
  opacity: 0.75;
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.match-card.ended-card .team-score {
  color: var(--accent-color);
  font-weight: 700;
  background: rgba(255, 51, 102, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* Disabled buttons for ended matches */
.odds-container button:disabled {
  opacity: 0.35;
  cursor: not-allowed !important;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.01) !important;
  border-color: rgba(255, 255, 255, 0.03) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Authentication Styles */
.auth-header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-login-header {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-login-header:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-register-header {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.btn-register-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(99, 102, 241, 0.35);
}

/* Logout Button */
.btn-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-left: auto;
}

.btn-logout:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Auth Modal Adjustments */
.auth-modal {
  max-width: 400px;
}

.auth-toggle-link {
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}

.auth-toggle-link:hover {
  color: var(--primary-light);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

/* Suspended odds buttons style */
.odd-btn.suspended {
  background: rgba(239, 68, 68, 0.03) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.65;
  position: relative;
}

.odd-btn.suspended::after {
  content: '🔒';
  position: absolute;
  font-size: 0.75rem;
  top: 3px;
  right: 4px;
  opacity: 0.8;
}

/* ==========================================
   CASINO DASHBOARD & AVIATOR STYLES
   ========================================== */

.casino-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.casino-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 50%, #111827 100%);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.casino-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-glow);
  filter: blur(120px);
  top: -100px;
  right: -50px;
  opacity: 0.15;
  pointer-events: none;
}

.casino-banner-content {
  max-width: 60%;
  position: relative;
  z-index: 2;
}

.casino-banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  letter-spacing: -0.5px;
}

.casino-banner-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.casino-banner-btn {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all 0.2s ease;
}

.casino-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.casino-banner-img {
  font-size: 5.5rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  user-select: none;
  animation: planeFloat 3s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

@keyframes planeFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-5deg); }
}

.casino-filters {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.casino-filter-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.casino-filter-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: #fff;
}

.casino-filter-btn:hover:not(.active) {
  color: #fff;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
}

.casino-card-img-wrapper {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.casino-card-img-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(24, 29, 41, 0.95));
  z-index: 2;
}

.casino-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.casino-card:hover .casino-card-art {
  transform: scale(1.1);
}

.casino-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-card-badge.hot {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 2px 10px rgba(239,68,68,0.4);
}

.casino-card-badge.new {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 2px 10px rgba(59,130,246,0.4);
}

.casino-card-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.casino-card-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

.casino-card-provider {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.casino-card-action {
  background: #ef4444;
  border: none;
  color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  margin-top: 0.5rem;
  width: 100%;
}

.casino-card-action:hover {
  background: #f87171;
  box-shadow: 0 2px 10px rgba(239,68,68,0.3);
}

/* Aviator Presets active state */
.btn-preset.active {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #fff !important;
}

.btn-aviator-play:active {
  transform: scale(0.97);
}

.btn-aviator-play.disabled {
  background: #374151 !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.btn-preset:hover {
  background: #2d384e !important;
  color: #fff !important;
}

/* Sweet Bonanza Slot Machine Styles */
.slot-reel {
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

@keyframes reelSpin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-60%); }
}

.reel-spinning-effect {
  animation: reelSpin 0.1s linear infinite;
}

.slot-stake-adjuster button:hover {
  background: rgba(217, 70, 239, 0.2) !important;
}

#btn-slot-spin {
  transition: all 0.2s ease;
}

#btn-slot-spin:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

#btn-slot-spin:active:not(.disabled) {
  transform: translateY(1px);
}

#btn-slot-spin.disabled {
  background: #374151 !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.slot-symbol-win-glow {
  animation: symbolGlow 0.3s ease-in-out infinite alternate;
  background: rgba(236, 72, 153, 0.15) !important;
  border-color: #ec4899 !important;
}

@keyframes symbolGlow {
  0% { box-shadow: 0 0 5px #ec4899; }
  100% { box-shadow: 0 0 20px #ec4899; }
}

/* Gates of Olympus Zeus Glow */
.olympus-symbol-win-glow {
  animation: olympusGlow 0.3s ease-in-out infinite alternate;
  background: rgba(234, 179, 8, 0.15) !important;
  border-color: #eab308 !important;
}

@keyframes olympusGlow {
  0% { box-shadow: 0 0 5px #eab308; }
  100% { box-shadow: 0 0 20px #eab308; }
}

/* Roulette Wheel Spin Animation */
@keyframes spinWheel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.roulette-spinning {
  animation: spinWheel 0.25s linear infinite;
}

.btn-roulette-option.active {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  border-color: #fff !important;
  transform: scale(1.03);
}

/* Blackjack Card Styling */
.bj-card-item {
  width: 60px;
  height: 85px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  color: #111827;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: dealCard 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes dealCard {
  0% { transform: translateY(-40px) rotate(15deg); opacity: 0; }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

.bj-card-item.red {
  color: #dc2626;
}

.bj-card-item.face-down {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Mines Grid Card styling */
.mines-tile {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.05);
}

.mines-tile:hover:not(.revealed) {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.mines-tile.revealed {
  background: #0f172a;
  cursor: default;
}

.mines-tile.revealed.gem {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  animation: tileRevealGem 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.mines-tile.revealed.mine {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  animation: tileRevealMine 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes tileRevealGem {
  0% { transform: scale(0.6) rotateY(90deg); opacity: 0; }
  100% { transform: scale(1) rotateY(0deg); opacity: 1; box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }
}

@keyframes tileRevealMine {
  0% { transform: scale(0.6) rotateY(-90deg); opacity: 0; }
  100% { transform: scale(1) rotateY(0deg); opacity: 1; box-shadow: 0 0 25px rgba(239, 68, 68, 0.6); }
}

/* Book of Ra slot styling */
.book-symbol-win-glow {
  animation: bookGlow 0.3s ease-in-out infinite alternate;
  background: rgba(234, 179, 8, 0.2) !important;
  border-color: #eab308 !important;
}

@keyframes bookGlow {
  0% { box-shadow: 0 0 5px #eab308; }
  100% { box-shadow: 0 0 25px #eab308; }
}

/* Dice slider styling */
#dice-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #06b6d4;
  cursor: pointer;
  box-shadow: 0 0 10px #06b6d4;
  transition: transform 0.1s;
}

#dice-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Keno Numbers styling */
.keno-cell {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.keno-cell:hover:not(.disabled) {
  background: #334155;
  color: #fff;
}

.keno-cell.selected {
  background: #3b82f6 !important;
  color: #fff !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.keno-cell.hit {
  background: #10b981 !important;
  color: #fff !important;
  border-color: #34d399 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  animation: pulseKenoHit 0.3s ease;
}

.keno-cell.miss {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #f87171 !important;
  opacity: 0.8;
}

@keyframes pulseKenoHit {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Wheel styling */
.btn-wheel-bet-spot.active {
  background: #eab308 !important;
  color: #000 !important;
  border-color: #fef08a !important;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.6);
}

/* Coin flip styling */
.btn-coin-bet-spot.active {
  background: #f59e0b !important;
  color: #000 !important;
  border-color: #fde68a !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}/* Professional Roulette Premium Styles */
.roulette-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (max-width: 860px) {
  .roulette-main-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.roulette-wheel-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#roulette-center-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #091a11;
  border: 3px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

#roulette-ball-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.roulette-table-panel {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 6px;
}

.roulette-board {
  display: grid;
  grid-template-columns: 48px repeat(12, 1fr) 52px;
  grid-template-rows: repeat(3, 40px) 38px 38px;
  gap: 3px;
  min-width: 600px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  user-select: none;
}

.board-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #092e1b;
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.95rem;
}

.board-cell:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10b981;
  color: #fff;
  z-index: 2;
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.board-cell.zero-cell {
  background: #10b981;
  color: #fff;
  font-size: 1.15rem;
  border-color: #34d399;
}

.board-cell.num-cell.red {
  background: #dc2626;
  color: #fff;
  border-color: rgba(220, 38, 38, 0.2);
}

.board-cell.num-cell.black {
  background: #1f2937;
  color: #fff;
  border-color: rgba(31, 41, 55, 0.2);
}

.board-cell.side-cell {
  background: #061a10;
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
}

.board-cell.red-bg {
  background: #dc2626 !important;
}

.board-cell.black-bg {
  background: #1f2937 !important;
}

/* Red/Black diamond shapes */
.diamond {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-radius: 2px;
}
.red-diamond {
  background: #fff;
}
.black-diamond {
  background: #fff;
}

/* Chip representation inside cells */
.board-chip-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #d97706 100%);
  border: 1.5px dashed #fff;
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 0 1px #d97706;
  z-index: 5;
  pointer-events: none;
}

/* Active board chips displaying state */
.board-chip-val.active {
  display: flex;
}

/* Chip Selection Style */
.roulette-chip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  border: 3px dashed rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.roulette-chip::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.roulette-chip.r-chip-1 { background: radial-gradient(circle, #6b7280 0%, #374151 100%); }
.roulette-chip.r-chip-5 { background: radial-gradient(circle, #ef4444 0%, #b91c1c 100%); }
.roulette-chip.r-chip-10 { background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%); }
.roulette-chip.r-chip-50 { background: radial-gradient(circle, #a855f7 0%, #7e22ce 100%); }
.roulette-chip.r-chip-100 { background: radial-gradient(circle, #f97316 0%, #c2410c 100%); }
.roulette-chip.r-chip-500 { background: radial-gradient(circle, #f59e0b 0%, #b45309 100%); }

.roulette-chip.active {
  transform: scale(1.15) translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4), 0 0 12px rgba(16, 185, 129, 0.6);
  z-index: 10;
}

.btn-roulette-control {
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn-roulette-control.secondary {
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-roulette-control.secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff;
}

.btn-roulette-control.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  filter: brightness(1.15);
}

.roulette-history-item {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: pulseKenoHit 0.3s ease;
}
.roulette-history-item.green { background: #10b981; }
.roulette-history-item.red { background: #dc2626; }
.roulette-history-item.black { background: #1f2937; }

/* Universal Table Card Game & Poker Styles */
.universal-card-item {
  width: 48px;
  height: 70px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  color: #111827;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  position: relative;
  user-select: none;
  animation: dealCardAnim 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.universal-card-item.red-card {
  color: #ef4444;
}

.universal-card-item.card-hidden {
  background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
  border-color: #3b82f6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@keyframes dealCardAnim {
  0% { transform: translateY(-50px) rotate(-20deg); opacity: 0; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}

.universal-bet-spot {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.85rem;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.universal-bet-spot:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
  transform: scale(1.02);
}

.universal-bet-spot.active-bet {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #fff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.universal-bet-spot .spot-chip {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #d97706 100%);
  border: 1.5px dashed #fff;
  color: #000;
  font-size: 0.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  z-index: 5;
}

/* Video Poker styling */
.vp-card-wrapper {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.vp-card-wrapper:hover {
  transform: translateY(-5px);
}

.vp-card-wrapper.held {
  transform: translateY(-8px);
}

.vp-hold-overlay {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  display: none;
  z-index: 10;
}

.vp-card-wrapper.held .vp-hold-overlay {
  display: block;
}

.vp-paytable-row {
  display: contents;
}

.vp-paytable-row.active .vp-paytable-cell {
  background: rgba(59, 130, 246, 0.25);
  color: #facc15;
  font-weight: 800;
}

.vp-paytable-cell {
  padding: 3px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Header Tabs Nav */
.header-nav-tabs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 2.5rem;
  height: 100%;
}

.header-tab {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  border-bottom: 3px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  height: calc(var(--header-height) - 1px);
  display: flex;
  align-items: center;
}

.header-tab:hover {
  color: #fff;
}

.header-tab.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Profile Dropdown Menu */
.profile-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.profile-trigger:hover {
  background: rgba(255, 255, 255, 0.07);
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  width: 220px;
  background: #111e1a;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  z-index: 200;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(19, 160, 114, 0.12);
  color: #fff;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.4rem 0;
}

/* Hide horizontal ribbon as we use Left Sidebar categories */
.sports-ribbon {
  display: none !important;
}

/* Odds button styling updates to fit premium theme */
.odd-btn {
  background: #17212b !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.odd-btn:hover {
  background: #202d3a !important;
  border-color: var(--primary-color) !important;
}

.odds-btn-group .odd-btn.selected {
  background: var(--accent-grad) !important;
  border-color: #17c964 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.odds-btn-group .odd-btn.selected .odd-label {
  color: rgba(255, 255, 255, 0.85) !important;
}

.odds-btn-group .odd-btn.selected .odd-value {
  color: #fff !important;
}

.odd-val {
  color: var(--accent-color) !important;
}

/* Language Dropdown Switcher */
.lang-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.lang-menu {
  width: 140px !important;
  background: #111e1a !important;
}

/* Premium Sportsbook Multi-Column Layout styles */
.odds-columns-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: center;
  flex: 1;
  min-width: 520px;
  max-width: 650px;
}

.odds-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.odds-col-header {
  display: none; /* Hidden because we use top headers bar */
}

.odds-btn-group {
  display: flex;
  gap: 6px;
}

.odds-btn-group .odd-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 15px !important;
  border-radius: 8px !important;
  height: 50px;
  background: #101921 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-size: 0.75rem !important;
  min-width: 0;
}

/* Sportsbook Table Header Bar (MyBet90 Style) */
.sportsbook-header-bar {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.game-info-header {
  flex: 0 1 380px;
  min-width: 0;
}

.odds-headers-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  flex: 1;
  min-width: 520px;
  max-width: 650px;
}

.odds-header-title {
  text-align: center;
}

/* Sidenav Leagues Section premium glassmorphism styling */
.sidenav-leagues-section {
  transition: all 0.3s ease;
}

.sidenav-leagues-section .nav-item-link {
  border-radius: 8px;
  margin: 0.15rem 0.75rem;
  padding: 0.6rem 1rem;
}

.sidenav-leagues-section .nav-item-link:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sidenav-leagues-section .nav-item-link.active {
  background: rgba(19, 160, 114, 0.15) !important;
  color: var(--primary-color) !important;
  border-left: 3px solid var(--primary-color);
}

/* Pulse animation for live match badge */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive tweaks for Sportsbook grid */
@media (max-width: 992px) {
  .match-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .odds-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .sportsbook-header-bar {
    display: none !important;
  }
  .odds-col-header {
    display: block !important;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

/* Flex-shrinking and text truncation for team names to prevent layout shift and overflow */
.team-name-click {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  margin-right: 0.5rem;
}





