:root {
  --bg: #070807;
  --panel: #11130f;
  --panel-soft: #171914;
  --ink: #f3f2eb;
  --muted: #a8a99e;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d8ff54;
  --accent-ink: #12140a;
  --gold: #f8bd47;
  --rose: #f05b83;
  --violet: #7568ff;
  --cyan: #43d9ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 14%, rgba(117, 104, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(216, 255, 84, 0.12), transparent 32%),
    radial-gradient(circle at 50% 88%, rgba(67, 217, 255, 0.1), transparent 34%);
}

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

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

.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.icon-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 23, 20, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.nav-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: rgba(243, 242, 235, 0.62);
  font-size: 23px;
  line-height: 1;
  transition: 180ms ease;
}

.nav-icon.active,
.nav-icon:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.nav-icon::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  padding: 5px 8px;
  border-radius: 6px;
  background: #20221d;
  color: var(--ink);
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: 160ms ease;
  pointer-events: none;
}

.nav-icon:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.template-button {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  top: 580px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  pointer-events: auto;
  box-shadow: 0 14px 44px rgba(220, 239, 200, 0.18);
}

.section-shell,
.content-section,
.cta-band,
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 940px;
  padding-top: 145px;
  text-align: center;
  overflow: clip;
}

.service-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.service-pills span {
  padding: 12px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(68px, 8.4vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 700;
}

.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 460px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.35;
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(243, 242, 235, 0.62);
}

.casino-dashboard {
  position: absolute;
  left: 50%;
  bottom: -220px;
  z-index: -1;
  width: min(780px, 86vw);
  min-height: 330px;
  padding: 18px;
  border: 1px solid rgba(216, 255, 84, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(117, 104, 255, 0.22), rgba(12, 14, 13, 0.94) 58%),
    #0d100e;
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.72),
    0 0 120px rgba(216, 255, 84, 0.1);
  transform: translateX(-50%);
  overflow: hidden;
}

.casino-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.dashboard-top,
.dashboard-grid,
.slot-reels {
  position: relative;
  z-index: 1;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.dashboard-top strong {
  color: var(--accent);
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 42px auto 28px;
  max-width: 520px;
}

.slot-reels span {
  display: grid;
  place-items: center;
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent),
    rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 900;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.32);
}

.slot-reels span:nth-child(2) {
  color: var(--rose);
}

.slot-reels span:nth-child(3) {
  color: var(--gold);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.dashboard-grid small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.dashboard-grid strong {
  font-size: 24px;
}

.content-section {
  padding-block: 92px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading span,
.section-heading a {
  color: var(--muted);
}

.section-heading a {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.project-grid,
.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.product-card,
.price-card,
.testimonial-track article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.project-card {
  padding: 14px;
}

.preview {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 6px;
  padding: 28px;
  isolation: isolate;
}

.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 500ms ease;
}

.preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 8, 7, 0.84), transparent 62%);
}

.project-card:hover .preview::before {
  transform: scale(1.05);
}

.neon-lobby .preview::before {
  background:
    radial-gradient(circle at 78% 22%, rgba(216, 255, 84, 0.58), transparent 22%),
    linear-gradient(135deg, rgba(117, 104, 255, 0.76), rgba(8, 10, 9, 0.2)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 76px),
    linear-gradient(135deg, #16192a, #080908);
}

.royal-slots .preview::before {
  background:
    radial-gradient(circle at 30% 18%, rgba(240, 91, 131, 0.68), transparent 24%),
    radial-gradient(circle at 70% 50%, rgba(248, 189, 71, 0.48), transparent 26%),
    linear-gradient(135deg, rgba(67, 217, 255, 0.34), rgba(9, 10, 9, 0.1)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 68px),
    linear-gradient(135deg, #201018, #070807);
}

.project-label {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-size: 14px;
}

.preview strong {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.9;
}

.project-card p {
  min-height: 52px;
  margin: 18px 8px 4px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.solutions-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.solutions-list article {
  display: grid;
  grid-template-columns: 90px minmax(200px, 0.8fr) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.solutions-list span,
.solutions-list p,
.product-card p,
.blog-list small,
.price-card p,
.price-card small,
.faq-list p,
.footer-links a,
.footer-bottom {
  color: var(--muted);
}

.solutions-list h3,
.product-card h3,
.price-card h3,
.testimonial-track h3 {
  margin: 0;
  font-size: 24px;
}

.solutions-list p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.product-card {
  display: grid;
  gap: 20px;
  padding: 14px 14px 24px;
}

.product-art {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  overflow: hidden;
}

.casino-kit .product-art {
  position: relative;
  background:
    radial-gradient(circle at 78% 24%, rgba(216, 255, 84, 0.42), transparent 25%),
    linear-gradient(135deg, #16203b, #151713 58%, #050606);
}

.slot-kit .product-art {
  position: relative;
  background:
    radial-gradient(circle at 27% 25%, rgba(240, 91, 131, 0.58), transparent 22%),
    linear-gradient(135deg, #35201f, #12110f 72%);
}

.product-art i {
  position: absolute;
  inset: auto 24px 24px;
  height: 84px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 255, 84, 0.85), rgba(67, 217, 255, 0.75)),
    rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.product-art span {
  position: relative;
  z-index: 1;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
}

.product-card div:last-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-inline: 8px;
}

.blog-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.blog-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 3vw, 34px);
}

.testimonial-track {
  display: grid;
  grid-auto-columns: minmax(300px, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}

.testimonial-track article {
  min-height: 230px;
  padding: 24px;
  scroll-snap-align: start;
}

.testimonial-track p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.price-card {
  padding: 28px;
}

.price-card.highlighted {
  background: #dfe9d2;
  color: #10130d;
}

.price-card.highlighted p,
.price-card.highlighted small {
  color: rgba(16, 19, 13, 0.68);
}

.price-card strong {
  display: block;
  margin: 18px 0 24px;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: 0;
}

.price-card strong span {
  color: currentColor;
  font-size: 18px;
}

.price-card .button {
  width: 100%;
  margin-bottom: 22px;
  background: #10130d;
  color: var(--ink);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
}

.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 24px 0;
  list-style: none;
  font-size: clamp(20px, 3vw, 32px);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 720px;
  margin: -8px 0 24px;
  font-size: 18px;
  line-height: 1.55;
}

.cta-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 50px;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(220, 239, 200, 0.1), transparent 40%),
    var(--panel-soft);
}

.cta-band span {
  color: var(--accent);
}

.cta-band h2,
.site-footer h2 {
  margin: 12px 0 16px;
  font-size: clamp(40px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: 0;
}

.cta-band p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.site-footer {
  padding: 130px 0 28px;
}

.footer-intro {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 30px;
  align-items: end;
}

.footer-machine {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(216, 255, 84, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(117, 104, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.footer-machine span,
.footer-machine small {
  color: var(--muted);
}

.footer-machine strong {
  color: var(--accent);
  font-size: clamp(68px, 9vw, 112px);
  line-height: 0.9;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.footer-links div {
  display: grid;
  gap: 12px;
}

.footer-links h3 {
  margin: 0 0 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header {
    top: auto;
    bottom: 16px;
  }

  .template-button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 68px;
  }

  .hero-actions,
  .cta-band,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    max-width: 330px;
    margin-inline: auto;
  }

  .project-grid,
  .product-grid,
  .pricing-grid,
  .footer-intro,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .solutions-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .blog-list a {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .preview,
  .product-art {
    min-height: 320px;
  }

  .casino-dashboard {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 0;
    width: 100%;
    min-height: 280px;
    margin-top: 38px;
    transform: none;
  }

  .slot-reels {
    margin-top: 30px;
  }

  .slot-reels span {
    min-height: 82px;
  }
}

@media (max-width: 520px) {
  .section-shell,
  .content-section,
  .cta-band,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .icon-nav {
    gap: 3px;
    padding: 6px;
  }

  .nav-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .service-pills {
    margin-bottom: 42px;
  }

  .content-section {
    padding-block: 68px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .casino-dashboard {
    margin-top: 32px;
  }

  .hero {
    min-height: auto;
  }
}
