/*
 * PROJECT: tronplane.com
 * DOMAIN: tronplane.com
 * GAME: Checkers Master
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Ретро-геймер (Bright & Dynamic #10)
 * - Effect: Pattern Backgrounds + Gradient Mesh
 * - Fonts: Outfit (heading) + Rubik (body)
 * - Buttons: 3D Effect
 *
 * Created: January 2026
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Rubik:wght@400;500;600&display=swap');

:root {
  --board-dark: #1a0a2e;
  --board-mid: #2d1b4e;
  --board-surface: #3b2468;
  --accent-orange: #ff6b00;
  --accent-violet: #7c3aed;
  --accent-gold: #f7b32b;
  --accent-red: #e63946;
  --text-light: #f0eaf8;
  --text-muted: #a89cc0;
  --white: #ffffff;
  --card-bg: rgba(59, 36, 104, 0.6);
  --border-subtle: rgba(124, 58, 237, 0.3);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Rubik', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.25s ease;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden !important; }
body {
  font-family: var(--font-body);
  background-color: var(--board-dark);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; }

/* ===== MANDATORY RULES ===== */
.article-card__overlay { position: absolute; inset: 0; z-index: 1; }
.article-card, .offer-card, .card { position: relative; }
.stars { color: #ffc107; }

/* ===== PATTERN BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(124, 58, 237, 0.04) 0px,
      rgba(124, 58, 237, 0.04) 2px,
      transparent 2px,
      transparent 28px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 107, 0, 0.03) 0px,
      rgba(255, 107, 0, 0.03) 2px,
      transparent 2px,
      transparent 28px
    );
  pointer-events: none;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 10, 46, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
}
.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo span {
  color: var(--accent-orange);
}
.site-nav__list {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.site-nav__link:hover,
.site-nav__link--active {
  color: var(--white);
  background: rgba(124, 58, 237, 0.2);
}
.site-header__cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--accent-orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 0 #b84d00;
  display: inline-block;
  white-space: nowrap;
}
.site-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b84d00;
}
.site-header__cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b84d00;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(124, 58, 237, 0.22) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255, 107, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.5);
  color: #c4a9ff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-orange);
}
.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-play {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--accent-orange);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 6px 0 #b84d00, 0 12px 24px rgba(255, 107, 0, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
}
.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #b84d00, 0 16px 32px rgba(255, 107, 0, 0.4);
}
.btn-play:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #b84d00;
}
.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  color: var(--text-light);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  display: inline-block;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: 0 4px 0 rgba(124, 58, 237, 0.4);
}
.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--accent-violet);
  transform: translateY(-2px);
}
.hero__game-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 107, 0, 0.08);
}
.hero__game-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--board-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 2px solid var(--border-subtle);
}
.hero__game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hero__game-title {
  font-size: 1.2rem;
  color: var(--white);
}
.hero__game-cat {
  background: rgba(124, 58, 237, 0.3);
  color: #c4a9ff;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
}
.hero__game-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(45, 27, 78, 0.5);
}
.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stats-bar__item {
  text-align: center;
}
.stats-bar__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
}
.stats-bar__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.section-header {
  margin-bottom: 40px;
}
.section-header--center {
  text-align: center;
}

/* ===== FEATURES ===== */
.features {
  padding: 72px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-violet);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}
.feature-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.feature-card__title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== HOW TO PLAY PREVIEW ===== */
.howto-preview {
  padding: 64px 0;
  background: rgba(45, 27, 78, 0.3);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.howto-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.howto-preview__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-item__num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #b84d00;
}
.step-item__content {}
.step-item__title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.step-item__text {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.howto-preview__visual {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(10px);
}
.board-preview {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--accent-violet);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.3);
}
.board-preview__cell {
  aspect-ratio: 1;
}
.board-preview__cell--light { background: #e8d5b7; }
.board-preview__cell--dark { background: #6b3a2a; }
.board-preview__cell--piece-black {
  background: #6b3a2a;
  position: relative;
}
.board-preview__cell--piece-black::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #555, #111);
  border: 2px solid #888;
}
.board-preview__cell--piece-white {
  background: #6b3a2a;
  position: relative;
}
.board-preview__cell--piece-white::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe, #c8a96e);
  border: 2px solid #a07840;
}
.howto-preview__controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.ctrl-chip {
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: #ffb87a;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ===== BLOG / ARTICLES ===== */
.blog-section {
  padding: 72px 0;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.12);
}
.article-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--board-surface), var(--board-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.article-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 20px
  );
}
.article-card__content {
  padding: 24px;
  position: relative;
  z-index: 2;
}
.article-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-card__tag {
  background: rgba(124, 58, 237, 0.25);
  color: #c4a9ff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
}
.article-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.article-card__title {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 72px 0;
  background: rgba(45, 27, 78, 0.3);
  border-top: 1px solid var(--border-subtle);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition);
}
.faq-item--open {
  border-color: var(--accent-violet);
}
.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.faq-item__question h3 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  flex: 1;
}
.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--accent-violet);
  transition: transform 0.3s, background 0.3s;
  font-style: normal;
}
.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--accent-violet);
  color: white;
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item--open .faq-item__answer {
  max-height: 400px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 72px 0;
}
.cta-banner__inner {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(255, 107, 0, 0.2) 100%);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}
.cta-banner__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(45, 27, 78, 0.3);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 12px;
}
.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ===== ARTICLE PAGE ===== */
.article-layout {
  padding: 56px 0;
}
.article-layout__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}
.article-body {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(8px);
}
.article-body h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 32px 0 14px;
}
.article-body h3 {
  font-size: 1.15rem;
  color: #c4a9ff;
  margin: 24px 0 10px;
}
.article-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-body strong { color: var(--text-light); }
.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta__tag {
  background: rgba(124, 58, 237, 0.25);
  color: #c4a9ff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
}
.article-meta__date,
.article-meta__read {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== SIDEBAR ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.sidebar-widget__title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-play-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  background: var(--accent-orange);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 0 #b84d00;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 12px;
}
.sidebar-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b84d00;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  transition: color var(--transition);
  display: block;
}
.sidebar-links a:hover { color: var(--accent-orange); }

/* ===== ABOUT PAGE ===== */
.about-content {
  padding: 64px 0;
}
.about-content__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}
.about-text h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 28px 0 14px;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.about-stat-card__value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-orange);
}
.about-stat-card__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== HOW TO PLAY PAGE ===== */
.howto-content {
  padding: 64px 0;
}
.howto-content__intro {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
}
.howto-content__intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.howto-content__intro p:last-child { margin-bottom: 0; }
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.howto-step {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition);
}
.howto-step:hover {
  border-color: rgba(255, 107, 0, 0.4);
}
.howto-step__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #ff9d4d);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #b84d00;
}
.howto-step__body {}
.howto-step__title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}
.howto-step__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.howto-tips {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(255, 107, 0, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 48px;
}
.howto-tips h2 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 18px;
}
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tips-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.tips-list li::before {
  content: '♟';
  color: var(--accent-orange);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.control-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  backdrop-filter: blur(6px);
}
.control-item__icon { font-size: 1.8rem; }
.control-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.control-item__label strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 2px;
}

/* ===== BLOG PAGE ===== */
.blog-content {
  padding: 64px 0;
}
.blog-featured {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.blog-featured:hover {
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.1);
}
.blog-featured__visual {
  background: linear-gradient(135deg, var(--board-surface), #1a0a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  min-height: 280px;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.blog-featured__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 20px
  );
}
.blog-featured__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.blog-featured__tag {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  color: var(--accent-orange);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.blog-featured__title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}
.blog-featured__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.blog-featured__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.blog-featured__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
  padding: 64px 0;
}
.contact-content__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(26, 10, 46, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--board-mid); }
.btn-submit {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--accent-orange);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 5px 0 #b84d00;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #b84d00;
}
.btn-submit:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #b84d00;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.contact-info-card__icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.contact-info-card__title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}
.contact-info-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success__icon { font-size: 3rem; margin-bottom: 14px; }
.form-success__title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}
.form-success__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 64px 0;
}
.legal-body {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.legal-body h2 {
  font-size: 1.4rem;
  color: var(--white);
  margin: 32px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.legal-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}
.legal-body ul {
  padding-left: 22px;
  margin-bottom: 14px;
  list-style: disc;
}
.legal-body li {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 7px;
  line-height: 1.7;
}
.legal-body a {
  color: #c4a9ff;
  text-decoration: underline;
}
.legal-last-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(10, 4, 20, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 28px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-brand .logo {
  font-size: 1.4rem;
  display: inline-flex;
  margin-bottom: 14px;
}
.footer-brand__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col__list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col__list a:hover { color: var(--accent-orange); }
.site-footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.site-footer__legal {
  display: flex;
  gap: 20px;
}
.site-footer__legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-footer__legal a:hover { color: var(--text-light); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a,
.breadcrumb span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--accent-orange); }
.breadcrumb__sep { color: var(--border-subtle); }
.breadcrumb span:last-child { color: var(--text-light); }

/* ===== UTILITIES ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}
.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }
.section-cta-wrap {
  text-align: center;
  margin-top: 36px;
}
.btn-outline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  display: inline-block;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: 0 4px 0 rgba(124, 58, 237, 0.3);
}
.btn-outline:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--accent-violet);
  transform: translateY(-2px);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 4, 20, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mobile-nav--open { display: flex; }
.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}
.mobile-nav__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.mobile-nav__link:hover { color: var(--accent-orange); }

/* ===== COOKIE CONSENT ===== */
#cookie-consent {
  animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__game-card { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .howto-preview__inner { grid-template-columns: 1fr; }
  .about-content__inner { grid-template-columns: 1fr; }
  .article-layout__inner { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__visual { min-height: 180px; }
  .contact-content__inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-nav, .site-header__cta { display: none; }
  .hamburger { display: flex; }
  .features__grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { gap: 32px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .cta-banner__inner { padding: 36px 24px; }
  .article-body { padding: 28px; }
  .legal-body { padding: 28px; }
  .controls-grid { grid-template-columns: 1fr; }
  .howto-step { flex-direction: column; }
  .howto-step__num { width: 42px; height: 42px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn-play, .btn-secondary { width: 100%; text-align: center; }
}