html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0e0508;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* BloodyWin base — bv- is replaced with the per-domain class prefix */
@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "BW Montserrat";
  src: url("/fonts/montserrat-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

.bv-app {
  --bg: #0e0508;
  --panel: #1a0b0e;
  --panel2: #220e12;
  --line: #3a1a20;
  --txt: #f6ecec;
  --mut: #c4a9ad;
  --acc: #d3222a;
  --gold: #f7c948;
  font-family: "BW Montserrat", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
}

.bv-v2 {
  --acc: #a3121f;
}

.bv-v3 {
  --acc: #e23b3b;
}

.bv-app a {
  color: inherit;
  text-decoration: none;
}

.bv-app img {
  display: block;
  max-width: 100%;
}

.bv-app h1,
.bv-app h2,
.bv-app h3 {
  line-height: 1.15;
  margin: 0 0 14px;
}

.bv-app h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.bv-app h3 {
  font-size: 20px;
  font-weight: 700;
}

/* ---------- buttons ---------- */

.bv-btn {
  display: inline-block;
  background: linear-gradient(180deg, #ffd76a, #f0b429);
  color: #2a1203;
  font-weight: 900;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(240, 180, 41, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.bv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240, 180, 41, 0.5);
}

.bv-btn-s {
  padding: 9px 18px;
  font-size: 14px;
}

.bv-btn-l {
  font-size: 18px;
  padding: 16px 34px;
}

.bv-beat {
  animation: bv-pulse 1.8s ease-in-out infinite;
}

@keyframes bv-pulse {
  0%,
  100% {
    box-shadow: 0 4px 18px rgba(240, 180, 41, 0.35);
  }
  50% {
    box-shadow: 0 4px 30px rgba(240, 180, 41, 0.85);
    transform: scale(1.03);
  }
}

/* ---------- header ---------- */

.bv-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(21, 8, 11, 0.97);
  border-bottom: 2px solid var(--acc);
}

.bv-top-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.bv-logo img {
  height: 38px;
  width: auto;
}

.bv-nav {
  display: flex;
  gap: 22px;
  flex: 1;
}

.bv-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--mut);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.bv-nav a:hover,
.bv-nav a[aria-current="page"] {
  color: var(--txt);
  border-bottom-color: var(--gold);
}

.bv-top-end {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.bv-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.bv-burger span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--txt);
}

/* ---------- language switcher ---------- */

.bv-langs {
  position: relative;
}

.bv-langs summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bv-langs summary::-webkit-details-marker {
  display: none;
}

.bv-langs summary span {
  white-space: nowrap;
}

.bv-lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 170px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  z-index: 60;
}

.bv-lang-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.bv-lang-list a:hover {
  background: rgba(211, 34, 42, 0.18);
}

/* ---------- drawer ---------- */

.bv-drawer {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: var(--panel);
  border-bottom: 2px solid var(--acc);
}

.bv-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bv-drawer nav a {
  padding: 11px 6px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.bv-drawer .bv-langs {
  align-self: flex-start;
}

.bv-open .bv-drawer {
  display: flex;
}

/* ---------- hero ---------- */

.bv-hero {
  background:
    radial-gradient(
      1100px 480px at 78% 18%,
      rgba(211, 34, 42, 0.32),
      transparent 65%
    ),
    linear-gradient(180deg, #1c0a0e 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.bv-v2 .bv-hero {
  background:
    radial-gradient(
      1100px 480px at 22% 18%,
      rgba(163, 18, 31, 0.32),
      transparent 65%
    ),
    linear-gradient(180deg, #1c0a0e 0%, var(--bg) 100%);
}

.bv-v3 .bv-hero {
  background:
    radial-gradient(
      900px 420px at 50% 10%,
      rgba(226, 59, 59, 0.3),
      transparent 65%
    ),
    linear-gradient(180deg, #1c0a0e 0%, var(--bg) 100%);
}

.bv-hero-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 20px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.bv-v3 .bv-hero-in {
  flex-direction: column;
  text-align: center;
  padding-bottom: 46px;
}

.bv-hero-txt {
  flex: 1;
  min-width: 0;
}

.bv-hero-txt h1 {
  font-size: 40px;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.bv-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mut);
  max-width: 620px;
  margin: 0 0 24px;
}

.bv-v3 .bv-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.bv-hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bv-v3 .bv-hero-cta {
  justify-content: center;
}

.bv-perk {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold);
}

.bv-hero-lion {
  width: 340px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 30px rgba(211, 34, 42, 0.35));
}

.bv-v3 .bv-hero-lion {
  width: 300px;
}

/* ---------- sections ---------- */

.bv-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px 40px;
}

.bv-sec {
  margin: 34px 0;
}

.bv-games {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.bv-game {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.bv-game img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

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

.bv-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(14, 5, 8, 0.55);
  color: var(--gold);
  transition: opacity 0.15s ease;
}

.bv-game:hover .bv-play {
  opacity: 1;
}

.bv-play svg {
  width: 46px;
  height: 46px;
  padding: 12px;
  background: rgba(247, 201, 72, 0.92);
  color: #2a1203;
  border-radius: 50%;
}

.bv-hide {
  display: none;
}

.bv-more {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: 1px solid var(--line);
  color: var(--mut);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 10px;
  cursor: pointer;
}

.bv-more:hover {
  border-color: var(--gold);
  color: var(--txt);
}

.bv-promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bv-promo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.bv-promo img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.bv-promo:hover img {
  transform: scale(1.04);
}

/* ---------- article ---------- */

.bv-lead p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--txt);
  margin: 0 0 14px;
}

.bv-block {
  margin: 30px 0;
}

.bv-block p {
  line-height: 1.75;
  color: var(--mut);
  margin: 0 0 13px;
  font-size: 15.5px;
}

.bv-block ul {
  margin: 0 0 13px;
  padding-left: 20px;
  color: var(--mut);
  line-height: 1.75;
  font-size: 15.5px;
}

.bv-block li {
  margin-bottom: 6px;
}

.bv-table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.bv-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.bv-table th,
.bv-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--mut);
}

.bv-table th {
  color: var(--txt);
  font-weight: 700;
  white-space: nowrap;
}

.bv-table tr:last-child td {
  border-bottom: 0;
}

.bv-cta-row {
  text-align: center;
  margin: 30px 0;
}

.bv-block details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 0 18px;
}

.bv-block summary {
  cursor: pointer;
  font-weight: 700;
  padding: 15px 0;
  list-style: none;
  position: relative;
  padding-right: 34px;
}

.bv-block summary::-webkit-details-marker {
  display: none;
}

.bv-block summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
}

.bv-block details[open] summary::after {
  content: "–";
}

.bv-block details p {
  padding-bottom: 16px;
  margin: 0;
}

/* ---------- voices ---------- */

.bv-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bv-voice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 0;
}

.bv-voice blockquote {
  margin: 0 0 12px;
}

.bv-voice p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mut);
  margin: 0;
}

.bv-voice figcaption {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
}

/* ---------- footer ---------- */

.bv-footer {
  border-top: 2px solid var(--acc);
  background: #150709;
  margin-top: 30px;
}

.bv-foot-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bv-foot-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bv-foot-brand img {
  height: 32px;
  width: auto;
}

.bv-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
}

.bv-payrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bv-payrow img {
  height: 34px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.bv-legal {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mut);
  margin: 0;
  max-width: 900px;
}

.bv-foot-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bv-foot-nav a {
  font-size: 13.5px;
  color: var(--mut);
}

.bv-foot-nav a:hover {
  color: var(--txt);
}

/* ---------- back to top ---------- */

.bv-up {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.bv-show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .bv-games {
    grid-template-columns: repeat(6, 1fr);
  }

  .bv-nav {
    display: none;
  }

  .bv-burger {
    display: flex;
  }

  .bv-top-end .bv-btn {
    display: none;
  }
}

@media (max-width: 760px) {
  .bv-hero-in {
    flex-direction: column;
    text-align: center;
    padding: 36px 20px 40px;
    gap: 22px;
  }

  .bv-v2 .bv-hero-in {
    flex-direction: column-reverse;
  }

  .bv-hero-txt h1 {
    font-size: 29px;
  }

  .bv-hero-lead {
    font-size: 15.5px;
  }

  .bv-hero-lion {
    width: 220px;
    margin: 0 auto;
  }

  .bv-hero-cta,
  .bv-v3 .bv-hero-cta {
    justify-content: center;
  }

  .bv-hero-cta .bv-btn {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  .bv-games {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
  }

  .bv-promos {
    grid-template-columns: 1fr;
  }

  .bv-voices {
    grid-template-columns: 1fr;
  }

  .bv-app h2 {
    font-size: 22px;
  }

  .bv-btn-l {
    font-size: 17px;
    padding: 15px 26px;
  }

  .bv-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
  }

  .bv-top {
    position: sticky;
  }

  .bv-app .bv-top-in {
    position: relative;
  }
}

@media (min-width: 761px) {
  .bv-drawer {
    display: none !important;
  }
}
