/* Style sheet for Premium 11X Game Clone */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;700;900&display=swap');

:root {
  --bg-primary: #070913;
  --bg-secondary: #0f132a;
  --bg-card: rgba(20, 26, 56, 0.6);
  --bg-card-hover: rgba(28, 36, 78, 0.85);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-glow: rgba(69, 243, 255, 0.4);
  
  --primary-accent: #00e5ff; /* Cyber Cyan */
  --primary-accent-rgb: 0, 229, 255;
  --secondary-accent: #ffd700; /* Gold */
  --secondary-accent-rgb: 255, 215, 0;
  --success: #00e676; /* Neon Green */
  --error: #ff2a5f; /* Neon Red */
  --warning: #ff9100;
  
  --text-primary: #ffffff;
  --text-secondary: #8b9bb4;
  --text-muted: #4e5d78;
  
  --shadow-glow: 0 0 15px rgba(0, 229, 255, 0.2);
  --shadow-glow-gold: 0 0 15px rgba(255, 215, 0, 0.25);
  
  --transition-speed: 0.3s;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Orbitron', monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* App Shell */
.app-container {
  display: grid;
  grid-template-areas: 
    "header header header"
    "sidebar main betslip";
  grid-template-columns: 240px 1fr 340px;
  grid-template-rows: 70px 1fr;
  min-height: 100vh;
  position: relative;
}

/* Header */
header {
  grid-area: header;
  background: rgba(15, 19, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
  font-family: var(--font-mono);
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(to right, #ffffff, var(--primary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.search-bar {
  flex: 0 1 400px;
  position: relative;
  margin: 0 20px;
}

.search-bar input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 10px 16px 10px 42px;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  transition: all var(--transition-speed);
}

.search-bar input:focus {
  border-color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glow);
}

.search-bar i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wallet-badge {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 6px 14px;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.wallet-badge:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: var(--shadow-glow-gold);
}

.wallet-badge i {
  color: var(--secondary-accent);
  font-size: 16px;
}

.wallet-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--secondary-accent);
}

.btn-deposit {
  background: linear-gradient(135deg, var(--secondary-accent), #f3a300);
  border: none;
  color: var(--bg-primary);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

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

.btn-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all var(--transition-speed);
}

.btn-login:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  box-shadow: var(--shadow-glow);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lang-selector:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-selector img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

/* Sidebar */
.sidebar {
  grid-area: sidebar;
  background: rgba(15, 19, 42, 0.5);
  border-right: 1px solid var(--border-color);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
}

.sidebar-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 12px 6px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  width: 100%;
  text-align: left;
}

.sidebar-btn i {
  font-size: 18px;
  transition: transform var(--transition-speed);
}

.sidebar-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-btn:hover i {
  transform: translateX(3px);
}

.sidebar-btn.active {
  color: var(--bg-primary);
  background: linear-gradient(90deg, var(--primary-accent), #00b0ff);
  box-shadow: var(--shadow-glow);
}

.sidebar-btn.active i {
  color: var(--bg-primary);
}

.sports-badge {
  background: rgba(255, 59, 48, 0.15);
  color: var(--error);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
  font-weight: 700;
  border: 1px solid rgba(255, 59, 48, 0.2);
}

.live-count-badge {
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary-accent);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
  font-weight: 700;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Main Content Area */
main {
  grid-area: main;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 100%;
}

/* Banner Slider */
.banner-carousel {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  padding: 40px 60px;
  background-size: cover;
  background-position: center;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7,9,19,0.95) 0%, rgba(7,9,19,0.7) 40%, transparent 100%);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slide-badge {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--primary-accent);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.slide-title {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.slide-title span {
  background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.btn-slide-action {
  background: linear-gradient(135deg, var(--primary-accent), #00b0ff);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 13px;
  cursor: pointer;
  align-self: flex-start;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-slide-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.carousel-dot.active {
  background: var(--primary-accent);
  width: 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-glow);
}

/* Categories Bar */
.categories-filter-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-speed);
  white-space: nowrap;
}

.category-pill i {
  font-size: 16px;
}

.category-pill:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.category-pill.active {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  box-shadow: var(--shadow-glow);
}

/* Live Sports Matches */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--primary-accent);
  padding-left: 12px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--error);
  font-weight: 700;
  text-transform: uppercase;
  animation: pulse-border 1.5s infinite;
  background: rgba(255, 42, 95, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 42, 95, 0.2);
}

.live-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--error);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--error);
}

.sports-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  align-items: center;
  transition: all var(--transition-speed);
}

.match-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
}

.match-sport-icon {
  font-size: 24px;
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 12px;
}

.match-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-league {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.match-teams {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-status {
  font-size: 12px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.match-odds-container {
  display: flex;
  gap: 8px;
}

.odds-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.odds-btn:hover {
  background: rgba(0, 229, 255, 0.05);
  border-color: var(--primary-accent);
}

.odds-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--primary-accent);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.odds-label {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.odds-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-accent);
  transition: color 0.5s ease;
}

.odds-btn.flash-up .odds-value {
  color: var(--success) !important;
  text-shadow: 0 0 8px var(--success);
}

.odds-btn.flash-down .odds-value {
  color: var(--error) !important;
  text-shadow: 0 0 8px var(--error);
}

/* Games Grid Section */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
  aspect-ratio: 0.82;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-glow);
}

.game-img-container {
  width: 100%;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.game-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.game-card:hover .game-img-container img {
  transform: scale(1.08);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 19, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
  z-index: 2;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-btn {
  background: linear-gradient(135deg, var(--secondary-accent), #f3a300);
  color: var(--bg-primary);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: transform 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}

.game-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border-color);
}

.game-name {
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.crash-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--error);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 3;
}

.live-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--success);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 3;
}

/* Bet Slip Sidebar */
.betslip {
  grid-area: betslip;
  background: rgba(15, 19, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  z-index: 90;
  transition: transform var(--transition-speed);
}

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

.betslip-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.betslip-count {
  background: var(--primary-accent);
  color: var(--bg-primary);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.btn-clear-slip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: color var(--transition-speed);
}

.btn-clear-slip:hover {
  color: var(--error);
}

.betslip-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-betslip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: 12px;
  text-align: center;
  padding: 40px;
}

.empty-betslip i {
  font-size: 48px;
}

.empty-betslip p {
  font-size: 13px;
  line-height: 1.4;
}

.slip-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.slip-remove {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}

.slip-remove:hover {
  color: var(--error);
}

.slip-match-name {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  padding-right: 20px;
}

.slip-bet-outcome {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slip-odds {
  font-family: var(--font-mono);
  color: var(--primary-accent);
  font-weight: 700;
}

.slip-stake-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.slip-stake-input-wrapper {
  position: relative;
  flex: 1;
}

.slip-stake-input-wrapper::before {
  content: '₹';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.stake-input {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 8px 8px 22px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

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

.quick-stakes {
  display: flex;
  gap: 4px;
}

.quick-stake-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 6px;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.quick-stake-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.betslip-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(7, 9, 19, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payout-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.summary-row.total {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

.payout-val {
  font-family: var(--font-mono);
  font-weight: 700;
}

.payout-val.gain {
  color: var(--success);
}

.btn-place-bet {
  background: linear-gradient(135deg, var(--primary-accent), #00b0ff);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

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

.btn-place-bet:disabled {
  background: var(--text-muted);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Footer Section */
footer {
  grid-column: 1 / -1;
  background: #060810;
  border-top: 1px solid var(--border-color);
  padding: 40px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-about p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h3 {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--primary-accent);
}

.payment-methods-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.payment-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 4px;
}

.payment-badge i {
  color: var(--secondary-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
}

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

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.8), var(--shadow-glow);
  transform: scale(0.9);
  transition: transform var(--transition-speed);
  position: relative;
}

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

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

.modal-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--transition-speed);
}

.modal-close:hover {
  color: var(--error);
}

.modal-body {
  padding: 24px;
}

/* Auth forms */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-group input {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  transition: border-color var(--transition-speed);
}

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

.auth-submit-btn {
  background: linear-gradient(135deg, var(--primary-accent), #00b0ff);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
  transition: all var(--transition-speed);
}

.auth-submit-btn:hover {
  box-shadow: var(--shadow-glow);
}

.auth-toggle {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.auth-toggle span {
  color: var(--primary-accent);
  cursor: pointer;
  font-weight: 600;
}

/* Interactive Games Overlay Fullscreen */
.game-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #060710;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

.game-modal-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.game-modal-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-modal-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
}

.game-modal-balance {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--secondary-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.game-modal-close {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.game-modal-close:hover {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}

.game-modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Aviator Simulator Game Rules */
.aviator-container {
  width: 100%;
  max-width: 900px;
  background: #0f101d;
  border: 1px solid #232742;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  height: 80vh;
  min-height: 500px;
}

.aviator-history {
  height: 36px;
  background: #080911;
  border-bottom: 1px solid #1a1e35;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
}

.history-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.history-pill.low {
  color: #45b3ff;
}

.history-pill.mid {
  color: #d15aff;
}

.history-pill.high {
  color: var(--secondary-accent);
}

.aviator-screen {
  flex: 1;
  background: radial-gradient(circle at center, #181930 0%, #080911 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aviator-multiplier {
  position: absolute;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 42, 95, 0.2);
  transition: scale 0.1s ease;
}

.aviator-multiplier.normal {
  color: #fff;
}

.aviator-multiplier.crashed {
  color: var(--error);
}

.aviator-status-text {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 5;
}

.aviator-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.aviator-controls {
  background: #0c0d18;
  border-top: 1px solid #1a1e35;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 180px;
}

.aviator-bet-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bet-input-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.bet-input-box label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.bet-controls-row {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid #232742;
  border-radius: 8px;
  padding: 2px;
}

.bet-btn-adjust {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bet-btn-adjust:hover {
  color: #fff;
}

.bet-value-input {
  flex: 1;
  background: transparent;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  width: 50px;
}

.bet-grid-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}

.btn-bet-preset {
  background: rgba(255,255,255,0.05);
  border: none;
  border-radius: 4px;
  padding: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-mono);
}

.btn-bet-preset:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-aviator-action {
  width: 140px;
  height: 100%;
  border-radius: 12px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-transform: uppercase;
}

.btn-aviator-action.bet {
  background: linear-gradient(135deg, #00e676, #00b0ff);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.3);
}

.btn-aviator-action.cashout {
  background: linear-gradient(135deg, #ff9100, #ff5722);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 145, 0, 0.4);
}

.btn-aviator-action.waiting {
  background: #232742;
  color: var(--text-muted);
  cursor: not-allowed;
}

.btn-aviator-action span {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  text-transform: none;
}

/* Roulette Game CSS */
.roulette-container {
  width: 100%;
  max-width: 800px;
  background: #0a0d16;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 80vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.roulette-gameplay {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  flex: 1;
  min-height: 0;
}

.roulette-wheel-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(0,0,0,0.25);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.roulette-wheel-img {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #331111 0%, #110000 100%);
  border-radius: 50%;
  border: 12px solid #553311;
  box-shadow: 0 0 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.8);
  position: relative;
  transition: transform 6s cubic-bezier(0.1, 0.8, 0.1, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roulette-wheel-img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #2c0c0c 0deg 9.7deg,
    #0c2c0c 9.7deg 19.4deg,
    #111111 19.4deg 29.1deg
  );
  opacity: 0.15;
}

.roulette-ball {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 30px;
  left: 120px;
  box-shadow: 0 0 10px #fff;
  z-index: 10;
  transform-origin: 10px 100px;
}

.wheel-pin {
  width: 10px;
  height: 30px;
  background: gold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  border-radius: 5px;
}

.wheel-pointer {
  position: absolute;
  top: 15px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid var(--secondary-accent);
  z-index: 20;
  filter: drop-shadow(0 0 5px var(--secondary-accent));
}

.roulette-board {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roulette-result-display {
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
}

.roulette-result-display.red {
  color: var(--error);
  text-shadow: 0 0 10px rgba(255, 42, 95, 0.4);
}

.roulette-result-display.black {
  color: #fff;
}

.roulette-result-display.green {
  color: var(--success);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.betting-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.roulette-bet-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.roulette-bet-btn:hover {
  border-color: var(--primary-accent);
  background: rgba(0, 229, 255, 0.05);
}

.roulette-bet-btn.active {
  border-color: var(--primary-accent);
  background: rgba(0, 229, 255, 0.15);
  box-shadow: var(--shadow-glow);
}

.roulette-bet-btn.red {
  border-color: rgba(255, 42, 95, 0.4);
}

.roulette-bet-btn.red.active {
  background: rgba(255, 42, 95, 0.2);
  border-color: var(--error);
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.3);
}

.roulette-bet-btn.black {
  border-color: rgba(255, 255, 255, 0.2);
}

.roulette-bet-btn.black.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.roulette-bet-btn.green {
  border-color: rgba(0, 230, 118, 0.4);
}

.roulette-bet-btn.green.active {
  background: rgba(0, 230, 118, 0.2);
  border-color: var(--success);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.bet-color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.bet-color-dot.red { background: var(--error); }
.bet-color-dot.black { background: #1a1f38; border: 1px solid #3a4266; }
.bet-color-dot.green { background: var(--success); }

.roulette-bet-btn span {
  font-size: 13px;
  font-weight: 700;
}

.roulette-bottom-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.roulette-bet-input {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  width: 150px;
  font-family: var(--font-mono);
}

.roulette-bet-input label {
  color: var(--text-muted);
  margin-right: 8px;
  font-weight: 700;
}

.roulette-bet-input input {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
}

.btn-roulette-spin {
  flex: 1;
  background: linear-gradient(135deg, var(--secondary-accent), #f3a300);
  color: var(--bg-primary);
  border: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-roulette-spin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-roulette-spin:disabled {
  background: var(--text-muted);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Indian Cards - Teen Patti Simulator styles */
.teenpatti-container {
  width: 100%;
  max-width: 800px;
  background: #072517; /* Casino table green */
  border: 5px solid #4a3119; /* Wooden border */
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 80vh;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8), inset 0 0 100px rgba(0,0,0,0.6);
  color: #fff;
}

.patti-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.patti-dealer-side, .patti-player-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.patti-section-title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
}

.patti-cards-row {
  display: flex;
  gap: 12px;
  min-height: 120px;
  align-items: center;
}

.patti-card {
  width: 80px;
  height: 116px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  color: #000;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.patti-card.red {
  color: #ff3b30;
}

.patti-card.black {
  color: #000;
}

.card-back {
  background: radial-gradient(circle, #b71c1c 0%, #5f0909 100%);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-back::after {
  content: '♠♥♦♣';
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}

.card-suit-top {
  align-self: flex-start;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.card-suit-center {
  align-self: center;
  font-size: 30px;
  line-height: 1;
}

.card-suit-bottom {
  align-self: flex-end;
  font-weight: 700;
  font-size: 15px;
  transform: rotate(180deg);
}

.patti-pot-area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.4);
  border: 2px dashed rgba(255,215,0,0.3);
  border-radius: 12px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pot-label {
  font-size: 10px;
  color: var(--secondary-accent);
  text-transform: uppercase;
  font-weight: 700;
}

.pot-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.patti-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.3);
  border-radius: 16px;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.patti-bet-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.patti-bet-btn-action {
  background: linear-gradient(135deg, var(--secondary-accent), #f3a300);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all var(--transition-speed);
}

.patti-bet-btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.patti-bet-btn-action.red {
  background: linear-gradient(135deg, var(--error), #d31e4d);
  color: #fff;
}

/* Slots Game CSS */
.slots-container {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(180deg, #1f1435 0%, #0c071a 100%);
  border: 4px solid var(--secondary-accent);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 80vh;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255,215,0,0.2);
}

.slots-machine-header {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary-accent);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  letter-spacing: 2px;
}

.slots-window {
  background: #000;
  border: 8px solid #110d22;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  justify-content: center;
  height: 180px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.9);
}

.slots-window::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background: rgba(255, 0, 0, 0.4);
  z-index: 5;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
}

.slots-reel {
  flex: 1;
  background: #0e0f19;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.slots-reel-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 3s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.slots-symbol {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  line-height: 1;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}

.slots-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-slots-spin {
  flex: 1;
  background: linear-gradient(180deg, #ffd700 0%, #f3a300 100%);
  color: var(--bg-primary);
  border: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-slots-spin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.btn-slots-spin:disabled {
  background: var(--text-muted);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-10px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 65px;
  background: rgba(15, 19, 42, 0.95);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px; /* Shift up above bottom mobile navigation bar */
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

.toast {
  background: rgba(15, 19, 42, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--shadow-glow);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-color: var(--success);
  box-shadow: 0 5px 15px rgba(0, 230, 118, 0.15);
}

.toast.success i {
  color: var(--success);
}

.toast.error {
  border-color: var(--error);
  box-shadow: 0 5px 15px rgba(255, 42, 95, 0.15);
}

.toast.error i {
  color: var(--error);
}

.toast.info {
  border-color: var(--primary-accent);
}

.toast.info i {
  color: var(--primary-accent);
}

/* Mock Payment Gateway CSS */
.payment-modal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.payment-tab {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-speed);
}

.payment-tab.active {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--secondary-accent);
  color: var(--secondary-accent);
}

.payment-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  width: 180px;
  align-self: center;
}

.payment-qr-code {
  width: 140px;
  height: 140px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.payment-qr-code::before {
  content: 'UPI MOCK QR';
  font-size: 10px;
  color: #666;
  font-weight: 700;
}

.payment-amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.preset-amount-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.preset-amount-btn:hover {
  border-color: var(--secondary-accent);
  background: rgba(255,215,0,0.05);
}

/* Pulse Border Animation */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 42, 95, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255, 42, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 95, 0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .app-container {
    grid-template-areas: 
      "header header"
      "sidebar main";
    grid-template-columns: 70px 1fr;
  }
  .betslip {
    position: fixed;
    right: 0;
    top: 70px;
    width: 320px;
    height: calc(100vh - 70px);
    transform: translateX(100%);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .betslip.active {
    transform: translateX(0);
  }
  .sidebar-btn span, .sidebar-heading {
    display: none;
  }
  .sidebar-btn {
    justify-content: center;
    padding: 16px 0;
  }
  .sidebar-btn i {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .app-container {
    grid-template-areas: 
      "header"
      "main";
    grid-template-columns: 1fr;
    padding-bottom: 60px; /* Space for bottom nav */
  }
  .sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    flex-direction: row;
    justify-content: space-around;
    padding: 0;
    z-index: 100;
    border-right: none;
    border-top: 1px solid var(--border-color);
    background: rgba(15, 19, 42, 0.95);
    backdrop-filter: blur(10px);
  }
  .sidebar-btn {
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
    padding: 8px 0;
    border-radius: 0;
    width: auto;
  }
  .sidebar-btn i {
    font-size: 16px;
  }
  .sidebar-btn:hover i {
    transform: none;
  }
  .match-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .match-odds-container {
    width: 100%;
  }
  .banner-carousel {
    height: 220px;
    padding: 20px;
  }
  .carousel-slide {
    padding: 20px;
  }
  .slide-title {
    font-size: 24px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Visually hidden for screen readers and SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SEO Info & FAQs Section Styling */
.seo-footer-section {
  margin-top: 40px;
  background: rgba(15, 19, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.seo-footer-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary-accent);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.seo-content p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 15px;
}

.seo-faq-container {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.seo-faq-container h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--border-glow);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

.faq-question span {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.faq-question i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
  color: var(--primary-accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 20px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-answer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-top: 15px;
}

.seo-disclaimer {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.seo-disclaimer p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .seo-footer-section {
    padding: 20px;
    margin-top: 25px;
  }
  .seo-footer-section h2 {
    font-size: 18px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question span {
    font-size: 13px;
    padding-right: 10px;
  }
  .faq-answer p {
    font-size: 12px;
  }
}

/* --- VIEW SCORECARD BUTTON --- */
.btn-view-scorecard {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--primary-accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-view-scorecard:hover {
  background: var(--primary-accent);
  color: #0f132a;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

/* --- BLOGS GRID AND CARDS --- */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.blog-card {
  background: rgba(15, 19, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-accent);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.1);
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.blog-tag {
  background: rgba(0, 229, 255, 0.08);
  color: var(--primary-accent);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 16px;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

/* --- SCORECARD AND READ MODAL CUSTOMIZATIONS --- */
.scorecard-modal-container, .blog-modal-container {
  max-width: 650px;
  background: rgba(11, 14, 34, 0.95);
  border: 1px solid var(--primary-accent);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
  border-radius: 20px;
}

.scorecard-summary-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 25px;
}

.sc-teams-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 15px;
}

.sc-team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sc-team-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.sc-team-score {
  font-size: 24px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
  font-family: var(--font-mono);
}

.sc-team-score.batting {
  color: var(--primary-accent);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.sc-vs-badge {
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.5);
}

.sc-overs-info {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.sc-overs-info strong {
  color: #fff;
}

.sc-stats-table-wrapper h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--primary-accent);
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}

.sc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sc-table th, .sc-table td {
  padding: 10px 12px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sc-table th {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.sc-table td {
  color: rgba(255, 255, 255, 0.8);
}

.striker-dot {
  color: var(--primary-accent);
  font-weight: 800;
  margin-left: 2px;
}

/* Soccer & Tennis Scorecard Details */
.sc-soccer-score {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-accent);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  font-family: var(--font-mono);
}

.sc-time-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 5px;
}

.sc-sets-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.sc-set-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.set-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.set-score {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-accent);
  margin-top: 2px;
}

.sc-points-indicator {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
}

.sc-points-indicator strong {
  color: var(--primary-accent);
}

.soccer-stats-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.stat-progress-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.stat-progress {
  height: 100%;
  border-radius: 3px;
}

.sc-goals-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sc-goals-list li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Blog Content Detail styling */
.blog-modal-container h3 {
  font-size: 18px;
  color: var(--primary-accent);
  line-height: 1.5;
  margin-bottom: 15px;
  font-weight: 800;
}

.blog-modal-container h4 {
  font-size: 14px;
  color: #fff;
  margin: 20px 0 10px 0;
  font-weight: 700;
}

.blog-modal-container p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .scorecard-modal-container, .blog-modal-container {
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
  }
  .sc-teams-row {
    flex-direction: column;
    gap: 10px;
  }
  .sc-vs-badge {
    margin: 5px 0;
  }
}
