:root {
  --ss-bg: #000000;
  --ss-surface: #1a0035;
  --ss-surface-2: #370556;
  --ss-border-soft: rgba(255, 255, 255, 0.1);
  --ss-text: #ffffff;
  --ss-muted: #b0b0b0;
  --ss-cta-gradient: linear-gradient(90deg, #f8d70a 0%, #c51af6 200%);
  --ss-cta-color: #c41af6;
  --ss-cta-hover-color: #8010e4;
  --ss-secondary-gradient: linear-gradient(90deg, #8010e4 0%, #bb19f3 100%);
  --ss-teal: #00fcd6;
  --ss-teal-2: #27d0d7;
  --ss-yellow: #fcd700;
  --ss-green: #1df792;
  --ss-link: #a855f7;
  --font-heading: "Readex Pro", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

.ss-slot-page,
.ss-slot-page * {
  box-sizing: border-box;
}

.ss-slot-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 14px 90px;
  background: var(--ss-bg);
  color: var(--ss-text);
  font-family: var(--font-body);
}

.ss-slot-page a {
  color: var(--ss-link);
  text-decoration: none;
}

.ss-slot-page a:hover {
  text-decoration: underline;
}

.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.ss-btn-primary {
  position: relative;
  z-index: 0;
  background: var(--ss-cta-gradient);
  color: var(--ss-cta-color) !important;
}

.ss-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease;
}

.ss-btn-primary:hover {
  color: var(--ss-cta-hover-color) !important;
}

.ss-btn-primary:hover::before {
  opacity: 1;
}

.ss-btn-secondary {
  background: var(--ss-secondary-gradient);
  color: #fff !important;
}

.ss-btn-secondary:hover {
  transform: scale(0.98);
  filter: brightness(1.1);
}

/* HERO */

.ss-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  padding: 22px;
  border-radius: 16px;
  background: var(--ss-surface);
}

.ss-hero-main {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ss-hero-media {
  display: grid;
  gap: 12px;
}

.ss-slot-image-card {
  position: relative;
  padding: 10px;
  border-radius: 12px;
  background: var(--ss-surface-2);
}

.ss-slot-image-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.ss-rtp-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 54px;
  height: 24px;
  padding: 5px 8px;
  /* border: 1px solid var(--ss-teal); */
  border-radius: 6px;
  background: #fcd700;
  color: #000;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.ss-provider-under-image {
  display: block;
  margin-top: 8px;
  color: var(--ss-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.ss-hero-buttons {
  display: grid;
  gap: 10px;
}

.ss-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ss-surface-2);
  color: var(--ss-yellow);
  font-size: 12px;
  font-weight: 700;
}

.ss-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
}

.ss-hero-intro {
  max-width: 620px;
  margin: 0 0 16px;
  color: var(--ss-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ss-casino-strip-title {
  display: block;
  margin-bottom: 12px;
  color: var(--ss-muted);
  font-size: 13px;
  font-weight: 700;
}

/* BONUS SECTION */

.ss-bonus-section {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--ss-surface-2);
}

.ss-bonus-list {
  position: relative;
  margin-top: 12px;
}

.ss-bonus-list.swiper {
  padding-bottom: 50px;
}

.ss-bonus-list .swiper-wrapper {
  align-items: stretch;
}

.ss-bonus-card.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(230px, 60vw);
  height: auto;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.ss-bonus-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.ss-bonus-card__logo img,
.ss-demo-casino-card__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.ss-demo-casino-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.ss-bonus-card__casino {
  color: var(--ss-teal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ss-bonus-card__title {
  margin-top: 2px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.ss-bonus-card .ss-btn {
  min-height: 40px;
  margin-top: auto;
}

/* SWIPER — navigare + dots */

.ss-bonus-list .ss-bonus-slider-nav {
  top: 40%;
  width: 34px;
  height: 34px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--ss-surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ss-bonus-slider-nav::after {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.ss-bonus-slider-nav.swiper-button-disabled {
  opacity: 0.35;
}

.ss-bonus-list .swiper-button-prev {
  left: -4px;
}

.ss-bonus-list .swiper-button-next {
  right: -4px;
}

.ss-bonus-slider-pagination.swiper-pagination {
  bottom: 0;
}

.ss-bonus-slider-pagination .swiper-pagination-bullet {
  background: var(--ss-muted);
  opacity: 0.4;
}

.ss-bonus-slider-pagination .swiper-pagination-bullet-active {
  background: var(--ss-green);
  opacity: 1;
}

/* INFO CARD */

.ss-info-card {
  padding: 18px;
  border-radius: 12px;
  background: var(--ss-surface-2);
}

.ss-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ss-border-soft);
}

.ss-score-label {
  display: block;
  margin-bottom: 4px;
  color: var(--ss-muted);
  font-size: 13px;
  font-weight: 700;
}

.ss-score-value {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.ss-score-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--ss-link);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.ss-score-ring {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
}

.ss-score-ring__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ss-score-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 7;
}

.ss-score-ring__progress {
  fill: none;
  stroke: url(#ssScoreGradient);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: calc(213.6 - (213.6 * var(--ss-score-pct, 0) / 100));
  filter: drop-shadow(0 0 6px rgba(29, 247, 146, 0.35));
  transition: stroke-dashoffset 0.8s ease;
}

.ss-score-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ss-score-ring__number {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
}

.ss-score-ring__max {
  margin-top: 2px;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 700;
}

.ss-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--ss-border-soft);
  font-size: 13px;
}

.ss-fact:last-child {
  border-bottom: 0;
}

.ss-fact span {
  color: var(--ss-muted);
}

.ss-fact strong {
  color: #fff;
  text-align: right;
  font-weight: 700;
}

.ss-info-verdict {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 252, 214, 0.1);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
}

.ss-info-verdict strong {
  color: var(--ss-teal);
}

/* CONTENT */

.ss-content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.ss-main-content {
  padding: 24px;
  border-radius: 16px;
}

.ss-main-content h2 {
  margin: 34px 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.2;
}

.ss-main-content h2:first-child {
  margin-top: 0;
}

.ss-main-content h3 {
  margin: 22px 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.ss-main-content p,
.ss-main-content li {
  color: var(--ss-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ss-main-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.ss-toc,
.cuprins-recenzie-flex {
  position: sticky;
  top: 18px;
  padding: 17px;
  border-radius: 12px;
  background: var(--ss-surface);
}

.ss-toc strong,
.cuprins-recenzie-flex__titlu {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
}

.ss-toc a,
.cuprins-recenzie-flex__link {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid var(--ss-border-soft);
  color: var(--ss-muted);
  font-size: 13px;
}

.ss-toc a:hover,
.cuprins-recenzie-flex__link:hover {
  color: #fff;
  text-decoration: none;
}

/* DEMO OVERLAY */

.ss-demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--ss-bg);
}

.ss-demo-overlay.ss-open {
  display: grid;
}

/* Headerul global e sticky pe mobil cu z-index  (max posibil, vezi
   mu-plugins/sevenslots-custom-header.css) — overlay-ul nu poate sta deasupra lui
   din z-index (e deja plafonul). Fix: coborâm overlay-ul sub header, la înălțimea
   lui reală pe mobil, în loc să-l acoperim (min-height .ss-header__main-inner). */
@media (max-width: 1024px) {
  .ss-demo-overlay,
  .ss-offers-overlay {
    top: 74px;
  }
}


.ss-demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--ss-surface);
}

.ss-demo-title strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
}

.ss-demo-title span {
  display: block;
  margin-top: 2px;
  color: var(--ss-muted);
  font-size: 12px;
}

.ss-demo-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ss-demo-real-btn {
  position: relative;
  z-index: 0;
  display: none;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--ss-cta-gradient);
  color: var(--ss-cta-color);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.ss-demo-real-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease;
}

.ss-demo-real-btn:hover {
  color: var(--ss-cta-hover-color);
}

.ss-demo-real-btn:hover::before {
  opacity: 1;
}

.ss-demo-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-demo-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ss-demo-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
  padding: 12px;
}

.ss-demo-frame {
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.ss-demo-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  background: #000;
}

#ssDemoFrame .slotls-header,
#ssDemoFrame .sl-game-attributes-header {
  background: var(--ss-secondary-gradient) !important;
  border-color: var(--ss-surface-2) !important;
}

.ss-demo-casinos {
  height: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--ss-surface);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.6) rgba(74, 26, 107, 0.8);
}

.ss-demo-casinos::-webkit-scrollbar {
  width: 8px;
}

.ss-demo-casinos::-webkit-scrollbar-track {
  background: rgba(74, 26, 107, 0.8);
  border-radius: 0 12px 12px 0;
}

.ss-demo-casinos::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.6);
  border-radius: 4px;
}

.ss-demo-casinos::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.85);
}

.ss-demo-casinos h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
}

.ss-demo-casino-card {
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--ss-surface-2);
}

.ss-demo-casino-card strong {
  color: #fff;
}

.ss-demo-casino-card p {
  color: var(--ss-muted);
  font-size: 13px;
}

.ss-offers-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.6);
}

.ss-offers-overlay.ss-open {
  display: flex;
}

.ss-offers-panel {
  width: 100%;
  max-height: calc(100vh - 66px);
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  background: var(--ss-bg);
}

.ss-offers-panel .ss-demo-topbar {
  border-radius: 16px 16px 0 0;
}

.ss-offers-list {
  padding: 14px 16px 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.6) rgba(74, 26, 107, 0.8);
}

.ss-offers-list::-webkit-scrollbar {
  width: 8px;
}

.ss-offers-list::-webkit-scrollbar-track {
  background: rgba(74, 26, 107, 0.8);
}

.ss-offers-list::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.6);
  border-radius: 4px;
}

.ss-mobile-sticky {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 9999;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ss-mobile-sticky .ss-btn {
  flex: 1;
}

@media (max-width: 1020px) {
  .ss-content-wrap {
    grid-template-columns: 1fr;
  }

  .ss-toc,
  .cuprins-recenzie-flex {
    position: static;
    order: 1;
  }

  .ss-main-content {
    order: 2;
  }

  .ss-demo-layout {
    grid-template-columns: 1fr;
  }

  .ss-demo-casinos {
    display: none;
  }

  .ss-demo-real-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ss-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
  }

  .ss-hero-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .ss-hero-media {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .ss-hero-copy {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ss-bonus-section {
    order: 3;
    width: calc(100% + 36px);
    margin: 0 -18px;
    border-radius: 0;
    box-shadow: 0 -1px 0 var(--ss-border-soft);
    padding-bottom: 32px;
  }

  .ss-info-card {
    order: 4;
  }

  .ss-slot-image-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .ss-slot-image-card img {
    height: 150px;
  }

  .ss-kicker {
    align-self: flex-start;
    margin-bottom: 0;
  }

  .ss-hero h1 {
    margin-bottom: 0;
  }

  .ss-hero-intro {
    margin-bottom: 0;
  }

  .ss-bonus-card.swiper-slide {
    width: min(210px, 66vw);
  }
}

@media (max-width: 767px) {
  .ss-slot-page {
    padding: 0 0 88px;
  }

  .ss-hero {
    padding: 14px;
    border-radius: 12px;
    gap: 14px;
  }

  .ss-hero-main {
    gap: 14px;
  }

  .ss-bonus-section {
    width: calc(100% + 28px);
    margin: 0 -14px;
    padding: 9px;
  }

  .ss-bonus-card.swiper-slide {
    width: min(190px, 68vw);
    padding: 12px;
  }

  .ss-bonus-slider-nav {
    display: none; /* pe mobil rămâne doar swipe + dots */
  }

  .ss-bonus-card__logo {
    width: 100%;
    padding: 8px;
  }

  .ss-bonus-card__logo img {
    max-height: 36px;
  }

  .ss-bonus-card__title {
    font-size: 13px;
  }

  .ss-hero h1 {
    font-size: 22px;
  }

  .ss-slot-image-card {
    max-width: 230px;
  }

  .ss-slot-image-card img {
    height: 128px;
  }

  .ss-hero-intro {
    font-size: 12px;
  }

  .ss-info-card {
    padding: 15px;
  }

  .ss-score-row {
    align-items: center;
  }

  .ss-content-wrap {
    margin-top: 18px;
  }

  .ss-main-content {
    padding: 18px;
    border-radius: 12px;
  }

  .ss-main-content h2 {
    font-size: 16px;
  }

  .ss-main-content p,
  .ss-main-content li {
    font-size: 12px;
  }

  .ss-demo-layout {
    padding: 8px;
  }

  .ss-demo-frame iframe {
    min-height: calc(100vh - 72px);
  }

  .ss-mobile-sticky {
    display: flex;
  }

  #ssDemoOverlay .ss-demo-topbar {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  #ssDemoOverlay .ss-demo-title {
    flex: 1 1 100%;
  }

  #ssDemoOverlay .ss-demo-title span {
    display: none;
  }

  #ssDemoOverlay .ss-demo-topbar-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
  }

  #ssDemoOverlay .ss-demo-real-btn {
    flex: 1;
  }
}