@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

:root {
  --bg: #0b0614;
  --bg-elev: #12091f;
  --surface: #1a102c;
  --surface-2: #24163d;
  --line: rgba(167, 119, 255, 0.18);
  --purple: #7b3dff;
  --purple-2: #9b5cff;
  --purple-deep: #5b21ea;
  --violet: #6d28d9;
  --orange: #ff8a00;
  --orange-2: #ffb020;
  --text: #f6f0ff;
  --muted: #b7a4d4;
  --live: #22c55e;
  --danger: #ef4444;
  --radius: 18px;
  --header-h: 72px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font: "Poppins", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 500px at 50% -10%, #2a1458 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: clip;
}

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

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

button,
input {
  font-family: inherit;
}

.wrap {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 6, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  justify-self: start;
}

.logo-stark {
  color: var(--purple-2);
}

.logo-bet {
  color: var(--orange);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}

.nav-main a {
  padding: 10px 12px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #d8c8f2;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-main a:hover,
.nav-main a.is-active {
  color: #fff;
}

.nav-main a.is-active {
  color: var(--orange);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  margin-right: 6px;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-login {
  background: linear-gradient(180deg, #8b5cf6, var(--purple-deep));
  color: #fff;
  min-height: 40px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(91, 33, 234, 0.35);
}

.btn-reg {
  background: linear-gradient(180deg, #ffb020, var(--orange));
  color: #2b1200;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #fff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.search-row {
  padding: 18px 0 8px;
}

.search-box {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #1a102c;
  color: #fff;
  padding: 0 20px 0 46px;
  outline: none;
}

.search-box input::placeholder {
  color: #8e7aae;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.search-empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 12px;
}

.search-empty.is-on {
  display: block;
}

/* Hero */
.hero {
  padding: 10px 0 8px;
}

.slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.slide {
  display: none;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  height: 280px;
  background-color: #1a0a32;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.slide.is-on {
  display: block;
  animation: fade 0.45s ease;
}

@keyframes fade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.slide-copy {
  position: relative;
  z-index: 2;
  max-width: 56%;
  min-height: 280px;
  padding: 42px 28px 42px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  background: linear-gradient(90deg, rgba(12, 4, 28, 0.72) 0%, rgba(12, 4, 28, 0.28) 62%, rgba(12, 4, 28, 0) 100%);
}

.slide h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.slide p {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  color: #efe6ff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.slide-visual {
  display: none;
}

/* Slider dots v5 — active mark IS header .live-dot (8x8). Button never paints. */
.dots,
.dots[data-dots] {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 0 4px;
}

.dots button,
.dots[data-dots] button,
.dots button.is-on,
.dots[data-dots] button.is-on {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 28px !important;
  max-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  transform: none !important;
  font-size: 0;
  line-height: 0;
  overflow: visible;
  color: transparent !important;
}

.dots button::before,
.dots[data-dots] button::before,
.dots button.is-on::before,
.dots[data-dots] button.is-on::before {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Fallback only when JS has not inserted a mark (empty button). */
.dots button:empty::after,
.dots[data-dots] button:empty::after {
  content: "" !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px !important;
  height: 2px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 10px !important;
  max-height: 2px !important;
  margin: -1px 0 0 -5px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 99px;
  background: #4a3d5c !important;
  background-color: #4a3d5c !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none;
}

.dots button.is-on:empty::after,
.dots[data-dots] button.is-on:empty::after {
  width: 8px !important;
  height: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 8px !important;
  max-height: 8px !important;
  margin: -4px 0 0 -4px;
  border-radius: 50% !important;
  background: #22c55e !important;
  background-color: #22c55e !important;
}

.dots button:not(:empty)::after,
.dots[data-dots] button:not(:empty)::after {
  content: none !important;
  display: none !important;
}

.dots .dot-dash {
  display: block;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: #4a3d5c;
  box-shadow: none;
  margin: 0;
  flex: none;
  pointer-events: none;
}

.dots .live-dot,
.dots[data-dots] .live-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  margin: 0 !important;
  flex: none;
  pointer-events: none;
}

/* Quick icons */
.quick-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 18px 0 8px;
}

.quick-card {
  background: linear-gradient(180deg, #2b1a4a, #22143c);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #efe6ff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 6px 10px;
}

.quick-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
}

.quick-card:hover {
  border-color: rgba(155, 92, 255, 0.55);
  transform: translateY(-2px);
  transition: 0.15s ease;
}

/* Sections */
.section {
  padding: 22px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.more-link {
  color: #cbb6ef;
  font-size: 14px;
}

.more-link:hover {
  color: #fff;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.game-card {
  min-width: 0;
}

.thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #1a102c;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover .thumb img {
  transform: scale(1.06);
}

.thumb-actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(12, 6, 28, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .thumb-actions,
.game-card:focus-within .thumb-actions {
  opacity: 1;
}

.play-btn,
.demo-btn {
  min-width: 110px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.play-btn {
  background: linear-gradient(180deg, #8b5cf6, var(--purple-deep));
  color: #fff;
}

.demo-btn {
  background: #fff;
  color: #2a1050;
}

.game-name {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  color: #d7c8ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hidden-by-search {
  display: none !important;
}

/* Sports */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.sport-card {
  background: linear-gradient(180deg, #2c1b4d, #22143d);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.sport-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
}

.sport-card:hover {
  border-color: rgba(155, 92, 255, 0.5);
}

/* Winners */
.winners {
  overflow: hidden;
  border-radius: 14px;
  background: #160c28;
  border: 1px solid var(--line);
}

.winners-track {
  display: flex;
  gap: 18px;
  padding: 10px 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.winner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 210px;
  font-size: 12px;
  color: #d7c8ef;
}

.winner img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.winner b {
  color: #fff;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Bonuses */
.bonus-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bonus-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 168px;
  background: #3b1070 center / cover no-repeat;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.bonus-card h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

.bonus-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.bonus-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.btn-yellow {
  background: linear-gradient(180deg, #ffd24a, #f5a300);
  color: #3b2200;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.site-footer {
  margin-top: 28px;
  background: linear-gradient(180deg, #6d28d9 0%, #5b21ea 42%, #4c1d95 100%);
  color: #f4edff;
  padding: 36px 0 20px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-flex;
}

.site-footer .logo-stark {
  color: #ffffff;
}

.site-footer .logo-bet {
  color: #ffb020;
}

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

.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: #efe6ff;
  font-size: 14px;
  margin: 0 0 8px;
  opacity: 0.92;
}

.footer-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}

.providers {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  margin: 28px 0 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 6px;
}

.providers img {
  height: 36px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.legal-note {
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.9;
  margin: 0;
}

.store-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-btn {
  background: #111;
  color: #fff;
  min-height: 46px;
  padding: 6px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  font-size: 11px;
  line-height: 1.1;
  text-align: left;
}

.store-btn b {
  display: block;
  font-size: 13px;
}

/* SEO accordion */
.seo-box,
.mini-acc {
  background: #f3edff;
  color: #24143d;
  border-radius: 16px;
  margin: 16px auto 0;
}

.seo-box {
  width: min(1240px, calc(100% - 32px));
}

.seo-toggle,
.mini-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.seo-toggle::-webkit-details-marker,
.mini-acc summary::-webkit-details-marker,
.seo-toggle::marker,
.mini-acc summary::marker {
  display: none;
  content: "";
}

.seo-toggle::after,
.mini-acc summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: auto;
  background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c1d95' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.seo-box[open] > .seo-toggle::after,
.mini-acc[open] > summary::after {
  transform: rotate(180deg);
}

.seo-body {
  padding: 4px 28px 28px;
}

.seo-body h2,
.seo-body h3 {
  color: #1a0d30;
  margin: 22px 0 8px;
}

.seo-body p,
.seo-body li {
  color: #33244d;
  font-size: 14.5px;
}

.seo-body ul {
  padding-left: 18px;
}

.seo-body a {
  color: #3b1d7a;
  text-decoration: underline;
}

.faq dt {
  font-weight: 700;
  margin-top: 14px;
}

.faq dd {
  margin: 4px 0 0;
}

.mini-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 12px auto 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: start;
}

.mini-acc {
  margin: 0;
  align-self: start;
  height: max-content;
}

.mini-acc:not([open]) > *:not(summary) {
  display: none;
}

.mini-acc a {
  display: block;
  margin: 0 10px 8px 18px;
  color: #4c1d95;
  font-size: 13px;
}

.copy-line {
  text-align: center;
  font-size: 12px;
  opacity: 0.8;
  margin: 16px 0 0;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #6d28d9;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-on {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
}

.page-hero {
  padding: 28px 0 8px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.inner-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  color: #ddd0f5;
}

/* Mobile */
@media (max-width: 1100px) {
  .game-grid,
  .sports-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quick-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .bonus-row {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #140a24;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 10px;
    justify-self: stretch;
    z-index: 70;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main a {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
  }
}

@media (max-width: 860px) {
  .slide.is-on {
    display: block;
  }

  .slide-copy {
    max-width: 100%;
    min-height: 200px;
    padding: 28px 22px 20px;
  }

  .slide h2 {
    font-size: clamp(22px, 7vw, 34px);
    overflow-wrap: anywhere;
  }

  .slide-visual {
    display: none;
  }

  .game-grid,
  .sports-grid,
  .quick-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid,
  .footer-bottom,
  .mini-wrap {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-items: start;
  }

  .thumb-actions {
    opacity: 1;
    background: linear-gradient(180deg, transparent 38%, rgba(12, 6, 28, 0.78));
    justify-content: flex-end;
    padding: 8px;
  }

  .play-btn,
  .demo-btn {
    min-width: 92px;
    min-height: 40px;
  }

  .odd {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .filters button,
  .view-tabs button,
  .mode-tabs button,
  .cat-tabs button {
    min-height: 44px;
  }

  .seo-body {
    padding: 4px 16px 22px;
  }

  .seo-toggle,
  .mini-acc summary {
    padding: 14px 16px;
    min-height: 48px;
  }
}

@media (max-width: 560px) {
  .logo {
    font-size: 20px;
  }

  .btn-login,
  .btn-reg {
    padding: 0 10px;
    min-height: 44px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

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

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

  .wrap {
    width: min(1240px, calc(100% - 18px));
  }

  .live-top h1,
  .casino-main h1,
  .bonus-shell h1 {
    font-size: 22px;
  }
}

/* Live betting board */
.live-shell {
  width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 10px;
}

.live-top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.live-top h1 {
  margin: 0;
  font-size: 28px;
}

.live-top .lead {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.live-promo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 110px;
  box-shadow: var(--shadow);
}

.live-promo .slide {
  min-height: 110px;
  height: 110px;
  background-color: #1a0a32;
  background-size: cover;
  background-position: right center;
}

.live-promo .slide.is-on {
  display: block;
  height: 110px;
}

.live-promo .slide-copy {
  position: relative;
  z-index: 2;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(12, 4, 28, 0.7) 0%, rgba(12, 4, 28, 0.2) 70%, rgba(12, 4, 28, 0) 100%);
  width: auto;
  max-width: 72%;
  min-height: 110px;
  gap: 4px;
}

.live-promo h2 {
  font-size: 18px;
  text-transform: uppercase;
}

.live-promo p {
  font-size: 13px;
}

.live-promo .btn {
  min-height: 32px;
  padding: 0 14px;
  font-size: 12px;
}

.live-board {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 250px;
  gap: 12px;
  align-items: start;
}

.live-aside,
.betslip,
.match,
.live-center {
  background: #140b24;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.live-aside {
  padding: 12px 10px 16px;
}

.mode-tabs,
.cat-tabs {
  display: flex;
  gap: 6px;
  background: #0e0718;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 10px;
}

.mode-tabs button,
.cat-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: #cbb6ef;
  min-height: 34px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.mode-tabs button.is-on,
.cat-tabs button.is-on {
  background: var(--purple);
  color: #fff;
}

.aside-tools {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}

.aside-tools a {
  flex: 1;
  font-size: 12px;
  color: #d7c8ef;
  background: #1c1230;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.now-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.now-list a {
  font-size: 12px;
  color: #d7c8ef;
  padding: 8px;
  border-radius: 10px;
  background: #1c1230;
}

.now-list a small {
  display: block;
  color: #8e7aae;
}

.side-sport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px;
  border-radius: 10px;
  color: #e8dcff;
  font-size: 13px;
}

.side-sport:hover,
.side-sport.is-on {
  background: #24163d;
}

.side-sport span {
  color: #8e7aae;
  font-size: 12px;
}

.live-center {
  padding: 12px 12px 18px;
  overflow: hidden;
}

.live-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 20px;
}

.view-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.view-tabs button {
  border: 1px solid var(--line);
  background: #1c1230;
  color: #d7c8ef;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-tabs button.is-on {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.view-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.filters button {
  border: 0;
  background: #1c1230;
  color: #d7c8ef;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.filters button.is-on {
  background: var(--purple);
  color: #fff;
}

.match {
  margin-bottom: 10px;
  padding: 10px 12px 12px;
}

.match-league {
  font-size: 12px;
  color: #b7a4d4;
  margin-bottom: 8px;
}

.match-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 10px;
}

.kick {
  font-size: 12px;
  color: var(--live);
  font-weight: 700;
  margin-bottom: 6px;
}

.kick.soon {
  color: #ffb020;
}

.team {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 3px 0;
}

.team b {
  color: #fff;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.odds-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.odds-col span {
  display: block;
  font-size: 11px;
  color: #9b8bb8;
  min-height: 28px;
}

.odds-pair {
  display: grid;
  gap: 4px;
}

.odd {
  display: block;
  text-align: center;
  background: #24163d;
  border-radius: 8px;
  padding: 7px 6px;
  font-size: 13px;
  font-weight: 700;
}

.odd:hover {
  background: var(--purple);
}

.all-markets {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #cbb6ef;
  font-size: 13px;
}

.break-head {
  margin: 16px 0 8px;
  font-size: 18px;
}

.odds-foot {
  position: relative;
  text-align: center;
  color: #8e7aae;
  font-size: 12px;
  padding: 18px 12px 8px;
}

.format-btn {
  border: 0;
  background: transparent;
  color: #e8dcff;
  font-weight: 700;
  cursor: pointer;
}

.odds-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #1c1230;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  z-index: 8;
}

.odds-menu.is-on {
  display: block;
}

.odds-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #efe6ff;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.odds-menu button:hover {
  background: #2a1848;
}

.live-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.betslip {
  padding: 12px;
}

.betslip h3 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.slip-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.slip-tabs span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #1c1230;
  color: #cbb6ef;
}

.slip-tabs span.is-on {
  background: var(--purple);
  color: #fff;
}

.slip-empty {
  background: #1c1230;
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  color: #cbb6ef;
  margin-bottom: 10px;
}

.ghost-field,
.ghost-btn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
  background: #22163a;
  color: #efe6ff;
  font-size: 13px;
}

.live-rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #d7c8ef;
  text-align: center;
}

.live-rail img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 1200px) {
  .live-board {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .live-right {
    display: none;
  }
}

@media (max-width: 860px) {
  .live-top,
  .live-board,
  .match-body {
    grid-template-columns: 1fr;
  }

  .live-aside {
    display: none;
  }
}

/* Casino lobby */
.casino-shell {
  width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 72px;
  gap: 16px;
  padding: 18px 0 12px;
  align-items: start;
}

.casino-aside {
  position: sticky;
  top: 86px;
  background: #140b24;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 10px 16px;
  max-height: calc(100vh - 104px);
  overflow: auto;
}

.cat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8e7aae;
  font-weight: 700;
  padding: 0 10px 8px;
}

.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: #e8dcff;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
}

.cat-item {
  gap: 8px;
}

.cat-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.88;
}

.cat-name {
  flex: 1;
}

.cat-item span {
  color: #8e7aae;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

.cat-item:hover,
.cat-item.is-on {
  background: #24163d;
}

.casino-main h1 {
  margin: 0 0 12px;
  font-size: 28px;
}

.casino-promo.slider {
  min-height: 220px;
  border-radius: 18px;
  margin-bottom: 6px;
}

.casino-promo .slide {
  min-height: 220px;
}

.casino-promo .slide.is-on {
  display: block;
  height: 220px;
}

.casino-promo .slide-copy {
  width: auto;
  max-width: 58%;
  min-height: 220px;
  padding: 22px 28px;
}

.casino-promo h2 {
  font-size: clamp(20px, 2.5vw, 32px);
}

.casino-promo p {
  font-size: 15px;
}

.casino-promo .btn {
  align-self: flex-start;
}

.casino-search {
  margin: 10px 0 8px;
}

.casino-search .search-box {
  max-width: none;
}

.crash-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
}

.crash-head h2 {
  margin: 0;
  font-size: 18px;
}

.crash-head svg {
  color: #ff8a00;
}

.btn-light {
  background: #fff;
  color: #6d28d9;
  border-radius: 999px;
  font-weight: 700;
  min-height: 40px;
  padding: 0 22px;
}

.btn-light:hover {
  background: #efe6ff;
}

.casino-shell .live-rail {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.lobby-row {
  margin: 18px 0 8px;
  scroll-margin-top: 88px;
}

.lobby-row.is-off {
  display: none;
}

.lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.lobby-head h2 {
  margin: 0;
  font-size: 18px;
}

.lobby-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8e7aae;
  font-size: 12px;
}

.row-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid var(--line);
  background: #1c1230;
  color: #efe6ff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}

.lobby-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.lobby-track::-webkit-scrollbar {
  display: none;
}

.lobby-track .game-card {
  flex: 0 0 128px;
  scroll-snap-align: start;
}

.provider-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 12px;
}

.provider-track::-webkit-scrollbar {
  display: none;
}

.provider-track a,
.provider-track button,
.provider-track span {
  flex: 0 0 164px;
  height: 54px;
  background: #fff;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  cursor: pointer;
  scroll-snap-align: start;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
  color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.provider-track a:hover,
.provider-track button:hover {
  filter: brightness(0.97);
}

.provider-track button.is-on {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}

.provider-track img {
  max-height: 42px;
  max-width: 148px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .casino-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .casino-shell .live-rail {
    display: none;
  }
}

@media (max-width: 860px) {
  .casino-shell {
    grid-template-columns: 1fr;
  }

  .casino-aside {
    display: flex;
    position: static;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .casino-aside .cat-label {
    display: none;
  }

  .casino-aside .cat-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    min-height: 44px;
    background: #24163d;
    padding: 10px 12px;
  }

  .lobby-track .game-card {
    flex-basis: 112px;
  }

  .provider-track a,
  .provider-track button,
  .provider-track span {
    flex-basis: 140px;
    height: 48px;
  }
}

/* Bonuses lobby */
.bonus-shell {
  width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 16px;
  padding: 18px 0 12px;
  align-items: start;
}

.bonus-shell .live-rail {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.bonus-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

.promo-chip svg {
  flex-shrink: 0;
}

.bonus-tabset {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bonus-tabs {
  display: flex;
  background: #1c1230;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.bonus-tabs button {
  border: 0;
  background: transparent;
  color: #d7c8ef;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.bonus-tabs button.is-on {
  background: var(--purple);
  color: #fff;
}

.bonus-filter {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: #1c1230;
  color: #efe6ff;
  border-radius: 50%;
  cursor: pointer;
}

.promo-code-box {
  display: none;
  gap: 8px;
  margin: 0 0 14px;
  background: #140b24;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}

.promo-code-box.is-on {
  display: flex;
  flex-wrap: wrap;
}

.promo-code-box input {
  flex: 1;
  min-width: 180px;
  border: 0;
  background: #1c1230;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}

.bonus-shell h1 {
  margin: 0 0 16px;
  font-size: 28px;
}

.bonus-board {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 14px;
}

.promo-card {
  position: relative;
  border-radius: 20px;
  min-height: 198px;
  overflow: hidden;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #3b1070 center / cover no-repeat;
  box-shadow: var(--shadow);
}

.promo-kicker {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.promo-card h2,
.promo-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.15;
  font-weight: 700;
}

.promo-card.is-mini h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.promo-card.is-mini p.promo-lead {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 0;
}

.promo-lead {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.promo-timer {
  margin: 10px 0 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #efe6ff;
}

.promo-timer b {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.promo-card .bonus-actions {
  margin-top: 8px;
}

.bonus-empty {
  display: none;
  background: #140b24;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 22px;
  text-align: center;
}

.bonus-empty.is-on {
  display: block;
}

.bonus-board.is-off {
  display: none;
}

.bonus-note {
  display: none;
  margin: 0 0 12px;
  color: #cbb6ef;
  font-size: 13px;
}

.bonus-note.is-on {
  display: block;
}

@media (max-width: 1200px) {
  .bonus-shell {
    grid-template-columns: 1fr;
  }

  .bonus-shell .live-rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .bonus-board {
    grid-template-columns: 1fr 1fr;
  }

  .promo-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .bonus-board {
    grid-template-columns: 1fr;
  }

  .bonus-tabs {
    overflow-x: auto;
    max-width: 100%;
  }

  .bonus-tabs button {
    min-height: 44px;
    flex: 0 0 auto;
  }

  .bonus-toolbar {
    align-items: stretch;
  }
}

/* Rules document */
.rules-shell {
  width: min(1480px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 16px;
  padding: 18px 0 12px;
  align-items: start;
}

.rules-doc {
  background: #f4eefe;
  color: #1a1228;
  border-radius: 16px;
  padding: 28px 40px 48px;
}

.rules-doc h1 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 28px;
  color: #1a1228;
}

.rules-doc h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #1a1228;
}

.rules-doc h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 10px;
  color: #1a1228;
}

.rules-doc h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 6px;
  color: #1a1228;
}

.rules-doc p,
.rules-doc li {
  font-size: 13.5px;
  line-height: 1.55;
  color: #23182f;
  margin: 0 0 10px;
}

.rules-doc ul {
  margin: 4px 0 14px 22px;
  padding: 0;
}

.rules-doc li {
  margin: 0 0 6px;
}

.rules-market {
  margin: 0 0 16px;
}

.rules-market p {
  margin: 0 0 6px;
}

.rules-table-wrap {
  overflow-x: auto;
  margin: 14px 0 22px;
}

.rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #ffffff;
}

.rules-table th,
.rules-table td {
  border: 1px solid #c9bddc;
  padding: 6px 8px;
  text-align: center;
  color: #1a1228;
}

.rules-table th {
  background: #ebe3f8;
  font-weight: 600;
}

.rules-shell .live-rail {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.rules-shell .live-rail a {
  color: #3a2a55;
}

@media (max-width: 1200px) {
  .rules-shell {
    grid-template-columns: 1fr;
  }

  .rules-shell .live-rail {
    display: none;
  }
}

@media (max-width: 640px) {
  .rules-doc {
    padding: 18px 16px 32px;
  }

  .rules-doc h1 {
    font-size: 18px;
  }
}

.rules-doc .doc-updated {
  margin: -16px 0 18px;
  font-size: 13px;
  color: #5c4d70;
}

.rules-doc a {
  color: #3b1d7a;
  text-decoration: underline;
}

.rules-doc .help-orgs {
  margin: 4px 0 16px;
}

.rules-doc .help-orgs a {
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
}

/* Shared login / registration popup (Deposit, Personal Data, Betting History) */
body.is-auth-open {
  overflow: hidden;
}

.modal.auth-pop,
.auth-pop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
}

.modal.auth-pop.is-on,
.auth-pop.is-on {
  display: flex;
}

.auth-pop__dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 18, 0.72);
}

.auth-pop__box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  width: min(920px, calc(100% - 24px));
  min-height: min(640px, calc(100vh - 40px));
  max-height: calc(100vh - 32px);
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  color: #2a2140;
}

.auth-pop__art {
  position: relative;
  background: #4c1d95;
  min-height: 100%;
}

.auth-pop__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 12%;
}

.auth-pop__art-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 28px 36px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(76, 29, 149, 0.55) 28%, #4a1b96 78%);
}

.auth-pop__art-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
}

.auth-pop__art-copy p {
  margin: 14px 0 22px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #f3e9ff;
}

.auth-pop__brand {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.auth-pop__panel {
  position: relative;
  background: #fff;
  padding: 42px 36px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: auto;
}

.auth-pop__x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #9aa0b4;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.auth-pop__x:hover {
  color: #4b5568;
  background: #f3f0f8;
}

.auth-pop__switch {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}

.auth-pop__switch button,
.auth-pop__forgot button {
  border: 0;
  background: none;
  padding: 0;
  color: #7c3aed;
  font-weight: 600;
  cursor: pointer;
  font-size: inherit;
}

.auth-pop__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 16px;
}

.auth-pop__tabs button {
  border: 0;
  height: 42px;
  border-radius: 999px;
  background: #eceaf3;
  color: #6b7280;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-pop__tabs button.is-on {
  background: #7c3aed;
  color: #fff;
}

.auth-pop [hidden] {
  display: none !important;
}

.auth-pop__field {
  display: flex;
  align-items: center;
  background: #f4f1f8;
  border-radius: 999px;
  min-height: 48px;
  margin: 0 0 12px;
  padding: 0 16px;
}

.auth-pop__field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #1f1630;
  font-size: 14px;
  outline: none;
  min-height: 48px;
}

.auth-pop__field input::placeholder {
  color: #9ca3af;
}

.auth-pop__phone {
  padding: 0 14px 0 0;
}

.auth-pop__cc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 14px;
  margin-right: 8px;
  border-right: 1px solid #e4dcf0;
  color: #1f1630;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.auth-pop__cc svg:last-child {
  opacity: 0.55;
}

.auth-pop__eye {
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 4px;
}

.auth-pop__forgot {
  margin: 2px 0 18px;
  font-size: 13px;
  color: #6b7280;
}

.auth-pop__note {
  display: none;
  margin: -8px 0 12px;
  font-size: 12px;
  color: #c2410c;
}

.auth-pop__note.is-on {
  display: block;
}

.auth-pop__submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #eceaf3;
  color: #c4bfd0;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.auth-pop__submit.is-ready {
  background: linear-gradient(180deg, #8b5cf6, #5b21ea);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(91, 33, 234, 0.28);
}

.auth-pop__submit.is-ready:hover {
  filter: brightness(1.06);
}

.auth-pop__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.auth-pop__or::before,
.auth-pop__or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #eceaf3;
}

.auth-pop__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: #1a73e8;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
}

.auth-pop__google:hover {
  filter: brightness(1.06);
}

.auth-pop__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 820px) {
  .modal.auth-pop,
  .auth-pop {
    padding: 8px;
    align-items: flex-end;
  }

  .auth-pop__box {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    max-height: min(96dvh, calc(100vh - 16px));
    border-radius: 20px 20px 12px 12px;
  }

  .auth-pop__art {
    min-height: 140px;
    max-height: 160px;
  }

  .auth-pop__art-copy {
    padding: 28px 16px 16px;
  }

  .auth-pop__art-copy h2 {
    font-size: 26px;
  }

  .auth-pop__art-copy p,
  .auth-pop__brand {
    display: none;
  }

  .auth-pop__panel {
    padding: 28px 20px 22px;
  }

  .auth-pop__x {
    width: 44px;
    height: 44px;
    top: 8px;
    right: 8px;
  }

  .auth-pop__tabs button,
  .auth-pop__submit,
  .auth-pop__google {
    min-height: 48px;
  }
}
