/* ===== powbet — dark indigo + periwinkle casino theme ===== */
:root {
  --primary: #5b7df5;          /* periwinkle blue — main buttons */
  --accent: #f5c518;           /* gold — logo accent */
  --bg: #141124;               /* very dark indigo */
  --bg-soft: #1e1a36;          /* cards / panels */
  --text: #ece9f7;             /* white-ish headings */

  --muted: #b4adc9;            /* muted body text */
  --border: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --glow: 0 0 26px rgba(91, 125, 245, 0.35);
  --header-h: 70px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 100% -5%, rgba(91, 125, 245, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 20%, rgba(91, 125, 245, 0.10), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 800;
  color: var(--text);
}
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 34px rgba(91, 125, 245, 0.55); }
.btn-light {
  background: #fff;
  color: #1a1730;
}
.btn-light:hover { transform: translateY(-2px); filter: brightness(0.95); }
.btn-lg { padding: 15px 40px; font-size: 1rem; }

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 125, 245, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(91, 125, 245, 0); }
}
.pulse { animation: pulse-cta 1.9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ===== Logo / brand wordmark ===== */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark {
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.5));
}
.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 14px rgba(245, 197, 24, 0.2);
  white-space: nowrap;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(20, 17, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.main-nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.18s ease;
}
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ===== Main ===== */
.main { padding-bottom: 40px; }
.main section { padding: 34px 0; }
.main section > h2 {
  position: relative;
  margin-bottom: 0.9em;
}
.main section > h2::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--primary);
}

/* ===== Intro ===== */
.intro { padding-top: 40px !important; }
.brand-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.3em;
  color: #fff;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 760px; }

/* ===== Hero banner ===== */
.hero { padding-top: 6px !important; }
.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  margin: 36px 20px;
  padding: 38px 34px;
  background: rgba(15, 12, 30, 0.74);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.12;
}

/* ===== Navigation block ===== */
.nav-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px !important;
}
.nav-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-block-head h2 { margin: 0; font-size: 1.2rem; }
.nav-block-head h2::after { display: none; }
.nav-anchors {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.nav-anchors[hidden] { display: none; }
.nav-anchors a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-anchors a:hover { background: rgba(91, 125, 245, 0.16); border-color: var(--primary); }

/* ===== Rating ===== */
.rating-section { padding: 6px 0 18px !important; }
.rating-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rating-num { font-family: "Montserrat", sans-serif; font-weight: 800; color: var(--primary); }
.rating-count { color: var(--muted); font-size: 0.9rem; }

/* ===== Stars ===== */
.stars { display: inline-flex; gap: 2px; font-size: 1.05rem; line-height: 1; }
.stars .full { color: var(--accent); }
.stars .empty { color: rgba(255, 255, 255, 0.2); }
.stars .half { position: relative; color: rgba(255, 255, 255, 0.2); }
.stars .half::before { content: "★"; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--accent); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ===== Specs ===== */
.specs-wrap {
  overflow-x: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.specs-table th { color: var(--muted); font-weight: 600; width: 40%; }
.specs-table td { font-weight: 600; }

/* ===== Top casinos ===== */
.casinos-grid { display: flex; flex-direction: column; gap: 14px; }
.casino-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.casino-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.casino-rank {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}
.casino-info { flex: 1; min-width: 0; }
.casino-info h3 { margin: 0 0 4px; font-size: 1.1rem; }
.casino-bonus { color: var(--muted); font-size: 0.9rem; margin: 0 0 6px; }
.casino-cta { flex: none; }

/* ===== Slots ===== */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.slot-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.slot-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--glow); }
.slot-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slot-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #2a2305;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.slot-info { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 6px; }
.slot-info h3 { margin: 0; font-size: 1.05rem; }
.slot-provider { color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.slot-rtp { color: var(--muted); font-size: 0.85rem; }
.slot-cta { margin: 10px 18px 18px; }

/* ===== Bonus block ===== */
.bonus-block-inner {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(60% 90% at 16% 50%, rgba(91, 125, 245, 0.22), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.bonus-media { display: flex; justify-content: center; }
.bonus-media img {
  width: 100%;
  max-width: 280px;
  border-radius: 18px;
  filter: drop-shadow(0 14px 36px rgba(91, 125, 245, 0.4));
  animation: bonus-float 4s ease-in-out infinite;
}
@keyframes bonus-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .bonus-media img { animation: none; } }
.bonus-content h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bonus-content h2::after { display: none; }
.bonus-block-text { color: var(--muted); margin: 0 0 18px; }
.bonus-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bonus-list li { position: relative; padding-left: 26px; font-size: 0.92rem; }
.bonus-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.countdown-wrap { margin: 18px 0 22px; }
.countdown-label { display: block; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.countdown { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.cd-cell {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 60px;
  text-align: center;
}
.cd-num { display: block; font-family: "Montserrat", sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.cd-cap { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.review-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; }
.review-date { font-size: 0.8rem; color: var(--muted); }
.review-text { color: var(--muted); font-size: 0.93rem; margin: 10px 0 0; }

/* ===== Article ===== */
.article { max-width: 760px; }
.article-block h3 {
  font-size: 1.25rem;
  margin-top: 1.2em;
  color: var(--primary);
}
.article-block p { color: rgba(236, 233, 247, 0.82); }

/* ===== Final CTA ===== */
.cta-final {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(91, 125, 245, 0.18), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 24px !important;
  margin: 10px 0;
}
.cta-final h2::after { margin-left: auto; margin-right: auto; }

/* ===== FAQ (signature powbet cards) ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.faq-q {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  margin: 0 0 8px;
}
.faq-a { color: var(--muted); margin: 0; }

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 50px 0 40px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 24px;
}
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.reg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text);
}
.reg-link { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.reg-link:hover { color: var(--primary); }
.reg-sep { color: var(--muted); }
.copyright { color: var(--muted); font-size: 0.84rem; margin: 0 0 10px; }
.disclaimer { color: var(--muted); font-size: 0.8rem; max-width: 820px; margin: 0 auto; }

/* ===== Reveal animation ===== */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Burger (mobile only) ===== */
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.nav-burger .burger-close { display: none; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(160%);
  transition: transform 0.3s ease;
  display: none;
}
.sticky-cta .btn {
  width: 100%;
  max-width: 460px;
  min-width: 0;
  margin: 0 auto;
  display: block;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  animation: none;
}
.sticky-cta.show { transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: 260px;
    max-width: 84vw;
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 20px;
    background: #181430;
    border-left: 1px solid var(--border);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    z-index: 55;
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 12px 6px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open .nav-burger .burger-open { display: none; }
  body.nav-open .nav-burger .burger-close { display: inline; }

  /* hide header buttons on mobile (present in hero/menu) */
  .header-actions { display: none; }
  .nav-burger { display: block; }


  .bonus-block-inner { grid-template-columns: 1fr; gap: 22px; padding: 30px 22px; text-align: center; }
  .bonus-media img { max-width: 180px; }
  .bonus-list { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
  .casino-card { flex-wrap: wrap; }
  .casino-cta { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 14px; gap: 10px; }
  .brand-name { font-size: 1.2rem; }
  .hero-overlay { padding: 26px 18px; }
  .bonus-list { grid-template-columns: 1fr; }
  .countdown { gap: 6px; }
  .cd-cell { min-width: 52px; padding: 8px 10px; }
}
