:root {
  --bg: #05040b;
  --bg-soft: #0a0916;
  --panel: #0f1020;
  --panel-strong: #15172b;
  --text: #f6f7fb;
  --muted: #c7ccd8;
  --line: rgba(132, 216, 255, 0.24);
  --cyan: #7be0ff;
  --magenta: #f15bd7;
  --violet: #9a6cff;
  --blue: #6aa7ff;
  --silver: #e8eaef;
  --gold: #f15bd7;
  --mint: #7ea8ff;
  --coral: #a875ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-3d: 0 28px 72px rgba(0, 0, 0, 0.36), 0 8px 22px rgba(123, 224, 255, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 74% 14%, rgba(241, 91, 215, 0.18), transparent 30%),
    radial-gradient(circle at 16% 8%, rgba(123, 224, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(5, 4, 11, 0.56), rgba(5, 4, 11, 0.95)),
    url("assets/slot-casino.png") center top / cover no-repeat;
  opacity: 0.34;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(123, 224, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(241, 91, 215, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 68%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-color: rgba(123, 224, 255, 0.45);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cyan);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 10px 14px;
  color: #001116;
  background: var(--cyan);
  border-radius: 6px;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(241, 91, 215, 0.16);
  background: rgba(5, 4, 11, 0.8);
  backdrop-filter: blur(16px);
}

.topbar {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  transform: translateZ(0);
  filter:
    drop-shadow(0 0 18px rgba(123, 224, 255, 0.18))
    drop-shadow(0 0 16px rgba(241, 91, 215, 0.14));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-2px) perspective(600px) rotateX(3deg) rotateY(-4deg);
  filter:
    drop-shadow(0 0 24px rgba(123, 224, 255, 0.24))
    drop-shadow(0 0 20px rgba(241, 91, 215, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transform: translateZ(0);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) translateZ(10px);
}

.btn-primary {
  color: #04050b;
  background: linear-gradient(135deg, var(--silver), var(--cyan) 42%, var(--blue));
  box-shadow: 0 16px 34px rgba(123, 224, 255, 0.18);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  box-shadow: 0 16px 34px rgba(241, 91, 215, 0.2);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(232, 234, 239, 0.24);
  background: rgba(232, 234, 239, 0.05);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  perspective: 900px;
  transform-style: preserve-3d;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.05);
  transform: translateZ(-18px) scale(1.04);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(241, 91, 215, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(5, 4, 11, 0.95), rgba(10, 9, 22, 0.64) 48%, rgba(5, 4, 11, 0.42)),
    linear-gradient(180deg, rgba(5, 4, 11, 0.24), rgba(5, 4, 11, 0.84));
}

.hero-content {
  position: relative;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 94px 0 80px;
  transform: translateZ(34px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 690px;
  font-size: 64px;
  text-transform: uppercase;
}

.hero h1 {
  color: transparent;
  background: linear-gradient(90deg, var(--silver), var(--cyan) 38%, var(--magenta) 68%, var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 22px rgba(123, 224, 255, 0.14));
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 28px;
  color: #e8f3ff;
  font-size: 18px;
}

.signal-strip {
  width: min(100% - 32px, var(--max));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  perspective: 900px;
}

.signal-item {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(132, 216, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 17, 32, 0.94), rgba(8, 8, 18, 0.92));
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.signal-item:hover {
  border-color: rgba(241, 91, 215, 0.38);
  box-shadow: var(--shadow-3d);
  transform: perspective(760px) rotateX(4deg) translateY(-4px);
}

.signal-item strong {
  display: block;
  color: var(--cyan);
  font-size: 20px;
  line-height: 1.2;
}

.signal-item span {
  color: var(--muted);
  font-size: 14px;
}

.signal-item.accent-gold strong {
  color: var(--gold);
}

.signal-item.accent-mint strong {
  color: var(--mint);
}

.signal-item.accent-coral strong {
  color: var(--coral);
}

.keyword-band,
.visual-showcase,
.articles,
.faq-section {
  width: min(100% - 32px, var(--max));
  margin: 74px auto 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.keyword-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(232, 234, 239, 0.1);
  background: rgba(232, 234, 239, 0.1);
}

.keyword-links a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: #edf4ff;
  background: rgba(13, 13, 28, 0.95);
  font-weight: 800;
  text-decoration: none;
}

.keyword-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(241, 91, 215, 0.92), rgba(123, 224, 255, 0.9));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  perspective: 1100px;
}

.visual-tile {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;
  min-height: 0;
  aspect-ratio: 1600 / 620;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(123, 224, 255, 0.22);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(241, 91, 215, 0.06);
  text-decoration: none;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.visual-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0) scale(1.01);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.visual-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, transparent 26%, rgba(5, 4, 11, 0.8)),
    linear-gradient(90deg, rgba(241, 91, 215, 0.08), rgba(123, 224, 255, 0.08));
  transform: translateZ(16px);
  pointer-events: none;
}

.visual-tile::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(135deg, transparent 18%, rgba(255, 255, 255, 0.08), transparent 48%);
  opacity: 0;
  transform: translateZ(28px);
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.visual-tile span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 32px);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  overflow-wrap: anywhere;
  transform: translateZ(34px);
}

.visual-tile:hover img {
  transform: translateZ(18px) scale(1.06);
  filter: saturate(1.18);
}

.visual-tile:hover {
  border-color: rgba(241, 91, 215, 0.5);
  box-shadow: var(--shadow-3d), inset 0 0 0 1px rgba(123, 224, 255, 0.08);
}

.visual-tile:hover::before {
  opacity: 1;
}

.cta-band {
  width: min(100% - 32px, var(--max));
  margin: 84px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(241, 91, 215, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(241, 91, 215, 0.15), rgba(123, 224, 255, 0.09), rgba(154, 108, 255, 0.13)),
    rgba(13, 13, 28, 0.92);
  box-shadow: var(--shadow);
}

.cta-band p {
  margin: 14px 0 0;
  color: var(--muted);
}

.article-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 44%);
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(232, 234, 239, 0.09);
  perspective: 1000px;
}

.article-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #d9e5f3;
}

.article-copy a {
  font-weight: 900;
}

.article-media {
  display: block;
  overflow: hidden;
  --rx: 0deg;
  --ry: 0deg;
  aspect-ratio: 1600 / 620;
  border: 1px solid rgba(132, 216, 255, 0.22);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0) scale(1.01);
  transition: transform 0.26s ease;
}

.article-media:hover img {
  transform: translateZ(16px) scale(1.05);
}

.article-media:hover {
  border-color: rgba(241, 91, 215, 0.42);
  box-shadow: var(--shadow-3d);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(232, 234, 239, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 17, 32, 0.9), rgba(8, 8, 18, 0.88));
}

summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  color: #f8fbff;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.responsible-band {
  width: min(100% - 32px, var(--max));
  margin: 74px auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(241, 91, 215, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(36, 18, 42, 0.76), rgba(13, 13, 28, 0.82));
}

.responsible-band strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  border-radius: 8px;
  font-size: 20px;
}

.responsible-band p {
  margin: 0;
  color: #eadff3;
}

.site-footer {
  border-top: 1px solid rgba(241, 91, 215, 0.15);
  background: rgba(5, 4, 11, 0.94);
}

.site-footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 30px 0;
}

.footer-logo {
  width: min(220px, 58vw);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(123, 224, 255, 0.16))
    drop-shadow(0 0 16px rgba(241, 91, 215, 0.12));
}

.site-footer p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  .signal-strip,
  .keyword-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .visual-tile {
    aspect-ratio: 16 / 7.8;
  }

  .article-panel,
  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .article-media {
    order: -1;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: min(100% - 24px, var(--max));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand-logo {
    width: 132px;
    max-height: 44px;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-media {
    object-position: center top;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 68% 18%, rgba(241, 91, 215, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(5, 4, 11, 0.8), rgba(5, 4, 11, 0.9)),
      linear-gradient(90deg, rgba(5, 4, 11, 0.86), rgba(13, 13, 28, 0.64));
  }

  .hero-content {
    width: min(100% - 24px, var(--max));
    padding: 70px 0 58px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .signal-strip,
  .keyword-band,
  .visual-showcase,
  .articles,
  .faq-section,
  .cta-band,
  .responsible-band {
    width: min(100% - 24px, var(--max));
  }

  .signal-strip,
  .keyword-links,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .visual-tile-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .visual-tile,
  .visual-tile-large,
  .article-media {
    aspect-ratio: 16 / 9;
  }

  .visual-tile span {
    font-size: 14px;
    line-height: 1.18;
  }

  .cta-band {
    padding: 24px;
  }

  .article-panel {
    gap: 20px;
  }

  .responsible-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .brand-logo,
  .btn,
  .signal-item,
  .visual-tile,
  .visual-tile img,
  .article-media,
  .article-media img {
    transition-duration: 0.16s;
  }

  .hero-media,
  .hero-content,
  .visual-tile,
  .article-media,
  .visual-tile span,
  .visual-tile::after,
  .visual-tile::before {
    transform: none;
  }

  .visual-tile:hover img,
  .article-media:hover img {
    transform: scale(1.03);
  }
}

.calm-motion .visual-tile,
.calm-motion .article-media {
  transform: none;
}
