/* CSS Variables - Winzter Theme */
:root {
  --bg: #050916;
  --bg-alt: #091020;
  --panel: #111827;
  --panel-soft: #161f30;
  --accent: #9eff00;
  --accent-soft: #c6ff4f;
  --cta: #ffe94d;
  --cta-hover: #ffd700;
  --text: #f3f5ff;
  --muted: #9aa3c2;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 20px rgba(158, 255, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 80px; /* Space for mobile tab bar */
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block !important;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block !important;
  }
  .mobile-only {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: var(--bg);
  box-shadow: 0 4px 15px rgba(255, 233, 77, 0.3);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 233, 77, 0.4);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-secondary {
  background: var(--cta);
  color: var(--bg);
}

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

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

.btn-link {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
}

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

.play-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.play-btn:hover {
  background: var(--accent-soft);
  transform: scale(1.05);
}

/* Burger Menu */
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.burger-menu span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.burger-menu[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-menu[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: var(--panel);
  border-right: 1px solid var(--border-soft);
  overflow-y: auto;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.active {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .sidebar {
    transform: translateX(0);
  }
}

.sidebar-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.logo-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.welcome-pack-card {
  background: linear-gradient(135deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.welcome-pack-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.welcome-pack-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(158, 255, 0, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.welcome-pack-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.welcome-pack-icon svg {
  width: 32px;
  height: 32px;
}

.welcome-pack-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

.welcome-pack-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-small);
  color: var(--muted);
  transition: var(--transition);
  position: relative;
}

.nav-item:hover {
  background: var(--panel-soft);
  color: var(--text);
}

.nav-item.active {
  color: var(--accent);
  background: var(--panel-soft);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
  box-shadow: var(--shadow-glow);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
}

.popular-games-sidebar h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.popular-game-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-small);
  margin-bottom: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.popular-game-item:hover {
  background: var(--panel-soft);
  transform: translateX(4px);
}

.popular-game-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.popular-game-item strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.popular-game-item span {
  font-size: 0.75rem;
  color: var(--muted);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.language-selector:hover {
  color: var(--accent);
}

.language-selector svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Main Content */
.main-content {
  margin-left: 0;
  min-height: 100vh;
  padding-bottom: 80px;
}

@media (min-width: 1024px) {
  .main-content {
    margin-left: 280px;
  }
}

/* Header */
.header {
  background: var(--panel);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Mobile Header */
.header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  gap: 1rem;
}

.header-logo-mobile {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo-mobile .logo-img {
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.header-profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  transition: var(--transition);
  border-radius: 50%;
  padding: 0.5rem;
}

.header-profile-icon:hover {
  color: var(--accent);
  background: var(--panel-soft);
}

.header-profile-icon svg {
  width: 24px;
  height: 24px;
}

/* Desktop Header */
.header-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .header-mobile {
    display: none;
  }
  
  .header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  
  .header-search {
    flex: 1;
    max-width: 500px;
  }
  
  .header-search input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    color: var(--text);
    font-size: 0.875rem;
    transition: var(--transition);
    cursor: pointer;
  }
  
  .header-search input:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(158, 255, 0, 0.1);
  }
  
  .header-search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(158, 255, 0, 0.1);
  }
  
  .header-search input::placeholder {
    color: var(--muted);
  }
  
  .header-actions {
    display: flex;
    gap: 1rem;
  }
}

/* Hero Section */
.hero {
  padding: 3rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  background-image: url('img/bannermainmobile.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 500px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.7) 0%, rgba(9, 16, 32, 0.8) 100%);
  z-index: 0;
}

@media (min-width: 1024px) {
  .hero {
    background-image: url('img/bannermain.webp');
    min-height: 600px;
  }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--panel-soft);
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  box-shadow: var(--shadow-glow);
}

.bonus-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-number {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(158, 255, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text);
  font-weight: 700;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
}

.cashback-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cta);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 2;
}

@media (max-width: 1023px) {
  .cashback-badge {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 2rem;
    width: fit-content;
  }
}

.cashback-badge span:first-child {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.cashback-badge span:last-child {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Mini Game Section */
.mini-game-section {
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.mini-game-container {
  max-width: 500px;
  margin: 0 auto;
}

.mini-game-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mini-game-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.mini-game-header p {
  color: var(--muted);
  font-size: 1rem;
}

.game-wrapper {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1rem;
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow);
}

#gameCanvas {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 600px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  border-radius: var(--radius-small);
  background: linear-gradient(180deg, #87CEEB 0%, #98D8E8 50%, #B0E0E6 100%);
  margin: 0 auto;
  cursor: pointer;
}

@media (max-width: 767px) {
  #gameCanvas {
    height: 500px;
    max-height: 70vh;
  }
}

.game-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(5, 9, 22, 0.95);
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.game-overlay.hidden {
  display: none;
}

.game-start-screen {
  text-align: center;
  padding: 2rem;
}

.game-start-screen h4 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

.game-start-screen p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.game-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.5rem;
  font-family: 'Courier New', monospace;
  font-weight: 700;
}

.game-timer,
.game-score {
  color: var(--text);
  font-size: 1rem;
}

.game-timer span:last-child,
.game-score span:last-child {
  color: var(--accent);
  font-size: 1.25rem;
}

.bonus-notification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.5s ease;
}

.bonus-notification.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bonus-notification-content {
  background: var(--panel);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 500px;
  margin: 2rem;
  box-shadow: 0 0 50px rgba(158, 255, 0, 0.5);
  animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
}

.bonus-notification-content > * {
  position: relative;
  z-index: 2;
}

.bonus-notification-content [data-ref] {
  position: relative;
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}

.bonus-notification-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(158, 255, 0, 0.1) 0%, transparent 70%);
  animation: rotate 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes slideUp {
  from {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.bonus-icon {
  margin-bottom: 1rem;
  animation: bounce 1s ease infinite;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-icon svg {
  width: 64px;
  height: 64px;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bonus-notification-content h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.bonus-notification-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.bonus-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cta);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(255, 233, 77, 0.8);
  animation: pulse 2s ease infinite;
  position: relative;
  z-index: 1;
  font-family: 'Courier New', monospace;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 767px) {
  .mini-game-section {
    padding: 2rem 1rem;
  }
  
  #gameCanvas {
    max-width: 100%;
  }
  
  .bonus-notification-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .bonus-amount {
    font-size: 2rem;
  }
}

/* Payment Methods */
.payment-methods {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}

.payment-text {
  text-align: center;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1) opacity(0.7);
}

.payment-logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.payment-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.payment-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.payment-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 3rem 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.reveal {
  opacity: 1;
  transform: translateY(0);
}

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

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
}

/* Carousel */
.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.carousel:active {
  cursor: grabbing;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

/* Game Cards */
.game-card {
  position: relative;
  flex: 0 0 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: var(--transition);
  scroll-snap-align: start;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

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

.game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.game-card-info {
  padding: 1rem;
}

.game-card-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.game-card-info span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Sport Cards */
.sport-card {
  position: relative;
  flex: 0 0 200px;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  scroll-snap-align: start;
}

.sport-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
}

.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sport card labels removed - info is on images */

/* Live Cards */
.live-card {
  position: relative;
  flex: 0 0 320px;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: var(--transition);
  scroll-snap-align: start;
}

.live-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.live-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

/* Live card info removed - info is on images */

/* Collections */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.collection-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: var(--transition);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.collection-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.collection-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cta);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.collection-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  margin-top: auto;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
}

.collection-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.collection-content p {
  color: var(--muted);
  margin: 0;
  font-size: 0.875rem;
}

.collection-games {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.7);
}

.collection-game-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-small);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-soft);
  transition: var(--transition);
}

.collection-game-icon:hover {
  border-color: var(--accent);
  transform: scale(1.1);
}

.collection-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-more {
  margin-left: auto;
  background: var(--panel-soft);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-small);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--border-soft);
}

/* Providers */
.providers-section {
  background: var(--panel);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.providers-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  filter: brightness(0) invert(1) opacity(0.6);
}

.providers-grid img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.providers-grid img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* SEO Text */
/* SEO Navigation */
.seo-nav-section {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 2rem;
}

.seo-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.seo-nav-toggle:hover {
  background: var(--panel-soft);
  box-shadow: 0 0 15px rgba(158, 255, 0, 0.2);
}

.seo-nav-toggle-text {
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
}

.seo-nav-toggle-icon {
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.seo-nav-section.active .seo-nav-toggle-icon {
  transform: rotate(180deg);
}

.seo-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--panel-soft);
  border: 2px solid transparent;
  border-top: none;
  border-radius: 0 0 var(--radius-small) var(--radius-small);
}

.seo-nav-section.active .seo-nav {
  max-height: 500px;
  padding: 1rem 0;
  border-color: var(--accent);
}

.seo-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-nav-list li {
  margin: 0;
  padding: 0;
}

.seo-nav-list a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.seo-nav-list a:hover {
  color: var(--accent);
  background: rgba(158, 255, 0, 0.05);
  border-left-color: var(--accent);
  padding-left: 2rem;
}

.seo-text h1[id],
.seo-text h2[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .seo-nav-section {
    margin: 1rem auto 0;
    padding: 0 1rem;
  }
  
  .seo-nav-toggle {
    padding: 0.875rem 1.25rem;
  }
  
  .seo-nav-toggle-text {
    font-size: 0.9rem;
  }
  
  .seo-nav-list a {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .seo-text h1[id],
  .seo-text h2[id] {
    scroll-margin-top: 80px;
  }
}

.seo-text {
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 0 2rem;
  line-height: 1.8;
}

.seo-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.2;
}

.seo-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

.seo-text h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.seo-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.seo-text ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--muted);
}

.seo-text li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.seo-text strong {
  color: var(--text);
  font-weight: 600;
}

.seo-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.seo-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
  line-height: 1.8;
}

.seo-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 30%;
  vertical-align: top;
}

.seo-table tr:last-child td {
  border-bottom: none;
}

.seo-table-steps td:first-child {
  width: 50px;
  text-align: center;
  background: var(--panel-soft);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
}

.seo-table-steps td:last-child {
  width: auto;
}

@media (max-width: 767px) {
  .seo-table {
    display: block;
  }
  
  .seo-table tbody {
    display: block;
  }
  
  .seo-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-small);
    background: var(--panel);
  }
  
  .seo-table td {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: none;
  }
  
  .seo-table td:first-child {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .seo-table-steps td:first-child {
    width: 100%;
    text-align: left;
    background: var(--panel-soft);
  }
}

/* Brand Info */
.brand-info {
  padding: 3rem 2rem;
  background: var(--panel);
  border-top: 1px solid var(--border-soft);
}

.brand-info-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.brand-logo {
  flex-shrink: 0;
}

.brand-info-content p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 767px) {
  .brand-info-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Footer */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .footer-bottom {
    padding-bottom: 6rem; /* Extra space for mobile tab bar */
  }
}

/* Mobile Tab Bar */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem 0;
  z-index: 999;
}

@media (min-width: 1024px) {
  .mobile-tab-bar {
    display: none;
  }
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  transition: var(--transition);
  flex: 1;
}

.tab-item:hover,
.tab-item:active {
  color: var(--accent);
}

.tab-item-primary {
  background: var(--cta);
  color: var(--bg);
  border-radius: 50px;
  padding: 0.75rem;
  margin: 0 0.5rem;
  font-weight: 700;
}

.tab-item-primary:hover {
  background: var(--cta-hover);
  color: var(--bg);
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon svg {
  width: 22px;
  height: 22px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .section {
    padding: 2rem 1rem;
  }
  
  .carousel-track {
    gap: 1rem;
  }
  
  .game-card {
    flex: 0 0 240px;
  }
  
  .sport-card {
    flex: 0 0 160px;
    height: 220px;
  }
  
  .live-card {
    flex: 0 0 280px;
    height: 350px;
  }
  
  .collections-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

