/* ============================================================
   SkinVault — CS2 Gambling Platform Guide
   Complete Stylesheet
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg-page: #0A0E17;
  --bg-nav: rgba(10, 14, 23, 0.92);
  --border-nav: #1E293B;
  --bg-hero: linear-gradient(135deg, #101827 0%, #111F3D 45%, #172554 100%);
  --bg-card: #111827;
  --border-card: #24324A;
  --bg-card-hover: #151e30;
  --accent-primary: #00E5FF;
  --accent-secondary: #8B5CF6;
  --highlight: #22C55E;
  --danger: #EF4444;
  --text-heading: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --btn-primary-bg: linear-gradient(135deg, #00E5FF, #3B82F6);
  --btn-primary-text: #07131F;
  --btn-secondary-bg: #182334;
  --btn-secondary-border: #32455F;
  --btn-secondary-text: #E2E8F0;
  --glow: 0 10px 30px rgba(0, 229, 255, 0.35);
  --glow-sm: 0 4px 15px rgba(0, 229, 255, 0.2);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --max-width-narrow: 820px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: #66f0ff;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(0, 229, 255, 0.25);
  color: var(--text-heading);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow {
  max-width: var(--max-width-narrow);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.btn--primary:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
  color: var(--btn-primary-text);
}
.btn--secondary {
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
}
.btn--secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}
.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.813rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-nav);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.header--scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.nav__logo {
  flex-shrink: 0;
}
.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
.nav__link:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.nav__age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--bg-hero);
  padding: calc(var(--header-h) + var(--space-3xl)) 0 var(--space-2xl);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--text-heading) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__illustration img {
  width: 100%;
  max-width: 480px;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Hero Stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  padding: var(--space-md);
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat__number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.3;
}
.stat__label {
  display: block;
  font-size: 0.813rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Section Styles --- */
.section {
  padding: var(--space-3xl) 0;
}
.section--alt {
  background: #0D1220;
}

.section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  font-size: 1rem;
}

.section__note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: rgba(17, 24, 39, 0.5);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-primary);
}

/* --- Listing Cards --- */
.listings {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.listing-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.listing-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.listing-card__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.listing-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--logo-color) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--logo-color, var(--accent-primary));
  border: 1px solid color-mix(in srgb, var(--logo-color) 30%, transparent);
  flex-shrink: 0;
}

.listing-card__rank {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.listing-card__body {
  min-width: 0;
}

.listing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.listing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--accent-primary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.listing-card__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 130px;
}

.listing-card__rating {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}
.rating-star {
  color: #FBBF24;
}

.listing-card__bonus {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--highlight);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-align: center;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.feature-card__icon--cyan {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-primary);
}
.feature-card__icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-secondary);
}
.feature-card__icon--green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--highlight);
}

.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.feature-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Games Grid --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.game-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--btn-primary-bg);
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.game-card:hover::before {
  opacity: 1;
}

.game-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.game-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.game-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Bonus Section --- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.bonus-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.bonus-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.bonus-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bonus-card__icon {
  font-size: 1.5rem;
}

.bonus-card__title {
  font-size: 1.05rem;
}

.bonus-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bonus-code-box {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px dashed var(--border-card);
  border-radius: var(--radius);
}

.bonus-code-box__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.bonus-code-box__inner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.bonus-code-box__code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-sm);
}

.bonus-code-box__copy {
  position: relative;
}

.bonus-code-box__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 50px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-xl);
}
.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-page);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent-primary);
  z-index: 1;
}

.timeline__content {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
}

.timeline__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.timeline__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Provably Fair Grid --- */
.fair-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.fair-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.fair-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.fair-card__step {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.3);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.fair-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.fair-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Payment Table --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
}

.pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.pay-table th,
.pay-table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-card);
}
.pay-table th {
  background: #0f1729;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pay-table td {
  color: var(--text-body);
  background: var(--bg-card);
}
.pay-table tbody tr:last-child td {
  border-bottom: none;
}
.pay-table tbody tr:hover td {
  background: var(--bg-card-hover);
}
.pay-table td strong {
  color: var(--text-heading);
}

/* --- Security Grid --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.security-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.security-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
}

.security-card__icon {
  margin-bottom: var(--space-sm);
}

.security-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.security-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--glow-sm);
}

.stat-card__number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.stat-card__label {
  display: block;
  font-size: 0.813rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] {
  border-color: rgba(0, 229, 255, 0.25);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
  transition: color var(--transition);
  list-style: none;
}
.faq-item__question::-webkit-details-marker {
  display: none;
}
.faq-item__question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: transform var(--transition);
}
.faq-item[open] .faq-item__question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item__question:hover {
  color: var(--accent-primary);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-md);
}
.faq-item__answer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Responsible Gambling --- */
.responsible {
  padding: var(--space-2xl) 0;
}

.responsible__inner {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius);
}

.responsible__icon {
  margin-bottom: var(--space-sm);
}

.responsible__title {
  font-size: 1.5rem;
  color: var(--danger);
  margin-bottom: var(--space-sm);
}

.responsible__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-sm);
  line-height: 1.65;
}

.responsible__links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.responsible__link {
  color: var(--text-body);
  font-size: 0.813rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  transition: all var(--transition);
}
.responsible__link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* --- Footer --- */
.footer {
  background: #070a12;
  border-top: 1px solid var(--border-nav);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand img {
  margin-bottom: var(--space-sm);
}

.footer__desc {
  font-size: 0.813rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__list li {
  margin-bottom: 0.4rem;
}
.footer__list a {
  color: var(--text-muted);
  font-size: 0.813rem;
  transition: color var(--transition);
}
.footer__list a:hover {
  color: var(--accent-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-nav);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}

.footer__badges {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.footer__age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
}

.footer__badge {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--highlight);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
}

/* --- Cookie Notice --- */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 14, 23, 0.97);
  border-top: 1px solid var(--border-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-notice.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-notice__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-notice__text {
  font-size: 0.813rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-notice__text a {
  color: var(--accent-primary);
}

.cookie-notice__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--glow-sm);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__illustration {
    display: none;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }

  .nav__toggle {
    display: flex;
  }
  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }
  .nav__menu.open {
    transform: translateX(0);
  }
  .nav__link {
    padding: 0.9rem var(--space-sm);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .hero {
    padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-lg);
  }

  .listing-card {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
  }
  .listing-card__left {
    flex-direction: row;
    gap: var(--space-sm);
  }
  .listing-card__right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
  }
  .listing-card__right .btn {
    width: 100%;
  }

  .features-grid,
  .games-grid,
  .stats-grid,
  .fair-grid,
  .security-grid,
  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .cookie-notice__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-notice__actions {
    justify-content: stretch;
  }
  .cookie-notice__actions .btn {
    flex: 1;
  }

  .timeline {
    padding-left: 40px;
  }
  .timeline::before {
    left: 15px;
  }
  .timeline__marker {
    left: -40px;
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .timeline__content {
    padding: var(--space-sm) var(--space-md);
  }

  .bonus-code-box__code {
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat__number {
    font-size: 1.25rem;
  }
  .hero__title {
    font-size: 1.75rem;
  }
  .section__title {
    font-size: 1.35rem;
  }
  .listing-card__logo {
    width: 44px;
    height: 44px;
    font-size: 0.75rem;
  }
  .responsible__links {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Print */
@media print {
  .header,
  .cookie-notice,
  .back-to-top,
  .hero__illustration {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
}