:root {
  --bg: #07070d;
  --bg-elevated: #111118;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --text-muted: #9ca3b8;
  --accent: #7cf709;
  --accent-dim: rgba(124, 247, 9, 0.15);
  --accent-glow: rgba(124, 247, 9, 0.35);
  --purple: #8b5cf6;
  --gold: #fbbf24;
  --danger: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --max: 1200px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.header.is-scrolled {
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #4ade80);
  color: #041004;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(124, 247, 9, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(251, 191, 36, 0.08), transparent),
    var(--bg);
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(124, 247, 9, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #a3e635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 2rem;
}

.hero__subtitle strong { color: var(--accent); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.bonus-card {
  background: linear-gradient(135deg, rgba(124, 247, 9, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(124, 247, 9, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.bonus-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}

.bonus-card__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
}

.promo-code {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.promo-code__label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.promo-code__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.promo-code__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.promo-code__value {
  flex: 1;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(124, 247, 9, 0.08);
  border: 1px dashed rgba(124, 247, 9, 0.35);
  border-radius: var(--radius-sm, 8px);
  padding: 0.55rem 0.75rem;
  text-align: center;
}

.promo-code__amount {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.promo-code__amount strong {
  color: var(--accent);
}

.promo-code--inline {
  margin-top: 0.75rem;
  padding-top: 0;
  border-top: none;
}

.promo-code--inline .promo-code__desc {
  display: none;
}

.promo-code--inline .promo-code__row {
  margin-bottom: 0.35rem;
}

.promo-code--inline .promo-code__value {
  font-size: 0.82rem;
  padding: 0.4rem 0.6rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-elevated);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.feature:hover {
  border-color: rgba(124, 247, 9, 0.25);
  transform: translateY(-4px);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.feature__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.feature__link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.feature__link:hover { text-decoration: underline; }

/* VIP tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.tier--bronze::before { background: linear-gradient(90deg, #cd7f32, #e8a87c); }
.tier--silver::before { background: linear-gradient(90deg, #94a3b8, #e2e8f0); }
.tier--gold::before { background: linear-gradient(90deg, #fbbf24, #fde68a); }
.tier--platinum::before { background: linear-gradient(90deg, #8b5cf6, #c4b5fd); }
.tier--diamond::before { background: linear-gradient(90deg, #22d3ee, #7cf709); }

.tier__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.tier__xp {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tier__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tier__list li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}

.tier__list li:last-child { border-bottom: none; }

.tier__list strong { color: var(--text); }

/* Casino ranking */
.ranking {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rank-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s;
}

.rank-card:hover { border-color: rgba(124, 247, 9, 0.2); }

.rank-card--featured {
  border-color: rgba(124, 247, 9, 0.35);
  background: linear-gradient(135deg, rgba(124, 247, 9, 0.06), rgba(139, 92, 246, 0.04));
}

.rank-card__num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.rank-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
}

.ranking-section {
  margin-bottom: 2.5rem;
}

.ranking-section:last-child {
  margin-bottom: 0;
}

.ranking-section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.rank-card__logo--svg {
  object-fit: contain;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.rank-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}

.rank-card__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.rank-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tag--accent {
  background: var(--accent-dim);
  color: var(--accent);
}

/* Articles */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 247, 9, 0.2);
}

.article-card__img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.article-card__body { padding: 1.25rem; }

.article-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.article-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Article page */
.article {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.article__header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.article__date {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.article__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.article__content {
  max-width: 760px;
  margin: 0 auto;
}

.article__content h2,
.article__content h3,
.article__content h4 {
  font-family: var(--font-display);
  margin: 2rem 0 0.75rem;
}

.article__content p,
.article__content li {
  color: var(--text-muted);
  line-height: 1.75;
}

.article__content strong { color: var(--text); }

.article__content ul,
.article__content ol {
  padding-left: 1.25rem;
}

.article__content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
}

/* Info blocks */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--accent);
}

.info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-block li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.info-block li:last-child { border-bottom: none; }

.content-prose {
  max-width: 820px;
  margin: 0 auto;
}

.content-prose p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 1.15rem;
}

.content-prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.content-prose strong { color: var(--text); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.content-prose a {
  color: var(--accent);
  font-weight: 600;
}

.content-prose a:hover { text-decoration: underline; }

.faq-item a {
  color: var(--accent);
  font-weight: 600;
}

/* CTA banner */
.cta {
  margin: 0 1rem;
  max-width: calc(var(--max) + 2rem);
  margin-inline: auto;
  background: linear-gradient(135deg, rgba(124, 247, 9, 0.15), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(124, 247, 9, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.cta p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--accent); }

.social {
  display: flex;
  gap: 0.75rem;
}

.social__link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social__link:hover {
  color: var(--accent);
  border-color: rgba(124, 247, 9, 0.3);
  background: var(--accent-dim);
}

.social__link svg { width: 20px; height: 20px; }

.footer__copy {
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(7, 7, 13, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .nav, .header__actions .btn--ghost { display: none; }
  .burger { display: grid; place-items: center; }
  .rank-card { grid-template-columns: auto 1fr; }
  .rank-card .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 600px) {
  .hero__stats { gap: 1.25rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
