/* ==========================================================================
   Youwin.io — Premium Digital UI Style Sheet
   Visual Territory: Private crypto club meets next-generation gaming.
   ========================================================================== */

/* Load Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&family=Permanent+Marker&display=swap');

:root {
  /* --- Brand Color System --- */
  --color-void: #070808;       /* Primary page bg */
  --color-obsidian: #0E1010;   /* Cards / Navigation bg */
  --color-graphite: #171A1A;   /* Raised surfaces bg */
  --color-steel: #282D2C;      /* Borders / inactive elements */
  
  --color-ice: #F4F6F4;        /* Main text */
  --color-mist: #A8B0AD;       /* Secondary text */
  --color-muted: #68706D;      /* Muted text */
  
  --color-brand-red: #FF2535;  /* Brand signature, urgency tags */
  
  /* --- Interactive Energetic Accents --- */
  --color-electric-lime: #C7FF19; /* Primary action / success state */
  --color-volt-lime: #9FE800;     /* Hover state */
  --color-accent: var(--color-electric-lime);
  --color-accent-hover: var(--color-volt-lime);
  --color-accent-rgb: 199, 255, 25;
  
  /* --- Premium Material Details --- */
  --color-chrome: #C8D0CD;
  --color-titanium: #727C78;
  
  /* --- VIP Themes --- */
  --color-platinum: #EEF2EF;
  --color-platinum-mid: #A9B3AF;
  --color-platinum-dark: #575E5B;
  --color-champagne: #D9CDAA;
  
  /* --- Status Colors --- */
  --color-success: #43E68A;
  --color-warning: #FFCC4A;
  --color-error: #FF4655;
  --color-info: #69A7FF;
  
  /* --- Crypto Colors --- */
  --color-usdt: #26A17B;
  --color-btc: #F7931A;
  --color-eth: #8C8C8C;
  
  /* --- Fonts --- */
  --font-brush: 'Permanent Marker', cursive;
  
  /* --- Gradients --- */
  --gradient-premium-dark: linear-gradient(180deg, #111414 0%, #080909 100%);
  --gradient-chrome: linear-gradient(135deg, #F3F6F5 0%, #8D9793 50%, #323735 100%);
  --gradient-special-campaign: linear-gradient(90deg, #D7FF43 0%, #86FF00 100%);
  --gradient-hero-glow: radial-gradient(circle at 50% -20%, rgba(199, 255, 25, 0.12) 0%, rgba(164, 255, 0, 0.04) 50%, transparent 100%);
  
  /* --- Layout & Surfaces System --- */
  --surface-l0: var(--color-void);
  --surface-l1: #0B0D0D;
  --surface-l2: #111414;
  --surface-l3: #171B1A;
  --surface-hover: #1D2220;
  
  --border-default: rgba(255, 255, 255, 0.04);
  --border-steel: var(--color-steel);
  --border-active: rgba(199, 255, 25, 0.45);
  
  /* --- Navigation Metrics --- */
  --sidebar-width: 140px; /* Precise 140px width limit */
  --header-height: 72px;
}

/* ==========================================================================
   VIP Theme Styles
   ========================================================================== */

body.theme-vip-platinum {
  --color-accent: var(--color-platinum);
  --color-accent-hover: var(--color-platinum-mid);
  --color-accent-rgb: 238, 242, 239;
  --border-active: rgba(238, 242, 239, 0.45);
  --gradient-hero-glow: radial-gradient(circle at 50% -20%, rgba(238, 242, 239, 0.1) 0%, rgba(169, 179, 175, 0.03) 50%, transparent 100%);
}

body.theme-vip-champagne {
  --color-accent: var(--color-champagne);
  --color-accent-hover: #C5B996;
  --color-accent-rgb: 217, 205, 170;
  --border-active: rgba(217, 205, 170, 0.45);
  --gradient-hero-glow: radial-gradient(circle at 50% -20%, rgba(217, 205, 170, 0.1) 0%, rgba(197, 185, 150, 0.03) 50%, transparent 100%);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

body {
  background-color: var(--surface-l0);
  color: var(--color-ice);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: 64px; /* Space for mobile nav */
}

@media(min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ice);
}

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

/* Secondary Typeface Layer - Decorative accents only */
.font-brush {
  font-family: var(--font-brush), cursive !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface-l0);
}
::-webkit-scrollbar-thumb {
  background: var(--color-steel);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* ==========================================================================
   Layout Architecture
   ========================================================================== */

#app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Permanent Sidebar (140px Desktop Navigation) */
aside.sidebar {
  width: var(--sidebar-width);
  background-color: var(--surface-l1);
  border-right: 1px solid var(--border-default);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: none; /* Hidden on mobile */
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
}

@media(min-width: 1024px) {
  aside.sidebar {
    display: flex;
  }
}

/* Main Viewport Content */
main.main-viewport {
  flex: 1;
  margin-left: 0;
  padding: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

@media(min-width: 1024px) {
  main.main-viewport {
    margin-left: var(--sidebar-width);
    padding: 24px 32px;
    gap: 32px;
    width: calc(100% - var(--sidebar-width));
  }
}

/* ==========================================================================
   Header Component & Running Win Ticker
   ========================================================================== */

header.main-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-default);
  background-color: rgba(7, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 90;
  margin: -16px -16px 0 -16px;
  padding: 0 16px;
}

@media(min-width: 1024px) {
  header.main-header {
    margin: -24px -32px 0 -32px;
    padding: 0 32px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-mist);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sidebar-toggle:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

@media(min-width: 1024px) {
  .sidebar-toggle {
    display: none; /* Hide burger menu on desktop */
  }
}

.logo-img-main {
  height: 20px;
  width: auto;
  display: block;
}

.logo-header-wrapper {
  display: block;
}

@media (min-width: 1024px) {
  .logo-img-main {
    height: 26px; /* Larger logo on desktop */
  }
}

.sidebar-header {
  padding: 24px 14px;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo-img {
  height: 16px;
  width: auto;
  display: block;
}

/* Running line wins marquee in header (desktop only) */
.header-ticker {
  overflow: hidden;
  white-space: nowrap;
  display: none;
  align-items: center;
  height: 38px;
  max-width: 500px;
  background-color: rgba(7, 8, 8, 0.4);
  border: 1px solid var(--border-default);
  border-radius: 6px; /* 6px corner radius */
  padding: 0 12px;
  margin-left: 20px;
  margin-right: 20px;
  flex: 1;
}

@media(min-width: 1024px) {
  .header-ticker {
    display: flex;
  }
}

.ticker-wrapper {
  display: inline-flex;
  animation: ticker-slide 25s linear infinite;
  gap: 16px;
}

.ticker-item {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-default);
  border-radius: 6px; /* rectangle 6px */
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-mist);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ticker-username {
  color: var(--color-ice);
  font-weight: 700;
}

.ticker-multiplier {
  color: var(--color-accent);
  font-weight: 800;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header Notification Icon */
.header-notification-btn {
  background: transparent;
  border: none;
  color: var(--color-mist);
  font-size: 18px;
  cursor: pointer;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.header-notification-btn:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

.notification-badge-dot {
  width: 5px;
  height: 5px;
  background-color: var(--color-brand-red);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  right: 8px;
}

/* Crypto Wallet Widget */
.wallet-badge {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wallet-badge:hover {
  background-color: var(--surface-hover);
  border-color: var(--border-active);
}

.wallet-balance {
  color: var(--color-ice);
}

.wallet-token {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
}

.wallet-token.usdt {
  color: var(--color-usdt);
}

.header-login-btn {
  display: none;
}

.header-signup-btn {
  padding: 8px 16px;
  font-size: 12px;
}

@media(min-width: 576px) {
  .header-login-btn {
    display: inline-flex;
  }
  .header-signup-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Left Sidebar Components & Lower Badges
   ========================================================================== */

/* Left Sidebar Search Input */
.sidebar-search-container {
  padding: 8px 12px;
  position: relative;
}

.sidebar-search-container i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  font-size: 11px;
}

.sidebar-search-container input {
  width: 100%;
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 6px 10px 6px 26px;
  color: var(--color-ice);
  font-family: inherit;
  font-size: 11px;
  outline: none;
}

.sidebar-search-container input::placeholder {
  color: var(--color-muted);
}

.sidebar-search-container input:focus {
  border-color: var(--border-active);
}

.sidebar-menu {
  list-style: none;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-radius: 6px;
  color: var(--color-mist);
  transition: all 0.15s ease;
  text-align: center;
  gap: 6px;
  position: relative;
}

.sidebar-item a i {
  font-size: 16px;
  color: var(--color-muted);
  transition: color 0.15s ease;
}

.sidebar-item a span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sidebar-item a:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

.sidebar-item a:hover i {
  color: var(--color-ice);
}

.sidebar-item.active a {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.02);
}

.sidebar-item.active a i {
  color: var(--color-accent);
}

.sidebar-item.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 18px;
  background-color: var(--color-accent);
  border-radius: 0 4px 4px 0;
}

/* Home Link Red Style */
.sidebar-home-link i, .sidebar-home-link span {
  color: var(--color-brand-red) !important;
}

.sidebar-section-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  padding: 8px 12px 4px 12px;
  text-align: center;
}

/* Sidebar VIP Card Widget - Prominent Gold Accent */
.sidebar-vip-club-card {
  margin: 12px 10px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1c180e 0%, #0d0e0d 100%);
  border: 1px solid rgba(255, 204, 74, 0.35);
  box-shadow: 0 0 16px rgba(255, 204, 74, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.sidebar-vip-club-card:hover {
  border-color: rgba(255, 204, 74, 0.6);
  box-shadow: 0 0 20px rgba(255, 204, 74, 0.16);
  transform: translateY(-1px);
}

.sidebar-vip-club-card i {
  color: #FFCC4A;
  font-size: 22px;
  margin-bottom: 2px;
  text-shadow: 0 0 8px rgba(255, 204, 74, 0.4);
}

.sidebar-vip-club-card h5 {
  color: #FFCC4A;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
}

.sidebar-vip-club-card p {
  color: #FFFFFF;
  font-size: 9px;
  opacity: 0.9;
  line-height: 1.3;
}

/* ==========================================================================
   Featured Promo Banners (VIP Status Match & 120% USDT Deposit Match)
   ========================================================================== */

.featured-promo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media(min-width: 768px) {
  .featured-promo-row {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-promo-banner {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 230px; /* Matched to the 230px height of the user's asset */
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-promo-banner:hover {
  border-color: #465046;
  transform: translateY(-2px);
}

.promo-banner-content {
  flex: 1;
  z-index: 5;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 0; /* Text sits directly on top of background overlay */
}

.promo-banner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 8px;
  max-width: 220px;
}

.promo-banner-title .highlight-yellow {
  color: #FFCC4A;
}

.promo-banner-title .highlight-lime {
  color: var(--color-electric-lime);
}

.promo-banner-sub {
  font-size: 14px;
  font-weight: 700;
}

.banner-vip-match .promo-banner-sub {
  color: #FFCC4A;
}

.banner-usdt-deposit .promo-banner-sub {
  color: var(--color-electric-lime);
}

.promo-banner-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire 847x180 container */
  object-position: right center; /* Align graphic elements to the right edge */
  z-index: 1;
  pointer-events: none;
}

/* Sidebar controls bottom */
.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
  border-top: 1px solid var(--border-default);
}

.sidebar-footer-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.lang-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-muted);
}

.sidebar-lang-selector {
  background: transparent;
  border: none;
  color: var(--color-mist);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.sidebar-lang-selector option {
  background-color: var(--surface-l2);
  color: var(--color-ice);
}

.badge-18-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
}

.badge-18 {
  border: 1px solid var(--color-brand-red);
  color: var(--color-brand-red);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 3px;
  border-radius: 4px;
}

.badge-gaming-text {
  font-size: 8px;
  color: var(--color-mist);
  text-transform: uppercase;
  font-weight: 700;
}

.sidebar-socials {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--color-muted);
}

.sidebar-socials a:hover {
  color: var(--color-ice);
}

/* ==========================================================================
   Buttons (Rectangular corners strictly 6px)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: 6px !important; /* 6px Rounded corners */
  cursor: pointer;
  border: none;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #080909;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 0 24px rgba(var(--color-accent-rgb), 0.20);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #151817;
  color: var(--color-ice);
  border: 1px solid #303633;
}

.btn-secondary:hover {
  background-color: #1D211F;
  border-color: var(--color-steel);
}

.btn-ghost {
  background: transparent;
  color: var(--color-mist);
}

.btn-ghost:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

/* ==========================================================================
   Hero Section: Carousel Slider
   ========================================================================== */

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-default);
}

.hero-carousel {
  width: 100%;
  position: relative;
  min-height: 280px;
}

@media(min-width: 1024px) {
  .hero-carousel {
    min-height: 340px;
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 24px;
  justify-content: center;
  background-color: var(--surface-l2);
  background-image: var(--gradient-hero-glow);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

@media(min-width: 1024px) {
  .hero-slide {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
  }
}

.hero-slide-content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

@media(min-width: 768px) {
  .hero-title {
    font-size: 44px;
  }
}

.hero-highlight {
  color: var(--color-accent);
  background: var(--gradient-special-campaign);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 13px;
  color: var(--color-mist);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

/* Hero Social Auth Pill with Text */
.social-auth-pill-text {
  display: flex;
  align-items: center;
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px; /* Slightly rounded rectangle */
  height: 48px; /* Match standard button height */
  overflow: hidden;
}

.social-auth-btn-text {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0 16px;
  height: 100%;
  color: var(--color-ice);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-auth-btn-text i {
  font-size: 16px;
  color: var(--color-electric-lime);
}

.social-auth-btn-text:hover {
  background-color: rgba(255,255,255,0.08);
}

.social-auth-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-light);
}

/* Full-bleed background image for Slide 1 */
.hero-slide-full-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  pointer-events: none;
}

/* Visual layout on right of carousel for Slide 2, 3, 4 */
.hero-slide-visual-col {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  overflow: hidden;
}

@media(min-width: 1024px) {
  .hero-slide-visual-col {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    height: 100%;
    justify-content: flex-end;
  }
  
  .hero-slide-content {
    padding-right: 180px; /* Leave space for full-bleed right image */
    position: relative;
    z-index: 10;
  }
}

.hero-slide-img {
  height: 100%; /* Stretch 100% height of parent slide frame */
  width: auto;
  object-fit: contain;
  object-position: right center; /* Align to the right edge */
  z-index: 5;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

.visual-glow-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(199,255,25,0.12) 0%, transparent 70%);
  z-index: 1;
}

/* Carousel indicators */
.carousel-navigation {
  position: absolute;
  bottom: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.carousel-arrow {
  background-color: rgba(7, 8, 8, 0.6);
  border: 1px solid var(--border-default);
  color: var(--color-mist);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.carousel-arrow:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-steel);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s ease;
}

.carousel-dot.active {
  background-color: var(--color-accent);
  transform: scale(1.2);
}

/* ==========================================================================
   Quick Actions Bar
   ========================================================================== */

.quick-actions-card {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.quick-action-item:hover {
  transform: translateY(-1px);
}

.quick-action-icon-wrapper {
  position: relative;
  font-size: 20px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}

.quick-action-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-mist);
  text-align: center;
}

.quick-action-item:hover .quick-action-label {
  color: var(--color-ice);
}

.quick-action-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.05);
}

.quick-action-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--color-brand-red);
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 800;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Games Directory & Discovery (Tabs)
   ========================================================================== */

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

.section-title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-view-all {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Horizontal capsule filter tabs */
.games-filter-container {
  background-color: #0c0d0d;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.games-filter-container::-webkit-scrollbar {
  display: none;
}

.games-filter-tabs {
  display: flex;
  gap: 4px;
  width: max-content;
}

.filter-tab {
  background-color: transparent;
  border: none;
  color: var(--color-mist);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 6px !important;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 150ms ease;
}

.filter-tab:hover {
  color: var(--color-ice);
}

.filter-tab.active {
  color: #080909;
  background-color: var(--color-accent);
}

.filter-tab.active i {
  color: #080909;
}

/* Game grids styling */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  transition: max-height 0.3s ease;
}

@media(min-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

.games-grid.grid-collapsed .game-card-wrapper:nth-child(n+7) {
  display: none !important;
}

#btn-see-all #see-all-arrow.rotated {
  transform: rotate(180deg);
}

.game-card-wrapper {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #465046;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 
              0 0 16px rgba(var(--color-accent-rgb), 0.05);
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card-wrapper:hover .game-card-img {
  transform: scale(1.04);
}

.game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 8, 8, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  opacity: 0.95;
}

.game-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ice);
  margin-bottom: 2px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.game-card-provider {
  font-size: 9px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-card-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.game-card-badge.badge-new {
  background-color: var(--color-brand-red);
  color: #FFFFFF;
}

.game-card-badge.badge-original {
  background-color: var(--color-accent);
  color: #080909;
}

/* ==========================================================================
   Ranked Carousel Section (Top Crash Games)
   ========================================================================== */

.ranked-games-row {
  display: flex;
  justify-content: space-between; /* Stretch across the entire frame */
  overflow: visible; /* Prevent clipping */
  padding: 10px 0 10px 45px; /* Left padding for the very first number */
  width: 100%; /* Ensure it takes full width */
}

/* Hide scrollbar for a cleaner look */
.ranked-games-row::-webkit-scrollbar {
  display: none;
}

.ranked-card {
  position: relative;
  flex: 0 0 170px; /* Fixed card width so space-between creates huge gaps */
}

.rank-number {
  position: absolute;
  left: -50px; /* Pull it far enough out so it doesn't get covered by the card */
  bottom: -6px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  z-index: 0;
  line-height: 0.8;
  font-family: 'Space Grotesk', sans-serif;
  pointer-events: none;
}

/* Ensure the card overlaps the number */
.ranked-card .game-card-wrapper {
  position: relative;
  z-index: 2;
  box-shadow: -4px 0 10px rgba(0,0,0,0.5); /* Adds depth over the number */
  height: 100%;
}

/* ==========================================================================
   Mega Jackpot Section
   ========================================================================== */

.mega-jackpot-card {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

@media(min-width: 768px) {
  .mega-jackpot-card {
    flex-direction: row;
    align-items: center;
    padding: 32px 48px;
  }
}

.jackpot-visual-col {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  height: 160px;
}

@media(min-width: 768px) {
  .jackpot-visual-col {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    height: 100%;
    justify-content: flex-start;
  }
}

.jackpot-chest-img {
  height: 100%; /* Stretch 100% to the height of the entire frame */
  width: auto;
  object-fit: contain;
  object-position: left center;
  z-index: 5;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6));
  animation: none; /* Removed floating animation */
}

.jackpot-lime-backglow {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(199, 255, 25, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.jackpot-content-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

@media(min-width: 768px) {
  .jackpot-content-col {
    margin-left: 38%; /* Leave room for full-bleed left chest */
    width: 62%;
  }
}

.jackpot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.jackpot-tier-item {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-default);
  padding: 12px 16px;
  border-radius: 6px;
}

.jackpot-tier-item.tier-mega {
  grid-column: span 2;
  border-color: rgba(var(--color-accent-rgb), 0.25);
  background-color: rgba(199, 255, 25, 0.01);
}

.jackpot-tier-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jackpot-tier-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: var(--color-ice);
  font-size: 16px;
  margin-top: 2px;
}

.jackpot-tier-item.tier-mega .jackpot-tier-value {
  font-size: 26px;
  color: var(--color-accent);
}

/* ==========================================================================
   Top Promotions Grid
   ========================================================================== */

.promotions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media(min-width: 576px) {
  .promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .promotions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.promo-card {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-card:hover {
  transform: translateY(-2px);
  border-color: #465046;
}

.promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.promo-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-ice);
}

.promo-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.promo-header-icon {
  height: 24px; /* Clean size matching the header text height */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.promo-desc {
  font-size: 12px;
  color: var(--color-mist);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ==========================================================================
   Game Providers Section
   ========================================================================== */

.providers-section {
  padding: 24px 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.providers-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.providers-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-view-all-providers {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  transition: color 0.15s ease;
}

.btn-view-all-providers:hover {
  color: var(--color-accent-hover);
}

.providers-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media(min-width: 576px) {
  .providers-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 1024px) {
  .providers-row {
    grid-template-columns: repeat(7, 1fr);
  }
}

.provider-card {
  background-color: #1a1b1c; /* Deep charcoal dark background matching screenshot */
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.provider-card:hover {
  border-color: rgba(255, 255, 255, 0.06);
  background-color: #232526;
  transform: translateY(-1px);
}

.provider-logo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.provider-logo-img {
  max-height: 24px;
  width: auto;
  object-fit: contain;
}

/* Styled Pragmatic Play Logo */
.pragmatic-play-logo-style {
  gap: 6px;
  color: #FFFFFF;
}

.prag-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: right;
}

.prag-bold {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.prag-light {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.prag-badge {
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.prag-crown-icon {
  font-size: 9px;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Styled Evolution Logo */
.evolution-logo-style {
  gap: 6px;
  color: #FFFFFF;
}

.evo-leaf-svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.evo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

/* ==========================================================================
   VIP Room Configurator
   ========================================================================== */

.vip-switcher-card {
  background: var(--gradient-premium-dark);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media(min-width: 768px) {
  .vip-switcher-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.vip-switcher-info {
  max-width: 500px;
}

.vip-switcher-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vip-switcher-title span {
  color: var(--color-champagne);
}

.vip-switcher-desc {
  font-size: 12px;
  color: var(--color-mist);
}

.vip-switcher-options {
  display: flex;
  gap: 8px;
}

.vip-opt-btn {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 6px !important;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 90px;
}

.vip-opt-btn:hover {
  border-color: var(--color-steel);
  background-color: var(--surface-hover);
}

.vip-opt-btn.active {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: var(--color-accent);
}

.vip-opt-icon {
  font-size: 16px;
  color: var(--color-muted);
}

.vip-opt-btn.active .vip-opt-icon {
  color: var(--color-accent);
}

.vip-opt-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Live Bets Horizontal Desktop Data Table (As specified in plan)
   ========================================================================== */

.bets-panel-refinement {
  background-color: var(--surface-l1);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bets-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-default);
  padding: 14px 20px;
  background-color: var(--surface-l1);
}

.bets-panel-tabs {
  display: flex;
  gap: 4px;
}

.bets-tab {
  background: transparent;
  border: none;
  color: var(--color-mist);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bets-tab:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

.bets-tab.active {
  color: #080909;
  background-color: var(--color-accent);
}

.bets-live-pulse {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand-red);
}

/* Semantically clean horizontal table container */
.table-container {
  overflow-x: auto;
  width: 100%;
}

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

.bets-table th {
  padding: 12px 20px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-default);
}

.bets-table td {
  padding: 14px 20px;
  font-size: 12px;
  color: var(--color-mist);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  vertical-align: middle;
}

.bets-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.01);
}

.bets-table-favicon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bets-table-game-cell {
  font-weight: 700;
  color: var(--color-ice);
  display: flex;
  align-items: center;
}

.bets-table-token {
  margin-right: 4px;
}

.bets-table-token.usdt { color: var(--color-usdt); }
.bets-table-token.btc { color: var(--color-btc); }
.bets-table-token.eth { color: var(--color-eth); }

.bets-table-payout {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.bets-table-payout.win {
  color: var(--color-success);
}

.bets-table-payout.loss {
  color: var(--color-mist);
}

/* ==========================================================================
   Why Play at Youwin Section
   ========================================================================== */

.why-youwin-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 12px 0;
}

@media(min-width: 1024px) {
  .why-youwin-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.why-youwin-title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  width: 100%;
}

@media(min-width: 1024px) {
  .why-youwin-title {
    width: 25%;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media(min-width: 480px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 72%;
  }
}

.benefit-item {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-default);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.benefit-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ice);
}

.benefit-desc {
  font-size: 11px;
  color: var(--color-mist);
  line-height: 1.5;
}

/* ==========================================================================
   Recent Wins Horizontal Marquee
   ========================================================================== */

.recent-wins-marquee-section {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media(min-width: 768px) {
  .recent-wins-marquee-section {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}

.recent-wins-header {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.live-dot-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-brand-red);
  animation: pulse-red 1.5s infinite;
}

.recent-wins-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.recent-wins-ticker-wrapper {
  display: inline-flex;
  animation: ticker-slide 32s linear infinite;
  gap: 24px;
}

.recent-win-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-mist);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 4px 10px;
}

.win-ticker-thumb {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.win-ticker-payout {
  color: var(--color-accent);
  font-weight: 700;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */

.final-cta-banner {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: radial-gradient(circle at 80% 50%, rgba(199, 255, 25, 0.04) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

@media(min-width: 768px) {
  .final-cta-banner {
    flex-direction: row;
    padding: 48px;
  }
}

.final-cta-content {
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.final-cta-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ice);
}

.final-cta-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-top: 4px;
  margin-bottom: 24px;
}

.final-cta-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire 1710x220 container */
  object-position: right center; /* Align visual details to the right edge */
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Platform Footer
   ========================================================================== */

footer.main-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-default);
  padding: 40px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media(min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ice);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--color-mist);
}

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

.footer-brand-detail {
  grid-column: span 2;
}

@media(min-width: 768px) {
  .footer-brand-detail {
    grid-column: span 1;
  }
}

.footer-brand-desc {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.6;
}

.footer-payments-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 16px 0;
}

.payment-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-icon i {
  font-size: 13px;
}

.payment-icon.usdt i { color: var(--color-usdt); }
.payment-icon.btc i { color: var(--color-btc); }
.payment-icon.eth i { color: var(--color-eth); }
.payment-icon.ltc i { color: var(--color-muted); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--color-muted);
  font-size: 11px;
}

@media(min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    gap: 0;
  }
}

.responsible-gaming-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 500px;
}

.warning-badge-18 {
  border: 1px solid var(--color-muted);
  padding: 1px 3px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 9px;
}

/* ==========================================================================
   Mobile Bottom Navigation
   ========================================================================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(7, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media(min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  color: var(--color-mist);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 1;
}

.mobile-nav-item i {
  font-size: 18px;
}

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

.mobile-nav-center-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.mobile-nav-center-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 4px solid var(--surface-l0);
  color: #080909;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(var(--color-accent-rgb), 0.35);
  transform: translateY(-16px);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.mobile-nav-center-btn:hover {
  transform: translateY(-18px) scale(1.04);
  background-color: var(--color-accent-hover);
}

.mobile-chat-badge {
  width: 6px;
  height: 6px;
  background-color: var(--color-brand-red);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  right: -2px;
}

/* ==========================================================================
   Utility classes & Keyframes animations
   ========================================================================== */

@keyframes pulse-red {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes slide-in-row {
  from {
    background-color: rgba(var(--color-accent-rgb), 0.08);
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    background-color: transparent;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Sign Up Modal Overlay & Box Styling
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--surface-l1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(var(--color-accent-rgb), 0.03);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: var(--color-ice);
  background-color: var(--surface-hover);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--color-mist);
  margin-top: 4px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.form-group input {
  background-color: var(--surface-l2);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--color-ice);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease;
}

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

.modal-terms {
  font-size: 10px;
  color: var(--color-muted);
  line-height: 1.4;
}

.modal-submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 13px;
}

.modal-divider {
  text-align: center;
  margin: 24px 0 16px 0;
  position: relative;
}

.modal-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.modal-divider span {
  background-color: var(--surface-l1);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  position: relative;
  z-index: 5;
}

/* Social Buttons Row (Capsules exactly matching screenshot) */
.modal-social-signup {
  display: flex;
  gap: 8px;
}

.social-login-btn {
  flex: 1;
  background-color: #2a2b2c;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 30px; /* Fully rounded capsule corners */
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.social-login-btn:hover {
  background-color: #38393b;
  transform: translateY(-1px);
}

.social-login-btn span {
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
}

.social-btn-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.modal-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--color-mist);
}

.modal-link-toggle {
  color: var(--color-accent);
  font-weight: 700;
}

.modal-link-toggle:hover {
  text-decoration: underline;
}

/* Enhanced Wallet Block from user screenshot */
.header-wallet-container {
  display: flex;
  align-items: center;
  background-color: #2E3033; /* Dark grey background */
  border-radius: 30px;
  height: 48px;
  padding: 0;
  overflow: hidden; /* to clip the lime green right side properly if needed */
  border: 1px solid rgba(255,255,255,0.05);
}
.wallet-balance-section {
  display: flex;
  align-items: center;
  padding: 0 16px 0 24px;
  gap: 12px;
}
.wallet-balance-amount {
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wallet-crypto-icon {
  color: #F7931A; /* Bitcoin orange */
  font-size: 20px;
}
.wallet-dropdown-arrow {
  color: #FFFFFF;
  font-size: 14px;
  margin-left: 4px;
}
.wallet-deposit-section {
  background-color: var(--color-electric-lime);
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  transition: opacity 0.2s;
}
.wallet-deposit-section:hover {
  opacity: 0.9;
}
.wallet-deposit-icon {
  color: #080909;
  font-size: 20px;
}
.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  height: 28px; /* Height for section titles */
  width: auto;
  object-fit: contain;
}

.title-icon-small {
  height: 18px; /* Height for smaller eyebrow titles */
  width: auto;
  object-fit: contain;
}
/* ==========================================
   Dashboard Refinements
   ========================================== */

/* Sub-Nav Styles */
.sub-nav-container {
  background-color: var(--surface-l2);
  border-radius: 12px;
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--border-default);
}
.sub-nav-btn {
  background: transparent;
  border: none;
  color: var(--color-mist);
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.sub-nav-btn.active {
  background-color: var(--color-electric-lime);
  color: #080909;
}
.sub-nav-btn:not(.active):hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--color-ice);
}

/* Enhanced Wallet Block */
.wallet-badge-enhanced {
  background: linear-gradient(145deg, #1A1D1C 0%, #151817 100%);
  border: 1px solid var(--color-electric-lime);
  box-shadow: 0 0 12px rgba(181, 255, 61, 0.15);
  border-radius: 8px;
  padding: 6px 6px 6px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Full-Width Marquee */
.marquee-full-width-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--surface-l2);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  overflow: hidden;
}
.marquee-full-width-container .ticker-wrapper {
  padding: 0; /* Override */
}
.marquee-item-enhanced {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 14px;
}
.marquee-game-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

/* Jackpots Grid */
.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(121px, 1fr));
  gap: 12px;
}
.jackpot-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jackpot-card .game-card-wrapper {
  margin: 0;
  height: 155px;
}

/* Game Shows Cover Flow */
.cover-flow-section {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 20px;
}
.cf-card {
  position: absolute;
  width: 200px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  cursor: pointer;
  background-color: var(--surface-l2);
}
.cf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Positions: -2, -1, 0, 1, 2 */
.cf-pos-0 {
  transform: translateX(0) scale(1);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}
.cf-pos-minus-1 {
  transform: translateX(-140px) scale(0.85);
  z-index: 9;
  filter: brightness(0.7);
}
.cf-pos-plus-1 {
  transform: translateX(140px) scale(0.85);
  z-index: 9;
  filter: brightness(0.7);
}
.cf-pos-minus-2 {
  transform: translateX(-260px) scale(0.7);
  z-index: 8;
  filter: brightness(0.4);
}
.cf-pos-plus-2 {
  transform: translateX(260px) scale(0.7);
  z-index: 8;
  filter: brightness(0.4);
}
.cf-hidden {
  opacity: 0;
  transform: scale(0.5);
  z-index: 1;
}
.cf-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
}
.cf-nav-btn:hover { background: rgba(0,0,0,0.9); }
.cf-prev { left: 40px; }
.cf-next { right: 40px; }

/* Game Providers Horizontal Strip */
.providers-horizontal-strip {
  display: flex;
  gap: 1px;
  background-color: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
}
.providers-horizontal-strip .provider-card {
  flex: 1;
  border: none;
  border-radius: 0;
  height: 70px;
  background-color: #1A1D1C;
}

/* Bets Table PDF Match */
.bets-tabs-pdf {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.bets-tabs-pdf button {
  background: transparent;
  border: none;
  color: var(--color-mist);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 8px 12px;
}
.bets-tabs-pdf button.active {
  background-color: var(--color-electric-lime);
  color: #080909;
  border-radius: 4px;
}
.bets-table-pdf-container {
  background: #0D0E0D;
  border: 1px solid #1A1D1C;
  border-radius: 8px;
  width: 100%;
}
.bets-table-pdf-container table {
  width: 100%;
  border-collapse: collapse;
}
.bets-table-pdf-container th {
  text-align: left;
  padding: 16px 24px;
  color: var(--color-mist);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  border-bottom: 1px solid #1A1D1C;
}
.bets-table-pdf-container td {
  padding: 16px 24px;
  color: var(--color-ice);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.bets-table-pdf-container tr:last-child td {
  border-bottom: none;
}

/* Floating Chat */
.floating-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--color-electric-lime);
  color: #080909;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(181, 255, 61, 0.4);
  cursor: pointer;
  z-index: 1000;
  border: none;
  transition: transform 0.2s;
}
.floating-chat-btn:hover {
  transform: scale(1.05);
}

