:root {
  color-scheme: dark;
  --bg: #0e151d;
  --panel: #151f29;
  --panel-2: #1d2935;
  --panel-3: #253341;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fa;
  --muted: #9aa7b5;
  --orange: #ff922e;
  --orange-2: #ffc15c;
  --purple: #9b4dff;
  --blue: #526cf4;
  --success: #37d67a;
  --danger: #ff5f64;
  --radius: 12px;
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  --content: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 0%, rgba(155, 77, 255, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid rgba(255, 146, 46, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 232px;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 21, 29, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(100% - 36px, var(--content));
  height: 100%;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.mobile-brand { display: none; }
.mobile-brand img { width: 154px; height: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 22px;
  color: #d9e0e8;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.015em;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: rgba(255, 146, 46, 0.1);
  color: var(--orange-2);
  transform: translateY(-1px);
}

.header-cta { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-orange {
  background: linear-gradient(135deg, var(--orange), #ffb33b);
  color: #16100a;
  box-shadow: 0 0 0 rgba(255, 146, 46, 0);
}
.btn-orange:hover { box-shadow: 0 0 24px rgba(255, 146, 46, 0.34); }
.btn-blue { background: linear-gradient(135deg, #526cf4, #6b82ff); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, 0.2); background: transparent; color: #fff; }
.btn-glow {
  box-shadow: 0 0 20px rgba(255, 146, 46, 0.22), inset 0 0 12px rgba(255, 255, 255, 0.1);
  animation: soft-pulse 2.8s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: #fff;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  z-index: 90;
  inset: 0 auto 0 0;
  display: flex;
  width: 232px;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #131c25;
}

.brand {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.brand img { width: 178px; height: auto; }

.sidebar-label {
  margin: 23px 18px 7px;
  color: #6f7c89;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.side-nav { display: grid; gap: 4px; padding: 0 12px; }
.side-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 9px;
  color: #bdc6d0;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.side-nav a:hover,
.side-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(255, 146, 46, 0.14), rgba(155, 77, 255, 0.07));
  color: #fff;
  transform: translateX(2px);
}
.nav-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--orange);
  font-size: 0.9rem;
}

.sidebar-help {
  margin: auto 14px 18px;
  padding: 15px;
  border: 1px solid rgba(255, 146, 46, 0.16);
  border-radius: 12px;
  background: rgba(255, 146, 46, 0.05);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.sidebar-help strong { display: block; margin-bottom: 3px; color: #fff; }

.site-main {
  min-height: calc(100vh - 72px);
  margin-left: 232px;
  padding-top: 72px;
}

.main-shell { width: min(100% - 36px, var(--content)); margin: 0 auto; padding: 24px 0 70px; }

.hero {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a1119;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 14, 21, 0.97) 0%, rgba(8, 14, 21, 0.78) 42%, rgba(8, 14, 21, 0.12) 76%);
  content: "";
}
.hero-content { width: min(650px, 66%); padding: 62px 58px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--orange-2);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; background: var(--orange); content: ""; }
.hero h1 { max-width: 680px; margin: 0 0 15px; font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.06; letter-spacing: -0.045em; }
.hero p { max-width: 610px; margin: 0 0 26px; color: #c3ccd6; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; color: #aeb9c5; font-size: 0.76rem; }
.hero-trust span::before { margin-right: 6px; color: var(--success); content: "✓"; }

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 28px;
}
.quick-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.76rem;
}
.quick-item strong { display: block; margin-bottom: 1px; color: #fff; font-size: 0.92rem; }

.section { margin-top: 32px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.65rem); letter-spacing: -0.02em; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 0.85rem; }
.section-link { color: var(--orange-2); font-size: 0.8rem; font-weight: 800; white-space: nowrap; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.17);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.game-card:hover { transform: translateY(-5px); border-color: rgba(155, 77, 255, 0.7); box-shadow: 0 13px 28px rgba(0, 0, 0, 0.32), 0 0 20px rgba(155, 77, 255, 0.18); }
.game-card img { width: 100%; aspect-ratio: 1 / 1.24; object-fit: cover; background: #101821; }
.game-info { padding: 10px 11px 12px; }
.game-info strong { display: block; overflow: hidden; font-size: 0.78rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.game-info span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.68rem; }
.game-play { display: inline-block; margin-top: 7px; color: var(--orange-2); font-size: 0.65rem; font-style: normal; font-weight: 850; text-transform: uppercase; letter-spacing: 0.07em; }
.game-badge { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 5px; background: rgba(255, 146, 46, 0.92); color: #18100a; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.08em; }

.provider-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.provider-card {
  display: grid;
  min-height: 96px;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, var(--panel), #111a23);
  transition: border-color 180ms ease, transform 180ms ease;
}
.provider-card:hover { transform: translateY(-3px); border-color: rgba(255, 146, 46, 0.5); }
.provider-card img { width: 86px; height: 44px; object-fit: contain; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card { position: relative; min-height: 185px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.category-card img { width: 100%; height: 100%; min-height: 185px; object-fit: cover; transition: transform 400ms ease; }
.category-card:hover img { transform: scale(1.035); }
.category-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 14, 21, 0.92), transparent 72%); content: ""; }
.category-card strong { position: absolute; z-index: 2; right: 15px; bottom: 13px; left: 15px; font-size: 1rem; }

.content-card {
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(29, 41, 53, 0.94), rgba(18, 27, 36, 0.98));
  box-shadow: var(--shadow);
}
.content-card h1 { margin: 0 0 14px; font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.035em; }
.content-card h2 { margin: 34px 0 9px; color: #fff; font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.3; }
.content-card h3 { margin: 23px 0 7px; color: var(--orange-2); font-size: 1.05rem; }
.content-card p, .content-card li { color: #c4ccd5; }
.content-card p { margin: 0 0 17px; }
.content-card > section {
  position: relative;
  padding: 4px 0 8px;
}
.content-card > section + section {
  margin-top: 24px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.content-card > section h2:first-child { margin-top: 0; }
.content-card > section > :last-child { margin-bottom: 0; }
.content-card ul, .content-card ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 20px;
  padding-left: 23px;
}
.content-card li::marker { color: var(--orange); font-weight: 850; }
.content-card a:not(.btn):not(.contact-item) {
  color: var(--orange-2);
  text-decoration: underline;
  text-decoration-color: rgba(255, 193, 92, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.content-card a:not(.btn):not(.contact-item):hover {
  color: #ffe0a1;
  text-decoration-color: currentColor;
}
.content-card .lead { color: #eef2f6; font-size: 1.08rem; }
.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.callout {
  position: relative;
  margin: 25px 0;
  overflow: hidden;
  padding: 18px 20px 18px 22px;
  border: 1px solid rgba(255, 146, 46, 0.16);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(255, 146, 46, 0.09), rgba(255, 146, 46, 0.025));
  color: #d5dde5;
}
.callout strong { color: #fff; }
.callout > :last-child { margin-bottom: 0; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.72rem;
}
.breadcrumbs a { color: var(--orange-2); font-weight: 750; }
.breadcrumbs span:last-child { overflow-wrap: anywhere; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  align-items: stretch;
  gap: 12px;
  margin: 24px 0 4px;
}
.contact-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 21px 48px 21px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.contact-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--purple));
  content: "";
}
.contact-item::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--orange-2);
  content: "↗";
  font-size: 1rem;
  font-weight: 900;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}
.contact-item:hover {
  border-color: rgba(255, 146, 46, 0.48);
  background: linear-gradient(145deg, rgba(255, 146, 46, 0.09), rgba(155, 77, 255, 0.045));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.22), 0 0 18px rgba(255, 146, 46, 0.08);
  transform: translateY(-3px);
}
.contact-item:hover::after { transform: translate(3px, -50%); }
.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.35;
  text-decoration: none;
}
.contact-item span {
  display: block;
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-footer { margin-left: 232px; border-top: 1px solid var(--line); background: #101821; }
.footer-inner { width: min(100% - 36px, var(--content)); margin: auto; padding: 34px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 34px; }
.footer-brand img { width: 180px; margin-bottom: 10px; }
.footer-column h2 { margin: 0 0 10px; color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-column a { display: block; margin: 6px 0; color: var(--muted); font-size: 0.78rem; }
.footer-column a:hover { color: var(--orange-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: #778491; font-size: 0.72rem; }

.mobile-nav { display: none; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 146, 46, 0.16); }
  50% { box-shadow: 0 0 26px rgba(255, 146, 46, 0.35); }
}

@media (max-width: 1120px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  body { padding-bottom: 68px; }
  .site-header { left: 0; height: 64px; }
  .header-inner { width: min(100% - 24px, var(--content)); }
  .mobile-brand { display: block; }
  .header-nav { display: none; }
  .header-cta .btn-blue { display: none; }
  .header-cta .btn { min-height: 36px; padding: 0 14px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .sidebar { transform: translateX(-104%); transition: transform 230ms ease; box-shadow: 14px 0 40px rgba(0, 0, 0, 0.35); }
  .sidebar.is-open { transform: translateX(0); }
  .site-main { margin-left: 0; padding-top: 64px; }
  .site-footer { margin-left: 0; }
  .main-shell { width: min(100% - 24px, var(--content)); padding-top: 14px; }
  .hero { min-height: 460px; }
  .hero-content { width: 100%; padding: 42px 26px; }
  .hero::before { background: linear-gradient(90deg, rgba(8, 14, 21, 0.97), rgba(8, 14, 21, 0.58)); }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-nav {
    position: fixed;
    z-index: 100;
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(20, 30, 40, 0.95);
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a { display: grid; place-items: center; padding: 8px 3px; color: #98a5b2; font-size: 0.62rem; font-weight: 750; }
  .mobile-nav a span { display: block; color: var(--orange); font-size: 1rem; line-height: 1; }
  .mobile-nav a[aria-current="page"] { color: #fff; }
}

@media (max-width: 600px) {
  .hero { min-height: 430px; }
  .hero-content { padding: 34px 21px; }
  .hero-actions .btn { flex: 1 1 135px; }
  .hero-trust { gap: 7px 12px; }
  .quick-strip { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid, .contact-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sidebar, .mobile-nav, .site-footer, .hero-actions, .content-actions { display: none !important; }
  .site-main { margin: 0; padding: 0; }
  body { background: #fff; color: #111; }
  .content-card { border: 0; background: #fff; box-shadow: none; }
  .content-card p, .content-card li { color: #222; }
}
