@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Sora:wght@400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --bg-soft: #121212;
  --panel: rgba(19, 19, 19, 0.92);
  --panel-2: rgba(33, 26, 9, 0.78);
  --line: rgba(240, 185, 56, 0.28);
  --line-strong: rgba(240, 185, 56, 0.68);
  --text: #f8f3e8;
  --muted: #b9ae8d;
  --gold: #f0b938;
  --gold-soft: #ffd978;
  --glass: 0 28px 50px rgba(0, 0, 0, 0.45);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(240, 185, 56, 0.16), transparent 24%),
    radial-gradient(circle at left center, rgba(190, 124, 8, 0.14), transparent 22%),
    linear-gradient(180deg, #060606 0%, #0a0907 42%, #070707 100%);
  overflow-x: hidden;
}

.home-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 14%, rgba(255, 205, 94, 0.18), transparent 30%);
  background-size: 40px 40px, 40px 40px, auto;
  mask-image: linear-gradient(180deg, black, rgba(0, 0, 0, 0.25));
}

.home-navbar,
.home-shell,
.footer {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
}

.home-navbar,
.hero,
.stats-strip,
.live-activity,
.provider-section,
.footer {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 214, 102, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(7, 7, 7, 0.96));
  box-shadow: var(--glass);
}

.home-navbar {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 220px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.brand-eyebrow,
.section-kicker,
.hero-kicker {
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold-soft);
  font-size: 12px;
}

.nav-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 219, 120, 0.18);
  background: linear-gradient(180deg, rgba(66, 52, 18, 0.74), rgba(26, 21, 8, 0.8));
  font-size: 12px;
  color: var(--text);
}

.home-shell {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.hero {
  border-radius: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.hero-copy,
.hero-right {
  min-width: 0;
}

.hero h1 {
  margin: 8px 0 12px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-desc {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-pills,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 18px;
}

.hero-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 121, 0.2);
  background: rgba(255, 215, 121, 0.06);
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  white-space: nowrap;
}

.hero-actions {
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  color: #1c1404;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 30px rgba(240, 185, 56, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 215, 121, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.btn-primary:hover,
.btn-secondary:hover,
.provider-card:hover {
  transform: translateY(-3px);
}

.hero-right {
  display: grid;
  gap: 14px;
}

.jackpot-panel,
.risk-note,
.home-stat-card,
.activity-box,
.provider-card {
  border: 1px solid rgba(255, 215, 121, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 214, 102, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(30, 24, 10, 0.92), rgba(10, 10, 10, 0.96));
}

.jackpot-panel,
.risk-note,
.activity-box {
  border-radius: 24px;
  padding: 18px;
}

.activity-box {
  padding-top: 14px;
  padding-bottom: 14px;
  overflow: hidden;
  position: relative;
}

.jackpot-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.3px;
}

.jackpot {
  margin: 10px 0 14px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
  color: var(--gold-soft);
  text-shadow: 0 0 22px rgba(240, 185, 56, 0.22);
}

.jackpot-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meta-card span,
.home-stat-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}

.meta-card b,
.home-stat-value {
  font-family: "Rajdhani", sans-serif;
  font-size: 26px;
  color: var(--gold-soft);
  line-height: 1;
}

.risk-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.risk-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.risk-note p + p {
  margin-top: 8px;
}

.stats-strip,
.live-activity,
.provider-section {
  border-radius: 28px;
  padding: 20px;
}

.provider-section .provider-grid {
  margin-top: 0;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-stat-card {
  border-radius: 22px;
  padding: 16px;
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 4px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  text-transform: uppercase;
}

.section-note {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.activity-head {
  display: block;
  margin-bottom: 12px;
}

.activity-title-block {
  max-width: 760px;
}

.activity-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.activity-note {
  max-width: 560px;
  margin-top: 0;
}

.feed-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 121, 0.16);
  background: rgba(255, 215, 121, 0.06);
  color: var(--gold-soft);
  font-size: 11px;
}

#activityList {
  list-style: none;
  margin: 0;
  padding: 0;
}

#activityList.ticker-animate {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(calc(var(--ticker-shift, 0px) * -1));
}

#activityList .activity-item {
  display: grid;
  grid-template-columns: 160px 180px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#activityList .activity-item:last-child {
  border-bottom: 0;
}

#activityList .activity-item.show {
  opacity: 1;
  transform: translateY(0);
}

#activityList .winner-name {
  font-weight: 700;
  word-break: break-word;
}

#activityList .winner-amount {
  font-family: "Rajdhani", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

#activityList .winner-amount.tier-gold {
  color: var(--gold-soft);
}

#activityList .winner-amount.tier-silver {
  color: #ddd5bf;
}

#activityList .winner-amount.tier-bronze {
  color: #f0b938;
}

#activityList .winner-game {
  color: var(--muted);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#activityList .winner-time {
  display: none !important;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.provider-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 16px;
  isolation: isolate;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.provider-card::before {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 121, 0.2), transparent 68%);
  z-index: -1;
}

.provider-card.featured {
  border-color: rgba(255, 215, 121, 0.38);
}

.provider-card img {
  width: 44%;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.provider-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.provider-copy strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 26px;
  line-height: 0.95;
  text-transform: uppercase;
  word-break: break-word;
}

.provider-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  margin-top: 14px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-navbar,
  .home-shell,
  .footer {
    width: calc(100% - 12px);
  }

  .home-navbar,
  .hero,
  .stats-strip,
  .live-activity,
  .provider-section,
  .footer,
  .jackpot-panel,
  .risk-note,
  .activity-box,
  .home-stat-card {
    border-radius: 18px;
  }

  .home-navbar {
    padding: 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand-wrap {
    flex-direction: row;
    align-items: center;
  }

  .brand-logo {
    width: 156px;
  }

  .nav-status {
    width: auto;
    justify-content: flex-end;
  }

  .verified-badge {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .hero {
    padding: 18px 16px;
  }

  .hero-right {
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.02;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-pills {
    gap: 8px;
  }

  .hero-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 46px;
  }

  .jackpot-meta,
  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .activity-head {
    margin-bottom: 10px;
  }

  .activity-meta {
    align-items: flex-start;
    gap: 8px;
  }

  #activityList .activity-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  #activityList .winner-amount {
    font-size: 20px;
  }

  #activityList .winner-game {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .provider-card {
    min-height: 122px;
    padding: 14px;
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
  }

  .provider-card img {
    width: 72%;
    max-width: 120px;
  }

  .provider-copy strong {
    font-size: 18px;
    line-height: 1;
  }

  .provider-copy span {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .home-navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 148px;
  }

  .nav-status {
    width: 100%;
    justify-content: flex-start;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip,
  .live-activity,
  .provider-section {
    padding: 16px;
  }

  .jackpot-panel,
  .risk-note,
  .activity-box,
  .home-stat-card {
    padding: 14px;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .provider-card {
    min-height: 112px;
    padding: 12px;
    border-radius: 20px;
    gap: 8px;
  }

  .provider-card img {
    width: 68%;
    max-width: 92px;
  }

  .provider-copy strong {
    font-size: 15px;
  }

  .provider-copy span {
    font-size: 10px;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(28px, 10vw, 36px);
  }

  .hero-desc {
    font-size: 13px;
  }

  .jackpot {
    font-size: clamp(34px, 12vw, 48px);
  }

  .meta-card b,
  .home-stat-value {
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .provider-grid {
    grid-template-columns: 1fr;
  }

  .risk-note {
    display: none;
  }

  .hero {
    padding: 16px 14px;
  }
}
