:root {
  --color-bg: #0f0f1a;
  --color-text: #ffffff;
  --color-accent: #00d4ff;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.no-scroll {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 212, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 34%);
  z-index: -1;
}

body.no-scroll {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.86);
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #061017;
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.34);
}

.brand-text {
  font-size: 1.08rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
}

.desktop-nav a,
.footer-brand {
  transition: color 220ms ease, text-shadow 220ms ease;
}

.desktop-nav a:hover,
.footer-brand:hover {
  color: var(--color-accent);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
}

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

.mobile-action-bar {
  display: none;
}

.btn,
.mobile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}

.btn:hover,
.mobile-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--primary,
.mobile-action--filled {
  background: var(--color-accent);
  color: #061017;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.24);
}

.btn--ghost,
.mobile-action--outline {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.54);
  color: var(--color-accent);
}

.btn--large {
  min-height: 54px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px 0 64px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(15,15,26,0.96) 0%, rgba(15,15,26,0.74) 45%, rgba(15,15,26,0.28) 100%),
    url("img/le-cowboy-hero.webp") center / cover no-repeat,
    linear-gradient(115deg, transparent 58%, rgba(0, 212, 255, 0.16) 58.4%, transparent 59%),
    radial-gradient(circle at 78% 44%, transparent 0 6%, rgba(0, 212, 255, 0.18) 6.4% 7.2%, transparent 7.6%),
    radial-gradient(circle at 78% 44%, transparent 0 12%, rgba(255,255,255,0.08) 12.4% 13.2%, transparent 13.6%),
    radial-gradient(circle at 78% 44%, transparent 0 18%, rgba(0, 212, 255, 0.12) 18.4% 19.2%, transparent 19.6%),
    radial-gradient(circle at 78% 42%, rgba(0, 212, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #141421 0%, #0f0f1a 55%, #081823 100%);
  transform: scale(1.01);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(15,15,26,0.05), var(--color-bg));
}

.hero-inner,
.section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 380px;
  gap: 48px;
  align-items: end;
}

.hero-copy {
  max-width: 720px;
}

.provider-badge,
.section-kicker,
.popup-badge,
.top-pick {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
  color: var(--color-accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-secondary);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  margin-top: 18px;
  max-width: 850px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  font-weight: 900;
}

h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.hero-copy p {
  max-width: 660px;
  margin-top: 22px;
  font-size: 1.1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.hero-badges span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.hero-panel,
.note-box,
.stats-grid article,
.feature-card,
.tips-grid article,
.faq-item,
.popup-card {
  background: rgba(0, 212, 255, 0.065);
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.panel-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.panel-stat:last-child {
  border-bottom: 0;
}

.panel-stat span {
  color: rgba(255,255,255,0.62);
}

.panel-stat strong {
  text-align: right;
}

.section {
  padding: 80px 0;
}

.two-column,
.tips-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-top: 28px;
}

.two-column p + p {
  margin-top: 16px;
}

.note-box,
.tips-grid article {
  border-radius: var(--radius);
  padding: 24px;
}

.note-box p,
.tips-grid p,
.feature-card p {
  margin-top: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stats-grid article {
  min-height: 138px;
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  align-content: space-between;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stats-grid article:hover,
.feature-card:hover,
.tips-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.42);
  box-shadow: 0 10px 34px rgba(0, 212, 255, 0.1), var(--shadow);
}

.stats-grid span {
  color: rgba(255,255,255,0.62);
  font-weight: 700;
}

.stats-grid strong {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.feature-card {
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card--wide {
  grid-column: span 2;
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--color-accent);
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.table-shell {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(0, 212, 255, 0.045);
}

th,
td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: middle;
}

th {
  color: rgba(255,255,255,0.68);
  font-size: 0.85rem;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.025);
}

tbody tr.top-row {
  box-shadow: inset 4px 0 0 var(--color-accent);
}

.casino-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.casino-logo {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-weight: 900;
  color: #071016;
}

.logo-a { background: #00d4ff; }
.logo-b { background: #8ce99a; }
.logo-c { background: #ffd166; }
.logo-d { background: #ff8fab; }

.top-pick {
  padding: 4px 8px;
  font-size: 0.68rem;
}

.stars {
  color: #ffd166;
  letter-spacing: 0;
  white-space: nowrap;
}

.table-btn {
  min-width: 132px;
}

.tips-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: 800 1rem var(--font-primary);
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.14);
  color: var(--color-accent);
  transition: transform 220ms ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-answer p {
  overflow: hidden;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 20px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.site-footer {
  padding: 42px 0 54px;
  border-top: 1px solid rgba(0, 212, 255, 0.16);
}

.site-footer p {
  max-width: 760px;
  margin-top: 12px;
  font-size: 0.95rem;
}

.error-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(15,15,26,0.94), rgba(15,15,26,0.68)),
    url("img/le-cowboy-hero.webp") center / cover no-repeat,
    linear-gradient(135deg, #11111d, #08202a);
}

.error-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 54px);
  border-radius: 18px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.28);
  box-shadow: var(--shadow);
}

.error-card h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.error-card p {
  margin: 18px 0 28px;
  max-width: 560px;
}

.popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup.active {
  display: flex;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.popup-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: 16px;
  padding: 32px;
  background: rgba(15, 15, 26, 0.96);
  border-color: rgba(0, 212, 255, 0.72);
  box-shadow: 0 0 42px rgba(0, 212, 255, 0.28), var(--shadow);
  animation: popupIn 300ms ease both;
}

.popup-card h2 {
  margin-top: 14px;
}

.popup-card p {
  margin: 14px 0 22px;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.popup-cta {
  width: 100%;
}

.error-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.error-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border-radius: 18px;
  background: rgba(0, 212, 255, 0.065);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-card p {
  margin: 18px auto 28px;
  max-width: 520px;
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1199px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 44px;
  }

  .mobile-action-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 44px;
    background: rgba(15, 15, 26, 0.98);
  }

  .mobile-action {
    height: 44px;
    min-height: 44px;
    border-radius: 0;
    font-size: 0.95rem;
  }

  .header-inner {
    min-height: 64px;
  }

  .site-header {
    top: 44px;
  }

  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 48px;
  }

  .hero-media {
    background-position: center right 32%;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-badges span {
    width: 100%;
  }

  .hero-panel,
  .note-box,
  .feature-card,
  .tips-grid article,
  .popup-card {
    padding: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .two-column,
  .stats-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--wide {
    grid-column: auto;
  }

  th:nth-child(2),
  td:nth-child(2) {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #101524;
    box-shadow: 8px 0 18px rgba(0,0,0,0.24);
  }

  th:last-child,
  td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #101524;
    box-shadow: -8px 0 18px rgba(0,0,0,0.24);
  }

  .casino-cell {
    min-width: 230px;
  }
}

@media (max-width: 440px) {
  .hero-inner,
  .section,
  .site-footer,
  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .panel-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .panel-stat strong {
    text-align: left;
  }

  th,
  td {
    padding: 14px;
  }
}
