/* BettyWins — brand.css (CA)
   Visual target: dark + hot pink + neon green, rounded cards, “xmas” vibe + snow overlay.
*/

:root{
  --bw-bg:#070713;
  --bw-bg2:#0a0a18;

  --bw-panel:#111126;
  --bw-panel2:#14142e;

  --bw-line: rgba(255,255,255,.10);
  --bw-line2: rgba(255,255,255,.06);

  --bw-text:#f5f3ff;
  --bw-muted: rgba(245,243,255,.70);

  --bw-pink:#ff2fb3;
  --bw-pink2:#b100ff;

  --bw-green:#38f08e;
  --bw-green2:#18c96a;

  --bw-radius: 18px;
  --bw-radius-lg: 26px;

  --bw-shadow: 0 24px 76px rgba(0,0,0,.62);
  --bw-shadow-sm: 0 14px 44px rgba(0,0,0,.45);

  --bw-container: 1240px;

  /* different font “feel” vs other templates */
  --bw-font: ui-rounded, "SF Pro Rounded", "Segoe UI Variable", "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  --bw-head: ui-rounded, "SF Pro Rounded", "Arial Black", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html, body{ height: 100%; }

body{
  font-family: var(--bw-font);
  color: var(--bw-text);
  background:
    radial-gradient(900px 600px at 18% -10%, rgba(255,47,179,.18), transparent 62%),
    radial-gradient(900px 600px at 86% 20%, rgba(177,0,255,.12), transparent 62%),
    radial-gradient(900px 600px at 50% 120%, rgba(56,240,142,.08), transparent 62%),
    linear-gradient(180deg, var(--bw-bg) 0%, var(--bw-bg2) 100%);
}

/* ---------- snow overlay (light) ---------- */
.bw-snow{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 999;
  opacity: .55;            /* “легкий снег” */
  mix-blend-mode: screen;
}
.bw-snow::before,
.bw-snow::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(2px 2px at 10% 10%, rgba(255,255,255,.85) 50%, transparent 52%),
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.70) 50%, transparent 52%),
    radial-gradient(2px 2px at 35% 22%, rgba(255,255,255,.80) 50%, transparent 52%),
    radial-gradient(1px 1px at 45% 60%, rgba(255,255,255,.55) 50%, transparent 52%),
    radial-gradient(2px 2px at 60% 18%, rgba(255,255,255,.75) 50%, transparent 52%),
    radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,.55) 50%, transparent 52%),
    radial-gradient(2px 2px at 82% 28%, rgba(255,255,255,.78) 50%, transparent 52%),
    radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,.55) 50%, transparent 52%);
  background-size: 240px 240px;
  background-repeat: repeat;
  animation: bw-snow 12s linear infinite;
  opacity: .9;
}
.bw-snow::after{
  background-size: 340px 340px;
  animation-duration: 18s;
  opacity: .55;
}
@keyframes bw-snow{
  from { background-position: 0 -320px; }
  to   { background-position: 0  320px; }
}

@media (prefers-reduced-motion: reduce){
  .bw-snow::before, .bw-snow::after{ animation: none !important; }
}

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

.bw-shell{
  padding: 16px 0 34px;
}
.bw-layout{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
}

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

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

.bw-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 160px;
}
.custom-logo-link{ display:flex; align-items:center; text-decoration:none; }
.custom-logo{ max-height: 32px; width:auto; height:auto; }

.bw-logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}
.bw-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,47,179,.95), rgba(177,0,255,.90));
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.bw-logo__txt{
  font-family: var(--bw-head);
  letter-spacing: .06em;
  font-weight: 950;
  font-size: 14px;
  text-transform: uppercase;
}

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

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

.bw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  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;
}
.bw-btn:active{ transform: translateY(1px); }

.bw-btn--ghost{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10);
  color: rgba(245,243,255,.92);
}
.bw-btn--ghost:hover{
  border-color: rgba(255,47,179,.22);
  box-shadow: 0 18px 44px rgba(0,0,0,.40);
}

.bw-btn--green{
  color: #06140b;
  background: linear-gradient(180deg, var(--bw-green) 0%, var(--bw-green2) 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 22px 60px rgba(56,240,142,.12);
}
.bw-btn--green:hover{
  box-shadow: 0 28px 76px rgba(56,240,142,.16);
}

/* ---------- sidebar (icons) ---------- */
.bw-side{
  border-radius: 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--bw-shadow-sm);
  overflow:hidden;
  position: sticky;
  top: 78px;
  align-self: start;
  padding: 10px 8px;
}

.bw-side__logo{
  display:grid;
  place-items:center;
  height: 46px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 10px;
  color: rgba(255,47,179,.92);
  font-weight: 950;
}
.bw-side__nav{
  display:grid;
  gap: 8px;
}
.bw-side__a{
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  text-decoration:none;
  border: 1px solid transparent;
  background: transparent;
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
}
.bw-side__a:hover{
  transform: translateY(-1px);
  background: rgba(255,47,179,.08);
  border-color: rgba(255,47,179,.14);
}
.bw-side__a span{
  font-size: 18px;
  line-height: 1;
}

/* ---------- main cards ---------- */
.bw-main{ min-width:0; }

.bw-card{
  border-radius: var(--bw-radius-lg);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--bw-shadow);
  overflow: hidden;
  position: relative;
}

/* ---------- hero (login panel + character) ---------- */
.bw-hero{
  padding: 0;
}
.bw-hero__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  padding: 18px;
  align-items:center;
  position: relative;
  min-height: 320px;
}

/* “pink wall” background */
.bw-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 360px at 20% 0%, rgba(255,47,179,.16), transparent 60%),
    radial-gradient(760px 360px at 90% 20%, rgba(177,0,255,.14), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  opacity: .95;
  pointer-events:none;
}

/* big snowflake (decor) */
.bw-hero__flake{
  position:absolute;
  top: 12px;
  right: 18px;
  font-size: 46px;
  opacity: .16;
  transform: rotate(12deg);
  pointer-events:none;
}

.bw-hero__left{ position: relative; }
.bw-hero__kicker{
  font-family: var(--bw-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(245,243,255,.74);
  margin-bottom: 8px;
}
.bw-hero__title{
  margin:0 0 10px;
  font-family: var(--bw-head);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.06;
}
.bw-hero__title b{ color: rgba(255,209,42,.95); }
.bw-hero__text{
  margin:0 0 14px;
  color: rgba(245,243,255,.78);
  line-height: 1.65;
  max-width: 60ch;
}

/* login panel */
.bw-login{
  margin-top: 10px;
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  padding: 12px;
}
.bw-login__row{
  display:grid;
  gap: 10px;
}
.bw-login__input{
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 0 12px;
  color: rgba(245,243,255,.90);
  outline: none;
}
.bw-login__input:focus{
  border-color: rgba(255,47,179,.22);
  box-shadow: 0 0 0 5px rgba(255,47,179,.10);
}
.bw-login__cta{
  height: 42px;
  border-radius: 14px;
  font-weight: 950;
}
.bw-login__fine{
  color: rgba(245,243,255,.62);
  font-size: 12px;
  line-height: 1.5;
}

/* character placeholder (right) */
.bw-hero__right{
  position: relative;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  min-height: 260px;
}
.bw-hero__girl{
  width: min(340px, 100%);
  height: 280px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(220px 160px at 30% 30%, rgba(255,255,255,.18), transparent 62%),
    radial-gradient(240px 180px at 70% 40%, rgba(255,47,179,.18), transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  position: relative;
  overflow:hidden;
}
.bw-hero__girl::after{
  content:"🎁";
  position:absolute;
  bottom: 14px;
  right: 14px;
  font-size: 34px;
  opacity: .78;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55));
}

/* ---------- promo strip under hero (icons) ---------- */
.bw-strip{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--bw-shadow-sm);
  padding: 12px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}
.bw-strip__item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.bw-strip__ico{
  width: 34px; height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,47,179,.10);
  border: 1px solid rgba(255,47,179,.14);
}
.bw-strip__t{
  font-weight: 950;
  font-size: 13px;
}
.bw-strip__p{
  color: rgba(245,243,255,.68);
  font-size: 12px;
}

/* ---------- slots section (ONE block) ---------- */
.bw-sec{
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.bw-sec__title{
  margin:0;
  font-family: var(--bw-head);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,243,255,.86);
}
.bw-sec__link{
  color: rgba(245,243,255,.70);
  font-weight: 900;
  font-size: 12px;
  text-decoration:none;
}
.bw-sec__link:hover{ text-decoration: underline; text-underline-offset: 3px; }

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

.bw-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(255,47,179,.28) transparent;
}
.bw-track::-webkit-scrollbar{ height: 7px; }
.bw-track::-webkit-scrollbar-thumb{ background: rgba(255,47,179,.18); border-radius: 999px; }
.bw-track::-webkit-scrollbar-track{ background: transparent; }

/* interactive slot card */
.bw-game{
  min-width: 210px;
  max-width: 210px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow:hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 44px rgba(0,0,0,.46);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}
.bw-game:hover{
  transform: translateY(-4px);
  border-color: rgba(255,47,179,.20);
  box-shadow: 0 26px 76px rgba(0,0,0,.62);
  filter: saturate(1.06);
}

/* shine sweep */
.bw-game::before{
  content:"";
  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;
  pointer-events:none;
}
.bw-game:hover::before{
  opacity:.95;
  animation: bw-sheen .7s ease forwards;
}
@keyframes bw-sheen{ to{ transform: translateX(10%) rotate(10deg); } }

.bw-game__media{
  display:block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(255,47,179,.12), rgba(177,0,255,.10));
  position: relative;
  overflow:hidden;
}
.bw-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);
}
.bw-game:hover .bw-game__media img{
  transform: scale(1.10);
  filter: contrast(1.05) saturate(1.12);
}

.bw-game__badge{
  position:absolute;
  left: 10px;
  top: 10px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(245,243,255,.92);
  backdrop-filter: blur(10px);
}

.bw-game__meta{
  padding: 10px 10px 12px;
  display:grid;
  gap: 8px;
}
.bw-game__title{
  margin:0;
  font-size: 13px;
  font-weight: 950;
  color: rgba(245,243,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);
}
.bw-game__sub{
  color: rgba(245,243,255,.60);
  font-size: 12px;
  margin-top: -4px;
}

.bw-game__btn{
  height: 34px;
  border-radius: 14px;
  font-weight: 950;
}

/* ---------- FAQ ---------- */
.bw-faq{
  margin-top: 16px;
}
.bw-faq__title{
  margin: 0 0 10px;
  font-family: var(--bw-head);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,243,255,.86);
}
.bw-faq__list{ display:grid; gap: 10px; }

.bw-faq details{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  overflow:hidden;
}
.bw-faq summary{
  cursor:pointer;
  padding: 12px 14px;
  font-weight: 950;
  list-style: none;
  position: relative;
}
.bw-faq summary::-webkit-details-marker{ display:none; }
.bw-faq summary::after{
  content:"+";
  position:absolute;
  right: 14px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,47,179,.08);
  color: rgba(245,243,255,.92);
}
.bw-faq details[open] summary::after{ content:"–"; }
.bw-faq__a{
  padding: 0 14px 14px;
  color: rgba(245,243,255,.74);
  line-height: 1.7;
  font-size: 13px;
}

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

/* ---------- lite page + breadcrumbs ---------- */
.bw-lite{ padding: 16px 0 34px; }
.bw-bc{ font-size: 12px; color: rgba(245,243,255,.64); }
.bw-bc a{ color: rgba(56,240,142,.92); text-decoration:none; }
.bw-bc a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.bw-lite__title{ margin: 8px 0 0; font-size: 28px; }

/* ---------- footer ---------- */
.bw-footer{
  margin-top: 18px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.bw-footer__grid{
  display:grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
}
.bw-footer__brand{
  font-family: var(--bw-head);
  letter-spacing:.06em;
  text-transform: uppercase;
  font-weight: 950;
}
.bw-footer__muted{
  margin-top: 8px;
  color: rgba(245,243,255,.62);
  font-size: 12px;
  line-height: 1.65;
  max-width: 52ch;
}
.bw-footer__title{
  font-family: var(--bw-head);
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(245,243,255,.62);
  margin: 6px 0 10px;
}
.bw-footer__link{
  display:block;
  padding: 6px 0;
  color: rgba(245,243,255,.70);
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
}
.bw-footer__link:hover{ color: rgba(255,47,179,.92); }

.bw-footer__bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(245,243,255,.58);
  font-size: 12px;
}

@media (max-width: 980px){
  .bw-layout{ grid-template-columns: 1fr; }
  .bw-side{ position: static; display:none; } /* на мобиле как в скрине можно скрыть */
  .bw-hero__inner{ grid-template-columns: 1fr; }
  .bw-footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .bw-footer__grid{ grid-template-columns: 1fr; }
}