:root {
  --bg: #09090b;
  --panel: #151519;
  --panel2: #202024;
  --line: #333238;
  --pink: #ff9f1a;
  --pink2: #ffb22d;
  --text: #f8f7f5;
  --muted: #aaa8b0;
  --gold: #ffb020;
  --violet: #6d3686;
}

body {
  background:
    radial-gradient(circle at 78% 4%, rgba(112, 59, 139, .13), transparent 34%),
    #08080a;
}

.site-header {
  background: rgba(7, 7, 9, .97);
  border-bottom-color: #222126;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}
.site-header .brand { display: none; }
.desktop-nav { display: none; }
.header-actions { margin-left: auto; }
.round-action { border-radius: 12px; background: #17171a; }
.login-button,
.register-button,
.balance-button {
  min-height: 46px;
  border-radius: 14px;
  padding: 0 24px;
  border: 1px solid #3c3b40;
  font-weight: 900;
  cursor: pointer;
}
.login-button { background: #29292c; border-color: #333338; color: #f7f6f4; }
.register-button { background: #a95714; border-color: #b9651c; color: #0b0907; }
.login-button:hover,
.register-button:hover { border-color: var(--gold); filter: brightness(1.08); }

.betados-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: 320px;
  padding: 25px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #08080a;
  border-right: 1px solid #202024;
  overflow-y: auto;
}
.sidebar-brand { display: flex; align-items: center; gap: 15px; min-height: 72px; }
.sidebar-brand a { flex: 1; min-width: 0; }
.sidebar-brand img { display: block; width: 100%; max-width: 205px; height: auto; }
.sidebar-brand > button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 17px;
  background: #17171a;
  color: #a3a1aa;
  font-size: 25px;
  cursor: pointer;
}
.betados-sidebar > small {
  color: #77747f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}
.betados-sidebar nav { display: grid; gap: 9px; }
.betados-sidebar nav button {
  min-height: 64px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #19191d;
  color: #aaa8af;
  text-align: left;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}
.betados-sidebar nav button span { color: #77747f; font-size: 21px; text-align: center; }
.betados-sidebar nav button:hover,
.betados-sidebar nav button.active { background: #242325; color: #fff; border-color: #343237; }
.betados-sidebar nav button:hover span,
.betados-sidebar nav button.active span { color: var(--gold); }
.sidebar-bonus {
  min-height: 150px;
  margin-top: auto;
  padding: 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #513213;
  border-radius: 17px;
  background:
    radial-gradient(circle at 85% 55%, rgba(255, 176, 32, .48), transparent 24%),
    linear-gradient(135deg, #241e18, #181719);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.sidebar-bonus strong { font-size: 21px; line-height: 1.05; }
.sidebar-bonus span { padding: 10px 18px; border-radius: 9px; background: #a95917; color: #100b07; font-weight: 900; }

main,
footer,
.site-header { margin-left: 320px; }
main { width: auto; max-width: 1700px; }

.hero-carousel {
  border-radius: 22px;
  border: 1px solid #2b2930;
  background: #17131d;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .34);
}
.hero-slides { aspect-ratio: 2.8 / 1; max-height: 385px; }
.betados-hero img { object-position: center; }
.carousel-dots button.active { background: var(--gold); }

.betados-modules {
  margin: 24px 0;
  padding: 19px;
  border: 1px solid #29282d;
  border-radius: 17px;
  background: #111114;
}
.module-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.module-heading > span { width: 5px; height: 26px; border-radius: 5px; background: var(--gold); }
.module-heading h2 { margin: 0; font-size: 22px; }
.module-heading small { margin-left: auto; color: #8e8a94; font-weight: 900; }
.module-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.module-grid button {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid #323137;
  border-radius: 14px;
  background: #151519;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.module-grid button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(8, 8, 10, .94) 90%); }
.module-grid button:hover,
.module-grid button:focus-visible { border-color: var(--gold); box-shadow: 0 0 24px rgba(255, 159, 26, .17); outline: none; }
.module-grid button > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.module-grid button[data-sports-launch="horses-race"] > img,
.module-grid button[data-sports-launch^="sportsbook"] > img { object-fit: contain; padding: 4%; background: #0a090d; }
.module-grid button > span { position: absolute; z-index: 2; left: 11px; right: 8px; bottom: 10px; }
.module-grid strong,
.module-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.module-grid strong { font-size: 13px; }
.module-grid small { margin-top: 2px; color: #b1aeb7; font-size: 9px; }
.module-grid em { position: absolute; z-index: 3; top: 8px; right: 8px; padding: 4px 7px; border-radius: 5px; background: #d95027; font-size: 8px; font-style: normal; font-weight: 950; }

.category-rail button,
.provider-rail,
.new-provider-cards button,
.game-card { background: linear-gradient(145deg, #202024, #141417); border-color: #302f34; }
.category-rail button.active,
.category-rail button:hover,
.game-card:hover { border-color: var(--gold); }
.provider-all { background: #2c2116; border-color: #6b4318; color: var(--gold); }
.provider-logo { background: #101013; border-color: #343238; }
.provider-tab.active .provider-logo,
.provider-tab:hover .provider-logo { border-color: var(--gold); }
.new-provider-section h2 > span,
.pink-bar { background: var(--gold); }
.category-chip.active,
.category-chip:hover { background: #3a2614; border-color: var(--gold); }
.primary-submit { background: linear-gradient(105deg, #ffa51f, #ffbd31); color: #171006; }
.modal { border-color: #3b393e; background: #242428; }
.play-overlay { background: rgba(178, 93, 18, .76); }
.play-overlay::after { color: #a85813; }

.auth-dialog { width: min(565px, calc(100vw - 28px)); padding: 0; overflow-x: hidden; overflow-y: auto; border-radius: 26px; }
.betados-auth-banner {
  min-height: 176px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(34, 17, 48, .18), rgba(255, 140, 19, .08)),
    url("assets/betados/hero.png") center / cover;
  border-bottom: 1px solid #39363d;
}
.betados-auth-banner .modal-logo { width: min(250px, 60%); margin: 0; filter: drop-shadow(0 8px 15px rgba(0, 0, 0, .55)); }
.auth-dialog .modal-close { z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: rgba(20, 18, 23, .65); color: #fff; }
.auth-dialog .auth-panel { padding: 32px 46px 38px; }
.auth-panel > h2 { margin: 0; text-align: center; font-size: 31px; }
.auth-panel > p#authTitle { margin: 8px 0 24px; text-align: center; color: #b3b0ba; }
.auth-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; margin-bottom: 27px; border-radius: 14px; background: #38373d; }
.auth-mode-tab { min-height: 48px; border: 0; border-radius: 11px; background: transparent; color: #fff; font-weight: 900; cursor: pointer; }
.auth-mode-tab.active { background: var(--gold); color: #1b1208; }
.auth-panel form > label { letter-spacing: .12em; color: #c7c3cd; }
.input-shell { border-radius: 13px; background: #151518; border-color: #333238; }
.age-confirmation { letter-spacing: 0 !important; line-height: 1.4; }
.age-confirmation input { width: 18px !important; height: 18px !important; min-height: 18px !important; margin: 0 !important; flex: 0 0 auto; accent-color: var(--gold); }
.auth-switch button { color: var(--gold); }

.betados-actions { position: fixed; right: 18px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.betados-actions-trigger { width: 76px; height: 64px; border: 1px solid #ffbc43; border-radius: 14px; background: linear-gradient(135deg, #ff9f1a, #8c4812); color: #160e06; display: grid; place-items: center; cursor: pointer; box-shadow: 0 15px 34px rgba(0, 0, 0, .42); }
.betados-actions-trigger .dice-icon { position: relative; display: block; width: 27px; height: 27px; border: 2px solid #1c1207; border-radius: 6px; background: linear-gradient(135deg, #ffe1a0, #ff9f1a); box-shadow: inset 0 0 8px #fff8; }
.dice-icon i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #1c1207; }
.dice-icon i:nth-child(1) { left: 5px; top: 5px; }
.dice-icon i:nth-child(2) { right: 5px; top: 5px; }
.dice-icon i:nth-child(3) { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dice-icon i:nth-child(4) { left: 5px; bottom: 5px; }
.dice-icon i:nth-child(5) { right: 5px; bottom: 5px; }
.betados-actions-trigger small { font-size: 10px; font-weight: 950; }
.betados-actions-menu { display: grid; gap: 8px; width: 208px; }
.betados-actions-menu[hidden] { display: none !important; }
.betados-actions-menu button { min-height: 50px; border: 1px solid #4d3a25; border-radius: 12px; background: #201b16; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; padding: 7px 13px; text-align: left; font-weight: 850; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.betados-actions-menu img { width: 34px; height: 34px; object-fit: contain; }

@media (max-width: 1180px) {
  .betados-sidebar { width: 250px; padding: 20px 18px; }
  .betados-sidebar nav button { min-height: 55px; }
  main,
  footer,
  .site-header { margin-left: 250px; }
  .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .betados-sidebar { display: none; }
  main,
  footer,
  .site-header { margin-left: 0; }
  .site-header .brand { display: flex; width: 138px; }
  .register-button { min-height: 38px; padding: 0 12px; font-size: 10px; }
  .login-button { min-width: 75px; padding: 0 11px; font-size: 10px; }
  .hero-slides { aspect-ratio: 2.45 / 1; }
  .betados-modules { margin: 11px 0 14px; padding: 11px 8px; }
  .module-heading { margin: 0 4px 10px; }
  .module-heading h2 { font-size: 17px; }
  .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .module-grid button { aspect-ratio: 1.12 / 1; }
  .module-grid button > span { left: 7px; right: 6px; bottom: 7px; }
  .module-grid strong { font-size: 10px; }
  .module-grid small { font-size: 8px; }
  .betados-actions { right: 10px; bottom: 76px; }
  .betados-actions-trigger { width: 62px; height: 56px; }
  .auth-dialog { top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 20px)); max-height: 94vh; border-radius: 22px; }
  .betados-auth-banner { min-height: 124px; }
  .auth-dialog .auth-panel { padding: 24px 22px 30px; }
  .auth-panel > h2 { font-size: 25px; }
}

@media (max-width: 470px) {
  .site-header .brand { width: 112px; }
  .round-action.search-action { display: none; }
  .register-button { padding: 0 9px; }
  .hero-slides { aspect-ratio: 2.15 / 1; }
  .module-heading small { display: none; }
  .module-grid button { min-height: 100px; }
  .betados-auth-banner { min-height: 105px; }
  .auth-dialog .auth-panel { padding: 21px 16px 26px; }
  .auth-mode-tabs { margin-bottom: 19px; }
}

/* On mobile the permanent navigation already exposes these destinations. */
.age-confirmation input { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden; opacity: 0; pointer-events: none; }
.age-confirmation { display: block !important; letter-spacing: 0 !important; color: #c9c3cf !important; font-size: 12px !important; }
.age-confirmation.hidden { display: none !important; }
@media (max-width: 820px) {
  .betados-modules { display: none !important; }
}

/* Preserve the complete campaign artwork on every viewport. */
.hero-slides { aspect-ratio: 5 / 2 !important; max-height: 560px; }
.hero-slide img,
.betados-hero img { object-fit: contain !important; object-position: center !important; background: #08080a; }
