/* =========================================================
   SKY CROWN CASINO - Site 5
   Purple/Gold Theme - Unique class naming system
========================================================= */

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

:root {
  /* Core palette - Dark Indigo Base */
  --clr-base: #1a1a2e;
  --clr-deep: #12121f;
  --clr-surface: #252542;
  --clr-surface-hover: #2f2f52;

  /* Primary accent - Purple */
  --clr-primary: #8B5CF6;
  --clr-primary-dark: #7C3AED;
  --clr-primary-light: #A78BFA;

  /* Secondary accent - Vivid Purple */
  --clr-accent: #9333EA;
  --clr-accent-dark: #7E22CE;
  --clr-accent-light: #A855F7;

  /* Tertiary - Gold */
  --clr-gold: #F59E0B;
  --clr-gold-dark: #D97706;
  --clr-gold-light: #FBBF24;

  /* Typography */
  --clr-white: #FFFFFF;
  --clr-text: #E2E8F0;
  --clr-muted: rgba(226, 232, 240, 0.75);
  --clr-faded: rgba(226, 232, 240, 0.5);

  /* Borders */
  --border-dim: rgba(139, 92, 246, 0.2);
  --border-active: rgba(139, 92, 246, 0.45);
  --border-purple: rgba(147, 51, 234, 0.35);

  /* Gradients */
  --grad-main: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  --grad-accent: linear-gradient(135deg, #9333EA 0%, #7E22CE 100%);
  --grad-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --grad-surface: linear-gradient(180deg, rgba(37, 37, 66, 0.97) 0%, rgba(18, 18, 31, 0.99) 100%);

  /* Glows */
  --glow-main: rgba(139, 92, 246, 0.45);
  --glow-accent: rgba(147, 51, 234, 0.4);
  --glow-gold: rgba(245, 158, 11, 0.35);

  /* Spacing (8px scale) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Radius */
  --rad-xs: 4px;
  --rad-sm: 8px;
  --rad-md: 12px;
  --rad-lg: 16px;
  --rad-xl: 24px;
  --rad-full: 9999px;

  /* Layout */
  --max-width: 1180px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--clr-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(139, 92, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(18, 18, 31, 0.5) 0%, transparent 50%);
  color: var(--clr-text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ========== WRAPPER ========== */
.wrapper {
  width: min(var(--max-width), calc(100% - var(--sp-8)));
  margin-inline: auto;
}

/* ========== TOP BANNER ========== */
.top-banner {
  background: var(--grad-accent);
  padding: var(--sp-2) 0;
  text-align: center;
}

.top-banner__text {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-white);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.top-banner__text i {
  color: var(--clr-gold-light);
}

/* ========== SITE NAV ========== */
.site-nav {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.brand-logo__icon {
  height: 42px;
  width: auto;
}

.brand-logo__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

/* Menu List */
.menu-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.menu-list__link {
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-muted);
  border-radius: var(--rad-sm);
  transition: all 0.2s ease;
}

.menu-list__link:hover,
.menu-list__link:focus {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.06);
}

.menu-list__link--active {
  color: var(--clr-primary-light);
}

/* Mobile CTA inside menu */
.menu-list__actions {
  display: none;
  padding: var(--sp-4);
  border-top: 1px solid var(--border-dim);
  margin-top: var(--sp-4);
  gap: var(--sp-3);
}

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--border-dim);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger__bar {
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== ACTION BUTTONS ========== */
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--rad-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.action-btn--primary {
  background: var(--grad-gold);
  color: #1C1917;
  box-shadow: 0 4px 16px var(--glow-gold);
}

.action-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--glow-gold);
}

.action-btn--outline {
  background: transparent;
  color: var(--clr-primary-light);
  border: 2px solid var(--clr-primary);
}

.action-btn--outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.action-btn--accent {
  background: var(--grad-accent);
  color: var(--clr-white);
  box-shadow: 0 4px 16px var(--glow-accent);
}

.action-btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--glow-accent);
}

/* ========== SHOWCASE (Hero) ========== */
.showcase {
  padding: var(--sp-12) 0 var(--sp-10);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-10);
  align-items: center;
}

.showcase__visual {
  order: 2;
}

.showcase__visual img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.showcase__body {
  order: 1;
}

.showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border-dim);
  border-radius: var(--rad-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary-light);
  margin-bottom: var(--sp-5);
}

.showcase__badge i {
  color: var(--clr-gold);
}

.showcase__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}

.showcase__title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase__desc {
  font-size: 17px;
  color: var(--clr-muted);
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.showcase__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* ========== STATS BAR ========== */
.stats-bar {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  background: rgba(37, 37, 66, 0.5);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.stat-item {
  text-align: center;
}

.stat-item__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.2;
}

.stat-item__value--gold {
  color: var(--clr-gold);
}

.stat-item__label {
  font-size: 13px;
  color: var(--clr-faded);
  margin-top: var(--sp-1);
}

/* ========== SECTION HEADER ========== */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.section-head__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.section-head__title i {
  color: var(--clr-gold);
}

.section-head__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-primary-light);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color 0.2s;
}

.section-head__more:hover {
  color: var(--clr-primary);
}

/* ========== SLOTS GRID ========== */
.slots-section {
  padding: var(--sp-12) 0;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-4);
}

.slot-card {
  position: relative;
  border-radius: var(--rad-md);
  overflow: hidden;
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  transition: all 0.25s ease;
}

.slot-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.slot-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.slot-card__tag {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  padding: 4px 10px;
  background: var(--grad-accent);
  border-radius: var(--rad-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-white);
}

.slot-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 31, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.slot-card:hover .slot-card__overlay {
  opacity: 1;
}

.slot-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}

.slot-card__actions {
  display: flex;
  gap: var(--sp-2);
}

.slot-card__btn {
  flex: 1;
  padding: var(--sp-2) var(--sp-3);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--rad-sm);
  text-align: center;
  transition: all 0.2s;
}

.slot-card__btn--play {
  background: var(--grad-gold);
  color: #1C1917;
}

.slot-card__btn--demo {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-text);
  border: 1px solid var(--border-dim);
}

.slot-card__btn:hover {
  transform: scale(1.05);
}

/* ========== PROVIDERS SECTION ========== */
.providers-section {
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--border-dim);
}

.providers-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
}

.provider-item {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.provider-item:hover {
  opacity: 1;
}

.provider-item img {
  height: 32px;
  width: auto;
}

/* ========== CONTENT BLOCK (SEO Text) ========== */
.content-section {
  padding: var(--sp-12) 0;
}

/* Content with Sidebar Layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-8);
  align-items: start;
}

.content-with-sidebar .winners-feed {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .content-with-sidebar .winners-feed {
    display: none;
  }
}

.text-article {
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--rad-lg);
  padding: var(--sp-10);
}

.text-article__heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-6);
}

.text-article__content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--clr-muted);
}

.text-article__content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-white);
  margin: var(--sp-8) 0 var(--sp-4);
}

.text-article__content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-white);
  margin: var(--sp-6) 0 var(--sp-3);
}

.text-article__content p {
  margin-bottom: var(--sp-4);
}

.text-article__content a {
  color: var(--clr-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-article__content a:hover {
  color: var(--clr-primary);
}

.text-article__content strong {
  color: var(--clr-white);
  font-weight: 600;
}

.text-article__content ul,
.text-article__content ol {
  margin: var(--sp-4) 0;
  padding-left: var(--sp-6);
}

.text-article__content ul {
  list-style: disc;
}

.text-article__content ol {
  list-style: decimal;
}

.text-article__content li {
  margin-bottom: var(--sp-2);
}

.text-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  background: rgba(18, 18, 31, 0.5);
  border-radius: var(--rad-md);
  overflow: hidden;
}

.text-article__content th,
.text-article__content td {
  padding: var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border-dim);
}

.text-article__content th {
  background: rgba(139, 92, 246, 0.15);
  color: var(--clr-white);
  font-weight: 700;
}

.text-article__content tr:last-child td {
  border-bottom: none;
}

/* ========== PROMO BOX (CTA Block) ========== */
.promo-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--rad-lg);
  margin: var(--sp-8) 0;
  transition: all 0.25s ease;
}

.promo-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.promo-box__badge {
  position: absolute;
  top: -10px;
  left: var(--sp-5);
  padding: 4px 12px;
  background: var(--grad-main);
  border-radius: var(--rad-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-white);
}

.promo-box__icon {
  font-size: 36px;
  flex-shrink: 0;
}

.promo-box__body {
  flex: 1;
}

.promo-box__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-1);
}

.promo-box__text {
  font-size: 14px;
  color: var(--clr-muted);
}

.promo-box,
.promo-box *,
.text-article__content .promo-box,
.text-article__content .promo-box *,
.article-body__text .promo-box,
.article-body__text .promo-box * {
  text-decoration: none !important;
}

.promo-box__cta {
  padding: var(--sp-3) var(--sp-6);
  background: var(--grad-gold);
  color: #1C1917;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--rad-full);
  white-space: nowrap;
  transition: all 0.2s;
}

.promo-box__cta:hover {
  transform: scale(1.05);
}

/* Promo box variants */
.promo-box--accent {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(147, 51, 234, 0.08) 100%);
  border-color: var(--border-purple);
}

.promo-box--gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.35);
}

/* ========== QUESTIONS SECTION (FAQ) ========== */
.questions-section {
  padding: var(--sp-12) 0;
  background: rgba(37, 37, 66, 0.4);
}

.questions-section__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--clr-white);
  text-align: center;
  margin-bottom: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
}

.questions-section__title i {
  color: var(--clr-gold);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.faq-card {
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--rad-md);
  overflow: hidden;
}

.faq-card__trigger {
  width: 100%;
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
}

.faq-card__trigger h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-white);
  padding-right: var(--sp-4);
}

.faq-card__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--rad-full);
  background: rgba(139, 92, 246, 0.2);
  color: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-card.is-open .faq-card__icon {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: rotate(45deg);
}

.faq-card__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-card__answer p {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.7;
}

.faq-card.is-open .faq-card__answer {
  max-height: 300px;
}

/* ========== BOTTOM BAR (Footer) ========== */
.bottom-bar {
  padding: var(--sp-10) 0 var(--sp-6);
  background: var(--clr-deep);
  border-top: 1px solid var(--border-dim);
}

.bottom-bar__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border-dim);
}

.bottom-bar__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.bottom-bar__brand img {
  height: 36px;
}

.bottom-bar__brand span {
  font-size: 16px;
  font-weight: 800;
  color: var(--clr-white);
}

.bottom-bar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.bottom-bar__col h4,
.bottom-bar__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
  display: block;
}

.bottom-bar__col a {
  display: block;
  font-size: 14px;
  color: var(--clr-faded);
  padding: var(--sp-1) 0;
  transition: color 0.2s;
}

.bottom-bar__col a:hover {
  color: var(--clr-primary-light);
}

.bottom-bar__payments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.bottom-bar__payments img {
  height: 28px;
  opacity: 0.7;
}

.bottom-bar__bottom {
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}

.bottom-bar__copy {
  font-size: 13px;
  color: var(--clr-faded);
}

.bottom-bar__legal {
  font-size: 12px;
  color: var(--clr-faded);
  max-width: 600px;
  line-height: 1.6;
}

/* ========== FIXED BTN (Sticky CTA) ========== */
.fixed-btn {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 90;
}

.fixed-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* ========== WINNERS FEED (Sidebar) ========== */
.winners-feed {
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--rad-lg);
  padding: var(--sp-5);
}

.winners-feed__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border-dim);
}

.winners-feed__dot {
  width: 10px;
  height: 10px;
  background: #8B5CF6;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.winners-feed__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-white);
}

.winners-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-height: 400px;
  overflow: hidden;
}

.winner-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: rgba(18, 18, 31, 0.5);
  border-radius: var(--rad-sm);
  transition: all 0.3s ease;
}

.winner-item.is-new {
  animation: winner-slide 0.4s ease;
}

@keyframes winner-slide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.winner-item__game {
  width: 44px;
  height: 44px;
  border-radius: var(--rad-sm);
  object-fit: cover;
}

.winner-item__info {
  flex: 1;
  min-width: 0;
}

.winner-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-item__slot {
  font-size: 12px;
  color: var(--clr-faded);
}

.winner-item__prize {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold);
  white-space: nowrap;
}

/* Sidebar for inner pages */
.sidebar-widget {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.sidebar-widget .winners-feed {
  position: static;
}

/* ========== INNER PAGE LAYOUT ========== */
.inner-page {
  padding: var(--sp-12) 0;
}

.inner-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-8);
  align-items: start;
}

.inner-layout__main {
  min-width: 0;
}

.inner-layout__side {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

/* Article Body */
.article-body {
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--rad-lg);
  padding: var(--sp-8);
}

.article-body__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-6);
}

.article-body__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--clr-muted);
}

.article-body__text h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-white);
  margin: var(--sp-8) 0 var(--sp-4);
}

.article-body__text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-white);
  margin: var(--sp-6) 0 var(--sp-3);
}

.article-body__text p { margin-bottom: var(--sp-4); }

.article-body__text a {
  color: var(--clr-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body__text strong { color: var(--clr-white); font-weight: 600; }

.article-body__text ul,
.article-body__text ol {
  margin: var(--sp-4) 0;
  padding-left: var(--sp-6);
}

.article-body__text ul { list-style: disc; }
.article-body__text ol { list-style: decimal; }
.article-body__text li { margin-bottom: var(--sp-2); }

.article-body__text table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  background: rgba(18, 18, 31, 0.5);
  border-radius: var(--rad-md);
  overflow: hidden;
}

.article-body__text th,
.article-body__text td {
  padding: var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border-dim);
}

.article-body__text th {
  background: rgba(139, 92, 246, 0.15);
  color: var(--clr-white);
  font-weight: 700;
}

.article-body__text tr:last-child td { border-bottom: none; }

/* ========== HORIZONTAL WINNERS (Homepage) ========== */
.recent-section {
  padding: var(--sp-10) 0;
}

.recent-section .winners-feed {
  position: relative;
  top: auto;
}

.recent-section .winners-list {
  flex-direction: row;
  gap: var(--sp-4);
  max-height: none;
  overflow-x: auto;
  padding-bottom: var(--sp-3);
}

.recent-section .winner-item {
  flex-shrink: 0;
  min-width: 200px;
}

/* ========== ERROR PAGE ========== */
.error-section {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12) 0;
}

.error-box {
  max-width: 480px;
}

.error-box__code {
  font-size: 120px;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.error-box__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.error-box__text {
  color: var(--clr-muted);
  margin-bottom: var(--sp-8);
}

.error-box__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .inner-layout {
    grid-template-columns: 1fr;
  }

  .inner-layout__side {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .showcase__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase__visual {
    order: 1;
  }

  .showcase__body {
    order: 2;
  }

  .showcase__desc {
    margin-inline: auto;
  }

  .showcase__btns {
    justify-content: center;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-deep);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-6);
    gap: var(--sp-2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .menu-list.is-open {
    transform: translateX(0);
  }

  .menu-list__link {
    padding: var(--sp-4);
    font-size: 16px;
  }

  .menu-list__actions {
    display: flex;
    flex-direction: column;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .fixed-btn {
    bottom: var(--sp-4);
    right: var(--sp-4);
  }

  .fixed-btn .action-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .bottom-bar__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bottom-bar__nav {
    justify-content: center;
  }

  .bottom-bar__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .stat-item__value {
    font-size: 22px;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }

  .text-article,
  .article-body {
    padding: var(--sp-5);
  }

  .promo-box {
    flex-direction: column;
    text-align: center;
  }

  .promo-box__body {
    order: 1;
  }

  .promo-box__icon {
    order: 0;
  }

  .promo-box__cta {
    order: 2;
    width: 100%;
  }
}
