:root {
  --bs-primary: #7b2fc9;
  --bs-success: #09993c;
  --bs-warning: #f5c800;
  --bs-body-bg: #0e0018;
  --bs-body-color: #f0f0f0;
  --color-bg: #0e0018;
  --color-surface: #1a0a2e;
  --color-surface-alt: #22103a;
  --color-panel: #2a0a40;
  --color-primary: #7b2fc9;
  --color-primary-light: #b428f0;
  --color-secondary: #6d2ece;
  --color-cta: #09993c;
  --color-cta-hover: #0bb847;
  --color-cta-secondary: #f5c800;
  --color-text: #f5f0ff;
  --color-text-muted: #d6c2ef;
  --color-btn-text: #ffffff;
  --color-heading: #ffffff;
  --color-gold: #f5c800;
  --color-border: #5e2e88;
  --color-overlay: rgba(16,0,32,0.85);
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Exo 2', system-ui, sans-serif;
  background:
    radial-gradient(circle at 78% 18%, rgba(180,40,240,0.16), transparent 30rem),
    radial-gradient(circle at 8% 40%, rgba(9,153,60,0.08), transparent 26rem),
    var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
}
a { color: #f5c800; text-decoration: none; }
a:hover { color: #fff; }
main { min-height: 70vh; }
section { position: relative; }
.container-narrow { max-width: 1040px; }
.text-muted { color: var(--color-text-muted) !important; }
.lead { color: var(--color-text-muted); font-weight: 500; }
.rave-section { padding: 4rem 0; }
.rave-card {
  background: linear-gradient(160deg, rgba(62,18,92,0.92), rgba(27,6,46,0.96));
  border: 1px solid rgba(180,40,240,0.32);
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.04);
  color: var(--color-text);
}
.rave-panel {
  background: rgba(31,7,48,0.88);
  border: 1px solid rgba(180,40,240,0.26);
  border-radius: 1.25rem;
  padding: 1.4rem;
}
.rave-title { color: var(--color-heading); font-weight: 900; letter-spacing: -0.025em; }
.rave-kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(123,47,201,0.28); color: #fff;
  border: 1px solid rgba(180,40,240,0.4);
  border-radius: 999px; padding: .38rem .75rem; font-weight: 800; font-size: .88rem;
}
.btn-rave-success, .btn-success {
  background: linear-gradient(180deg, var(--color-cta-hover), var(--color-cta));
  border: 1px solid rgba(95,255,150,0.54);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(9,153,60,0.18), 0 0 24px rgba(9,255,110,0.32);
}
.btn-rave-success:hover, .btn-success:hover { background: var(--color-cta-hover); color: #fff; }
.btn-rave-outline { border: 1px solid rgba(245,200,0,0.55); color: #fff; background: rgba(0,0,0,0.18); font-weight: 800; }
.btn-rave-outline:hover { background: rgba(245,200,0,0.15); color: #fff; }
.shadow-rave { box-shadow: 0 22px 44px rgba(0,0,0,0.42), 0 0 24px rgba(180,40,240,0.18); }
.hero { padding: 2.25rem 0 3rem; }
.hero-card {
  background: linear-gradient(145deg, rgba(54,11,94,.94), rgba(15,0,32,.98));
  border: 1px solid rgba(180,40,240,.36);
  border-radius: 1.6rem;
  overflow: hidden;
}
.hero-copy { padding: clamp(1.2rem, 4vw, 3rem); }
.hero-copy h1 { font-size: clamp(2.35rem, 6vw, 5.25rem); line-height: .96; font-weight: 900; letter-spacing: -.04em; }
.hero-copy .bonus-line { color: var(--color-gold); font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.55rem); }
.carousel-rave img { height: clamp(250px, 38vw, 520px); object-fit: cover; width: 100%; }
.live-metric { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; background: rgba(9,153,60,.14); border: 1px solid rgba(9,255,120,.28); border-radius: 999px; color: #fff; font-weight: 800; }
.promo-copy { display: inline-flex; align-items: center; gap: .6rem; background: rgba(0,0,0,.25); border: 1px dashed rgba(245,200,0,.55); border-radius: .85rem; padding: .45rem .65rem; }
.promo-code { color: var(--color-gold); font-weight: 900; letter-spacing: .04em; }
.category-strip { display: flex; gap: .75rem; overflow-x: auto; padding: 1rem .2rem 1.2rem; scrollbar-width: thin; }
.category-strip::-webkit-scrollbar { height: 6px; }
.category-strip::-webkit-scrollbar-thumb { background: #7b2fc9; border-radius: 99px; }
.category-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(180,40,240,.35); color: #fff; background: linear-gradient(180deg, #5b1f83, #32124d); border-radius: .9rem; padding: .65rem .95rem; font-weight: 900; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.category-pill.active { background: linear-gradient(180deg, #8e31df, #5e1bb0); }
.cat-icon { width: 30px; height: 30px; object-fit: contain; }
.bonus-card { position: relative; overflow: hidden; padding: .65rem; height: 100%; }
.bonus-card.recommended { border-color: rgba(245,200,0,.75); box-shadow: 0 0 30px rgba(245,200,0,.2); }
.badge-rave { background: var(--color-gold); color: #260020; font-weight: 900; border-radius: 999px; }
.bonus-card img { border-radius: .95rem; width: 100%; height: auto; display: block; }
.game-card { min-height: 210px; border-radius: 1rem; background: linear-gradient(145deg, rgba(123,47,201,.86), rgba(17,0,33,.98)); border: 1px solid rgba(255,255,255,.08); padding: 1rem; display: flex; flex-direction: column; justify-content: end; overflow: hidden; }
.game-card strong { font-size: 1.15rem; }
.provider-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .75rem; border-radius: .7rem; background: rgba(123,47,201,.32); border: 1px solid rgba(180,40,240,.26); color: #fff; font-weight: 800; white-space: nowrap; }
.provider-row { display: flex; gap: .65rem; overflow-x: auto; padding-bottom: .75rem; }
.rave-table-wrap { border: 1px solid rgba(180,40,240,.32); border-radius: 1rem; overflow: hidden; background: rgba(22,4,38,.92); }
.table-rave { --bs-table-bg: rgba(34,16,58,.88); --bs-table-striped-bg: rgba(70,24,104,.55); --bs-table-hover-bg: rgba(123,47,201,.38); color: #fff; margin-bottom: 0; }
.table-rave th, .table-rave td { color: #fff !important; border-color: rgba(255,255,255,.12); }
.article-content { font-size: 1.05rem; line-height: 1.72; }
.article-content h2 { color: #fff; font-weight: 900; margin-top: 2.6rem; margin-bottom: 1rem; }
.article-content h3 { color: var(--color-gold); font-weight: 800; margin-top: 1.8rem; }
.article-content p, .article-content li { color: #efe7ff; }
.rave-check-list { padding-left: 1.2rem; }
.rave-check-list li { margin-bottom: .45rem; }
.rave-step-list li { margin-bottom: .55rem; padding-left: .25rem; }
.expert-block { display: flex; gap: 1rem; align-items: center; border-left: 4px solid var(--color-gold); }
.expert-avatar { width: 54px; height: 54px; border-radius: 999px; background: linear-gradient(135deg, #b428f0, #09993c); display: grid; place-items: center; color: #fff; font-weight: 900; }
.review-card { min-height: 260px; }
.stars { color: var(--color-gold); letter-spacing: .12rem; }
.cta-banner { background: linear-gradient(100deg, rgba(123,47,201,.92), rgba(54,16,84,.94)); border: 1px solid rgba(180,40,240,.38); border-radius: 1.3rem; overflow: hidden; }
.mobile-phone { max-height: 610px; object-fit: contain; width: auto; max-width: 100%; }
.hero-mini { padding: 4rem 0 2.5rem; background: radial-gradient(circle at 70% 5%, rgba(180,40,240,.25), transparent 36rem); }
.rave-breadcrumb { display: inline-flex; background: rgba(31,7,48,.7); border: 1px solid rgba(180,40,240,.25); border-radius: 999px; padding: .45rem .8rem; margin-bottom: 1rem; }
.breadcrumb { --bs-breadcrumb-divider-color: #d6c2ef; }
.breadcrumb-item a { color: #f5c800; }
.breadcrumb-item.active { color: #fff; }
.progress-claim { display: flex; gap: .6rem; flex-wrap: wrap; }
.progress-claim span { flex: 1 1 150px; text-align: center; background: rgba(123,47,201,.35); border: 1px solid rgba(180,40,240,.3); border-radius: .8rem; padding: .7rem; font-weight: 900; }
.rave-accordion .accordion-item { background: rgba(31,7,48,.95); border-color: rgba(180,40,240,.3); color: #fff; }
.rave-accordion .accordion-button { background: rgba(62,18,92,.92); color: #fff; font-weight: 800; }
.rave-accordion .accordion-button:not(.collapsed) { background: linear-gradient(180deg, #7227b2, #4a1877); color: #fff; box-shadow: none; }
.rave-accordion .accordion-body { color: #efe7ff; }
.related-card { height: 100%; transition: transform .2s ease, border-color .2s ease; }
.related-card:hover { transform: translateY(-4px); border-color: rgba(245,200,0,.65); }
.back-to-top { position: fixed; right: 18px; bottom: 84px; z-index: 999; width: 46px; height: 46px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #8f40d0, #5c1f96); color: #fff; font-weight: 900; display: none; box-shadow: 0 8px 25px rgba(0,0,0,.3); }
.back-to-top.show { display: block; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: .75rem; background: rgba(14,0,24,.9); backdrop-filter: blur(10px); border-top: 1px solid rgba(180,40,240,.28); }
.toast-copy { position: fixed; right: 1rem; bottom: 8.5rem; background: #09993c; color: #fff; padding: .65rem 1rem; border-radius: .65rem; box-shadow: 0 15px 35px rgba(0,0,0,.32); z-index: 1100; opacity: 0; transform: translateY(10px); transition: .2s ease; }
.toast-copy.show { opacity: 1; transform: translateY(0); }
@media (max-width: 767px) {
  .rave-section { padding: 2.6rem 0; }
  .hero { padding-top: 1rem; }
  .hero-copy { padding: 1.25rem; }
  .hero-copy h1 { font-size: 2.4rem; }
  .carousel-rave img { height: 260px; }
  .review-card { min-height: auto; }
  body { padding-bottom: 74px; }
}

/* SlotRave casino-lobby correction v2 */
body {
  background:
    radial-gradient(circle at 72% 0%, rgba(179, 32, 245, .18), transparent 26rem),
    radial-gradient(circle at 20% 72%, rgba(2, 200, 255, .08), transparent 24rem),
    #100020;
}
.rave-section { padding: 2.9rem 0; }
.casino-container { max-width: 1200px; }
.casino-lobby-hero { padding: 1rem 0 1.7rem; }
.casino-hero {
  border: 1px solid rgba(180,40,240,.36);
  border-radius: 1.15rem;
  overflow: hidden;
  background: #1a0830;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 36px rgba(180,40,240,.17);
}
.casino-hero .carousel-inner,
.casino-hero .carousel-item { min-height: clamp(285px, 29vw, 390px); }
.casino-hero .carousel-item { position: relative; }
.casino-hero .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20,0,37,.92) 0%, rgba(20,0,37,.68) 30%, rgba(20,0,37,.12) 63%, rgba(20,0,37,.34) 100%);
  pointer-events: none;
}
.carousel-rave.casino-hero img {
  width: 100%;
  height: clamp(285px, 29vw, 390px);
  object-fit: cover;
  object-position: center;
}
.hero-caption-panel {
  position: absolute;
  z-index: 2;
  left: clamp(1.1rem, 4vw, 3.1rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, calc(100% - 2.2rem));
}
.hero-caption-panel h1,
.hero-slide-title {
  color: #fff;
  font-size: clamp(2.3rem, 4.9vw, 4.2rem);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -.045em;
  text-shadow: 0 5px 25px rgba(0,0,0,.55);
  margin: .9rem 0 .7rem;
}
.hero-slide-title { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.hero-caption-panel .bonus-line {
  display: inline-block;
  color: #ffea00;
  font-weight: 900;
  font-size: clamp(1.02rem, 2.3vw, 1.45rem);
  line-height: 1.18;
  text-shadow: 0 3px 16px rgba(0,0,0,.65);
  margin-bottom: .2rem;
}
.casino-hero .carousel-control-prev,
.casino-hero .carousel-control-next { width: 7%; z-index: 3; opacity: .9; }
.casino-hero .carousel-control-prev-icon,
.casino-hero .carousel-control-next-icon {
  background-color: rgba(74, 20, 100, .75);
  border-radius: 999px;
  padding: 1.2rem;
  background-size: 52%;
}
.casino-hero .carousel-indicators { z-index: 3; margin-bottom: .55rem; }
.casino-hero .carousel-indicators [data-bs-target] {
  width: 16px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background-color: #fff;
}
.casino-category-strip {
  margin-top: .75rem;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.04);
}
.category-pill {
  min-height: 58px;
  padding: .58rem .82rem;
  border-color: rgba(203,64,255,.28);
  background: linear-gradient(180deg, #602188, #35124d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 22px rgba(0,0,0,.24);
  text-transform: uppercase;
  font-size: .78rem;
}
.category-pill:hover { color: #fff; transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.cat-icon { width: 28px; height: 28px; }
.hero-live-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.rave-card { border-radius: 1rem; }
.bonus-card { background: linear-gradient(180deg, rgba(87,24,131,.92), rgba(30,6,54,.96)); }
.bonus-card img { border-radius: .75rem; }
#games img[src$="slots.webp"] {
  width: 100%;
  border: 1px solid rgba(203,64,255,.38);
  box-shadow: 0 0 22px rgba(203,64,255,.22), 0 20px 58px rgba(0,0,0,.38);
}
.table-rave { --bs-table-bg: rgba(37, 8, 58, .95); --bs-table-striped-bg: rgba(72, 21, 104, .68); }
@media (min-width: 1400px) {
  main, .site-footer { margin-left: 178px; }
  .casino-container { max-width: 1280px; }
}
@media (max-width: 991px) {
  .casino-lobby-hero { padding-top: .75rem; }
  .casino-hero .carousel-inner,
  .casino-hero .carousel-item,
  .carousel-rave.casino-hero img { height: 420px; min-height: 420px; }
  .casino-hero .carousel-item::before { background: linear-gradient(180deg, rgba(20,0,37,.8), rgba(20,0,37,.54)); }
  .hero-caption-panel { top: auto; bottom: 2.6rem; transform: none; left: 1rem; }
  .hero-caption-panel h1,
  .hero-slide-title { font-size: 2.45rem; max-width: 420px; }
  .casino-category-strip { padding-bottom: .9rem; }
}
@media (max-width: 575px) {
  .casino-hero .carousel-inner,
  .casino-hero .carousel-item,
  .carousel-rave.casino-hero img { height: 380px; min-height: 380px; }
  .hero-caption-panel h1,
  .hero-slide-title { font-size: 2.05rem; }
  .hero-caption-panel .bonus-line { font-size: 1rem; }
  .category-pill { min-height: 52px; font-size: .72rem; padding: .5rem .7rem; }
}
