/* Jet4Bet Casino — Brand styles */
:root {
  --bg: #0a0e27;
  --bg-2: #11173a;
  --bg-3: #161d49;
  --card: #141a40;
  --card-2: #1a2155;
  --border: #2a3470;
  --text: #ffffff;
  --text-dim: #a8b1d4;
  --text-muted: #7d87b8;
  --primary: #6c5cff;
  --primary-2: #5746ff;
  --accent: #3a8bff;
  --yellow: #ffd24a;
  --orange: #ff8a3b;
  --green: #2bd49c;
  --danger: #ff4d6d;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #5fa3ff;
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  top: -200px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus {
  top: 8px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(108, 92, 255, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand img {
  height: 32px;
  width: auto;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
  font-weight: 500;
}
.nav-desktop a {
  color: var(--text-dim);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-desktop a:hover {
  color: var(--text);
  text-decoration: none;
}
.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 6px 20px rgba(108, 92, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(108, 92, 255, 0.5);
  color: #fff;
}
.btn-ghost {
  background: rgba(108, 92, 255, 0.1);
  color: var(--text);
  border-color: rgba(108, 92, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(108, 92, 255, 0.18);
  color: #fff;
}
.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #1a1a2e;
}
.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}
.btn-block {
  display: flex;
  width: 100%;
}

/* BURGER */
.burger {
  display: none;
  background: rgba(108, 92, 255, 0.1);
  border: 1px solid rgba(108, 92, 255, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE NAV — drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 24, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 110;
  cursor: pointer;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(108, 92, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #11173a 0%, #0a0e27 100%);
  border-left: 1px solid rgba(108, 92, 255, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.4, 1);
  box-shadow: -16px 0 60px rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
}
.mobile-nav.is-open {
  transform: translateX(0);
}

/* Head */
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  height: var(--header-h);
  border-bottom: 1px solid rgba(108, 92, 255, 0.2);
  flex-shrink: 0;
}
.mobile-nav-brand img {
  height: 28px;
  width: auto;
  display: block;
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(108, 92, 255, 0.12);
  border: 1px solid rgba(108, 92, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.mobile-nav-close:hover {
  background: rgba(108, 92, 255, 0.25);
}

/* CTA row */
.mobile-nav-cta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(108, 92, 255, 0.18);
  flex-shrink: 0;
}
.mobile-nav-register,
.mobile-nav-login {
  width: 100%;
  justify-content: center;
  padding: 13px 18px;
  font-size: 15px;
}

/* Body — scroll area */
.mobile-nav-body {
  overflow-y: auto;
  padding: 8px 12px 24px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-group {
  margin-top: 16px;
}
.mobile-nav-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
  padding: 0 8px;
}
.mobile-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-group li {
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.1s ease;
  position: relative;
}
.mobile-nav-link:hover {
  background: rgba(108, 92, 255, 0.1);
  text-decoration: none;
  border-color: rgba(108, 92, 255, 0.25);
  color: #fff;
}
.mobile-nav-link.is-active {
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.22), rgba(58, 139, 255, 0.14));
  border-color: rgba(108, 92, 255, 0.5);
  color: #fff;
}
.mobile-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.mobile-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(108, 92, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.12s ease, color 0.12s ease;
}
.mobile-nav-link:hover .mobile-nav-icon {
  background: rgba(108, 92, 255, 0.22);
  color: #b3a5ff;
}
.mobile-nav-link.is-active .mobile-nav-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.mobile-nav-label {
  flex: 1;
}
.mobile-nav-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.12s ease, color 0.12s ease;
}
.mobile-nav-link:hover .mobile-nav-chevron {
  color: var(--primary);
  transform: translateX(2px);
}

/* Foot */
.mobile-nav-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(108, 92, 255, 0.18);
  flex-shrink: 0;
}
.mobile-nav-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}
.mobile-nav-foot-link:hover {
  color: #fff;
  text-decoration: none;
}
.mobile-nav-licence {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

body.menu-open {
  overflow: hidden;
}

/* MAIN */
.main {
  min-height: calc(100vh - var(--header-h));
  padding: 24px 0 64px;
}
section {
  margin: 48px 0;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #fff;
}
h1 {
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  margin-top: 40px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-top: 24px;
}
p {
  margin: 0 0 14px;
  color: var(--text-dim);
}
.lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text);
  max-width: 760px;
}
strong,
b {
  color: #fff;
}
ul,
ol {
  padding-left: 22px;
  color: var(--text-dim);
}
li {
  margin-bottom: 6px;
}

/* HERO */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(108, 92, 255, 0.4), transparent 60%),
    radial-gradient(800px 300px at 90% 30%, rgba(58, 139, 255, 0.25), transparent 60%),
    linear-gradient(135deg, #16205c 0%, #0e1442 60%, #0a0e27 100%);
  border: 1px solid rgba(108, 92, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  margin-bottom: 32px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  margin-top: 0;
  margin-bottom: 12px;
}
.hero .lead {
  margin-bottom: 22px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1328 / 784;
}
.hero-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}
.hero-trust span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
}

/* CARDS */
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.card .card-cta {
  margin-top: auto;
  padding-top: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* IMAGE-LINKED CARDS (banner cards) */
.image-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.image-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: #fff;
}
.image-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1328 / 784;
  object-fit: cover;
  display: block;
}
.image-link.compact img {
  aspect-ratio: 16 / 9;
}
.image-link-content {
  padding: 16px 18px;
}
.image-link-content h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.image-link-content p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

/* BANNER STRIP */
.cta-banner {
  background:
    radial-gradient(800px 300px at 80% 50%, rgba(58, 139, 255, 0.3), transparent 60%),
    linear-gradient(135deg, var(--primary-2), #2c2693);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin: 36px 0;
}
.cta-banner h2 {
  margin: 0 0 8px;
}
.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

/* TABLES */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 14px;
  min-width: 480px;
}
th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
th {
  background: var(--bg-3);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: rgba(108, 92, 255, 0.06);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details > div {
  padding: 0 20px 18px;
  color: var(--text-dim);
}

/* CHIPS / TAGS */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.chip {
  background: rgba(108, 92, 255, 0.1);
  border: 1px solid rgba(108, 92, 255, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* BONUS BOX */
.bonus-box {
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.18), rgba(58, 139, 255, 0.12));
  border: 1px solid rgba(108, 92, 255, 0.4);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 18px 0;
}
.bonus-box strong {
  color: var(--yellow);
}

/* INFO / RG / WARN */
.callout {
  background: var(--card);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0;
  color: var(--text-dim);
}
.callout.warn {
  border-left-color: var(--orange);
  background: rgba(255, 138, 59, 0.08);
}
.callout.rg {
  border-left-color: var(--green);
  background: rgba(43, 212, 156, 0.06);
}

/* STEPS */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.step p {
  margin: 0;
  font-size: 14px;
}

/* PROVIDER STRIP */
.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.providers span {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

/* FOOTER */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid rgba(108, 92, 255, 0.2);
  padding: 48px 0 24px;
  margin-top: 64px;
  font-size: 14px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.footer-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin: 0 0 8px;
}
.site-footer ul a {
  color: var(--text-dim);
  font-size: 14px;
}
.site-footer ul a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-regulators {
  border-top: 1px solid rgba(108, 92, 255, 0.18);
  padding-top: 28px;
  margin-bottom: 28px;
}
.regulator-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  align-items: center;
}
.regulator {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  height: 76px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.regulator-dark {
  background: linear-gradient(135deg, #1a234e, #11173a);
  border-color: rgba(108, 92, 255, 0.4);
}
.regulator:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.regulator img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(108, 92, 255, 0.18);
  padding-top: 22px;
  color: var(--text-muted);
}
.footer-bottom .age {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.age-badge {
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.footer-bottom .legal {
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-bottom .copy {
  font-size: 12px;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .nav-desktop {
    gap: 14px;
  }
  .nav-desktop a {
    font-size: 13px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .regulator-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 880px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 14px;
  }
  .hero {
    padding: 24px 18px;
  }
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .regulator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    padding: 22px;
  }
  section {
    margin: 32px 0;
  }
}
