﻿:root {
  --night: #09020f;
  --midnight: #160728;
  --violet: #3b0d65;
  --magenta: #f00889;
  --magenta-2: #b60568;
  --gold: #ffd33e;
  --gold-2: #f39822;
  --cream: #fff0c6;
  --cyan: #54f2ff;
  --panel: rgba(25, 8, 43, 0.82);
  --line: rgba(255, 211, 62, 0.26);
  --white: #fffaf2;
  --muted: #d7c4e3;
  --font-main: Arial, Helvetica, sans-serif;
  --font-display: "Arial Black", Impact, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 8, 137, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(255, 211, 62, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--night), #14051e 45%, #09020f);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.casino-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 150px 1fr auto 44px;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 10px max(18px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 2, 15, 0.94);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 128px;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.top-nav a:hover {
  color: var(--gold);
}

.header-actions,
.hero-actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.btn-gold {
  border: 2px solid #ffec88;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #2a0731;
  box-shadow: 0 5px 0 #8d4700, 0 0 20px rgba(255, 211, 62, 0.24);
}

.btn-ghost {
  border: 1px solid rgba(255, 211, 62, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 211, 62, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
}

.casino-shell {
  display: grid;
  grid-template-columns: 94px 1fr;
  width: min(1440px, 100%);
  margin: 0 auto;
}

.side-rail {
  position: sticky;
  top: 74px;
  z-index: 20;
  align-self: start;
  min-height: calc(100vh - 74px);
  padding: 18px 10px;
  border-right: 1px solid var(--line);
  background: rgba(13, 3, 21, 0.74);
}

.side-rail a {
  display: grid;
  gap: 4px;
  min-height: 64px;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 211, 62, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(65, 16, 99, 0.74), rgba(23, 5, 38, 0.8));
  color: var(--cream);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.side-rail span {
  color: var(--gold);
}

.page-content {
  min-width: 0;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 72px min(5vw, 70px);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 2, 15, 0.96), rgba(9, 2, 15, 0.62) 42%, rgba(9, 2, 15, 0.16)),
    linear-gradient(180deg, transparent 68%, var(--night));
}

.hero-content {
  position: relative;
  max-width: 660px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  text-shadow: 0 4px 0 var(--magenta-2);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 54px);
}

h3 {
  font-size: 22px;
}

.hero-content p {
  max-width: 560px;
  color: var(--cream);
  font-size: 18px;
  font-weight: 800;
}

.hero-card {
  position: absolute;
  right: min(5vw, 70px);
  bottom: 48px;
  width: min(360px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 211, 62, 0.46);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(59, 13, 101, 0.86), rgba(20, 5, 30, 0.9));
  box-shadow: 0 0 36px rgba(240, 8, 137, 0.26);
}

.hero-card span,
.hero-card small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.hero-card strong {
  display: block;
  margin: 8px 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
}

.category-scroll {
  position: sticky;
  top: 74px;
  z-index: 18;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px min(5vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 2, 15, 0.92);
}

.category-scroll a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 211, 62, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-weight: 950;
  text-transform: uppercase;
}

.lobby-section,
.payment-section,
.providers,
.seo-draft,
.final-cta,
.start-path {
  padding: 62px min(5vw, 70px);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-lead {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.see-all {
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.see-all::after {
  content: " ->";
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.game-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 238px;
  padding: 13px;
  border: 1px solid rgba(255, 211, 62, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 8, 137, 0.24), transparent 10rem),
    linear-gradient(180deg, rgba(58, 13, 101, 0.84), rgba(16, 4, 28, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.game-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 12px;
  height: 12px;
  rotate: 45deg;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  border-radius: 14px;
  background: rgba(9, 2, 15, 0.5);
}

.game-card strong {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.12;
}

.game-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.game-card::after {
  content: "Graj";
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #27052d;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #8d4700;
}

.game-card.hot {
  border-color: rgba(255, 211, 62, 0.7);
  box-shadow: 0 0 28px rgba(240, 8, 137, 0.28);
}

.bonus-catalog {
  padding: 62px min(5vw, 70px);
}

.bonus-card-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bonus-card {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 211, 62, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 211, 62, 0.14), transparent 11rem),
    linear-gradient(180deg, rgba(58, 13, 101, 0.88), rgba(16, 4, 28, 0.96));
}

.bonus-card.featured {
  grid-row: span 2;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 211, 62, 0.28), transparent 16rem),
    radial-gradient(circle at 20% 90%, rgba(240, 8, 137, 0.32), transparent 15rem),
    linear-gradient(180deg, rgba(91, 18, 132, 0.96), rgba(18, 4, 31, 0.98));
  box-shadow: 0 0 34px rgba(240, 8, 137, 0.22);
}

.bonus-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-card h3 {
  margin-bottom: 0;
  font-size: 25px;
}

.bonus-card.featured h3 {
  font-size: clamp(32px, 4vw, 54px);
}

.bonus-card p {
  color: var(--muted);
  font-weight: 800;
}

.bonus-link {
  align-self: end;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-link::after {
  content: " ->";
}

.promo-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  margin: 20px min(5vw, 70px);
  padding: 28px;
  border: 1px solid rgba(255, 211, 62, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 211, 62, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(240, 8, 137, 0.42), rgba(33, 6, 60, 0.92));
}

.promo-strip.reverse {
  direction: rtl;
}

.promo-strip.reverse > * {
  direction: ltr;
}

.promo-strip img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 18px;
}

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

.path-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 211, 62, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.main-path {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 211, 62, 0.2), transparent 14rem),
    rgba(59, 13, 101, 0.72);
}

.path-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  font-weight: 950;
}

.dark {
  background: rgba(255, 255, 255, 0.04);
}

.payment-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
}

.payment-grid,
.footer-payments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-grid img,
.footer-payments img,
.provider-row img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid rgba(255, 211, 62, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.provider-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.seo-draft {
  color: var(--muted);
}

.seo-draft.intro-copy {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.seo-draft h2 {
  color: var(--white);
}

.seo-draft p {
  max-width: 980px;
  font-weight: 750;
}

.final-cta {
  margin: 0 min(5vw, 70px) 62px;
  border: 1px solid rgba(255, 211, 62, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 8, 137, 0.3), transparent 14rem),
    linear-gradient(135deg, rgba(255, 211, 62, 0.18), rgba(22, 7, 40, 0.96));
  text-align: center;
}

.casino-footer {
  display: grid;
  grid-template-columns: 150px 1fr 420px 54px;
  gap: 24px;
  align-items: center;
  padding: 36px max(18px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--line);
  background: #07010c;
}

.casino-footer > img {
  width: 130px;
}

.casino-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.casino-footer strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
}

@media (max-width: 1100px) {
  .casino-header {
    grid-template-columns: 128px 1fr auto 42px;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: grid;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 2, 15, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 160ms ease;
  }

  .top-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .casino-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    display: none;
  }

  .game-grid,
  .game-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bonus-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bonus-card.featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .start-path,
  .payment-section,
  .promo-strip,
  .casino-footer {
    grid-template-columns: 1fr;
  }

  .provider-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .casino-header {
    grid-template-columns: 1fr 42px;
    gap: 10px;
    padding: 8px 12px 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: 104px;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .header-actions .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 620px;
    display: block;
    padding: 48px 16px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 2, 15, 0.88), rgba(9, 2, 15, 0.42) 44%, rgba(9, 2, 15, 0.94)),
      linear-gradient(180deg, transparent 68%, var(--night));
  }

  h1 {
    font-size: 40px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 22px;
  }

  .category-scroll {
    top: 104px;
    padding: 12px 16px;
  }

  .lobby-section,
  .payment-section,
  .providers,
  .seo-draft,
  .final-cta,
  .start-path,
  .bonus-catalog {
    padding: 46px 16px;
  }

  .section-title {
    display: grid;
    align-items: start;
  }

  .game-grid,
  .game-grid.compact,
  .bonus-card-grid,
  .payment-grid,
  .footer-payments,
  .provider-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card {
    min-height: 210px;
  }

  .bonus-card {
    min-height: 250px;
    padding: 18px;
  }

  .promo-strip,
  .final-cta {
    margin-left: 16px;
    margin-right: 16px;
    padding: 22px;
  }
}

