/* ============================================
   RUBY WAGER - PREMIUM LANDING PAGE
   Inspired by BetAnything's modern design
   ============================================ */

/* === FONTS === */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === CSS VARIABLES === */
:root {
  --bg-primary: #0b041a;
  --bg-surface: #130a24;
  --bg-card: rgba(255, 255, 255, 0.05);
  --accent-purple: #8b5cf6;
  --accent-purple-dark: #7c3aed;
  --accent-green: #45f37f;
  --accent-green-dark: #2dd468;
  --accent-pink: #d946ef;
  --accent-gold: #ffc440;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-50: rgba(255, 255, 255, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 140px;
  --max-width: 1098px;
  --header-height: 80px;
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* === UTILITY === */
.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;
}

/* ============================================
   HEADER - GLASSMORPHIC NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(11, 4, 26, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-10);
  transition: all 0.3s ease;
}

.header-container {
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 101;
}

.logo {
  height: 36px;
  width: auto;
  filter: brightness(1.1);
}

.tagline-svg {
  height: 20px;
  width: auto;
  opacity: 0.85;
}

@media (max-width: 1200px) {
  .tagline-svg {
    display: none;
  }
}

/* Nav Links - Desktop */
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  position: relative;
}

.nav-links a svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: fill 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
  background: var(--white-10);
}

.nav-links a:hover svg {
  fill: #fff;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 101;
}

.header-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center;
}

/* Buttons */
.btn {
  border-radius: var(--radius-full);
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  font-family: var(--font-main);
  background: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-outline {
  border: 1px solid var(--white-15);
  color: var(--text-primary);
  background: transparent;
  padding: 0;
  width: 140px;
  /* Increased width */
  height: 44px;
  /* Slightly taller for better aesthetics */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 0.85rem;
}

.btn-outline:hover {
  border-color: var(--white-50);
  background: var(--white-10);
}

.btn-primary {
  background: var(--accent-green);
  color: #0b041a;
  padding: 0;
  width: 140px;
  /* Increased matching width */
  height: 44px;
  /* Increased matching height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2dd468, #45f37f, #8bff6a);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(69, 243, 127, 0.4);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.dropdown-arrow {
  fill: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  fill: var(--accent-green);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(20, 10, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--white-15);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-green);
  padding-left: 1.5rem;
}

.nav-dropdown-menu a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-purple);
  margin-right: 0.6rem;
  vertical-align: middle;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-dropdown-menu a:hover::before {
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(11, 4, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 2rem 2rem;
  overflow-y: auto;
  border-left: 1px solid var(--white-10);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--white-10);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu a svg {
  width: 22px;
  height: 22px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.mobile-menu a:hover svg {
  fill: var(--accent-green);
}

.mobile-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(11, 4, 26, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   HERO BANNER
   ============================================ */
.main-banner {
  width: 100%;
  margin-top: var(--header-height);
  position: relative;
  background: var(--bg-primary);
  display: block;
  line-height: 0;
  overflow: hidden;
}

/* === HERO SLIDER === */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(69, 243, 127, 0.5);
}

.hero-desktop-container {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  min-height: 500px;
  max-height: 600px;
}

.hero-mobile-container {
  display: none;
}

.hero-background-img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 0;
  object-fit: cover;
  object-position: top;
}

/* Hero gradient overlay */
.main-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(11, 4, 26, 0.6) 0%,
      transparent 25%);
  pointer-events: none;
  z-index: 1;
}

.main-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 1;
}

/* Hero Text Overlay */
.hero-text-overlay {
  position: absolute;
  left: 4vw;
  top: 50%;
  transform: translateY(-60%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-text-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.hero-promo-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hero-promo-percent {
  font-family: var(--font-main);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 60px rgba(139, 92, 246, 0.4), 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.hero-promo-label {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-promo-divider {
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), transparent);
  border-radius: 2px;
}

.hero-promo-icon {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  filter: drop-shadow(0 0 8px rgba(255, 200, 50, 0.6));
}

@media (max-width: 768px) {
  .hero-text-overlay {
    display: none;
  }
}

/* Hero Text Center Container */
.hero-text-center {
  position: absolute;
  left: 4vw;
  top: 45%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 600px;
  z-index: 3;
}

/* Join Now Stack on Hero (Button Only) */
.join-now-stack {
  position: absolute;
  left: 4vw;
  bottom: 12%;
  width: 100%;
  max-width: 600px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.join-now-mobile {
  display: none;
}

.btn-join-now-overlay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 280px;
  max-width: 400px;
  height: clamp(52px, 5.5vw, 68px);
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  white-space: nowrap;
  padding: 0 3.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  line-height: 1;
  background: var(--accent-green);
  border: none;
  color: #0b041a;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(69, 243, 127, 0.3);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-join-now-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2dd468, #45f37f, #8bff6a);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-join-now-overlay:hover::before {
  opacity: 1;
}

.btn-join-now-overlay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(69, 243, 127, 0.5);
}

/* Hero mobile */
.hero-mobile-img {
  display: none;
  width: 100%;
  height: auto;
}

/* ============================================
   LEAGUES INFINITE SCROLL
   ============================================ */
.ligas-section {
  background: rgba(11, 4, 26, 0.75);
  padding: 0;
  position: relative;
  margin: 0;
  z-index: 2;
}

.ligas-section::after,
.ligas-section::before {
  display: none;
}

.ligas-section>* {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.leagues-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
}

.leagues-grid {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: scrollLeagues 30s linear infinite;
  width: max-content;
}

.league-logo {
  height: 38px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(60%) brightness(1.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.league-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

@keyframes scrollLeagues {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   PROMOTIONS / OFFERS SECTION
   ============================================ */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  padding: 0 2rem;
}

.promos-wrapper {
  padding: 0;
  margin-bottom: 1.5rem;
}

.promo-banner-item {
  max-width: 1400px;
  margin: 0 auto;
}

.promo-title-mobile {
  display: none;
}

.promo-title-desktop {
  display: none;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: var(--max-width);
  margin: 10px auto 0;
  padding: 0 1rem;
}

.offer-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--white-10);
  aspect-ratio: 1;
  object-fit: cover;
}

.offer-img:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--white-25);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

/* ============================================
   A BETTER WAY TO BET SECTION
   ============================================ */
.better-bet-section {
  padding: 2.5rem 1.5rem 2rem;
  background: rgba(11, 4, 26, 0.75);
}

.better-bet-container {
  max-width: 1100px;
  margin: 0 auto;
}

.better-bet-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.better-bet-cards {
  display: flex;
  gap: 1rem;
}

.better-bet-card {
  flex: 1;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.better-bet-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.better-bet-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #f0a500);
  color: #1a0a2e;
  margin-bottom: 1rem;
}

.better-bet-icon svg {
  width: 26px;
  height: 26px;
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -14px;
  background: linear-gradient(135deg, #ffd700, #f0a500);
  color: #1a0a2e;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.better-bet-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.better-bet-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.better-bet-text strong {
  color: #fff;
}

.better-bet-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-better-bet {
  display: inline-block;
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #0a0a1a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 4rem;
  border: none;
  border-radius: 140px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-better-bet:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.4);
}

/* Mobile: stack cards vertically */
@media (max-width: 768px) {
  .better-bet-cards {
    flex-direction: column;
  }

  .better-bet-section {
    padding: 1rem 1rem 1rem;
  }

  .btn-better-bet {
    width: 100%;
    max-width: 360px;
  }
}

/* ============================================
   CASINO BANNER SECTION
   ============================================ */
.casino-banner-section {
  padding: 1rem 0 2rem;
  background: rgba(11, 4, 26, 0.75);
  position: relative;
}

.casino-banner-content {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  display: block;
  overflow: hidden;
  max-height: 220px;
  border-radius: var(--radius-lg);
}

.casino-banner-img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--white-15);
}

.casino-logo-img {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  height: clamp(40px, 5vw, 80px);
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
}

.casino-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.casino-game-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--white-10);
  aspect-ratio: 1;
  object-fit: cover;
}

.casino-game-img:hover {
  transform: scale(1.05);
  border-color: var(--accent-purple);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

/* ============================================
   WINNERS TABLE SECTION
   ============================================ */
.winners-section {
  padding: 3rem 1rem;
  background: rgba(11, 4, 26, 0.75);
  max-width: var(--max-width);
  margin: 0 auto;
}

.winners-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--white-10);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.winners-table thead {
  background: rgba(139, 92, 246, 0.15);
}

.winners-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--white-10);
}

.winners-table td {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--white-10);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.winners-table tbody tr {
  transition: background 0.2s ease;
}

.winners-table tbody tr:hover {
  background: var(--white-10);
}

.winner-name {
  font-weight: 700;
  color: var(--text-primary) !important;
}

.winner-amount {
  color: var(--accent-green) !important;
  font-weight: 700;
}

.winner-game {
  color: var(--accent-gold) !important;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 3rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(11, 4, 26, 0.75);
}

.faq-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-button {
  font-family: var(--font-main);
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--white-15);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: var(--white-10);
  border-color: var(--white-25);
  color: var(--text-primary);
}

.tab-button.active {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #fff;
}

.tab-content {
  display: none;
}

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

.faq-item {
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--white-20);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.4;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question.active::after {
  content: '−';
  color: var(--accent-purple);
}

.faq-question:hover {
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-answer.active {
  max-height: 1200px;
  padding: 0 1.5rem 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(11, 4, 26, 0.85);
  border-top: 1px solid var(--white-10);
  padding: 3rem 1.5rem 2rem;
  position: relative;
}

/* CTA Section above footer - purple line removed */

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-meta p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-payment-logos {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.payment-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.payment-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* ============================================
   AUTH MODALS
   ============================================ */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background-color: rgba(11, 4, 26, 0.9);
  backdrop-filter: blur(10px);
}

.auth-modal-content {
  background: linear-gradient(135deg, #1a0e30 0%, #0b041a 100%);
  margin: 5% auto;
  padding: 2.5rem 2rem;
  border: 1px solid var(--white-15);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(139, 92, 246, 0.15);
}

.auth-close {
  color: var(--text-muted);
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

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

.auth-logo {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.auth-title {
  color: var(--text-primary);
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-form label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-15);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  font-family: var(--font-main);
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.08);
}

.auth-input::placeholder {
  color: var(--text-muted);
}

.auth-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent-green);
  border: none;
  border-radius: var(--radius-full);
  color: #0b041a;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-main);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.auth-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2dd468, #45f37f, #8bff6a);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.auth-submit-btn:hover::before {
  opacity: 1;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(69, 243, 127, 0.4);
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-switch a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-forgot {
  text-align: right;
  margin: -0.25rem 0 0.75rem;
}

.auth-forgot a {
  color: var(--accent-purple);
  font-size: 0.8rem;
  text-decoration: none;
}

.auth-forgot a:hover {
  text-decoration: underline;
}

.auth-modal-register {
  max-width: 500px;
}

.auth-modal-register .auth-input {
  margin-bottom: 0.75rem;
}

.auth-row {
  display: flex;
  gap: 0.75rem;
}

.auth-half {
  flex: 1;
}

.auth-recaptcha {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0;
}

.auth-disclaimer {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin: 0.5rem 0;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 1.5rem;
  }

  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .casino-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .casino-banner-content {
    display: block;
  }

  .casino-logo-img {
    left: 2rem;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header-container {
    padding: 0 1rem;
  }

  .logo {
    height: 28px;
  }

  .header-buttons {
    display: flex;
    gap: 0.4rem;
  }

  .header-buttons .btn {
    padding: 0;
    font-size: 0.6rem;
    width: 82px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Hero Mobile */
  .main-banner {
    margin-top: var(--header-height);
  }

  .hero-desktop-container {
    display: none;
  }

  .hero-mobile-container {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .hero-mobile-img {
    display: block;
    width: 100%;
    height: auto;
  }

  .join-now-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 358px;
    z-index: 10;
  }

  .join-now-mobile .btn-join-now-overlay {
    height: 52px;
    font-size: 1rem;
  }

  /* Promos & Casino */
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0 0.75rem;
  }

  .offers-grid .offer-img:nth-child(1) {
    order: 3;
  }

  .offers-grid .offer-img:nth-child(2) {
    order: 4;
  }

  .offers-grid .offer-img:nth-child(3) {
    order: 1;
  }

  .offers-grid .offer-img:nth-child(4) {
    order: 2;
  }

  .casino-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0 0.75rem;
  }

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

  .casino-banner-content {
    padding: 0;
    display: block;
  }

  .casino-logo-img {
    left: 1rem;
    height: clamp(28px, 7vw, 50px);
  }

  /* Section title */
  .section-title {
    padding: 0 0.75rem;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  /* FAQ */
  .faq-section {
    padding: 0.75rem 0.75rem;
  }

  .faq-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .tab-button {
    padding: 0.6rem 0.5rem;
    font-size: 0.72rem;
    width: 100%;
    text-align: center;
  }

  .faq-question {
    padding: 1rem 1rem;
    font-size: 0.85rem;
  }

  .faq-answer.active {
    padding: 0 1rem 0.75rem;
  }

  /* Casino Banner */
  .casino-banner-section {
    padding: 0.5rem 0 1rem;
  }

  /* Winners */
  .winners-section {
    padding: 1rem 0.75rem;
  }

  .winners-table th,
  .winners-table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem 1rem;
  }

  .footer-logo {
    height: 32px;
  }

  .payment-logo {
    height: 16px;
  }

  /* Auth */
  .auth-modal-content {
    margin: 3% auto;
    padding: 2rem 1.5rem;
    max-height: 95vh;
    overflow-y: auto;
  }

  .auth-row {
    flex-direction: column;
    gap: 0;
  }

  .auth-half {
    width: 100%;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {

  .header-buttons .btn-outline,
  .header-buttons .btn-primary {
    display: inline-flex;
    width: 82px;
    height: 30px;
    padding: 0;
    font-size: 0.6rem;
  }

  .leagues-grid {
    gap: 2.5rem;
  }

  .league-logo {
    height: 28px;
  }

  .league-logo[alt="PGA Tour"] {
    height: 36px;
  }

  .casino-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth-modal-content {
    margin: 1% auto;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(69, 243, 127, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(69, 243, 127, 0.5);
  }
}

/* Apply subtle entrance animations */
.offers-grid .offer-img,
.casino-game-img {
  animation: fadeInUp 0.6s ease backwards;
}

.offers-grid .offer-img:nth-child(1),
.casino-game-img:nth-child(1) {
  animation-delay: 0.05s;
}

.offers-grid .offer-img:nth-child(2),
.casino-game-img:nth-child(2) {
  animation-delay: 0.1s;
}

.offers-grid .offer-img:nth-child(3),
.casino-game-img:nth-child(3) {
  animation-delay: 0.15s;
}

.offers-grid .offer-img:nth-child(4),
.casino-game-img:nth-child(4) {
  animation-delay: 0.2s;
}

.casino-game-img:nth-child(5) {
  animation-delay: 0.25s;
}

.casino-game-img:nth-child(6) {
  animation-delay: 0.3s;
}

.casino-game-img:nth-child(7) {
  animation-delay: 0.35s;
}

.casino-game-img:nth-child(8) {
  animation-delay: 0.4s;
}

/* Join Now button pulse */
.btn-join-now-overlay {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--white-20);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--white-50);
}

/* ============================================
   HIDE UNUSED LEGACY CLASSES
   ============================================ */
.banner-content-new,
.hero-mobile-content,
.hero-mobile-eyebrow,
.hero-mobile-percent,
.hero-mobile-subtitle,
.hero-mobile-tagline,
.hero-mobile-pills,
.hero-mobile-pill,
.banner-buttons,
.hero-title-new,
.hero-banner-left,
.hero-floating-img-right,
.hero-banner-full,
.hero-overlay-btn,
.hero-content-left,
.hero-image-right,
.hero-title-group,
.hero-features-list,
.percent-text,
.bonus-label-text,
.feature-row,
.feature-icon-box,
.hero-cta-btn,
.percent-huge,
.bonus-text-new,
.hero-tagline,
.hero-subfeatures,
.subfeature,
.btn-hero-cta,
.hero-top-row,
.signup-stack,
.signup-line,
.percent-huge-white,
.crypto-row,
.join-now-rect,
.banner-buttons .btn-outline,
.bonus-card,
.ruby-card {
  display: none;
}

/* ============================================
   MOBILE HERO OVERLAY
   ============================================ */
.mobile-hero-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.mobile-overlay-bonus {
  position: absolute;
  top: auto;
  bottom: 8.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(0, 0, 0, 0.9));
}

.hero-slide:first-child .mobile-overlay-bonus {
  width: 80%;
  left: 48%;
  bottom: 6.5rem;
}