/* Spinaia theme — deep purple / pink / cyan reef */
html, body { margin: 0; padding: 0; background: #130522; }
body.sp-body {
  min-height: 100%; overflow-x: hidden;
  font-family: Nunito, system-ui, sans-serif;
  color: #efe4ff; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: #ff5fbe; text-decoration: none; }
a:hover { color: #ffd21a; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #ffd21a; outline-offset: 2px;
}

@keyframes sp-marquee {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}
@keyframes sp-glow {
  0%,100% { box-shadow: 0 0 0 rgba(255,45,155,0), inset 0 2px 0 rgba(255,255,255,.5); }
  50% { box-shadow: 0 0 26px rgba(255,45,155,.55), inset 0 2px 0 rgba(255,255,255,.5); }
}

.sp-shell {
  position: relative; min-height: 100vh; background: #130522; overflow-x: clip;
}
.sp-shell::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(138,33,214,.35), transparent 70%),
    radial-gradient(50% 35% at 85% 20%, rgba(255,45,155,.18), transparent 70%),
    radial-gradient(45% 30% at 50% 90%, rgba(46,230,214,.10), transparent 70%);
}
.sp-main { position: relative; z-index: 10; }

/* Header */
.sp-header {
  position: relative; z-index: 20;
  background-color: #2a0d4a;
  background-image: var(--sp-valance);
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  padding: 12px 0 clamp(28px, 4vw, 40px) 0;
  box-shadow: 0 10px 40px rgba(19,5,34,.8);
}
.sp-header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 20px);
  display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px);
}
.sp-burger {
  flex: 0 0 auto; width: 46px; height: 46px;
  display: none; place-items: center;
  border: 1px solid rgba(255,94,205,.45); border-radius: 14px;
  background: rgba(255,45,155,.12); cursor: pointer; padding: 0;
}
.sp-burger span {
  display: block; width: 20px; height: 2.5px; border-radius: 2px;
  background: #ff8ad4;
  box-shadow: 0 6px 0 #ff8ad4, 0 -6px 0 #ff8ad4;
}
.sp-burger:hover {
  background: rgba(255,45,155,.28); box-shadow: 0 0 18px rgba(255,45,155,.5);
}
.sp-logo-link--header {
  flex: 0 0 auto; height: clamp(44px, 5vw, 62px);
  display: flex; align-items: center; margin-right: clamp(6px, 1.5vw, 18px);
}
.sp-logo--header {
  max-width: 160px; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
.sp-nav-slot--desktop {
  flex: 1 1 auto; min-width: 0;
}
.sp-nav-slot--desktop .sp-main-nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2px, 0.6vw, 10px); overflow-x: auto; scrollbar-width: none;
}
.sp-nav-slot--desktop .sp-main-nav::-webkit-scrollbar { display: none; height: 0; }
.sp-nav-slot--desktop .sp-nav-link {
  padding: 9px 11px; border-radius: 12px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  color: #f3e6ff; white-space: nowrap; flex: 0 0 auto;
}
.sp-nav-slot--desktop .sp-nav-link:hover {
  background: rgba(255,255,255,.09); color: #ffd21a;
}
.sp-header-actions {
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
}

/* Drawer */
.sp-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,2,20,.72); backdrop-filter: blur(3px);
}
.sp-overlay[hidden] { display: none !important; }
.sp-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: min(340px, 88vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #2a0d4a 0%, #180628 100%);
  border-right: 1px solid rgba(255,94,205,.35);
  box-shadow: 18px 0 60px rgba(8,2,16,.7);
  transform: translateX(0);
  transition: transform .3s cubic-bezier(.22,.9,.3,1);
}
.sp-drawer[hidden] {
  display: flex !important; transform: translateX(-102%); pointer-events: none;
}
.sp-drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.sp-drawer-title {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800;
  font-size: 20px; color: #ffd21a;
}
.sp-drawer-close {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.sp-nav-slot--mobile {
  flex: 1 1 auto; overflow-y: auto; padding: 18px;
}
.sp-nav-slot--mobile .sp-main-nav {
  display: flex; flex-direction: column; gap: 12px;
}
.sp-nav-slot--mobile .sp-nav-link {
  display: block; padding: 18px 22px; border-radius: 14px;
  color: #fff; font-family: "Baloo 2", Nunito, sans-serif;
  font-weight: 800; font-size: 21px;
  box-shadow: 0 6px 18px rgba(19,5,34,.55), inset 0 1px 0 rgba(255,255,255,.22);
  text-shadow: 0 2px 4px rgba(0,0,0,.28);
  background: linear-gradient(90deg, #e8420c, #ff8a00);
}
.sp-nav-slot--mobile .sp-nav-link:nth-child(2) { background: linear-gradient(90deg, #8a1fd8, #d02ad0); }
.sp-nav-slot--mobile .sp-nav-link:nth-child(3) { background: linear-gradient(90deg, #1246e0, #1ec8d8); }
.sp-nav-slot--mobile .sp-nav-link:nth-child(4) { background: linear-gradient(90deg, #0f9b4a, #86d92c); }
.sp-nav-slot--mobile .sp-nav-link:nth-child(5) { background: linear-gradient(90deg, #d81b60, #ff5fbe); }
.sp-nav-slot--mobile .sp-nav-link:nth-child(6) { background: linear-gradient(90deg, #f7b500, #ff6a00); }
.sp-drawer-cta {
  padding: 18px 18px 24px; border-top: 1px solid rgba(255,255,255,.10);
}

/* Buttons Example 8 */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: filter .18s ease, transform .12s ease, box-shadow .18s ease;
  font-family: inherit;
}
.sp-btn:hover { filter: brightness(1.08); }
.sp-btn:active { transform: scale(.97); }
.sp-btn--block { width: 100%; }
.sp-btn--login {
  padding: 11px 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, #a63cff, #6d16c9);
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .03em;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(196,90,255,.55), inset 0 2px 0 rgba(255,255,255,.28);
}
.sp-btn--register {
  padding: 11px 22px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.5);
  background: linear-gradient(180deg, #ffe066, #ffab14);
  color: #3d1400; font-weight: 900; font-size: 14px; letter-spacing: .03em;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(255,205,40,.6), inset 0 2px 0 rgba(255,255,255,.55);
}
.sp-btn--play {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800; font-size: 21px;
  color: #2b1400; padding: 16px 40px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe14d 0%, #f7b500 100%);
  border: 2px solid #ff9d1c;
  box-shadow: 0 0 30px rgba(255,190,20,.8), inset 0 2px 0 rgba(255,255,255,.5);
  animation: sp-glow 2.6s ease-in-out infinite;
}
.sp-btn--claim {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800; font-size: 20px;
  color: #2b1400; padding: 16px 20px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe14d 0%, #f7b500 100%);
  border: 2px solid #ff9d1c;
  box-shadow: 0 0 26px rgba(255,190,20,.7), inset 0 2px 0 rgba(255,255,255,.5);
}
.sp-btn--more {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800; font-size: 18px;
  color: #fff; padding: 14px 46px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(168,42,232,.35) 0%, rgba(122,21,192,.35) 100%);
  border: 2px solid #d878ff;
  box-shadow: 0 0 22px rgba(168,42,232,.45), inset 0 2px 0 rgba(255,255,255,.16);
}
.sp-btn--more:hover {
  background: linear-gradient(180deg, #a52ae8 0%, #7a15c0 100%);
  box-shadow: 0 0 32px rgba(196,90,255,.9);
}

/* Hero */
.sp-hero {
  max-width: 1400px; margin: 0 auto; padding: 28px 20px 0;
}
.sp-hero-visual { position: relative; }
.sp-hero-img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.sp-hero-copy {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: min(52%, 620px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(20px, 4vw, 60px);
}
.sp-hero-title {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.02;
  margin: 0 0 30px; color: #fff;
  text-shadow: 0 4px 0 rgba(120,10,90,.45), 0 0 34px rgba(255,45,155,.55);
  text-wrap: balance;
}
.sp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Sections */
.sp-section {
  max-width: 1400px; margin: 0 auto;
  padding: 64px 20px 0;
}
.sp-section--tight { padding-bottom: 0; }
.sp-heading {
  display: flex; align-items: center; gap: 22px; margin-bottom: 34px;
}
.sp-heading-line {
  flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, rgba(201,146,46,0) 0%, #c9922e 100%);
}
.sp-heading-line--rev {
  background: linear-gradient(90deg, #c9922e 0%, rgba(201,146,46,0) 100%);
}
.sp-heading-title {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px); letter-spacing: .04em;
  text-transform: uppercase; color: #fff; margin: 0; white-space: nowrap;
  text-shadow: 0 0 26px rgba(255,255,255,.28);
}
.sp-more-wrap { display: flex; justify-content: center; margin-top: 36px; }

/* Games */
.sp-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.sp-game.is-hidden { display: none !important; }
.sp-game-btn {
  display: block; width: 100%; padding: 3px; border: 0; cursor: pointer;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff5fbe 0%, #c026a8 100%);
  box-shadow: 0 0 0 1px rgba(255,140,220,.5), 0 8px 24px rgba(19,5,34,.7);
  transition: transform .18s ease, box-shadow .18s ease;
}
.sp-game-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 26px rgba(255,45,155,.7), 0 12px 28px rgba(19,5,34,.8);
}
.sp-game-btn img {
  display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 13px; background: #240a3c;
}

/* Content */
.sp-article {
  border-radius: 28px;
  border: 1px solid rgba(46,230,214,.28);
  background: linear-gradient(180deg, rgba(10,42,68,.72) 0%, rgba(24,8,46,.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 60px rgba(6,20,34,.5);
  padding: clamp(26px, 4vw, 56px);
}
.sp-content { font-size: 17px; line-height: 1.7; color: #d8e9ef; }
.sp-content h1, .sp-content h2 {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 0 0 8px; color: #fff;
}
.sp-content h3 {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 700;
  font-size: 24px; margin: 30px 0 14px; color: #ffd21a;
}
.sp-content p { margin: 0 0 20px; }
.sp-content ul, .sp-content ol { margin: 0 0 26px; padding: 0; list-style: none; }
.sp-content li {
  position: relative; padding-left: 30px; margin: 12px 0;
  font-size: 16px; line-height: 1.6; color: #d8e9ef;
}
.sp-content ul li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(180deg, #2ee6d6, #0d8fa8);
  box-shadow: 0 0 12px rgba(46,230,214,.7);
}
.sp-content a { color: #ff5fbe; }
.sp-content blockquote {
  margin: 0; padding: 22px 26px; border-radius: 18px;
  border-left: 4px solid #2ee6d6; background: rgba(46,230,214,.08);
  font-size: 18px; line-height: 1.6; font-style: italic; color: #eafcff;
}
.sp-content table {
  width: 100%; border-collapse: collapse; font-size: 16px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(46,230,214,.25);
}
.sp-content table th, .sp-content table td {
  padding: 14px 18px; text-align: left;
  border-top: 1px solid rgba(46,230,214,.18);
}
.sp-content table th {
  background: rgba(46,230,214,.12); color: #2ee6d6;
  font-family: "Baloo 2", sans-serif; font-weight: 700; border-top: 0;
}
.sp-content table td { color: #d8e9ef; background: rgba(8,34,56,.55); }
.sp-content details {
  border-radius: 16px; border: 1px solid rgba(46,230,214,.25);
  background: rgba(8,34,56,.55); overflow: hidden; margin: 12px 0;
}
.sp-content summary {
  padding: 16px 20px; font-family: "Baloo 2", Nunito, sans-serif;
  font-weight: 700; font-size: 18px; color: #fff; cursor: pointer;
  list-style: none;
}
.sp-content summary::-webkit-details-marker { display: none; }
.sp-content-cta { margin-top: 28px; display: flex; justify-content: center; }

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Jackpots */
.sp-jp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.sp-jp {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.sp-jp-amount {
  width: 100%; text-align: center; padding: 16px 18px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,45,155,.18) 0%, rgba(122,21,192,.18) 100%);
  border: 1px solid rgba(255,140,220,.4);
  box-shadow: 0 0 26px rgba(255,45,155,.28);
}
.sp-jp-tier {
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: #ff8ad4; margin-bottom: 6px;
}
.sp-jp-value {
  font-family: "Baloo 2", Nunito, sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1; color: #ffd21a;
  text-shadow: 0 0 22px rgba(255,200,30,.6);
  font-variant-numeric: tabular-nums;
}
.sp-jp-card {
  width: 100%; max-width: 300px; padding: 3px; border: 0; cursor: pointer;
  border-radius: 20px;
  background: linear-gradient(180deg, #ff5fbe 0%, #c026a8 100%);
  box-shadow: 0 0 0 1px rgba(255,140,220,.5), 0 10px 30px rgba(19,5,34,.75);
}
.sp-jp-card img {
  display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 17px; background: #240a3c;
}

/* Providers */
.sp-prov-section { padding: 72px 0 0; }
.sp-prov-mask {
  position: relative; overflow: hidden; padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.sp-prov-track {
  display: flex; width: max-content; gap: 22px;
  animation: sp-marquee 48s linear infinite;
}
.sp-prov {
  flex: none; width: 150px; height: 72px; padding: 12px 16px;
  border-radius: 16px; border: 1px solid rgba(255,94,205,.28);
  background: rgba(42,13,74,.65);
  display: flex; align-items: center; justify-content: center;
}
.sp-prov img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: brightness(0) saturate(100%) invert(78%) sepia(56%) saturate(700%) hue-rotate(122deg) brightness(102%)
    drop-shadow(0 0 10px rgba(255,255,255,.16));
}
.sp-prov:nth-child(3n) img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(64%) saturate(1600%) hue-rotate(358deg) brightness(104%)
    drop-shadow(0 0 10px rgba(255,255,255,.16));
}
.sp-prov:nth-child(3n+1) img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(93%) saturate(4200%) hue-rotate(305deg) brightness(105%) contrast(102%)
    drop-shadow(0 0 10px rgba(255,255,255,.16));
}
.sp-prov:nth-child(3n+2) img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(96%) saturate(3400%) hue-rotate(2deg) brightness(103%)
    drop-shadow(0 0 10px rgba(255,255,255,.16));
}

/* Footer */
.sp-footer {
  position: relative; z-index: 10;
  margin-top: 80px; padding: 64px 0 40px;
  background: #2a0d4a;
}
.sp-footer-valance {
  position: absolute; left: 0; right: 0; top: -1px; height: 58px;
  background: var(--sp-valance) repeat-x center bottom / auto 100%;
  transform: scaleY(-1); transform-origin: top;
}
.sp-footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px; align-items: start;
}
.sp-logo--footer {
  width: auto; height: 52px; max-width: 148px;
  object-fit: contain; display: block; margin-bottom: 8px;
}
.sp-nav-slot--footer .sp-footer-nav {
  display: flex; flex-direction: column; gap: 11px;
}
.sp-footer-link {
  font-weight: 700; font-size: 16px; color: #f0e2ff;
}
.sp-footer-link:hover { color: #ffd21a; }
.sp-safe-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px 24px; align-items: center;
}
.sp-safe-img {
  width: 100%; max-width: 150px; max-height: 48px; height: auto;
  object-fit: contain; display: block; opacity: .9;
}
.sp-rg {
  max-width: 1400px; margin: 28px auto 0; padding: 0 20px;
  text-align: center; font-size: 13px; line-height: 1.6; color: #9b86b8;
}

@media (prefers-reduced-motion: reduce) {
  .sp-prov-track, .sp-btn--play { animation: none !important; }
}

@media (max-width: 900px) {
  .sp-nav-slot--desktop { display: none !important; }
  .sp-burger { display: grid; }
}

@media (max-width: 760px) {
  .sp-btn--login, .sp-btn--register { padding: 9px 14px; font-size: 13px; }
  .sp-hero-copy {
    position: static; width: auto; padding: 18px 0 0;
  }
  .sp-hero-title {
    font-size: 28px; margin-bottom: 18px; text-align: center;
  }
  .sp-hero-actions { justify-content: center; }
  .sp-btn--play { width: 100%; font-size: 18px; padding: 14px 20px; }
  .sp-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-footer-inner {
    grid-template-columns: 1fr; text-align: center; justify-items: center;
  }
  .sp-nav-slot--footer .sp-footer-nav { align-items: center; }
  .sp-safe-row { justify-items: center; }
}

@media (max-width: 420px) {
  .sp-logo--header { max-width: 110px; }
  .sp-btn--login, .sp-btn--register { padding: 8px 10px; font-size: 12px; }
}
