:root {
  --play-bg-1: #05000d;
  --play-bg-2: #0a0020;
  --play-bg-3: #000a18;
  --play-card: #0d0a1f;
  --play-violet: #8b5cf6;
  --play-violet-soft: #a78bfa;
  --play-teal: #14b8a6;
  --play-teal-soft: #2dd4bf;
  --play-text: #f5f3ff;
  --play-muted: #c4b5fd;
  --play-border: rgba(139, 92, 246, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--play-text);
  background: linear-gradient(130deg, var(--play-bg-1), var(--play-bg-2), var(--play-bg-3));
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(139, 92, 246, 0.22), transparent 42%),
    radial-gradient(circle at 84% 24%, rgba(20, 184, 166, 0.2), transparent 40%),
    radial-gradient(circle at 56% 78%, rgba(167, 139, 250, 0.16), transparent 46%),
    radial-gradient(circle at 32% 66%, rgba(45, 212, 191, 0.15), transparent 36%),
    radial-gradient(2px 2px at 15% 10%, rgba(245, 243, 255, 0.9), transparent 55%),
    radial-gradient(2px 2px at 35% 40%, rgba(245, 243, 255, 0.7), transparent 55%),
    radial-gradient(1.5px 1.5px at 60% 25%, rgba(245, 243, 255, 0.75), transparent 55%),
    radial-gradient(2px 2px at 80% 60%, rgba(245, 243, 255, 0.8), transparent 55%),
    radial-gradient(1.5px 1.5px at 72% 82%, rgba(245, 243, 255, 0.7), transparent 55%);
  animation: playStarDrift 26s linear infinite;
}

body::after {
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(245, 243, 255, 0.55), transparent 55%),
    radial-gradient(1.5px 1.5px at 47% 15%, rgba(245, 243, 255, 0.45), transparent 55%),
    radial-gradient(1.5px 1.5px at 66% 48%, rgba(245, 243, 255, 0.55), transparent 55%),
    radial-gradient(1.5px 1.5px at 88% 34%, rgba(245, 243, 255, 0.45), transparent 55%),
    radial-gradient(1.5px 1.5px at 10% 75%, rgba(245, 243, 255, 0.5), transparent 55%),
    radial-gradient(1.5px 1.5px at 40% 86%, rgba(245, 243, 255, 0.5), transparent 55%);
  animation: playStarDriftReverse 34s linear infinite;
}

@keyframes playStarDrift {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      80px -90px,
      -120px 40px,
      100px -60px,
      -70px 110px,
      130px -120px,
      -90px 50px,
      80px -70px,
      -130px 90px,
      60px -40px;
  }
}

@keyframes playStarDriftReverse {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      -70px 80px,
      90px -50px,
      -80px 70px,
      100px -70px,
      -90px 60px,
      70px -40px;
  }
}

.play-page {
  position: relative;
  z-index: 1;
}

.play-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.play-header {
  position: sticky;
  top: 0;
  height: 72px;
  z-index: 200;
  border-bottom: 1px solid transparent;
  background: rgba(5, 0, 13, 0.22);
  transition: background 0.25s ease, border-color 0.25s ease;
}

body.play-scrolled .play-header {
  background: rgba(5, 0, 13, 0.92);
  border-color: rgba(139, 92, 246, 0.3);
}

@media (max-width: 1100px) {
  .play-header {
    height: 68px;
  }
}

.play-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: 100%;
  position: relative;
  overflow: visible;
}

.play-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--play-text);
}

.play-brand img {
  width: 170px;
  height: auto;
  display: block;
}

.play-burger {
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(13, 10, 31, 0.9);
  color: var(--play-text);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.play-nav a {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--play-text);
  text-decoration: none;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  position: relative;
}

.play-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.36rem;
  height: 1px;
  background: linear-gradient(90deg, var(--play-violet), var(--play-teal));
  opacity: 0;
}

.play-nav a:hover::after {
  opacity: 1;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.65);
}

@media (min-width: 1101px) {
  .play-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: flex-end;
    overflow: visible;
  }

  .play-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .play-burger {
    display: none;
  }
}

@media (max-width: 1100px) {
  .play-burger {
    display: flex;
  }

  .play-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    z-index: 201;
    background: #05000d;
    transform: translateX(calc(100% + 16px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
    padding: 5.2rem 1rem 1.5rem;
    max-width: min(320px, 85vw) !important;
    border-left: 1px solid rgba(139, 92, 246, 0.35);
  }

  .play-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
  }

  .play-nav a {
    display: block;
    border: 1px solid rgba(45, 212, 191, 0.2);
    background: rgba(13, 10, 31, 0.72);
  }

  .play-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    max-width: unset !important;
    width: 100vw !important;
  }

  body.play-nav-open .play-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
  }

  body.play-nav-open .play-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.play-nav-open {
    overflow: hidden;
  }
}

body:not(.play-nav-open) .play-header {
  backdrop-filter: blur(8px);
}

body.play-nav-open .play-header {
  backdrop-filter: none;
}

.play-page > main,
.play-page > footer {
  position: relative;
  z-index: 1;
}

.play-section {
  padding: 4rem 0;
}

.play-section h2,
.play-section h3,
.play-hero h1,
.play-footer h3 {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1.2px;
  margin-top: 0;
}

.play-section-title {
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 0.82rem;
  color: var(--play-teal-soft);
  margin-bottom: 0.55rem;
}

.play-muted {
  color: var(--play-muted);
}

.play-hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.play-hero h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: clamp(2.2rem, 4.7vw, 4.2rem);
}

.play-hero h1 span {
  color: var(--play-teal-soft);
}

.play-hero p {
  max-width: 780px;
  margin: 1.2rem auto 0;
  color: var(--play-muted);
}

.play-button,
.play-cta-btn,
.play-age-box button,
.play-cookie-actions button {
  border: 0;
  cursor: pointer;
  color: #fefeff;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(100deg, #8b5cf6, #14b8a6);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.25);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.play-button:hover,
.play-cta-btn:hover,
.play-age-box button:hover,
.play-cookie-actions button:hover {
  box-shadow: 0 0 26px rgba(167, 139, 250, 0.52);
  transform: scale(1.03);
}

.play-button {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.9rem 1.6rem;
}

.play-cta-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.78rem 0.9rem;
  font-size: 0.95rem;
}

.play-grid {
  display: grid;
  gap: 1rem;
}

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

.play-about-grid,
.play-payment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.play-card,
.play-info,
.play-pay,
.play-legal-card,
.play-rg-box {
  background: var(--play-card);
  border: 1px solid var(--play-border);
  border-radius: 16px;
  box-shadow: inset 0 0 30px rgba(139, 92, 246, 0.06);
  position: relative;
  overflow: hidden;
}

.play-card::before,
.play-info::before,
.play-pay::before,
.play-rg-box::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -28%;
  width: 1px;
  height: 1px;
  box-shadow:
    32px 18px 0 rgba(245, 243, 255, 0.15),
    62px 44px 0 rgba(245, 243, 255, 0.11),
    88px 10px 0 rgba(245, 243, 255, 0.13),
    104px 56px 0 rgba(245, 243, 255, 0.1),
    132px 30px 0 rgba(245, 243, 255, 0.15);
}

.play-info,
.play-pay,
.play-legal-card,
.play-rg-box {
  padding: 1.35rem;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(20, 184, 166, 0.1);
  color: #b6fff6;
}

.play-casino-list {
  display: grid;
  gap: 1rem;
}

.play-card {
  display: grid;
  grid-template-columns: 180px 1fr 200px;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.play-left {
  display: grid;
  place-items: center;
}

.play-ring {
  --play-score: 90;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--play-violet) calc(var(--play-score) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid;
  place-items: center;
  padding: 10px;
}

.play-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #090615;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.play-ring-score {
  font-family: "Orbitron", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.play-ring small {
  color: var(--play-muted);
  font-size: 0.72rem;
}

.play-metrics {
  display: grid;
  gap: 0.55rem;
}

.play-metric {
  display: grid;
  grid-template-columns: 105px 1fr 40px;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.82rem;
}

.play-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.play-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #14b8a6);
}

.play-stars {
  color: #2dd4bf;
  letter-spacing: 1px;
  font-size: 0.92rem;
}

.play-right {
  display: grid;
  gap: 0.55rem;
  align-content: center;
}

.play-logo-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 0.55rem;
}

.play-logo-wrap img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
}

.play-bonus-text {
  background: linear-gradient(100deg, rgba(139, 92, 246, 0.2), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 10px;
  padding: 0.55rem;
  font-size: 0.85rem;
}

.play-mini-review {
  font-size: 0.84rem;
  color: #d9d1ff;
}

.play-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.play-pill {
  font-size: 0.7rem;
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #b3fff7;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.play-disclaimer {
  font-size: 0.7rem;
  color: #c8befb;
}

.play-stat {
  text-align: center;
  padding: 1rem 0.8rem;
}

.play-stat strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  color: #b7fffa;
}

.play-rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.play-rg-links a,
.play-link {
  color: #aefdf6;
  text-decoration: none;
  border-bottom: 1px dashed rgba(174, 253, 246, 0.55);
}

.play-link:hover,
.play-rg-links a:hover {
  color: #fff;
}

.play-18 {
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.play-footer {
  padding: 3rem 0 4.8rem;
  border-top: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(5, 0, 13, 0.66);
}

.play-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 1rem;
}

.play-footer h3 {
  font-size: 0.96rem;
  text-transform: uppercase;
}

.play-footer a {
  color: #d6ceff;
  text-decoration: none;
  display: inline-block;
  margin: 0.2rem 0;
}

.play-footer a:hover {
  color: #b3fff7;
}

.play-copy {
  margin-top: 1rem;
  color: #c4b5fd;
  font-size: 0.85rem;
}

.play-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: rgba(5, 0, 13, 0.96);
  border-top: 1px solid rgba(139, 92, 246, 0.45);
  padding: 0.8rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.play-cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.play-cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.play-cookie-actions button {
  padding: 0.64rem 0.9rem;
}

.play-cookie-banner[data-play-cookie-state="hidden"] {
  display: none;
}

.play-age-overlay[data-play-age-state="confirmed"] {
  display: none;
}

.play-age-box h2 {
  color: #2d1456;
  margin: 0.3rem 0 0.6rem;
}

.play-age-box p {
  color: #37244f;
  margin: 0.5rem 0 1.1rem;
}

.play-age-box button {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.8rem;
}

.play-to-top {
  position: fixed;
  right: 1rem;
  bottom: 5.6rem;
  z-index: 240;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.55);
  background: rgba(13, 10, 31, 0.94);
  color: #c8fff9;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.play-to-top.play-visible {
  opacity: 1;
  pointer-events: auto;
}

.play-legal-hero {
  min-height: 32vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.play-legal-wrap {
  display: grid;
  gap: 1rem;
}

.play-legal-card h2 {
  margin-bottom: 0.4rem;
}

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

  .play-left {
    justify-content: start;
  }

  .play-right {
    grid-template-columns: 1fr;
  }

  .play-about-grid,
  .play-payment-grid,
  .play-method-grid,
  .play-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
  }

  h2 {
    font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
  }

  h3 {
    font-size: clamp(1rem, 3.5vw, 1.3rem) !important;
  }

  .play-bonus-text,
  [class*="play-bonus"] {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem) !important;
  }

  .play-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
  }

  .play-card {
    padding: 16px !important;
  }
}

@media (max-width: 550px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  .play-page * {
    max-width: 100%;
  }

  .play-casino-list,
  .play-grid {
    grid-template-columns: 1fr !important;
    min-width: 0;
  }

  .play-casino-list > *,
  .play-grid > * {
    min-width: 0;
  }

  .play-card {
    flex-direction: column !important;
    min-width: 0;
    padding: 12px !important;
  }

  .play-card * {
    min-width: 0;
    max-width: 100%;
  }

  .play-card-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .play-logo-wrap {
    width: min(200px, 85%);
    min-height: 56px;
    margin: 0 auto 8px;
  }

  .play-cta-btn,
  .play-button,
  .play-age-box button,
  .play-age-box a,
  .play-cookie-actions button,
  .play-cookie-actions a {
    width: 100% !important;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: block;
  }

  .play-age-box,
  .play-cookie-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  h1 {
    font-size: clamp(1.25rem, 6vw, 2rem) !important;
  }

  h2 {
    font-size: clamp(1.1rem, 5vw, 1.6rem) !important;
  }

  h3 {
    font-size: clamp(0.95rem, 4vw, 1.2rem) !important;
  }

  .play-bonus-text,
  [class*="play-bonus"] {
    font-size: 0.95rem !important;
  }

  .play-card:hover {
    transform: none !important;
  }

  table {
    table-layout: auto;
    width: 100%;
    min-width: 0;
  }

  .play-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .play-table-wrap table {
    min-width: max-content;
    width: max-content;
  }

  thead th {
    white-space: nowrap;
  }

  .play-payment-grid,
  .play-method-grid,
  [class*="play-payment"],
  [class*="play-method"] {
    grid-template-columns: 1fr !important;
    min-width: 0;
  }

  .play-header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 8px !important;
  }

  .play-brand-logo,
  .play-logo,
  [class*="play-brand"] {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .play-burger {
    flex-shrink: 0 !important;
  }

  .play-nav {
    max-width: min(320px, 85vw) !important;
  }

  .play-nav-backdrop {
    max-width: unset !important;
    width: 100vw !important;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(1.1rem, 7vw, 1.5rem) !important;
  }

  h3 {
    font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
  }

  .play-bonus-text,
  [class*="play-bonus"] {
    font-size: 0.85rem !important;
  }

  .play-card {
    padding: 10px !important;
  }
}
