:root {
  --primary: #6d5bff;
  --secondary: #9333ea;
  --accent: #f5d48f;
  --bg-color: #100c1f;
  --surface: #1f1a37;
  --text-primary: #f3eeff;
  --text-secondary: #beb3d8;
  --cream: #f5f2e9;
  --amethyst-dark: #2d1a3f;
  --amethyst-light: #8e7cc3;
  --brass: #cba135;
  --heading-font: "Playfair Display", Georgia, serif;
  --body-font: "Lato", sans-serif;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-top: 0;
  color: var(--text-primary);
}

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

a:hover {
  color: var(--text-primary);
}

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

.mathieu-george_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mathieu-george_bg-cream {
  background-color: var(--cream);
  color: var(--amethyst-dark);
}

.mathieu-george_bg-cream h1,
.mathieu-george_bg-cream h2,
.mathieu-george_bg-cream h3 {
  color: var(--amethyst-dark);
}

.mathieu-george_bg-surface {
  background-color: var(--surface);
}

.mathieu-george_btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.mathieu-george_btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.mathieu-george_btn--primary:hover {
  background-color: var(--secondary);
}

.mathieu-george_btn--secondary {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.mathieu-george_btn--secondary:hover {
  background-color: var(--accent);
  color: var(--bg-color);
}

.mathieu-george_btn--spin {
  background-color: var(--brass);
  color: #000;
  width: 100%;
  margin-top: 10px;
}

.mathieu-george_btn--spin:hover {
  background-color: #e6b800;
}

/* Header */
.mathieu-george_header {
  background-color: var(--cream);
  color: var(--amethyst-dark);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mathieu-george_header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mathieu-george_logo a {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amethyst-dark);
}

.mathieu-george_nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.mathieu-george_nav a {
  color: var(--amethyst-dark);
  font-weight: 600;
}

.mathieu-george_nav a:hover {
  color: var(--primary);
}

.mathieu-george_header-actions {
  display: flex;
  gap: 10px;
}

.mathieu-george_btn--guest {
  background: transparent;
  border: 1px solid var(--amethyst-dark);
  color: var(--amethyst-dark);
}

.mathieu-george_btn--upgrade {
  background: var(--brass);
  color: #000;
}

.mathieu-george_burger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.mathieu-george_burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--amethyst-dark);
  transition: var(--transition);
}

.mathieu-george_mobile-nav {
  display: none;
  background-color: var(--cream);
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mathieu-george_mobile-nav.is-open {
  display: block;
}

.mathieu-george_mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.mathieu-george_mobile-nav li {
  margin-bottom: 15px;
}

.mathieu-george_mobile-nav a {
  color: var(--amethyst-dark);
  font-size: 1.2rem;
  font-weight: 600;
}

.mathieu-george_mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Wallet Widget */
.mathieu-george_wallet-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface);
  border: 2px solid var(--brass);
  border-radius: 30px;
  padding: 10px 20px;
  z-index: 90;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.mathieu-george_wallet-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--accent);
}

.mathieu-george_wallet-icon {
  background: var(--brass);
  color: #000;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Hero Dock */
.mathieu-george_hero-dock {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}

.mathieu-george_hero-dock-visual {
  flex: 1;
  position: relative;
}

.mathieu-george_hero-dock-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.mathieu-george_hero-dock-content {
  background: var(--surface);
  color: var(--text-primary);
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: -50px auto 0;
  position: relative;
  z-index: 10;
  border-radius: var(--border-radius);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  border-top: 4px solid var(--primary);
  color: #fff;
}

.mathieu-george_hero-dock-story {
  flex: 1 1 500px;
  margin-right: 30px;
}

.mathieu-george_hero-dock-story h1 {
  margin-bottom: 10px;
  font-size: 2.5rem;
  color: #fff;
}

.mathieu-george_hero-dock-actions {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mathieu-george_hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.mathieu-george_badge {
  background: var(--amethyst-dark);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* Live Games Zone */
.mathieu-george_live-games {
  padding: 80px 0;
}

.mathieu-george_section-header {
  text-align: center;
  margin-bottom: 50px;
}

.mathieu-george_live-games-zone {
  display: grid;
  grid-template-columns: 1fr;
  max-width: clamp(820px, 72vw, 900px);
  width: 100%;
  margin-inline: auto;
  gap: clamp(20px, 3vw, 28px);
  padding-inline: clamp(14px, 3vw, 24px);
}

/* Game Card Skeleton */
.mathieu-george_game-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.mathieu-george_game-card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--accent);
}

.mathieu-george_game-theme {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Wheel Stage */
.mathieu-george_wheel-stage-container {
  aspect-ratio: 1 / 1;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 10px;
  background: radial-gradient(circle, var(--amethyst-dark) 0%, #000 100%);
}

.mathieu-george_wheel-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transform-origin: center;
  transition: transform 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mathieu-george_wheel-pointer {
  grid-area: 1 / 1;
  place-self: start center;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid var(--brass);
  transform: translateY(-10px);
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Slot Stage */
.mathieu-george_slot-stage {
  background: #0a0812;
  border: 4px solid var(--amethyst-dark);
  border-radius: 8px;
  padding: 10px;
  min-height: clamp(240px, 18vw, 320px);
  display: flex;
  align-items: center;
  position: relative;
}

.mathieu-george_slot-reel-window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mathieu-george_slot-reel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px;
}

.mathieu-george_slot-reel img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mathieu-george_slot-payline {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(245, 212, 143, 0.5);
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent);
}

/* Game Controls */
.mathieu-george_game-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mathieu-george_game-bets {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mathieu-george_bet-btn {
  background: var(--bg-color);
  color: var(--text-primary);
  border: 1px solid var(--amethyst-light);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.mathieu-george_bet-btn.is-active,
.mathieu-george_bet-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.mathieu-george_stake-select {
  width: 100%;
  padding: 12px;
  background: var(--bg-color);
  color: var(--text-primary);
  border: 1px solid var(--amethyst-dark);
  border-radius: 4px;
  font-family: var(--body-font);
}

.mathieu-george_game-result {
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-weight: 600;
  min-height: 44px;
}

.mathieu-george_cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Split Layouts */
.mathieu-george_split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding-block: 60px;
}

.mathieu-george_split-content,
.mathieu-george_split-media {
  flex: 1 1 400px;
}

.mathieu-george_split-media img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Grids */
.mathieu-george_grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.mathieu-george_grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 40px;
}

/* Feature Cards */
.mathieu-george_feature-card {
  background: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  border-top: 3px solid var(--accent);
}

.mathieu-george_feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 10px;
}

/* Economy Panel */
.mathieu-george_economy-guide {
  padding: 60px 0;
}

.mathieu-george_economy-panel {
  background: var(--surface);
  color: var(--text-primary);
  padding: 40px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--primary);
  color: #fff;
}

.mathieu-george_economy-text ul {
  padding-left: 20px;
}

.mathieu-george_economy-text li {
  margin-bottom: 10px;
}

/* Progression */
.mathieu-george_progression {
  padding: 60px 0;
}

.mathieu-george_tiers-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.mathieu-george_tier-item {
  background: var(--bg-color);
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mathieu-george_tier-name {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Testimonials */
.mathieu-george_testimonials {
  padding: 60px 0;
}

.mathieu-george_testimonial {
  margin: 0;
  padding: 30px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.mathieu-george_testimonial::before {
  content: '"';
  font-family: var(--heading-font);
  font-size: 4rem;
  color: var(--cream);
  position: absolute;
  top: 10px;
  left: 20px;
}

.mathieu-george_testimonial p {
  position: relative;
  z-index: 2;
  font-style: italic;
}

.mathieu-george_testimonial footer {
  margin-top: 20px;
  font-weight: 700;
  color: var(--primary);
}

/* FAQ */
.mathieu-george_faq {
  padding: 60px 0;
}

.mathieu-george_accordion {
  max-width: 800px;
  margin: 0 auto;
}

.mathieu-george_accordion-item {
  margin-bottom: 10px;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.mathieu-george_accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.mathieu-george_accordion-trigger::after {
  content: "+";
  color: var(--accent);
}

.mathieu-george_accordion-trigger[aria-expanded="true"]::after {
  content: "-";
}

.mathieu-george_accordion-panel {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mathieu-george_accordion-trigger[aria-expanded="true"]
  + .mathieu-george_accordion-panel {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Easter Egg */
.mathieu-george_easter-egg-trigger {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  opacity: 0.2;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 80;
}

.mathieu-george_easter-egg-trigger:hover {
  opacity: 1;
}

/* Lobby Container */
.mathieu-george_lobby-container {
  padding: 60px 20px;
}

.mathieu-george_lobby-header {
  text-align: center;
  margin-bottom: 40px;
}

.mathieu-george_lobby-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
}

/* Page Header */
.mathieu-george_page-header {
  background: var(--surface);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.mathieu-george_page-header h1 {
  color: #fff;
}

/* Policy Shell */
.mathieu-george_policy-shell {
  padding: 60px 0;
  min-height: 60vh;
}

.mathieu-george_policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Contact */
.mathieu-george_contact-section {
  padding: 60px 0;
}

.mathieu-george_contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mathieu-george_form-group {
  margin-bottom: 20px;
}

.mathieu-george_form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.mathieu-george_form-group input,
.mathieu-george_form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--body-font);
}

.mathieu-george_address-card {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  border-left: 4px solid var(--brass);
  color: #fff;
}

/* Footer */
.mathieu-george_footer {
  background-color: var(--bg-color);
  color: var(--text-secondary);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mathieu-george_footer h3,
.mathieu-george_footer h4 {
  color: var(--text-primary);
}

.mathieu-george_footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mathieu-george_footer-brand,
.mathieu-george_footer-links,
.mathieu-george_footer-identity {
  flex: 1 1 250px;
}

.mathieu-george_footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mathieu-george_footer-links li {
  margin-bottom: 10px;
}

.mathieu-george_footer-links a {
  color: var(--text-secondary);
}

.mathieu-george_footer-links a:hover {
  color: var(--primary);
}

.mathieu-george_footer-middle {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

.mathieu-george_footer-disclaimer {
  flex: 1 1 600px;
  font-size: 0.9rem;
}

.mathieu-george_footer-partners {
  display: flex;
  gap: 15px;
}

.mathieu-george_partner-link {
  display: block;
  padding: 10px;
  border-radius: 4px;
  width: 120px;
}

.mathieu-george_partner-dark {
  background: #111;
}

.mathieu-george_partner-light {
  background: #fff;
}

.mathieu-george_footer-bottom {
  text-align: center;
  font-size: 0.8rem;
}

/* Modals & Gates */
.mathieu-george_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mathieu-george_modal.is-open {
  display: flex;
}

.mathieu-george_modal-content {
  background: var(--cream);
  color: var(--amethyst-dark);
  padding: 40px;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 400px;
  position: relative;
}

.mathieu-george_modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--amethyst-dark);
}

.mathieu-george_age-gate {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mathieu-george_age-gate.is-hidden {
  display: none;
}

.mathieu-george_age-gate-content {
  background: var(--surface);
  padding: 50px;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 500px;
  border: 2px solid var(--primary);
  color: #fff;
}

/* Toast */
.mathieu-george_toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  z-index: 150;
  transition: bottom 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mathieu-george_toast.is-visible {
  bottom: 80px;
}

/* Responsive Breakpoints */
@media (max-width: 1220px) {
  .desktop-only {
    display: none !important;
  }

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

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

@media (max-width: 768px) {
  .mathieu-george_hero-dock-content {
    margin-top: 0;
    border-radius: 0;
  }

  .mathieu-george_tier-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .mathieu-george_wallet-widget {
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
  }
}

/* footer-logo-contrast-guard-v2 */
a[href*="begambleaware.org"],
a[href*="gambleaware"] {
  background: #ffffff !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="begambleaware.org"] img,
a[href*="begambleaware.org"] picture,
a[href*="begambleaware.org"] .partner-logo,
img[src*="gambleaware"],
img[alt*="BeGambleAware" i],
img[alt*="GambleAware" i] {
  background: #ffffff !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
}

a[href*="gamcare.org"] {
  background: #ffffff !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="gamcare.org"] img,
a[href*="gamcare.org"] picture,
a[href*="gamcare.org"] .partner-logo,
img[src*="gamcare"],
img[alt*="GamCare" i] {
  background: #ffffff !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
}

/* social-game-layering-guard-v4 */
[data-home-live-game],
[data-game-card],
[data-slot-game],
[data-slot-stage],
[data-wheel-game],
[data-wheel-stage],
[data-mechanic],
[class*="game_wrapper"],
[class*="game-wrapper"],
[class*="game_board"],
[class*="game-board"],
[class*="slot_board"],
[class*="slot-board"],
[class*="roulette_board"],
[class*="roulette-board"] {
  position: relative !important;
  isolation: isolate !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

[class*="slot"][class*="frame"],
[class*="slot"][class*="bg"],
[class*="slot"][class*="background"],
img[class*="slot_frame"],
img[class*="slot-frame"],
img[class*="frame_img"],
img[class*="frame-img"],
[data-game-mechanic="slot"] [class*="game_visual"] > img:first-child,
[data-game-mechanic="slot"] [class*="game-visual"] > img:first-child,
[data-game-mechanic="slot"] img[class*="game_bg"],
[data-game-mechanic="slot"] img[class*="game-bg"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

[class*="roulette"][class*="wheel"] img,
img[class*="roulette"][class*="wheel"],
[data-wheel-img] {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform-origin: center !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%) !important;
  pointer-events: none !important;
}

[data-wheel-stage],
[data-wheel-game] [class*="wheel_stage"],
[data-wheel-game] [class*="wheel-stage"],
[class*="wheel_board"],
[class*="wheel-board"],
[class*="roulette_board"],
[class*="roulette-board"] {
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}

[data-game-mechanic="slot"] [class*="game_visual"],
[data-game-mechanic="slot"] [class*="game-visual"] {
  min-height: clamp(260px, 42vw, 560px) !important;
  aspect-ratio: 4 / 3 !important;
  position: relative !important;
  overflow: hidden !important;
}

[data-slot-stage],
[data-slot-game] [class*="slot_stage"],
[data-slot-game] [class*="slot-stage"],
[data-game-mechanic="slot"] [class*="slot_board"],
[data-game-mechanic="slot"] [class*="slot-board"] {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 16 / 7 !important;
  display: grid !important;
  align-items: center !important;
}

[data-slot-reel-window],
[data-slot-game] [class*="slot_reel_window"],
[data-slot-game] [class*="slot-reel-window"],
[data-slot-game] [class*="reel_window"],
[data-slot-game] [class*="reel-window"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(170px, 22vw, 320px) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(0.55rem, 1.5vw, 1.2rem) !important;
  overflow: hidden !important;
  position: relative !important;
}

[class*="slot_reels"],
[class*="slot-reels"],
[class*="reels"],
[data-home-live-game] [data-reel-index] {
  position: absolute !important;
  left: 10% !important;
  right: 10% !important;
  top: 35% !important;
  bottom: 35% !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(0.45rem, 1.4vw, 1.1rem) !important;
  z-index: 60 !important;
  pointer-events: none !important;
}

[data-slot-symbol],
[class*="slot_symbol"],
[class*="slot-symbol"],
[class*="reel"] img,
[data-home-live-game] [data-reel-index] img {
  position: relative !important;
  z-index: 70 !important;
  display: block !important;
  width: clamp(72px, 62%, 170px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 88% !important;
  object-fit: contain !important;
}

[class*="slot_reel"]:not([class*="window"]),
[class*="slot-reel"]:not([class*="window"]),
[data-slot-reel],
[data-home-live-game] [data-reel-index] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(72px, 10vw, 150px) !important;
  background: rgba(2, 8, 18, 0.88) !important;
  border: 2px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0.9rem 1.8rem rgba(0, 0, 0, 0.35) !important;
}

[class*="roulette"][class*="pointer"],
[class*="wheel"][class*="pointer"],
[data-wheel-pointer],
[data-home-live-game] [data-roulette-bet],
[data-home-live-game] [class*="game_ui"],
[data-home-live-game] [class*="game-ui"],
[data-home-live-game] [class*="game_controls"],
[data-home-live-game] [class*="game-controls"],
[data-home-live-game] [class*="bet"],
[data-home-live-game] [class*="result"],
[data-home-live-game] [class*="status"],
[data-home-live-game] button,
[data-home-live-game] select,
[data-home-live-game] input {
  position: relative !important;
  z-index: 90 !important;
}

.col-white {
  color: #fff !important;
}
