/* =========================
   Base / Reset
========================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(255, 45, 85, .14), transparent 60%),
    radial-gradient(1000px 600px at 80% 10%, rgba(120, 82, 255, .12), transparent 60%),
    radial-gradient(1000px 600px at 55% 90%, rgba(20, 190, 255, .10), transparent 60%),
    linear-gradient(180deg, #070b18 0%, #090d1d 40%, #070a16 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:root{
  --bg-0: #070b18;
  --bg-1: #0b1020;
  --bg-2: rgba(255,255,255,.06);
  --panel: rgba(12, 16, 35, .72);
  --panel-2: rgba(19, 24, 50, .72);
  --stroke: rgba(255,255,255,.08);
  --stroke-2: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted-2: rgba(255,255,255,.58);
  --accent: #ff2d55;
  --accent-2: #ff4d6d;
  --accent-3: #c4003a;
  --good: #3ddc97;
  --bad: #ff6b6b;
  --shadow: 0 16px 40px rgba(0,0,0,.35);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.24);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --max: 1200px;
}

/* =========================
   Utilities
========================= */
.container{
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}
.visually-hidden{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: #000;
  color: #fff;
  z-index: 9999;
  border-radius: 10px;
}
.skip-link:focus{ left: 10px; }

/* =========================
   Header
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(8, 10, 24, .92) 0%, rgba(8, 10, 24, .68) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}
.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.logo img{
  width: 170px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.header__actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
  position: relative;
}
.burger span, .burger::before, .burger::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(255,255,255,.88);
  border-radius: 10px;
  transition: transform .2s ease, top .2s ease, bottom .2s ease, opacity .2s ease;
}
.burger span{ top: 21px; }
.burger::before{ top: 14px; }
.burger::after{ bottom: 14px; }

body.is-menu-open .burger span{ opacity: 0; }
body.is-menu-open .burger::before{ top: 21px; transform: rotate(45deg); }
body.is-menu-open .burger::after{ bottom: 21px; transform: rotate(-45deg); }

/* =========================
   Buttons (3D)
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.10);
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--small{ padding: 10px 14px; font-size: 14px; }
.btn--primary{
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 45%, var(--accent-3) 100%);
  box-shadow:
    0 16px 26px rgba(255, 45, 85, .20),
    0 8px 0 rgba(0,0,0,.26);
  border-color: rgba(255,255,255,.14);
}
.btn--primary:hover{ filter: brightness(1.06); }
.btn--primary:active{
  transform: translateY(6px);
  box-shadow:
    0 8px 18px rgba(255, 45, 85, .18),
    0 2px 0 rgba(0,0,0,.26);
}
.btn--ghost{
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.20), 0 6px 0 rgba(0,0,0,.22);
}
.btn--ghost:hover{ background: rgba(255,255,255,.08); }
.btn--ghost:active{ transform: translateY(4px); box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 2px 0 rgba(0,0,0,.22); }

.btn--cta{
  position: relative;
  overflow: hidden;
}
.btn--cta::after{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 45%, transparent 100%);
  transform: rotate(20deg) translateX(-120%);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine{
  0%{ transform: rotate(20deg) translateX(-120%); opacity: .0; }
  10%{ opacity: .9; }
  30%{ opacity: .9; }
  55%{ transform: rotate(20deg) translateX(120%); opacity: 0; }
  100%{ transform: rotate(20deg) translateX(120%); opacity: 0; }
}

/* =========================
   Layout
========================= */
.layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
  width: min(var(--max), calc(100% - 36px));
  margin: 18px auto 0;
  padding-bottom: 50px;
}
.sidebar{
  position: sticky;
  top: 78px;
  align-self: start;
  background: linear-gradient(180deg, rgba(17, 21, 45, .72) 0%, rgba(11, 14, 30, .72) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.sidebar__nav{
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 6px;
}
.sidebar__nav a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.03);
  border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, transform .12s ease;
}
.sidebar__nav a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
  transform: translateX(2px);
}
.sidebar__nav a.is-active{
  background: rgba(255, 45, 85, .16);
  border-color: rgba(255, 45, 85, .36);
}
.sidebar__nav .ico{
  width: 18px;
  height: 18px;
  opacity: .9;
  flex: 0 0 auto;
}

.main{
  min-width: 0;
}

/* Mobile menu overlay */
.mobile-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 55;
  opacity: 0;
  transition: opacity .18s ease;
}
body.is-menu-open .mobile-overlay{
  display: block;
  opacity: 1;
}

/* =========================
   Hero
========================= */
.hero{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}
.hero__img{
  width: 100%;
  height: auto;
  object-fit: contain; /* to guarantee: no cropping */
}
.hero__content{
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(18px, 4vw, 38px);
  max-width: 650px;
  pointer-events: none;
}
.hero__content > * { pointer-events: auto; }
.hero__title{
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.16;
  margin: 0;
  text-shadow: 0 14px 28px rgba(0,0,0,.35);
}
.hero__lead{
  margin: 0;
  color: rgba(255,255,255,.80);
  max-width: 54ch;
}
.hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.section-menu{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}
.section-menu a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .16s ease, transform .12s ease, border-color .16s ease;
  color: rgba(255,255,255,.88);
}
.section-menu a:hover{
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}
.section-menu a.is-active{
  background: rgba(255, 45, 85, .16);
  border-color: rgba(255, 45, 85, .34);
}

/* =========================
   Blocks
========================= */
.block{
  margin-top: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.block__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 16px 0;
  gap: 14px;
}
.block__title{
  margin: 0;
  font-size: 22px;
}
.block__body{
  padding: 16px;
}

/* Lootboxes / game cards */
.games{
  position: relative;
}
.games__scroller{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 14px;
  overflow-x: auto;
  padding: 14px 6px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.games__scroller::-webkit-scrollbar{ height: 10px; }
.games__scroller::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.14); border-radius: 999px; }
.game-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 14px 26px rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.game-card img{
  width: 100%;
  height: auto;
}
.game-card__overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  background: rgba(5, 7, 18, .62);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 5;
  padding: 14px;
}
.game-card:hover .game-card__overlay{ opacity: 1; transform: translateY(0); }
.game-card.is-active .game-card__overlay{ opacity: 1; transform: translateY(0); }

.games__arrows{
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.icon-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .12s ease, background .16s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.08); transform: translateY(-1px); }
.icon-btn:active{ transform: translateY(3px); }

/* Breadcrumbs */
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  margin: 18px 0 0;
}
.breadcrumbs a{ color: rgba(255,255,255,.84); }
.breadcrumbs span{ opacity: .7; }

/* Content typography */
.content{
  padding: 10px 0 0;
}
.content h1{
  margin: 14px 0 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
}
.content h2{
  margin: 26px 0 10px;
  font-size: 24px;
}
.content h3{
  margin: 18px 0 8px;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}
.content p{ margin: 10px 0; color: rgba(255,255,255,.82); }
.content ul, .content ol{
  margin: 10px 0 10px 18px;
  color: rgba(255,255,255,.82);
}
.content li{ margin: 6px 0; }
.note{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px 14px;
  margin: 14px 0;
}
.note--warn{
  border-color: rgba(255, 176, 32, .32);
  background: rgba(255, 176, 32, .08);
}
.note--ok{
  border-color: rgba(61, 220, 151, .28);
  background: rgba(61, 220, 151, .08);
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pm{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
.pm__box{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.pm__title{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 6px;
}
.pm__title .dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
}
.pm__title .dot.good{ background: var(--good); }
.pm__title .dot.bad{ background: var(--bad); }

/* Tables */
.table-wrap{
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  margin: 14px 0;
}
table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th, td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: left;
  vertical-align: top;
  color: rgba(255,255,255,.82);
}
th{ color: rgba(255,255,255,.92); background: rgba(255,255,255,.04); }

/* FAQ accordion */
.faq{
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.faq details{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 12px 14px;
}
.faq summary{
  cursor:pointer;
  font-weight: 650;
  color: rgba(255,255,255,.92);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq details[open]{ background: rgba(255,255,255,.06); }

/* Provider dropdown example */
.providers{
  position: relative;
}
.dropdown{
  position: relative;
  display:inline-block;
}
.dropdown__panel{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(420px, calc(100vw - 40px));
  max-height: 320px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12, 16, 35, .96);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  z-index: 120; /* must be above banners/images */
  padding: 10px;
  display:none;
}
.dropdown.is-open .dropdown__panel{ display:block; }
.dropdown__panel a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.82);
}
.dropdown__panel a:hover{
  background: rgba(255,255,255,.06);
}

/* Footer */
.footer{
  margin-top: 26px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.10);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.footer a{ color: rgba(255,255,255,.86); }
.footer a:hover{ color: #fff; }
.footer__muted{ color: rgba(255,255,255,.62); font-size: 14px; }

/* =========================
   Responsive
========================= */
@media (max-width: 1100px){
  .layout{ grid-template-columns: 1fr; }
  .burger{ display: inline-flex; }
  .sidebar{
    position: fixed;
    top: 70px;
    left: 18px;
    right: 18px;
    width: auto;
    max-height: calc(100vh - 90px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 70;
  }
  body.is-menu-open .sidebar{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sidebar__nav a{ justify-content: flex-start; }
  .hero__content{ position: static; max-width: none; padding: 16px; }
  .hero{ display:grid; }
  .hero__img{ border-bottom: 1px solid rgba(255,255,255,.06); }
  .section-menu{
    border-radius: var(--radius-xl);
    padding: 12px;
  }
}

@media (max-width: 720px){
  .header__actions{ gap: 8px; }
  .logo img{ width: 148px; }
  .btn--small{ padding: 9px 11px; font-size: 13px; }
  .games__scroller{ grid-auto-columns: 185px; }
  .grid-2, .pm{ grid-template-columns: 1fr; }
  table{ min-width: 560px; }
  .footer__grid{ grid-template-columns: 1fr; }
}
