/* SpinBet — brand.css (CA / EN)
   Visual: glass + neon accent, compact UI, interactive game cards.
   Font stack is intentionally different from previous themes.
*/

:root{
  --sb-bg:#070814;
  --sb-bg2:#0a0b1b;

  --sb-surface: rgba(255,255,255,.04);
  --sb-surface2: rgba(255,255,255,.06);
  --sb-line: rgba(255,255,255,.10);

  --sb-text:#f4f5ff;
  --sb-muted: rgba(244,245,255,.70);

  --sb-neon: #4dd2ff;
  --sb-violet:#7b5cff;
  --sb-yellow:#ffd12a;

  --sb-radius: 16px;
  --sb-radius-lg: 22px;

  --sb-shadow: 0 22px 70px rgba(0,0,0,.58);
  --sb-shadow-sm: 0 14px 42px rgba(0,0,0,.42);

  --sb-container: 1240px;

  /* different “feel” vs other templates */
  --sb-font: ui-sans-serif, "Avenir Next", "Helvetica Neue", Arial, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", "Liberation Sans", sans-serif;
}

html,body{ height:100%; }
body{
  font-family: var(--sb-font);
  color: var(--sb-text);
  background:
    radial-gradient(900px 560px at 18% -10%, rgba(123,92,255,.22), transparent 62%),
    radial-gradient(900px 560px at 90% 18%, rgba(77,210,255,.12), transparent 62%),
    radial-gradient(900px 560px at 50% 120%, rgba(255,209,42,.10), transparent 62%),
    linear-gradient(180deg, var(--sb-bg) 0%, var(--sb-bg2) 100%);
}

/* subtle global grain (no images) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .12;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.24), transparent 60%),
    radial-gradient(1px 1px at 20% 80%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(1px 1px at 45% 40%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(1px 1px at 92% 30%, rgba(255,255,255,.10), transparent 60%);
  mix-blend-mode: overlay;
}

.container{
  width: min(var(--sb-container), calc(100% - 40px));
  margin-inline:auto;
}

/* ---------- header ---------- */
.sb-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,8,20,.68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sb-header__row{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

/* logo */
.custom-logo-link{ display:flex; align-items:center; text-decoration:none; }
.custom-logo{ max-height: 34px; width:auto; height:auto; }

.sb-logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}
.sb-logo__mark{
  width: 28px; height: 28px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.32), transparent 55%),
    linear-gradient(135deg, rgba(255,209,42,.95), rgba(123,92,255,.90));
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.sb-logo__txt{
  font-weight: 950;
  letter-spacing: .02em;
  font-size: 16px;
}
.sb-logo__txt span{ opacity:.72; font-weight: 900; }

/* top nav pills */
.sb-nav{ display:flex; align-items:center; min-width: 0; }
.sb-nav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 8px;
  overflow:auto;
  scrollbar-width: none;
}
.sb-nav__list::-webkit-scrollbar{ display:none; }

.sb-nav__list a{
  display:inline-flex;
  align-items:center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
  color: rgba(244,245,255,.86);
  transition: transform .14s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.sb-nav__list a:hover{
  border-color: rgba(77,210,255,.26);
  background: rgba(255,255,255,.05);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transform: translateY(-1px);
}
.sb-nav__list a:active{ transform: translateY(0); }

.sb-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.sb-flag{
  width: 22px;
  height: 16px;
  border-radius: 4px;
  overflow:hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

.sb-icon-btn{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .14s ease, border-color .18s ease, background .18s ease;
}
.sb-icon-btn:hover{
  border-color: rgba(123,92,255,.22);
  background: rgba(255,255,255,.05);
}
.sb-icon-btn:active{ transform: translateY(1px); }

.sb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 950;
  letter-spacing: .01em;
  font-size: 13px;
  cursor:pointer;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.sb-btn:active{ transform: translateY(1px); }

.sb-btn--ghost{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10);
  color: rgba(244,245,255,.92);
}
.sb-btn--ghost:hover{
  border-color: rgba(77,210,255,.22);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.sb-btn--yellow{
  color: #221a00;
  background: linear-gradient(180deg, #ffe36a 0%, var(--sb-yellow) 100%);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(255,209,42,.12);
}
.sb-btn--yellow:hover{
  box-shadow: 0 30px 84px rgba(255,209,42,.16);
}

.sb-btn--lg{ height: 44px; padding: 0 18px; }
.sb-btn--sm{ height: 32px; padding: 0 12px; font-size: 12px; }

/* ---------- home ---------- */
.sb-home{ padding: 18px 0 34px; }

/* hero */
.sb-hero{
  border-radius: var(--sb-radius-lg);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(123,92,255,.22), transparent 62%),
    radial-gradient(860px 460px at 80% 22%, rgba(77,210,255,.12), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 55%, rgba(255,255,255,.03) 100%);
  box-shadow: var(--sb-shadow);
  overflow:hidden;
  position: relative;
}

.sb-hero__inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  padding: 18px;
  position: relative;
}

.sb-hero__kicker{
  display:inline-flex;
  height: 22px;
  align-items:center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(77,210,255,.12);
  border: 1px solid rgba(77,210,255,.18);
  color: rgba(244,245,255,.92);
  font-weight: 950;
  letter-spacing: .12em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sb-hero__title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.03;
  letter-spacing: .01em;
}
.sb-hero__text{
  margin: 0 0 14px;
  color: rgba(244,245,255,.80);
  line-height: 1.7;
  max-width: 60ch;
}
.sb-hero__actions{ display:flex; gap: 10px; flex-wrap: wrap; }

.sb-hero__pills{
  margin-top: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sb-pill{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(244,245,255,.74);
  font-weight: 900;
  font-size: 12px;
}

.sb-hero__media{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-height: 220px;
  padding: 10px;
}
.sb-hero__media img{
  max-width: 100%;
  height:auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.60));
  transform: translateY(6px);
}
.sb-hero__placeholder{
  width: 100%;
  max-width: 420px;
  height: 260px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(260px 160px at 30% 30%, rgba(123,92,255,.22), transparent 70%),
    radial-gradient(240px 160px at 70% 40%, rgba(77,210,255,.14), transparent 72%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* section header */
.sb-sec{
  margin-top: 18px;
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 12px;
}
.sb-sec__title{ margin:0; font-size: 18px; letter-spacing:.01em; }
.sb-sec__link{
  color: rgba(77,210,255,.92);
  text-decoration:none;
  font-weight: 900;
}
.sb-sec__link:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* slider */
.sb-slider{
  margin-top: 12px;
  border-radius: var(--sb-radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  box-shadow: var(--sb-shadow-sm);
  padding: 14px;
  position: relative;
  overflow:hidden;
}
.sb-slider::before,
.sb-slider::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 44px;
  pointer-events:none;
  z-index:2;
}
.sb-slider::before{ left:0; background: linear-gradient(90deg, rgba(7,8,20,.95), transparent); }
.sb-slider::after{ right:0; background: linear-gradient(270deg, rgba(7,8,20,.95), transparent); }

.sb-track{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(77,210,255,.28) transparent;
}
.sb-track::-webkit-scrollbar{ height: 7px; }
.sb-track::-webkit-scrollbar-thumb{ background: rgba(77,210,255,.18); border-radius: 999px; }
.sb-track::-webkit-scrollbar-track{ background: transparent; }

/* cards (interactive) */
.sb-game{
  --b: rgba(255,255,255,.10);
  min-width: 210px;
  max-width: 210px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow:hidden;
  position: relative;
  border: 1px solid var(--b);
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 44px rgba(0,0,0,.42);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

/* animated gradient border (subtle) */
.sb-game::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 19px;
  background: conic-gradient(from 180deg,
    rgba(123,92,255,.0),
    rgba(123,92,255,.55),
    rgba(77,210,255,.40),
    rgba(255,209,42,.26),
    rgba(123,92,255,.0)
  );
  opacity: .0;
  transition: opacity .22s ease;
  filter: blur(.2px);
}
.sb-game::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(600px 220px at 20% 0%, rgba(255,255,255,.08), transparent 62%);
  pointer-events:none;
  opacity: .65;
}

.sb-game:hover{
  transform: translateY(-4px);
  border-color: rgba(77,210,255,.22);
  box-shadow: 0 26px 70px rgba(0,0,0,.58);
  filter: saturate(1.06);
}
.sb-game:hover::before{ opacity: .75; }

/* media */
.sb-game__media{
  position: relative;
  display:block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(123,92,255,.14), rgba(77,210,255,.10));
  overflow:hidden;
}
.sb-game__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  transition: transform .26s ease, filter .26s ease;
  filter: contrast(1.02) saturate(1.04);
}
.sb-game:hover .sb-game__media img{
  transform: scale(1.10);
  filter: contrast(1.05) saturate(1.10);
}

.sb-game__fallback{
  height:100%;
  display:grid;
  place-items:center;
  color: rgba(244,245,255,.78);
  font-weight: 950;
  letter-spacing: .12em;
}

/* hover overlay with “Play” */
.sb-game__overlay{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(380px 180px at 50% 0%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.62));
  opacity: 0;
  transition: opacity .22s ease;
}
.sb-game:hover .sb-game__overlay{ opacity: 1; }

/* shine sweep */
.sb-game__shine{
  position:absolute;
  inset:-60% -30%;
  background: linear-gradient(110deg, transparent 42%, rgba(255,255,255,.20) 54%, transparent 66%);
  transform: translateX(-34%) rotate(10deg);
  opacity: 0;
}
.sb-game:hover .sb-game__shine{
  opacity: .95;
  animation: sb-sheen .65s ease forwards;
}

@keyframes sb-sheen{
  to { transform: translateX(10%) rotate(10deg); }
}

.sb-game__meta{
  position: relative;
  padding: 10px 10px 12px;
  display:grid;
  gap: 8px;
}
.sb-game__title{
  margin:0;
  font-size: 13px;
  font-weight: 950;
  color: rgba(244,245,255,.92);
  line-height: 1.25;

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: calc(1.25em * 2);
}

/* play button appears a bit “alive” on hover */
.sb-game__cta{
  width: 100%;
  justify-content:center;
  transform: translateY(2px);
}
.sb-game:hover .sb-game__cta{
  animation: sb-pop .22s ease both;
}
@keyframes sb-pop{
  from { transform: translateY(6px); opacity:.75; }
  to   { transform: translateY(0); opacity:1; }
}

/* ---------- SEO block ---------- */
.sb-seo{ margin-top: 18px; }
.sb-seo__box{
  border-radius: var(--sb-radius-lg);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(760px 240px at 12% 0%, rgba(123,92,255,.12), transparent 60%),
    radial-gradient(680px 240px at 90% 10%, rgba(77,210,255,.08), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: var(--sb-shadow-sm);
  padding: 18px;
}
.sb-seo__box :where(h1,h2){ margin: 6px 0 10px; font-size: 22px; }
.sb-seo__box :where(h3){ margin: 16px 0 8px; font-size: 16px; }
.sb-seo__box :where(p){ margin: 0 0 12px; color: rgba(244,245,255,.78); line-height: 1.75; }
.sb-seo__box :where(ul,ol){ margin: 0 0 12px 18px; color: rgba(244,245,255,.78); line-height: 1.75; }
.sb-seo__box :where(a){ color: rgba(255,209,42,.92); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- lite page ---------- */
.sb-lite{ padding: 18px 0 34px; }
.sb-bc{ font-size: 12px; color: rgba(244,245,255,.68); }
.sb-bc a{ color: rgba(77,210,255,.92); text-decoration:none; }
.sb-bc a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.sb-lite__title{ margin: 8px 0 0; font-size: 28px; }

/* ---------- footer ---------- */
.sb-footer{
  margin-top: 20px;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.sb-footer__row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sb-footer__brand{ font-weight: 950; letter-spacing:.02em; }
.sb-footer__muted{ color: rgba(244,245,255,.62); font-size: 12px; margin-top: 4px; }
.sb-footer__right{ display:flex; gap: 10px; flex-wrap: wrap; }
.sb-footer__link{
  color: rgba(244,245,255,.66);
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.sb-footer__link:hover{
  border-color: rgba(255,209,42,.18);
  color: rgba(244,245,255,.86);
}

@media (max-width: 980px){
  .sb-hero__inner{ grid-template-columns: 1fr; }
  .sb-hero__media{ justify-content:center; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}