/* ==========================================================================
   MATERIAL 3 DARK THEME TOKENS
   ========================================================================== */
:root {
  --md-sys-color-primary: #FEFE43;
  --md-sys-color-on-primary: #1F1F00;
  --md-sys-color-primary-glow: rgba(254, 254, 67, 0.25);

  --md-sys-color-surface: #111318;
  --md-sys-color-surface-dim: #0D0E12;
  --md-sys-color-surface-container-low: #191C20;
  --md-sys-color-surface-container: #1D2024;
  --md-sys-color-surface-container-high: #282A2F;
  --md-sys-color-surface-container-highest: #33353A;

  --md-sys-color-on-surface: #E2E2E9;
  --md-sys-color-on-surface-variant: #C4C6D0;
  --md-sys-color-outline: #8E9099;
  --md-sys-color-outline-variant: rgba(255, 255, 255, 0.08);

  --md-sys-color-success: #27C93F;
  --md-sys-color-error: #FF5F56;

  --md-shape-corner-small: 8px;
  --md-shape-corner-medium: 12px;
  --md-shape-corner-large: 16px;
  --md-shape-corner-extra-large: 24px;
  --md-shape-corner-full: 9999px;

  --md-motion-standard: all 0.25s cubic-bezier(0.2, 0.0, 0, 1.0);
  --md-motion-spring: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  --md-elevation-1: 0 2px 8px rgba(0, 0, 0, 0.3);
  --md-elevation-2: 0 4px 16px rgba(0, 0, 0, 0.45);
  --marquee-height: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; max-width: 100vw; overflow-x: hidden; }
body { font-family: 'Outfit', sans-serif; background-color: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); line-height: 1.5; position: relative; min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Epilogue', sans-serif; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 5; }

/* ==========================================================================
   GLOBAL HERO MARQUEE BANNER (LARGER HERO FORMAT)
   ========================================================================== */
.global-hero-marquee {
  width: 100%;
  height: var(--marquee-height, 56px);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  position: relative;
  z-index: 1005;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  box-sizing: border-box;
}

.global-hero-marquee.is-sticky {
  position: sticky;
  top: 0;
}

.global-hero-marquee.is-hidden {
  max-height: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.marquee-inner {
  width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
  gap: 1rem;
  position: relative;
}

/* THEMES */
.global-hero-marquee.theme-neon_gold {
  background: linear-gradient(90deg, #111319 0%, #1a1d26 50%, #111319 100%);
  color: #f5f5f7;
  border-bottom: 2px solid rgba(254, 254, 67, 0.45);
  box-shadow: 0 4px 20px rgba(254, 254, 67, 0.15);
}
.global-hero-marquee.theme-neon_gold .marquee-badge {
  background: var(--md-sys-color-primary, #FEFE43);
  color: #111;
  box-shadow: 0 0 14px rgba(254, 254, 67, 0.45);
}
.global-hero-marquee.theme-neon_gold .marquee-separator {
  color: var(--md-sys-color-primary, #FEFE43);
  text-shadow: 0 0 10px rgba(254, 254, 67, 0.7);
}
.global-hero-marquee.theme-neon_gold .marquee-cta-btn {
  background: var(--md-sys-color-primary, #FEFE43);
  color: #111;
}

.global-hero-marquee.theme-electric_fire {
  background: linear-gradient(90deg, #25090c 0%, #3a1015 50%, #25090c 100%);
  color: #fff;
  border-bottom: 2px solid rgba(255, 59, 48, 0.5);
  box-shadow: 0 4px 20px rgba(255, 59, 48, 0.25);
}
.global-hero-marquee.theme-electric_fire .marquee-badge {
  background: #ff3b30;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 59, 48, 0.6);
}
.global-hero-marquee.theme-electric_fire .marquee-separator {
  color: #ff453a;
  text-shadow: 0 0 10px rgba(255, 59, 48, 0.8);
}
.global-hero-marquee.theme-electric_fire .marquee-cta-btn {
  background: #ff3b30;
  color: #fff;
}

.global-hero-marquee.theme-cyber_dark {
  background: #0d0f13;
  color: #e2e2e9;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.global-hero-marquee.theme-cyber_dark .marquee-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.global-hero-marquee.theme-cyber_dark .marquee-separator {
  color: rgba(255, 255, 255, 0.5);
}
.global-hero-marquee.theme-cyber_dark .marquee-cta-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.global-hero-marquee.theme-emerald_jackpot {
  background: linear-gradient(90deg, #071910 0%, #0d2c1c 50%, #071910 100%);
  color: #eafff3;
  border-bottom: 2px solid rgba(39, 201, 63, 0.45);
  box-shadow: 0 4px 20px rgba(39, 201, 63, 0.2);
}
.global-hero-marquee.theme-emerald_jackpot .marquee-badge {
  background: #27c93f;
  color: #051a0a;
  box-shadow: 0 0 14px rgba(39, 201, 63, 0.6);
}
.global-hero-marquee.theme-emerald_jackpot .marquee-separator {
  color: #27c93f;
  text-shadow: 0 0 10px rgba(39, 201, 63, 0.6);
}
.global-hero-marquee.theme-emerald_jackpot .marquee-cta-btn {
  background: #27c93f;
  color: #051a0a;
}

.global-hero-marquee.theme-custom {
  background: var(--marquee-custom-bg, #15171e);
  color: var(--marquee-custom-color, #fefe43);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
.global-hero-marquee.theme-custom .marquee-badge {
  background: var(--marquee-custom-color, #fefe43);
  color: var(--marquee-custom-bg, #15171e);
}
.global-hero-marquee.theme-custom .marquee-separator {
  color: var(--marquee-custom-color, #fefe43);
}
.global-hero-marquee.theme-custom .marquee-cta-btn {
  background: var(--marquee-custom-color, #fefe43);
  color: var(--marquee-custom-bg, #15171e);
}

/* BADGE */
.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.95rem;
  border-radius: var(--md-shape-corner-full, 9999px);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  user-select: none;
}
.marquee-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: marqueeBadgePulse 1.6s infinite;
}
.marquee-badge-icon {
  font-size: 0.95rem;
}
@keyframes marqueeBadgePulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.6; }
}

/* VIEWPORT & TRACKS */
.marquee-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}
.marquee-track-wrapper {
  display: flex;
  width: max-content;
  align-items: center;
  animation: heroMarqueeScroll var(--marquee-duration, 24s) linear infinite;
  will-change: transform;
}
.global-hero-marquee:hover .marquee-track-wrapper {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item {
  padding: 0 0.85rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}
.marquee-separator {
  padding: 0 1.25rem;
  font-size: 1.15rem;
  opacity: 0.85;
  user-select: none;
}

@keyframes heroMarqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* MARKDOWN STYLING INSIDE MARQUEE */
.marquee-item strong {
  font-weight: 900;
  color: #fff;
}
.theme-neon_gold .marquee-item strong {
  color: var(--md-sys-color-primary, #FEFE43);
  text-shadow: 0 0 12px rgba(254, 254, 67, 0.45);
}
.theme-electric_fire .marquee-item strong {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 59, 48, 0.7);
}
.theme-emerald_jackpot .marquee-item strong {
  color: #5efc82;
  text-shadow: 0 0 12px rgba(39, 201, 63, 0.6);
}
.marquee-item em {
  font-style: italic;
  opacity: 0.95;
}
.marquee-highlight {
  background: rgba(254, 254, 67, 0.22);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(254, 254, 67, 0.45);
  font-weight: 800;
}
.theme-electric_fire .marquee-highlight {
  background: rgba(255, 59, 48, 0.25);
  border-color: rgba(255, 59, 48, 0.5);
}
.theme-emerald_jackpot .marquee-highlight {
  background: rgba(39, 201, 63, 0.25);
  border-color: rgba(39, 201, 63, 0.5);
}
.marquee-pill-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.15rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88em;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-block;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
.marquee-inline-link {
  color: var(--md-sys-color-primary, #FEFE43);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 900;
  transition: all 0.2s ease;
}
.marquee-inline-link:hover {
  opacity: 0.85;
  text-shadow: 0 0 10px currentColor;
}

/* CTA & DISMISS BUTTONS */
.marquee-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.15rem;
  border-radius: var(--md-shape-corner-full, 9999px);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.marquee-cta-btn:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.12);
}
.marquee-dismiss-btn {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.65;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
}
.marquee-dismiss-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.12);
}
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
}
.marquee-dismiss-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.1);
}

/* TOP APP BAR */
.top-app-bar { background-color: var(--md-sys-color-surface-container); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--md-sys-color-outline-variant); box-shadow: var(--md-elevation-1); width: 100%; transition: top 0.25s ease; }
body.has-sticky-marquee .top-app-bar { top: var(--marquee-height, 42px); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0.75rem 1.5rem; gap: 1rem; }
.brand-logo { justify-self: start; cursor: pointer; }
.brand-logo-img { height: 44px; width: auto; display: block; object-fit: contain; transition: var(--md-motion-spring); }
.brand-logo:hover .brand-logo-img { transform: scale(1.04); }

.nav-links { display: flex; background-color: var(--md-sys-color-surface-container-high); padding: 4px; border-radius: var(--md-shape-corner-full); gap: 0.25rem; justify-self: center; }
.nav-link { font-weight: 600; padding: 0.5rem 1.2rem; border-radius: var(--md-shape-corner-full); transition: var(--md-motion-standard); text-align: center; cursor: pointer; font-size: 0.92rem; color: var(--md-sys-color-on-surface-variant); white-space: nowrap; }
.nav-link:hover { color: var(--md-sys-color-on-surface); }
.nav-link.active { background-color: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); box-shadow: 0 2px 8px var(--md-sys-color-primary-glow); }

.social-icons-group { justify-self: end; display: flex; gap: 0.5rem; }
.social-btn { width: 38px; height: 38px; border-radius: var(--md-shape-corner-full); background: var(--md-sys-color-surface-container-highest); display: flex; align-items: center; justify-content: center; transition: var(--md-motion-spring); color: var(--md-sys-color-on-surface); cursor: pointer; }
.social-btn:hover { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); transform: scale(1.08); }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* RAIN ANIMATION */
#money-rain-container { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.1) 70%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.1) 70%, transparent 100%); }
@keyframes moneyFall { 0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; } 100% { transform: translateY(115vh) rotate(360deg); opacity: 0.4; } }
.money-drop { position: absolute; font-weight: 900; animation: moneyFall linear forwards; text-shadow: 0 4px 14px rgba(0,0,0,0.6); will-change: transform; opacity: 0.6; }

/* SPA PANES */
.spa-wrapper { width: 100%; overflow: hidden; position: relative; z-index: 2; }
.page-pane { display: none; width: 100%; will-change: transform, opacity; padding-bottom: 3rem; }
.page-pane.active { display: block; animation: paneSwipeIn 0.35s cubic-bezier(0.2, 0.0, 0, 1.0) forwards; }
@keyframes paneSwipeIn { 0% { opacity: 0; transform: translateX(30px); } 100% { opacity: 1; transform: translateX(0); } }

/* CARDS & BUTTONS */
.offer-card { background: var(--md-sys-color-surface-container); border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-shape-corner-extra-large); padding: 2.5rem 2rem; max-width: 740px; margin: 0 auto; box-shadow: var(--md-elevation-1); width: 100%; }
.hero-section { padding: 3.5rem 0 3rem; text-align: center; }
.hero-title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; color: var(--md-sys-color-primary); margin-bottom: 1rem; text-shadow: 0 0 25px var(--md-sys-color-primary-glow); }
.hero-intro { font-size: 1.1rem; color: var(--md-sys-color-on-surface-variant); max-width: 800px; margin: 0 auto 1.2rem; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--md-shape-corner-full); border: 2px solid #ff3b30; color: #ff3b30; font-weight: 800; font-size: 1rem; background: rgba(255, 59, 48, 0.08); margin-bottom: 1.2rem; }
.spins-headline { font-size: 2.4rem; font-weight: 900; color: var(--md-sys-color-primary); text-transform: uppercase; margin-bottom: 1.2rem; }
.slot-banner { width: 100%; max-width: 260px; height: auto; margin: 0 auto 1.2rem; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); object-fit: contain; }
.tc-notice { font-size: 0.8rem; font-weight: 700; color: var(--md-sys-color-outline); letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.offer-terms { font-size: 0.95rem; color: var(--md-sys-color-on-surface-variant); max-width: 600px; margin: 0 auto 1.8rem; }

.btn-claim, .btn-bonus, .btn-submit, .btn-primary { display: inline-block; background-color: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); font-family: 'Epilogue', sans-serif; font-size: 1.05rem; font-weight: 800; padding: 0.9rem 2rem; border-radius: var(--md-shape-corner-full); transition: var(--md-motion-spring); border: none; box-shadow: var(--md-elevation-1); width: 100%; text-align: center; cursor: pointer; text-decoration: none; }
.btn-claim:hover, .btn-bonus:hover, .btn-submit:hover, .btn-primary:hover { transform: scale(1.03) translateY(-2px); box-shadow: 0 8px 20px var(--md-sys-color-primary-glow); }
.btn-secondary { background: transparent; color: var(--md-sys-color-on-surface); border: 2px solid var(--md-sys-color-outline-variant); display: inline-block; font-family: 'Epilogue', sans-serif; font-size: 1.05rem; font-weight: 800; padding: 0.9rem 2rem; border-radius: var(--md-shape-corner-full); transition: var(--md-motion-spring); text-align: center; cursor: pointer; text-decoration: none; }
.btn-secondary:hover { background: var(--md-sys-color-surface-container-high); border-color: var(--md-sys-color-primary); color: var(--md-sys-color-primary); }

/* YOUTUBE SECTION */
.youtube-hub-section { padding: 1.5rem 0 4rem; text-align: center; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; color: var(--md-sys-color-primary); margin-bottom: 2rem; }
.browser-frame { background: var(--md-sys-color-surface-container); border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-shape-corner-extra-large); overflow: hidden; box-shadow: var(--md-elevation-1); max-width: 1100px; margin: 0 auto; text-align: left; }
.browser-header { background: var(--md-sys-color-surface-container-high); padding: 0.8rem 1.2rem 0; display: flex; flex-direction: column; gap: 0.8rem; border-bottom: 1px solid var(--md-sys-color-outline-variant); }
.browser-tabs { display: flex; gap: 0.5rem; overflow-x: auto; white-space: nowrap; padding-bottom: 0; }
.browser-tab { background: var(--md-sys-color-surface-container); border: none; color: var(--md-sys-color-on-surface-variant); font-size: 0.95rem; font-weight: 600; padding: 0.7rem 1.5rem; border-radius: var(--md-shape-corner-medium) var(--md-shape-corner-medium) 0 0; display: flex; align-items: center; gap: 0.6rem; cursor: pointer; transition: var(--md-motion-standard); }
.browser-tab.active { background: var(--md-sys-color-surface-container-highest); color: var(--md-sys-color-primary); border-top: 3px solid var(--md-sys-color-primary); }
.browser-content { padding: 2rem; background: var(--md-sys-color-surface-container); }
.channel-profile-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid var(--md-sys-color-outline-variant); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.channel-meta { display: flex; align-items: center; gap: 1rem; }
.channel-avatar { width: 56px; height: 56px; border-radius: var(--md-shape-corner-full); object-fit: cover; border: 2px solid var(--md-sys-color-primary); }
.channel-name { font-size: 1.3rem; font-weight: 800; color: var(--md-sys-color-on-surface); }
.channel-handle { font-size: 0.85rem; color: var(--md-sys-color-outline); font-weight: 500; }
.btn-subscribe { background: #FF0000; color: #FFFFFF; font-weight: 700; font-size: 0.9rem; padding: 0.55rem 1.2rem; border-radius: var(--md-shape-corner-full); transition: var(--md-motion-spring); }
.btn-subscribe:hover { transform: scale(1.05); background: #CC0000; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.video-card { background: var(--md-sys-color-surface-container-high); border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-shape-corner-large); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; text-decoration: none; }
.video-thumb { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; overflow: hidden; border-bottom: 2px solid var(--md-sys-color-primary); }
.video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: rgba(0,0,0,0.7); border-radius: var(--md-shape-corner-full); display: flex; align-items: center; justify-content: center; color: var(--md-sys-color-primary); font-size: 1.1rem; opacity: 0; transition: var(--md-motion-spring); }
.video-card:hover .play-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.video-info { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.video-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.4rem; color: var(--md-sys-color-on-surface); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-date { font-size: 0.75rem; color: var(--md-sys-color-outline); margin-bottom: 0.5rem; }
.video-stats { font-size: 0.8rem; color: var(--md-sys-color-on-surface-variant); font-weight: 600; margin-top: auto;}

/* OFFERS SECTION */
.offers-header { padding: 3.5rem 0 1.5rem; text-align: center; }
.offers-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; color: var(--md-sys-color-primary); margin-bottom: 0.8rem; text-shadow: 0 0 25px var(--md-sys-color-primary-glow); }
.offers-subtitle { font-size: 1.1rem; color: var(--md-sys-color-on-surface-variant); max-width: 700px; margin: 0 auto; }
.offers-container { padding: 1.5rem 0 5rem; }
.offers-list { display: flex; flex-direction: column; gap: 1.5rem; }
.offer-row { 
  display: grid; 
  grid-template-columns: 220px 1fr 240px; 
  gap: 2rem; 
  align-items: center; 
  background: var(--md-sys-color-surface-container); 
  padding: 1.8rem 2.2rem; 
  border-radius: var(--md-shape-corner-extra-large); 
  border: 1px solid var(--md-sys-color-outline-variant); 
  box-shadow: var(--md-elevation-1); 
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}

/* FEATURED & EXCLUSIVE OFFER SLOTS */
.offer-row.has-badge {
  border-width: 2.5px;
  border-style: solid;
  border-color: var(--card-outline, #f59e0b);
  box-shadow: 0 8px 28px -4px rgba(0, 0, 0, 0.6), 0 0 20px -2px var(--card-outline, rgba(245, 158, 11, 0.35));
  cursor: pointer;
  padding-top: 0;
  overflow: hidden;
}

.offer-row.has-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -6px rgba(0, 0, 0, 0.75), 0 0 32px 3px var(--card-outline, rgba(245, 158, 11, 0.55));
}

.offer-badge-banner {
  grid-column: 1 / -1;
  margin: 0 -2.2rem 1.4rem -2.2rem;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.offer-badge-banner::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%;
  width: 50%; 
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: bannerGleam 4s infinite ease-in-out;
}

@keyframes bannerGleam {
  0%, 25% { left: -100%; }
  65%, 100% { left: 200%; }
}

.banner-featured {
  background: linear-gradient(135deg, var(--card-outline, var(--badge-featured-color, #f59e0b)) 0%, rgba(180, 83, 9, 0.95) 100%);
  color: #111318;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.3), 0 2px 10px rgba(245, 158, 11, 0.3);
}

.banner-featured .banner-badge-tag {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-featured .banner-badge-sub {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.78rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.banner-exclusive {
  background: linear-gradient(135deg, var(--card-outline, var(--badge-exclusive-color, #ff2a5f)) 0%, #7928ca 100%);
  color: #ffffff;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.3), 0 2px 12px rgba(255, 0, 85, 0.35);
}

.banner-exclusive .banner-badge-tag {
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.banner-exclusive .banner-badge-sub {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.78rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-bonus {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-bonus .btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.offer-row:hover .btn-bonus .btn-arrow {
  transform: translateX(4px);
}

.offer-row.has-badge .btn-bonus {
  background: var(--card-outline, var(--md-sys-color-primary));
  color: #0d0e12;
  font-weight: 900;
  box-shadow: 0 4px 18px -2px var(--card-outline, var(--md-sys-color-primary-glow));
}

.offer-row.badge-exclusive .btn-bonus {
  color: #ffffff;
}

.offer-row.has-badge .btn-bonus::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: btnBonusSweep 3s infinite ease-in-out;
}

@keyframes btnBonusSweep {
  0%, 25% { left: -60%; }
  65%, 100% { left: 160%; }
}

.offer-row.has-badge:hover .btn-bonus {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 24px 0 var(--card-outline, var(--md-sys-color-primary-glow));
}

/* ADMIN BADGE PILLS */
.admin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-badge-pill.pill-featured {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.admin-badge-pill.pill-exclusive {
  background: rgba(255, 42, 95, 0.2);
  color: #ff2a5f;
  border: 1px solid rgba(255, 42, 95, 0.5);
}

/* MAIN PAGE HERO CARD BORDER & GLOW EFFECT */
#featured-offer.has-badge {
  border-width: 2.5px;
  border-style: solid;
  border-color: var(--hero-outline, var(--card-outline, var(--badge-featured-color, #f59e0b)));
  box-shadow: 0 10px 36px -4px rgba(0, 0, 0, 0.7), 0 0 26px -2px var(--hero-outline, var(--card-outline, var(--badge-featured-color, rgba(245, 158, 11, 0.35))));
  cursor: pointer;
  padding-top: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}

#featured-offer.has-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px -6px rgba(0, 0, 0, 0.85), 0 0 40px 4px var(--hero-outline, var(--card-outline, var(--badge-featured-color, rgba(245, 158, 11, 0.6))));
}

#featured-offer .offer-badge-banner {
  margin: 0 -2rem 1.6rem -2rem;
}

#featured-offer .btn-claim.btn-bonus-highlight {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--hero-outline, var(--card-outline, var(--md-sys-color-primary)));
  color: #0d0e12;
  font-weight: 900;
  box-shadow: 0 4px 20px -2px var(--hero-outline, var(--card-outline, var(--md-sys-color-primary-glow)));
}

#featured-offer.badge-exclusive .btn-claim.btn-bonus-highlight {
  color: #ffffff;
}

#featured-offer .btn-claim.btn-bonus-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: btnBonusSweep 3s infinite ease-in-out;
}

#featured-offer:hover .btn-claim.btn-bonus-highlight {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 28px 0 var(--hero-outline, var(--card-outline, var(--md-sys-color-primary-glow)));
}

#featured-offer .btn-claim .btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

#featured-offer:hover .btn-claim .btn-arrow {
  transform: translateX(4px);
}

/* DOCKED EXCLUSIVE PROMO BANNER (UNDER CASINO CARD) */
.offer-slot-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.offer-slot-wrapper.with-docked-banner .offer-row {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2) !important;
  margin-bottom: 0 !important;
}

.hero-offer-slot-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-offer-slot-wrapper.with-docked-banner #featured-offer {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2) !important;
  margin-bottom: 0 !important;
}

.offer-docked-banner {
  display: block;
  position: relative;
  width: 100%;
  background: #090a0d;
  border: 2.5px solid var(--card-outline, var(--badge-exclusive-color, #ff2a5f));
  border-top: none;
  border-bottom-left-radius: var(--md-shape-corner-extra-large);
  border-bottom-right-radius: var(--md-shape-corner-extra-large);
  overflow: hidden;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.65), 0 0 18px -2px var(--card-outline, rgba(255, 42, 95, 0.35));
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
}

.offer-docked-banner:hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.8), 0 0 28px 2px var(--card-outline, rgba(255, 42, 95, 0.6));
}

.offer-docked-banner .exclusive-promo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.offer-docked-banner:hover .exclusive-promo-img {
  transform: scale(1.02);
}

.offer-docked-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: bannerGleam 4.5s infinite ease-in-out;
  pointer-events: none;
}

.offer-slot-wrapper.with-docked-banner:hover .offer-row {
  transform: translateY(-4px);
}
.offer-slot-wrapper.with-docked-banner:hover .offer-docked-banner {
  transform: translateY(-4px);
}

@media (max-width: 950px) {
  .offer-docked-banner {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
}

.offer-logo-container { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 200px; aspect-ratio: 2 / 1; height: auto; margin: 0 auto; }
.offer-logo { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3)); }
.offer-details { text-align: center; }
.offer-title { font-size: 1.45rem; font-weight: 900; color: var(--md-sys-color-primary); line-height: 1.3; margin-bottom: 0.6rem; text-transform: uppercase; }
.offer-action { display: flex; align-items: center; justify-content: flex-end; }

/* CONTACT & RESPONSIBLE GAMBLING */
.split-section { padding: 2rem 0 5rem; position: relative; z-index: 5; width: 100%; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; width: 100%; }
.contact-container, .responsible-container {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-corner-extra-large);
  padding: 2.2rem;
  box-shadow: var(--md-elevation-1);
  width: 100%;
  box-sizing: border-box;
}
.contact-container h2, .responsible-container h2 { font-size: 2rem; font-weight: 900; color: var(--md-sys-color-on-surface); margin-bottom: 1.8rem; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; width: 100%; }
.form-group { margin-bottom: 1.2rem; width: 100%; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--md-sys-color-on-surface-variant); margin-bottom: 0.4rem; }
.form-control {
  width: 100%;
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-corner-medium);
  padding: 0.85rem 1rem;
  color: var(--md-sys-color-on-surface);
  font-family: inherit; font-size: 1rem;
  transition: var(--md-motion-standard);
  box-sizing: border-box;
}
.form-control:focus { outline: none; border-color: var(--md-sys-color-primary); background: var(--md-sys-color-surface-container-highest); }
textarea.form-control { min-height: 120px; resize: vertical; }

.rg-title { font-size: 1.3rem; font-weight: 800; color: var(--md-sys-color-primary); margin-bottom: 0.8rem; }
.rg-body { font-size: 0.95rem; color: var(--md-sys-color-on-surface-variant); line-height: 1.6; margin-bottom: 1.8rem; }
.rg-badges-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-bottom: 1.8rem; width: 100%; }

a.rg-badge-pill {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-corner-full);
  padding: 0.7rem 0.8rem;
  font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: var(--md-motion-spring); color: var(--md-sys-color-on-surface);
  box-sizing: border-box;
}
a.rg-badge-pill:hover { border-color: var(--md-sys-color-primary); color: var(--md-sys-color-primary); transform: translateY(-2px); }
.rg-logo {
  height: 20px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  margin-right: 8px;
  border-radius: 4px;
  background: #FFFFFF;
  padding: 2px 4px;
  display: block;
}

.take-time-banner {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-family: 'Epilogue', sans-serif;
  font-size: 1.1rem; font-weight: 900;
  padding: 0.9rem; border-radius: var(--md-shape-corner-large);
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}

/* REFERRAL HUB */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 50px 0; align-items: center; width: 100%; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.1; margin-bottom: 16px; font-weight: 900; }
.hero-text p { color: var(--md-sys-color-on-surface-variant); font-size: 1.1rem; line-height: 1.6; }
.red-circle-highlight { position: relative; display: inline-block; color: var(--md-sys-color-on-surface); }
.red-circle-highlight::after { content: ''; position: absolute; top: -10%; left: -4%; width: 108%; height: 120%; border: 4px solid var(--md-sys-color-primary); border-radius: 50% 40% 60% 40% / 40% 60% 40% 50%; transform: rotate(-2deg); pointer-events: none; z-index: -1; box-shadow: 0 0 15px var(--md-sys-color-primary-glow); }

.code-display { font-size: 2.2rem; font-weight: 900; letter-spacing: 4px; color: var(--md-sys-color-primary); background: var(--md-sys-color-surface-container-high); border-radius: var(--md-shape-corner-medium); padding: 20px; text-align: center; margin: 16px 0; user-select: all; cursor: pointer; border: 2px dashed var(--md-sys-color-outline-variant); transition: var(--md-motion-spring); word-break: break-all; }
.code-display:hover { border-color: var(--md-sys-color-primary); background: var(--md-sys-color-surface-container-highest); }

.earnings-hub { background: linear-gradient(145deg, var(--md-sys-color-surface-container-high), var(--md-sys-color-surface-container)); border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-shape-corner-medium); padding: 24px; margin: 18px 0; box-shadow: var(--md-elevation-1); position: relative; overflow: hidden; }
.earnings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.earnings-val { font-size: 2.8rem; font-weight: 900; color: var(--md-sys-color-primary); text-shadow: 0 0 20px var(--md-sys-color-primary-glow); letter-spacing: -1px; line-height: 1.1; margin-bottom: 4px; }
.rate-badge { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); font-weight: 800; font-size: 0.85rem; padding: 4px 12px; border-radius: 50px; display: inline-flex; align-items: center; gap: 4px; }

.progress-container { background: var(--md-sys-color-surface); border-radius: 50px; height: 16px; width: 100%; overflow: hidden; margin: 16px 0 8px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); position: relative; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--md-sys-color-success), var(--md-sys-color-primary)); border-radius: 50px; transition: width 1.2s cubic-bezier(0.2, 0, 0, 1); position: relative; overflow: hidden; }

/* SELECTED CASINO PREVIEW CARD IN REFER HUB */
.selected-casino-preview {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-corner-large);
  padding: 18px;
  margin: 20px 0;
  text-align: center;
  transition: var(--md-motion-standard);
}
.preview-logo-wrap { height: 50px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.preview-logo-wrap img { max-height: 44px; max-width: 180px; object-fit: contain; }
.preview-offer-title { font-size: 1.15rem; font-weight: 900; color: var(--md-sys-color-primary); margin-bottom: 6px; }
.preview-terms { font-size: 0.8rem; color: var(--md-sys-color-outline); line-height: 1.4; }

/* SOCIAL SHARE ROW */
.share-section {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-corner-large);
  padding: 14px 18px;
  margin-bottom: 18px;
  text-align: center;
}
.share-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--md-sys-color-outline);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--md-shape-corner-medium);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: var(--md-motion-spring);
  color: #fff;
}
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-fb { background: #1877F2; }
.share-msg { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.share-wa { background: #25D366; }
.share-x { background: #000000; border: 1px solid var(--md-sys-color-outline-variant); }

/* LEADERBOARD */
.leaderboard-container { background: var(--md-sys-color-surface-container); border-radius: var(--md-shape-corner-extra-large); overflow: hidden; border: 1px solid var(--md-sys-color-outline-variant); position: relative; z-index: 5; margin-bottom: 30px; box-shadow: var(--md-elevation-1); }
.lb-grid-row { display: grid; grid-template-columns: 50px 1fr 120px 110px 90px; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--md-sys-color-outline-variant); }
.lb-grid-row:last-child { border-bottom: none; }
.lb-grid-row:hover:not(.lb-header) { background: var(--md-sys-color-surface-container-high); border-color: var(--md-sys-color-primary); }
.lb-header { background: var(--md-sys-color-surface-container-high); font-weight: 700; color: var(--md-sys-color-outline); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* CASINO SELECT MODAL */
.casino-modal-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 32px 24px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.casino-modal-title { font-size: 2.2rem; font-weight: 900; color: #FFFFFF; margin-bottom: 24px; letter-spacing: -0.02em; flex-shrink: 0; }
.casino-list-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-right: 6px; margin-right: -6px; }
.casino-list-scroll::-webkit-scrollbar { width: 6px; }
.casino-list-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }

.casino-select-item {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  padding: 16px 20px;
  border-radius: var(--md-shape-corner-large);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: var(--md-motion-standard);
  position: relative;
}
.casino-select-item:hover {
  border-color: var(--md-sys-color-primary);
  background: var(--md-sys-color-surface-container-highest);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
.casino-select-item.selected {
  border-color: var(--md-sys-color-success);
  background: var(--md-sys-color-surface-container-highest);
}

/* ADMIN DASHBOARD */
.admin-header { display: flex; justify-content: space-between; align-items: center; margin: 2rem 0; border-bottom: 1px solid var(--md-sys-color-outline-variant); padding-bottom: 1rem; flex-wrap: wrap; gap: 12px; }
.admin-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 32px; }
.admin-card { background: var(--md-sys-color-surface-container); border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-shape-corner-large); padding: 20px; box-shadow: var(--md-elevation-1); }
.admin-card h3 { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 1.15rem; color: var(--md-sys-color-on-surface); }
.admin-table { width: 100%; min-width: 650px; border-collapse: collapse; background: var(--md-sys-color-surface-container); border-radius: 16px; overflow: hidden; border: 1px solid var(--md-sys-color-outline-variant); }
.admin-table th, .admin-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--md-sys-color-outline-variant); }
.admin-filter-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;}
.admin-filter-tab { padding: 8px 18px; border-radius: 50px; background: var(--md-sys-color-surface-container); color: var(--md-sys-color-on-surface); text-decoration: none; font-weight: 600; cursor: pointer; border: 1px solid var(--md-sys-color-outline-variant); transition: var(--md-motion-standard); }
.admin-filter-tab.active { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }

.badge-status { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; display: inline-block; }
.badge-pending { background: rgba(254, 254, 67, 0.2); color: var(--md-sys-color-primary); }
.badge-approved { background: rgba(39, 201, 63, 0.2); color: var(--md-sys-color-success); }
.badge-rejected { background: rgba(255, 95, 86, 0.2); color: var(--md-sys-color-error); }

.btn-sm-approve { background: var(--md-sys-color-success); color: #000; border: none; padding: 6px 14px; border-radius: 50px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-sm-reject { background: transparent; border: 1px solid var(--md-sys-color-error); color: var(--md-sys-color-error); padding: 6px 14px; border-radius: 50px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block; }

/* USER DIRECTORY MODAL & ACCORDION */
.user-accordion-item {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-corner-medium);
  margin-bottom: 10px;
  transition: var(--md-motion-standard);
}
.user-accordion-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
}
.user-accordion-header:hover { background: rgba(255,255,255,0.05); }
.user-info-basic { display: flex; flex-direction: column; gap: 4px; }
.user-code { font-family: monospace; color: var(--md-sys-color-primary); font-size: 0.85rem; font-weight: 700; background: var(--md-sys-color-surface-container-highest); padding: 2px 8px; border-radius: 4px; display: inline-block; width: fit-content; }
.user-accordion-body {
  padding: 0 16px 16px;
  display: none;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  margin-top: 8px;
  padding-top: 16px;
}
.user-accordion-item.open .user-accordion-body { display: block; }
.user-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.user-detail-box {
  background: var(--md-sys-color-surface-container);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--md-sys-color-outline-variant);
}
.user-detail-label {
  font-size: 0.7rem;
  color: var(--md-sys-color-outline);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.user-detail-value {
  font-size: 0.9rem;
  color: #E2E2E9;
  font-weight: 600;
  word-break: break-word;
}
.expand-icon { transition: transform 0.3s ease; color: var(--md-sys-color-primary); font-weight: 900;}
.user-accordion-item.open .expand-icon { transform: rotate(180deg); }

/* MODAL BACKDROPS */
.tv-modal-backdrop, .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--md-motion-standard); padding: 16px; }
.tv-modal-backdrop.active, .modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-overlay .offer-card { max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; }
.modal-close-round { position: absolute; top: 16px; right: 16px; background: var(--md-sys-color-primary); color: #000; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; cursor: pointer; border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.5); z-index: 99;}
.modal-close-round:hover { transform: scale(1.1); }
.tv-casing { background: #111; border: 4px solid var(--md-sys-color-surface-container-highest); border-radius: var(--md-shape-corner-extra-large); padding: 12px; width: 95%; max-width: 880px; transform: scale(0.96); transition: var(--md-motion-spring); position: relative; }
.tv-modal-backdrop.active .tv-casing { transform: scale(1); }
.tv-screen { background: #000; border-radius: var(--md-shape-corner-large); overflow: hidden; position: relative; padding-bottom: 56.25%; }
.tv-screen iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }
.tv-power-light { width: 6px; height: 6px; background: #27C93F; border-radius: var(--md-shape-corner-full); margin: 8px auto 0; }
.tv-close { position: absolute; top: -16px; right: -16px; background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); width: 38px; height: 38px; border-radius: var(--md-shape-corner-full); display: flex; align-items: center; justify-content: center; font-weight: 900; cursor: pointer; border: none; font-size: 1.1rem; box-shadow: var(--md-elevation-2); z-index: 20;}

/* FOOTER */
footer { background: var(--md-sys-color-surface-dim); border-top: 1px solid var(--md-sys-color-outline-variant); padding: 3.5rem 0 2rem; font-size: 0.95rem; color: var(--md-sys-color-on-surface-variant); position: relative; z-index: 5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { font-size: 1rem; font-weight: 800; color: var(--md-sys-color-on-surface); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--md-sys-color-on-surface-variant); }
.footer-col ul li a:hover { color: var(--md-sys-color-primary); }
.welsh-flag-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; }
.welsh-flag-svg { width: 90px; height: auto; border-radius: var(--md-shape-corner-medium); border: 1px solid var(--md-sys-color-outline-variant); }
.footer-bottom { border-top: 1px solid var(--md-sys-color-outline-variant); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: var(--md-sys-color-outline); }

/* ADMIN CASINO TAB STYLES & DRAG */
input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    background: none;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 2px solid var(--md-sys-color-outline-variant); border-radius: 50%; }

.draggable-row { transition: background 0.2s; }
.draggable-row.dragging {
  opacity: 0.5;
  background: var(--md-sys-color-surface-container-highest) !important;
}
.drag-handle {
  cursor: grab;
  font-size: 1.4rem;
  color: var(--md-sys-color-outline);
  user-select: none;
  text-align: center;
  width: 40px;
}
.drag-handle:active {
  cursor: grabbing;
}

@media (max-width: 950px) {
  .split-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offer-row { grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 1.5rem; text-align: center; }
  .offer-row.has-badge, #featured-offer.has-badge { padding-top: 0; }
  .offer-badge-banner { margin: 0 -1.5rem 1rem -1.5rem; justify-content: center; text-align: center; }
  #featured-offer .offer-badge-banner { margin: 0 -1.5rem 1.4rem -1.5rem; }
  .offer-action { justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; padding: 30px 0; text-align: center; }
}

@media (max-width: 650px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo social" "nav nav";
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
  }
  .brand-logo { grid-area: logo; }
  .brand-logo-img { height: 36px; }
  .social-icons-group { grid-area: social; gap: 0.4rem; }
  .social-btn { width: 34px; height: 34px; }

  .nav-links {
    grid-area: nav;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 3px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-link { font-size: 0.82rem; padding: 0.4rem 0.75rem; flex-shrink: 0; }

  .hero-title { font-size: clamp(1.4rem, 6.5vw, 1.85rem); }
  .video-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; scrollbar-width: none; }
  .video-card { flex: 0 0 85%; max-width: 310px; scroll-snap-align: center; }

  .contact-container, .responsible-container { padding: 1.5rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .rg-badges-grid { grid-template-columns: 1fr; }
  a.rg-badge-pill { font-size: 0.75rem; padding: 0.6rem 0.5rem; }

  .lb-grid-row { grid-template-columns: 35px 1fr 90px 70px; padding: 12px; gap: 8px; }
  .lb-grid-row > *:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .user-detail-grid { grid-template-columns: 1fr; }
  .casino-modal-card { padding: 24px 16px; border-radius: 20px; }
  .casino-modal-title { font-size: 1.8rem; margin-bottom: 16px; }
  .share-grid { grid-template-columns: repeat(2, 1fr); }

  :root { --marquee-height: 48px; }
  .global-hero-marquee { font-size: 0.88rem; }
  .marquee-inner { padding: 0 0.8rem; gap: 0.6rem; }
  .marquee-item { font-size: 0.88rem; padding: 0 0.5rem; }
  .marquee-separator { padding: 0 0.75rem; font-size: 0.95rem; }
  .marquee-badge-label { display: none; }
  .marquee-badge { padding: 0.3rem 0.6rem; font-size: 0.78rem; }
  .marquee-cta-btn { padding: 0.32rem 0.75rem; font-size: 0.75rem; }
  .marquee-dismiss-btn { width: 28px; height: 28px; font-size: 0.85rem; }
}
