:root {
  --body-bg: #03050a;
  --header-bg: rgba(3, 5, 10, 0.7);
  --banner-bg: #03050a;
  --btn-bg: #FFD700;
  --btn-hover: #ffed4a;
  --btn-text: #05070a;
  --secondary-accent: #00ff88;
  --slots-bg: transparent;
  /* Changed to transparent for integrated look */
  --slots-font: #ffffff;
  --footer-bg: #020305;
  --font-color: #e0e0e0;
  --font-muted: #a0a0b0;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #ffaa00 100%);

  /* New Variables for Gradients */
  --gold-tint-low: rgba(255, 215, 0, 0.03);
  --gold-tint-mid: rgba(255, 215, 0, 0.1);
  --orange-tint-low: rgba(255, 170, 0, 0.02);
  --green-tint-low: rgba(0, 255, 136, 0.02);
  --bg-gradient-bottom: #05070c;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  /* Improved readability */
  background-color: var(--body-bg);
  background-attachment: scroll;
  color: var(--font-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
}

p {
  margin: 0 0 1.5em 0;
  color: var(--font-muted);
}

strong,
b {
  color: #fff;
  font-weight: 700;
}


body.overflow-hidden {
  overflow: hidden !important;
  height: 100vh;
}

/* Premium Ambient Background System */
.premium-bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background-color: var(--body-bg);
  /* Ensure base is dark */
}

/* 1. The Pattern Layer - Sits on top */
.bg-pattern-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 800px;
  /* Slightly denser pattern */
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 2;
  /* Above the lights */
  mix-blend-mode: overlay;
  /* The Key: Overlay allows backlit colors to shine through */
  pointer-events: none;
}

/* JS Lazy Load Trigger */
body.bg-pattern-loaded .bg-pattern-layer {
  background-image: url('../img/pattern_luxury.jpg');
  /* Ensure opacity provides subtle base visibility */
  opacity: 0.5;
}


/* 2. The Light Source Layer - Sits behind */
.light-source-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: blur(80px);
  /* Heavy blur for soft diffusion */
  opacity: 0.6;
}

.ambient-light {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* Light 1: The Golden Pulse (Center-ish) */
.light-1 {
  top: 20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  animation: float-pulse 15s infinite ease-in-out;
}

/* Light 2: The Secondary Warmth (Bottom Right) */
.light-2 {
  bottom: -10%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 60%);
  animation: float-drift 20s infinite linear;
}

/* Light 3: Passing Sheen (Diagonal Wave) */
.light-3 {
  top: 50%;
  left: 50%;
  width: 450%;
  height: 600px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.08), transparent);
  transform: translate(-50%, -50%) rotate(-45deg);
  animation: light-wave-sweep 12s infinite linear;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* New Separate Beam Effect */
.light-beam {
  --beam-width: 80vw;

  position: absolute;
  top: auto;
  bottom: calc(var(--beam-width) * -0.5);
  left: 50%;
  width: var(--beam-width);
  height: var(--beam-width);

  /* Rotated to shine upwards */
  background: conic-gradient(from 180deg at 50% 50%, transparent 160deg, rgba(255, 255, 255, 0.1) 175deg, rgba(255, 215, 0, 0.3) 180deg, rgba(255, 255, 255, 0.1) 185deg, transparent 200deg);

  filter: blur(60px);
  mix-blend-mode: overlay;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: beam-sway 10s infinite ease-in-out alternate;
  pointer-events: none;
}

/* Advanced Animations */
@keyframes float-pulse {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(5%, 10%) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes float-drift {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  50% {
    transform: rotate(10deg) translate(-5%, -5%);
  }

  100% {
    transform: rotate(0deg) translate(0, 0);
  }
}


@keyframes light-wave-sweep {
  0% {
    transform: translate(-50%, -50%) rotate(-45deg) translateY(100vh);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) rotate(-45deg) translateY(-100vh);
    opacity: 0;
  }
}

@keyframes beam-sway {
  0% {
    transform: translateX(-50%) rotate(-15deg);
    opacity: 0.6;
  }

  100% {
    transform: translateX(-50%) rotate(15deg);
    opacity: 0.9;
  }
}

/* Cleanup: Remove body::after since we moved pattern */
body::after,
body.bg-pattern-loaded::after {
  content: none !important;
  display: none !important;
}

.header,
.mobile-wrap,
.lang-switcher-list {
  background-color: var(--header-bg);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  /* Default height to prevent collapse */
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  z-index: 1;
}

/* Premium Gold CTA (Register/Play Now) */
.btn.register-btn,
.offer .btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFB900 30%, #FF8C00 70%, #FFD700 100%);
  background-size: 200% auto;
  color: #1a1a2e !important;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 185, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sleek Secondary (Login) */
.btn.login-btn {
  background: rgba(255, 255, 255, 0.1);
  /* Increased opacity for better visibility */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn.register-btn:hover,
.offer-btn:hover {
  background-position: right center;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 185, 0, 0.4);
  filter: brightness(1.1);
}

.btn.login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--btn-bg) !important;
}

/* The Liquid Shine Sweep Animation */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      /* Reduced to not wash out text */
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
  z-index: 2;
  /* Above background */
  pointer-events: none;
}

.btn.register-btn::before,
.offer-btn::before {
  animation: liquid-shine 4s infinite linear;
}

@keyframes liquid-shine {
  0% {
    left: -150%;
  }

  20% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.slots,
.elements,
.content.section {
  background-color: var(--slots-bg);
  color: var(--slots-font);
  position: relative;
}

/* Generalized subtle divider for all non-banner sections */
.section:not(.banner)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 215, 0, 0.1) 50%,
      transparent 100%);
  z-index: 2;
}

.footer {
  background-color: var(--footer-bg);
}

.social-icon svg {
  fill: var(--font-color);
}

.social-icon {
  border-color: var(--font-color);
}

.content-text,
.elements-item-text {
  color: var(--font-color);
}

*,
::before,
::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.8em 0;
  padding: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

.ul-style-none {
  padding: 0;
}

.ul-style-none li {
  padding: 0;
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input:not([type=checkbox], [type=radio]),
input:not([type=checkbox], [type=radio]):focus,
textarea,
textarea:focus,
select,
select:focus {
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.modal__bg {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: none;
}

.modal {
  max-width: 450px;
  width: 100%;
  background: #0b0e17;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  display: none;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

/* Ensure modal is centered correctly when active */
.modal.active {
  display: block;
}

.modal.active,
.modal__bg.active {
  display: block;
}

.modal-body {
  width: 100%;
  height: 100%;
  padding: 30px;
  position: relative;
}

.modal-title {
  font-size: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 15px;
}

body.show-modal {
  overflow: hidden;
}

.close {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.close .inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.close .inner::before,
.close .inner::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
}

.close .inner::before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  -ms-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.close .inner::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  -ms-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}

/*.menu {*/
/*  display: -webkit-box;*/
/*  display: -ms-flexbox;*/
/*  display: flex;*/
/*}*/

.menu a {
  padding: 5px;
}

.menu a:hover {
  opacity: 0.7;
}

.mobile-nav .menu {
  display: block;
}

.mobile-nav li {
  margin-right: 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav .menu>li>a {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.25rem 0;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}

.mobile-nav .menu>li>a:hover,
.mobile-nav .menu>li.active>a,
.mobile-nav .menu>li.current-menu-item>a {
  color: var(--btn-bg);
}

/* Submenu Styling Mobile */
.mobile-nav .sub-menu {
  display: none;
  background: rgba(255, 255, 255, 0.02);
  margin: 0;
  padding: 5px 0;
  border-left: 1px solid rgba(255, 215, 0, 0.1);
  /* Much thinner and more subtle */
  margin-left: 15px;
  /* Offset the entire block for better hierarchy */
  max-height: 60vh;
  overflow-y: auto;
}

.mobile-nav .sub-menu li {
  border-bottom: none;
}

.mobile-nav .sub-menu li a {
  font-size: 14px;
  padding: 10px 20px;
  color: #b0b0c0;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.mobile-nav .sub-menu li.menu-item-has-children>a {
  padding-right: 50px;
}

.mobile-nav .sub-menu li a:hover,
.mobile-nav .sub-menu li.current-menu-item a {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-wrap {
  max-width: 450px;
  width: 100%;
  height: 100vh;
  background-color: var(--body-bg);
  /* Match body background */
  background-image:
    linear-gradient(to bottom, rgba(3, 5, 10, 0.96), rgba(3, 5, 10, 0.98)),
    url('../img/pattern_luxury.jpg');
  background-size: 320px;
  /* Slightly darker/denser than body */
  -webkit-box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  -webkit-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  top: 0;
  right: -100vw;
  z-index: 1100;
  border-left: 1px solid rgba(255, 215, 0, 0.1);
}

.mobile-wrap.active {
  right: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.mobile-body {
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.mobile-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 80px 15px 20px 30px;
  /* Padding moved here */
  min-height: 0;
  /* Important for flex child scrolling */
}

.mobile-menu-footer {
  flex-shrink: 0;
  padding: 20px 30px 40px;
  /* Extra bottom padding for safe area */
  background: var(--body-bg);
  /* Ensure contrast */
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  z-index: 2;
  position: relative;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  /* Shadow for depth */
}

.mobile-body .close {
  position: absolute;
  top: 25px;
  right: 25px;
}

.mobile-body .close .inner::before,
.mobile-body .close .inner::after {
  background-color: #fff;
}

.mobile-nav .menu a {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile-nav .menu-item-has-children>a {
  padding-right: 50px !important;
  position: relative;
}

.mobile-nav .dropdown-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-bg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border-left: none;
  margin: 0;
  opacity: 0.8;
}

.mobile-nav li.active>a .dropdown-icon,
.mobile-nav li:hover>a .dropdown-icon {
  color: var(--btn-bg);
  opacity: 1;
  transform: translateY(0) scale(1.1);
}

.mobile-nav .menu-item-has-children.active>a .dropdown-icon {
  transform: rotate(180deg) scale(1.1);
}

.mobile-btn {
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1200;
}

.mobile-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.mobile-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.5);
}

.mobile-btn .inner {
  width: 20px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-btn .inner::before,
.mobile-btn .inner::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.mobile-btn .inner::before {
  top: -6px;
}

.mobile-btn .inner::after {
  bottom: -6px;
}

/* Burger Animation to X */
.mobile-btn.active .inner {
  background-color: transparent;
}

.mobile-btn.active .inner::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--btn-bg);
}

.mobile-btn.active .inner::after {
  bottom: 0;
  transform: rotate(-45deg);
  background-color: var(--btn-bg);
}

.mobile-wrap-btns {
  margin-top: 0;
  display: flex;
  gap: 12px;
  width: 100%;
}

.mobile-wrap-btns .btn {
  display: flex !important;
  /* Force flex */
  flex: 1;
  width: auto;
  margin-bottom: 0;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  /* Match header buttons */
  height: 48px;
  /* Slightly taller for easier tapping */
  font-size: 14px;
}

.mobile-wrap-btns .btn:last-child {
  margin-bottom: 0;
}

.tab {
  margin-bottom: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 30px;
  transition: all 0.3s ease;
}

.tab:hover {
  border-color: rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.tab-title-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

.tab-ans {
  line-height: 1.3;
  margin-top: 25px;
  display: none;
}

.tab.active .tab-ans {
  display: block;
}

.wrap {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.header {
  max-width: 95%;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 100px;
  margin-top: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: sticky;
  top: 24px;
  z-index: 1000
}

.header:hover::before {
  opacity: 1;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Header Navigation - Inline Menu */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.header-menu-inline {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-menu-inline li {
  position: relative;
}

.header-menu-inline li a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  white-space: nowrap;
}

.header-menu-inline li a::before {
  content: none;
}

.header-menu-inline li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  transform: translateY(-1px);
}

.header-menu-inline li.current-menu-item a,
.header-menu-inline li.current_page_item a {
  color: var(--btn-bg);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.menu-link-text {
  position: relative;
  z-index: 1;
}

/* Multi-level Dropdown Support */

/* Target the dropdown ULs. Note: .sub-menu is the default class WP adds to nested ULs */
/* Target the dropdown ULs. */
.header-menu-inline .sub-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  width: max-content;
  min-width: 120px;
  /* Strictly content-based width */
  margin: 0;
  list-style: none;
  background: rgba(11, 14, 23, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  /* Slightly subtler border */
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 6px;
  /* Compact padding wrapper */
  z-index: 1000;
  max-height: 60vh;
}

/* Invisible bridge to prevent losing hover */
.header-menu-inline li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  display: block;
}

/* Show submenu on hover */
.header-menu-inline li:hover>.sub-menu,
.header-menu-inline li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Second level and deeper dropdowns */
/* Second level and deeper dropdowns */
.header-menu-inline .sub-menu .sub-menu {
  top: 0px;
  /* Align with parent item */
  left: 100%;
  transform: translateX(-10px);
  /* Start slightly left for animation */
}

/* 3-Column Mega Menu Style (User Request) */
.header-menu-inline li.sub-menu-columns-3>.sub-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  /* Reduced gap */
  min-width: 500px;
  /* Slightly compact width */
  width: max-content;
  padding: 5px;
  /* Reduced padding */
  overflow-y: auto;
}

.header-menu-inline li.sub-menu-columns-3>.sub-menu>li {
  width: auto;
  margin: 0;
  border-bottom: none;
  /* Reset distinct item borders if any */
}

/* Compact Links for 3-Column Menu */
.header-menu-inline li.sub-menu-columns-3>.sub-menu>li>a {
  padding: 6px 10px;
  /* Smaller padding */
  font-size: 12.5px;
  /* Slightly smaller font if needed, or keep 13px */
  border-radius: 6px;
}

/* 2-Column Mega Menu Style (User Request) */
.header-menu-inline li.sub-menu-columns-2>.sub-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  min-width: 400px;
  /* Narrower than 3-col */
  width: max-content;
  padding: 5px;
  overflow-y: auto;
}

.header-menu-inline li.sub-menu-columns-2>.sub-menu>li {
  width: auto;
  margin: 0;
  border-bottom: none;
}

/* Compact Links for 2-Column Menu */
.header-menu-inline li.sub-menu-columns-2>.sub-menu>li>a {
  padding: 6px 10px;
  font-size: 12.5px;
  border-radius: 6px;
}

/* Adjust nested submenus inside columns */
.header-menu-inline li.sub-menu-columns-2>.sub-menu>li>ul.sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 0;
  min-width: 0;
}


/* =========================================
   Global Custom Scrollbar Styles
   ========================================= */

/* Webkit Scrollbar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  /* Width for vertical scrollbar */
  height: 8px;
  /* Height for horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  /* Subtle transparent track */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  /* Gold tint thumb */
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.6);
  /* Brighter gold on hover */
}

/* Firefox Scrollbar Support */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.3) rgba(255, 255, 255, 0.05);
}

/* Ensure mobile menu scrollbar overlays nicely */
.mobile-nav .sub-menu::-webkit-scrollbar {
  width: 4px;
  /* Thinner for nested menus */
}

.header-menu-inline .sub-menu::-webkit-scrollbar {
  width: 6px;
  /* Elegant thin scrollbar for desktop dropdowns */
}

.header-menu-inline .sub-menu li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Dropdown Links */
.header-menu-inline .sub-menu li {
  display: block;
  margin: 0 0 2px 0;
  /* Tiny gap between items */
  width: 100%;
  padding: 0;
}

.header-menu-inline .sub-menu li:last-child {
  margin-bottom: 0;
}

.header-menu-inline .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Push text and icon apart */
  padding: 8px 12px;
  font-size: 13px;
  /* Slightly smaller for compact look */
  font-weight: 500;
  line-height: 1.4;
  color: #b0b0c0;
  text-transform: none;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
  border-radius: 8px;
  width: 100%;
  transition: all 0.2s ease;
  gap: 12px;
  /* Ensure minimum space between text and icon */
}

/* Hover state for dropdown links */
.header-menu-inline .sub-menu li a:hover {
  background: rgba(255, 215, 0, 0.08);
  color: #fff;
  text-shadow: none;
}

/* Active state in dropdown */
.header-menu-inline .sub-menu li.current-menu-item>a {
  color: var(--btn-bg);
  background: rgba(255, 215, 0, 0.1);
  font-weight: 600;
}

/* Add an arrow for items with children */
/* Natural flow for items with children */
.header-menu-inline .menu-item-has-children>a {
  padding-right: 16px;
  /* Restore balanced padding as we use gap now */
  gap: 6px;
  /* Space between text and icon */
}

.header-menu-inline .dropdown-icon {
  position: static;
  /* Flow naturally with flex */
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  width: 6px;
  height: 6px;
  margin-top: 1px;
  /* Optical alignment */
  transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Smooth rotation */
}

/* Rotate arrow on hover (top level) */
.header-menu-inline>li.menu-item-has-children:hover>a .dropdown-icon {
  transform: rotate(180deg);
}

/* Nested dropdowns - arrow points right to indicate side flyout */
.header-menu-inline .sub-menu .menu-item-has-children:hover>a .dropdown-icon,
.header-menu-inline .sub-menu .menu-item-has-children>a .dropdown-icon {
  transform: rotate(-90deg);
}

/* Header Buttons */
.header-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btns .btn {
  min-width: 120px;
  padding: 0 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 50px;
  height: 40px;
}





.header-btns .lang-switcher {
  margin-left: 8px;
}

/* Logo & Language Dropdown Combined */
.lang-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.logo-lang-trigger {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 12px 6px 6px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.logo-lang-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  transform: translateY(-1px);
}

.logo-lang-dropdown.active .logo-lang-trigger {
  color: var(--btn-bg);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Logo Styling */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo .custom-logo-link {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  will-change: transform;
  flex-shrink: 0;
}

.site-logo .custom-logo-link:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.site-logo .custom-logo-link img {
  max-width: 100%;
  width: auto;
  max-height: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2));
}

.current-lang-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.current-lang-flag li:not(.current-lang) {
  display: none;
}

.current-lang-flag li {
  list-style: none;
  display: flex;
  align-items: center;
}

.current-lang-flag li a {
  padding: 5px 10px;
}

.current-lang-flag img {
  width: 20px !important;
  height: 14px !important;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.current-lang-flag li .current-lang {
  padding: 5px 10px;
}

.dropdown-arrow {
  width: 8px;
  color: var(--font-color);
  transition: transform 0.3s ease;
}

.logo-lang-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
/* Shared Dropdown Styles */
.logo-lang-dropdown-menu,
.header-menu-inline .sub-menu {
  background: rgba(11, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 6px;
  z-index: 1000;
}

/* Specific positioning for Language Dropdown */
.logo-lang-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 6px;
  /* Keep original padding for lang map */
}

/* Hover Behavior for Language Dropdown */
.logo-lang-dropdown:hover .logo-lang-dropdown-menu,
.logo-lang-dropdown:focus-within .logo-lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-lang-dropdown:hover .dropdown-arrow,
.logo-lang-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.logo-lang-dropdown:hover .logo-lang-trigger {
  color: var(--btn-bg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.dropdown-menu-header {
  padding: 6px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4px;
}

.dropdown-label {
  color: rgba(255, 215, 0, 0.8);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-list {
  padding: 0;
  margin: 0;
}

.lang-list li {
  list-style: none;
  margin-bottom: 2px;
}

.lang-list li:last-child {
  margin-bottom: 0;
}

.lang-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #b0b0c0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.lang-list li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.lang-list li.current-lang a {
  background: rgba(255, 215, 0, 0.08);
  color: var(--btn-bg);
  font-weight: 600;
}

.lang-list img {
  width: 20px !important;
  height: 14px !important;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.section-title {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.section-title h2 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5em;
}

.section-title span {
  position: relative;
}

.section.banner {
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.banner {
  min-height: 100vh;
  padding-top: 80px;
  /* Safe area for fixed header */
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.banner-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 25% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.6) 100%);
  /* Luxury Vignette */
  pointer-events: none;
  z-index: -1;
}

.banner-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}



.banner-img::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.banner-text-col {
  flex: 1;
  min-width: 0;
  /* Prevents flex items from overflowing */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-img {
  flex: 1 1 auto;
  max-width: 550px;
  width: 100%;
  position: relative;
  z-index: 2;
  /* Ensure it stays above pattern */
  animation: float 6s ease-in-out infinite;
}

.banner-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transform: perspective(1000px) rotateY(5deg);
  transition: transform 0.5s ease;
}

.banner-img:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.has-border::before,
.has-border::after {
  display: none;
  /* Remove old borders */
}

.offer {
  flex: 1;
  text-align: left;
  padding: 0;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 15px;
  /* Space for scrollbar */
  scrollbar-width: thin;
}

.offer::-webkit-scrollbar {
  width: 4px;
}

.offer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.offer::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.offer:hover::-webkit-scrollbar-thumb {
  background: var(--btn-bg);
}

.offer-title h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 20%, #FFD700 40%, #ffffff 60%, #e0e0e0 80%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-sweep 3s linear infinite;
}

@keyframes shine-sweep {
  to {
    background-position: 200% center;
  }
}



@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.offer-desc {
  margin-bottom: 35px;
  font-size: 1.125rem;
  color: var(--font-muted);
  max-width: 100%;
  line-height: 1.7;
}

.offer-btn {
  width: auto;
  min-width: 200px;
  height: 56px;
  line-height: 56px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: 50px;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.slots-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  padding-bottom: 20px;
}

.slots-item {
  width: auto;
  padding: 0;
  margin: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slots-item .inner {
  display: block;
  text-decoration: none;
  height: 100%;
}

.slots-item .item__img {
  width: 100%;
  aspect-ratio: 1.5;
  /* Rectangular 3:2ish */
  overflow: hidden;
  position: relative;
}

.slots-item .item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.slots-item .item__title {
  font-weight: 600;
  padding: 12px 15px;
  text-align: center;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  color: var(--slots-font);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slots-item .item__title::before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: var(--secondary-accent);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.slots-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.3);
  z-index: 10;
}

.slots-item:hover img {
  transform: scale(1.1);
  opacity: 1;
}

.slots-item:hover .item__title {
  color: #fff;
}

.slots-item:hover .item__title::before {
  width: 100%;
}

.content-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--text-main);
}

.content-text {
  line-height: 1.8;
  font-size: 1.125rem;
  color: var(--font-muted);
  max-width: 800px;
  margin: 0 auto;
}


.section.elements {
  padding-bottom: 80px;
}

.elements-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.elements-item {
  margin-bottom: 0;
  position: relative;
}

.elements-item:last-child {
  margin-bottom: 0;
}

.elements-item-title {
  text-align: center;
  margin-bottom: 40px;
}

.elements-item-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--font-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.elements-item-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.elements-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  /* Smoother corners */
  padding: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.elements-item-text {
  flex: 1;
  width: auto;
  padding-bottom: 0;
  margin-top: 0;
  color: var(--font-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.elements-item-image {
  flex: 1;
  width: auto;
}

.elements-item-image img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.elements-item:hover .elements-item-image img {
  transform: scale(1.02);
}

.elements-item:nth-child(even) .elements-item-row {
  flex-direction: row-reverse;
}

/* Fix for standard property background-clip */
.offer-title h1,
.section-title h2 {
  background-clip: text;
}

.footer {
  position: relative;
  background-color: var(--footer-bg);
  padding: 80px 0 40px;
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(20, 20, 35, 0) 0%,
      rgba(255, 215, 0, 0.2) 50%,
      rgba(20, 20, 35, 0) 100%);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-brand {
  min-width: 250px;
  max-width: 300px;
}

/* Footer Typography & Colors */
.footer-heading {
  color: var(--btn-bg);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  font-size: 0.875rem;
  /* 14px equivalent */
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ff8c00;
  border-radius: 2px;
}

.footer p,
.footer-address,
.footer-copyright {
  color: #a0a0b0;
  font-size: 1rem;
  /* Increased from 14px */
  line-height: 1.6;
}

.footer-desc {
  margin: 20px 0;
}

/* Footer Nav */
.footer-menu-list li {
  margin-bottom: 12px;
}

.footer-menu-list a {
  color: #a4a4b5;
  transition: all 0.3s ease;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.footer-menu-list a::before {
  content: '›';
  margin-right: 8px;
  color: var(--btn-bg);
  font-weight: bold;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.footer-logo img {
  max-width: 180px;
  width: auto;
  height: auto;
  border-radius: 0;
  /* Override global border-radius if needed, usually logos don't need it */
}

.footer-menu-list a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-menu-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Footer Info & Contact */
/* Footer Info & Contact */
/* Footer Info & Contact */
.footer-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.footer-subheading {
  color: #888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  margin-top: 0;
  font-weight: 600;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  color: var(--btn-bg);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-info-item:hover .footer-icon {
  background: var(--btn-bg);
  color: #1a1a1a;
  transform: scale(1.1);
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
  color: #ccc;
  font-size: 14px;
}

/* Footer Link Button */
.footer-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  color: var(--btn-bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-link-btn:hover {
  background: var(--btn-bg);
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.footer-link-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.footer-link-btn:hover .footer-link-arrow {
  transform: translate(3px, -3px);
}

.footer-link-icon {
  display: flex;
  align-items: center;
}

/* Badges & Payments */
.badges-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
}

.badge-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--btn-bg);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-icon-wrap {
  display: flex;
  align-items: center;
}

.badge-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}

/* Specific styling for 18+ badge to make it restricted-looking */
.badge-item[title="18+ Only"] .badge-icon {
  color: #ff4d4d;
}

.badge-item[title="Licensed Casino"] .badge-icon {
  color: #4dff88;
}



.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.pay-link {
  display: block;
  transition: transform 0.3s ease;
}

.pay-logo {
  display: block;
  width: 36px;
  height: 36px;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  border-radius: 4px;
}

.pay-link:hover .pay-logo {
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.pay-link:hover {
  transform: translateY(-3px);
}

/* Bottom Footer */
/* Bottom Footer */
.footer-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  position: relative;
}

.footer-separator {
  height: 1px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.footer-disclaimer p {
  color: #7a7a8c;
  font-size: 11px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 30px;
  letter-spacing: 0.5px;
}

.footer-trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  filter: grayscale(100%) opacity(0.5);
  mix-blend-mode: luminosity;
  /* Blends better with dark bg */
}

.footer-badge:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-3px);
  mix-blend-mode: normal;
}

/* Ensure images within badges are sized correctly */
.footer-badge img {
  max-height: 40px;
  width: auto;
  display: block;
}

.gordon-moody img {
  max-height: 45px;
  /* Specific sizing for visual balance */
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    gap: 40px;
  }

  .footer-col {
    width: 100%;
    min-width: 100%;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-heading {
    display: block;
    text-align: center;
  }

  .footer-menu-list,
  .footer-info,
  .footer-copyright,
  .footer-desc {
    text-align: center;
  }

  .footer-info-item {
    justify-content: center;
  }

  .badges-grid,
  .payment-methods {
    justify-content: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }
}

.header .nav {
  padding: 0 25px;
}

.header .nav ul li a {
  white-space: nowrap;
}

.header .nav ul {
  flex-wrap: wrap;
  justify-content: center;
}

.header .nav ul li {
  margin-bottom: 10px;
}

.offer-btns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

a.social-icon {
  width: 45px;
  min-width: 45px;
  height: 45px;
  display: block;
  border-radius: 150%;
  padding: 10px;
  margin-right: 15px;
  border: 1px solid;
}

a.social-icon svg {
  width: 100%;
  height: 100%;
}

/* Legacy dropdown menu styles removed - now using .header-menu-inline */







/* Adaptive */
@media (max-width: 1350px) {

  .has-border::before,
  .has-border::after {
    display: none;
  }

  .offer-title h1 {
    font-size: 60px;
  }

  .section-title h2 {
    font-size: 40px;
  }

  .header-menu-inline li a {
    padding: 8px 14px;
    font-size: 12px;
  }

  .header-nav {
    padding: 0 15px;
  }
}

@media (max-width: 1100px) {
  .header {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    top: 0;
    border-radius: 0;
    padding: 10px 15px;
    border: none;
  }

  .site-logo .custom-logo-link {
    max-width: 100px;
    height: 50px;
  }

  .logo-lang-dropdown {
    margin-right: auto;
  }

  .logo-lang-trigger {
    padding: 6px 12px 6px 6px;
  }

  .current-lang-flag img {
    width: 20px !important;
    height: 14px !important;
  }

  .dropdown-arrow {
    width: 10px;
    height: 10px;
  }

  .header-btns {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure dropdown menu is visible when active on mobile */
  .logo-lang-dropdown-menu {
    width: 200px;
    /* slightly smaller on mobile */
  }

}

@media (max-width: 1200px) {
  .banner-img {
    max-width: 450px;
    /* Reduce size slightly on narrower desktops/tablets */
  }

  .banner-content {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 15px;
  }

  .section {
    padding-top: 50px;
  }
}

@media (max-width: 850px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .banner {
    padding-top: 50px !important;
    padding-bottom: 30px;
    height: auto;
    min-height: auto;
    display: block;
  }

  .banner-img {
    margin: 0 auto 40px;
    max-width: 100%;
  }

  .offer {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    text-align: center;
  }

  .offer-title h1 {
    font-size: 3rem;
  }

  .offer-btns {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .section-title span::before {
    display: none;
  }

  .elements-item-row {
    flex-direction: column !important;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .elements-item-image {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .slots-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .header {
    margin-bottom: 0;
  }

  .offer-title h1 {
    font-size: 2.5rem;
  }

  .section {
    padding-bottom: 50px;
  }

  /* Mobile Beam Adjustment */
  .light-beam {
    --beam-width: 150vw;
    --beam-offset: 75vw;
  }
}

@media (max-width: 500px) {
  body {
    font-size: 14px;
  }

  .slots-item .item__title {
    font-size: 0.85rem;
    padding: 8px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .content-title {
    font-size: 2rem;
  }

  .header-btns .btn {
    width: 100px;
  }

  .elements-item {
    margin-bottom: 30px;
  }

  .elements-item-title {
    margin-bottom: 20px;
  }
}

@media (max-width: 450px) {
  .header-btns .btn:nth-child(2) {
    margin-top: 5px;
  }
}


/* =========================================
   Premium Front Page Sections (UI/UX Upgrade)
   ========================================= */

/* Section Title Enhancements */
.section-title h2 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.15));
  display: inline-block;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--font-muted);
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  line-height: 1.8;
}

/* 1. Sticky Table of Contents (TOC) */
.sticky-toc-nav {
  position: sticky;
  top: 100px;
  z-index: 900;
  margin-bottom: 60px;
  padding: 0 20px;
  pointer-events: none;
  /* Allow clicking through the container area */
}

.sticky-toc-container {
  max-width: fit-content;
  margin: 0 auto;
  background: rgba(11, 14, 23, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 50px;
  padding: 8px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  /* Re-enable clicks */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-toc-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.1);
}

.sticky-toc-links {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px;
}

.sticky-toc-links::-webkit-scrollbar {
  display: none;
}

.sticky-toc-link {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
  text-decoration: none;
}

.sticky-toc-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.sticky-toc-link.active {
  color: #000;
  background: var(--gold-gradient);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  border-color: transparent;
  transform: scale(1.03);
}

/* 2. Characteristics Section */
.characteristics-content {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.characteristics-text {
  flex: 1;
  font-size: 1.1rem;
  color: var(--font-muted);
  line-height: 1.8;
}

.characteristics-img {
  flex: 0 0 45%;
  max-width: 45%;
  position: relative;
}

.characteristics-img img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
}

@media (max-width: 900px) {
  .characteristics-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .characteristics-img {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
}

.characteristics-table {
  margin-top: 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
}

.characteristics-table .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(11, 14, 23, 0.4);
  backdrop-filter: blur(10px);
}

.characteristics-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.characteristics-table tr:last-child td {
  border-bottom: none;
}

.characteristics-table tr:hover td {
  background: rgba(255, 215, 0, 0.03);
}

.characteristics-table tr td:first-child {
  width: 40%;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.characteristics-table tr td:last-child {
  color: #b0b0c0;
  font-size: 1.3rem;
}

.table-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.table-row img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.characteristics-table tr:hover .table-row img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

/* 3. Screenshots Gallery */
.screenshorts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.screenshorts-item {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshorts-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.screenshorts-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.screenshorts-item:hover::before {
  opacity: 1;
}

/* 4. Features Elements */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.features-item {
  height: 100%;
}

.features-item .inner {
  height: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.features-item .inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.features-item .inner:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.2);
}

.features-item .inner:hover::before {
  transform: scaleX(1);
}

.features-item .item__img {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  padding: 20px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.features-item .inner:hover .item__img {
  transform: rotate(10deg) scale(1.1);
}

.features-item .item__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.features-item .item__text {
  font-size: 0.95rem;
  color: var(--font-muted);
  line-height: 1.6;
}

/* 5. Slot Rules & Steps */
.slot-rules-item,
.slot-steps-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.slot-rules-item:hover,
.slot-steps-item:hover {
  border-color: rgba(255, 215, 0, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(255, 215, 0, 0.02);
}

.item__num {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gold-gradient);
  color: #05070a;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 30px 10px 20px;
  border-radius: 32px 0 32px 0;
  /* Matches card corner */
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.num-digit {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

/* Vertical Connector Line */
.step-connector {
  position: absolute;
  left: 50%;
  bottom: -40px;
  /* Extends below card */
  height: 40px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 215, 0, 0.3), transparent);
  transform: translateX(-50%);
  z-index: 0;
}

@media (max-width: 900px) {
  .step-connector {
    display: none;
  }
}

.item__arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.slot-steps-item:hover .item__arrow {
  background: var(--btn-bg);
  color: #000;
  opacity: 1;
  transform: rotate(-45deg);
  /* Point diagonally up */
}

.item__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
  line-height: 1.2;
}

.item__text {
  font-size: 1.05rem;
  color: var(--font-muted);
  line-height: 1.8;
}

.item__row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.item__img {
  position: relative;
  flex-shrink: 0;
  max-width: 45%;
  /* Optimal width for these sections */
}

.item__img img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
  max-width: 100%;
  height: auto;
  display: block;
}

.slot-rules-item:hover img,
.slot-steps-item:hover img {
  transform: scale(1.02);
}

/* 6. App / Legal / Safety Sections */
.slot-app-row,
.slot-return-row {
  display: flex;
  align-items: center;
  gap: 80px;
  background: rgba(11, 14, 23, 0.3);
  border-radius: 32px;
  padding: 40px;
  border: 1px solid transparent;
  /* Placeholder for hover */
  transition: border-color 0.3s ease;
}

.slot-app-row:hover,
.slot-return-row:hover {
  border-color: rgba(255, 255, 255, 0.05);
}

.slot-app-row:nth-child(even) {
  flex-direction: row-reverse;
}

.slot-app-img,
.slot-return-img {
  flex-shrink: 0;
  /* Prevent shrinking */
  max-width: 50%;
  /* Prevent overflowing if image is huge */
}

.slot-app-img img,
.slot-return-img img {
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  height: auto;
  display: block;
}

/* 7. Pros and Cons - Neon Cards */
.pros-and-cons-row {
  display: flex;
  gap: 30px;
}

.side {
  flex: 1;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.6) 0%, rgba(11, 14, 23, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.side.pros {
  border-top: 3px solid #00ff88;
}

.side.cons {
  border-top: 3px solid #ff4d4d;
}

.side-title {
  padding: 25px 30px;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pros .side-title {
  color: #00ff88;
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), transparent);
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.cons .side-title {
  color: #ff4d4d;
  background: linear-gradient(90deg, rgba(255, 77, 77, 0.05), transparent);
  border-bottom: 1px solid rgba(255, 77, 77, 0.1);
}

.side-content {
  padding: 30px;
}

.side-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.side-item:last-child {
  margin-bottom: 0;
}

.side-item-before {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 2px;
}

.pros .side-item-before {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.cons .side-item-before {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.2);
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.1);
  font-family: inherit;
  /* Ensure cross renders correctly */
  line-height: 1;
}

.cons .side-item-before {
  /* To display a minus, we can use content or just relying on text in HTML */
  /* Since current HTML has '+', we need to hide it and show minus */
  color: transparent;
  position: relative;
}

.cons .side-item-before::after {
  content: '—';
  /* Em dash */
  position: absolute;
  color: #ff4d4d;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.side-item-text {
  color: #d0d0e0;
  line-height: 1.6;
  font-size: 1rem;
}

/* 8. FAQ Section */
.tabs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tab {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tab:hover {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.tab.active {
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tab-title-row {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.tab-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.tab-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tab-icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  transition: transform 0.3s ease;
}

.tab.active .tab-icon {
  background: var(--btn-bg);
  transform: rotate(180deg);
}

.tab.active .tab-icon svg {
  fill: #000;
}

.tab-ans {
  padding: 0 30px 30px;
  color: var(--font-muted);
  line-height: 1.7;
  display: none;
  font-size: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 0;
  /* Reset */
  padding-top: 20px;
}

.tab.active .tab-ans {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Responsive Adjustments
   ========================================= */

@media (max-width: 1200px) {
  .screenshorts-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sticky-toc-nav {
    top: 70px;
    padding: 0 10px;
  }

  .sticky-toc-link {
    padding: 6px 14px;
    font-size: 12px;
  }

  .item__row,
  .slot-app-row,
  .slot-return-row {
    flex-direction: column !important;
    gap: 30px;
    text-align: center;
  }

  .slot-rules-item .item__img,
  .slot-steps-item .item__img,
  .slot-app-img,
  .slot-return-img {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .pros-and-cons-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .section-title h2 {
    font-size: 2.2rem;
  }

  .screenshorts-row {
    grid-template-columns: 1fr;
  }

  .features-row {
    grid-template-columns: 1fr;
  }

  .characteristics-table td {
    padding: 15px;
    font-size: 0.9rem;
  }

  .characteristics-table tr td:first-child {
    width: 50%;
  }
}

/* =========================================
   UI/UX Refactor: Features & Rules (Premium Casino)
   ========================================= */

/* --- Features Section --- */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

/* Override existing grid if present (likely in media query above) */
@media (min-width: 901px) {
  .features-row {
    display: flex !important;
    grid-template-columns: none !important;
  }
}

.features-item {
  flex: 1 1 300px;
  /* Min width 300px, grow and shrink */
  max-width: 400px;
  /* Prevent too wide on huge screens */
  display: flex;
  min-width: 0;
  /* Flexbox fix */
}

.features-item .inner {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features-item:hover .inner {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.features-item .item__img {
  margin-bottom: 25px;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.features-item .item__img img {
  width: auto;
  height: auto;
  max-height: 50px;
  max-width: 50px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  transition: transform 0.4s ease;
  border-radius: 0;
  /* Reset global img border radius */
}

.features-item:hover .item__img img {
  transform: scale(1.15) rotate(5deg);
}

.features-item .item__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--btn-bg);
  /* Gold */
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.features-item .item__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #c0c0d0;
  width: 100%;
  /* Ensure text uses full width */
}

/* --- Rules Section --- */
.slot-rules-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.slot-rules-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slot-rules-item:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.slot-rules-item .item__content {
  padding: 50px;
  position: relative;
  z-index: 2;
}

/* Vignette / Pattern background for Rules cards */
.slot-rules-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.04) 0%, transparent 40%),
    linear-gradient(to bottom right, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
  z-index: 1;
}

.slot-rules-item .item__title {
  font-family: 'Outfit', sans-serif;
  /* Try a premium font if available, fallback sans */
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 8px;
}

.slot-rules-item .item__row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.slot-rules-item .item__text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  font-weight: 300;
}

.slot-rules-item .item__img {
  flex: 0 0 450px;
  /* Fixed width for consistency */
  position: relative;
}

.slot-rules-item .item__img img {
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease;
}

.slot-rules-item:hover .item__img img {
  transform: scale(1.02);
}

/* Alternate layout for even items */
.slot-rules-item:nth-child(even) .item__row {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {

  .slot-rules-item .item__row,
  .slot-rules-item:nth-child(even) .item__row,
  .slot-steps-item .item__row {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .slot-rules-item .item__img {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .slot-rules-item .item__content {
    padding: 30px;
  }

  .slot-rules-item .item__title {
    font-size: 1.6rem;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-bottom: none;
    margin-bottom: 20px;
  }
}

/* =========================================
   Premium Refinement - Luxury Polish
   ========================================= */

/* Fix: Section Descriptions */
.section-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.25rem;
  color: var(--font-muted);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Fix: Features Width */
.features-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.features-item {
  flex: 1 1 340px;
  max-width: 600px;
  /* Increased from 400px */
}

/* Premium Gradient Border (Features) */
.features-item .inner {
  position: relative;
  background: linear-gradient(#0b0e17, #0b0e17) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 215, 0, 0.15)) border-box;
  border: 1px solid transparent;
  /* Required for border-box bg to show */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.features-item:hover .inner {
  background: linear-gradient(#080a10, #080a10) padding-box,
    var(--gold-gradient) border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.15);
  transform: translateY(-8px);
}

.features-item .item__title {
  color: #fff;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

/* Premium Rules Cards */
.slot-rules-item {
  background: linear-gradient(#0b0e17, #0b0e17) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 215, 0, 0.2)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

.slot-rules-item:hover {
  border-color: transparent;
  background: linear-gradient(#0b0e17, #0b0e17) padding-box,
    linear-gradient(135deg, #FFD700, #FFA500) border-box;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.1);
}

.slot-rules-item .item__content {
  background: transparent;
  border-radius: 24px;
}

/* Vignette / Pattern Overlay for Rules */
.slot-rules-item .item__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.slot-rules-item .item__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Vignette Dividers for Sections */
.checklist,
.characteristics,
.screenshorts,
.features,
.slot-rules,
.slot-return,
.slot-steps,
.slot-app,
.pros-and-cons,
.conclusion,
#faq {
  position: relative;
}

.section:not(.banner)::after {
  content: '';
  display: block;
  width: 80%;
  height: 1px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 100%);
  margin: 80px auto 0;
  opacity: 0.5;
}

/* Hide old dividers */
.section:not(.banner)::before {
  display: none !important;
}

/* Text Polish */
p,
li {
  font-weight: 400;
  /* Better legibility */
  letter-spacing: 0.3px;
}

h2 {
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

/* --- Rule Details Refinement --- */

.item__content .item__desc p {
  margin-bottom: 25px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #d8d8e8;
}

.item__details {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 16px;
  padding: 25px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.item__details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.details-title {
  color: var(--btn-bg);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-title::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.3), transparent);
}

.item__details ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.item__details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #c0c0d0;
  line-height: 1.6;
}

.item__details li:last-child {
  margin-bottom: 0;
}

.item__details li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--btn-bg);
  font-size: 12px;
}

@media (max-width: 600px) {
  .item__details {
    padding: 20px;
    margin-top: 20px;
  }
}

/* --- Single Page Refinement --- */

/* Restore padding for non-banner sections on pages */
.page .section:not(.banner) {
  padding-top: 60px;
  padding-bottom: 60px;
}

.content-section .content-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #d0d0e0;
}

.content-section h2,
.content-section h3 {
  text-align: left;
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
}

.content-section p {
  margin-bottom: 25px;
}

/* Table Bullet */
.table-bullet {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--btn-bg);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  margin-top: 8px;
  /* Optical center alignment with text */
}

.table-row {
  align-items: flex-start;
  /* Align top for multi-line text */
}

/* --- Characteristics Grid (Responsive Replacement for Table) --- */
.characteristics-grid {
  margin-top: 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  background: rgba(11, 14, 23, 0.4);
  backdrop-filter: blur(10px);
}

.char-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.char-row:last-child {
  border-bottom: none;
}

.char-row:hover {
  background: rgba(255, 215, 0, 0.03);
}

.char-label {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  width: 40%;
  flex-shrink: 0;
}

.char-label img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.char-row:hover .char-label img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.char-value {
  color: #c0c0d5;
  font-size: 1.1rem;
  text-align: right;
  flex: 1;
}

@media (max-width: 768px) {
  .char-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  .char-label {
    width: 100%;
    font-size: 1rem;
    color: var(--btn-bg);
    /* Highlight label on mobile */
  }

  .char-value {
    text-align: left;
    width: 100%;
    padding-left: 40px;
    /* Indent to align with text of label */
    font-size: 1rem;
  }
}

/* --- Go To Top Button --- */
.go-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.go-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.go-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
}

.go-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #05070a;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.go-to-top:hover svg {
  transform: translateY(-3px);
}