/*
 * PROJECT: selectomart.com
 * DOMAIN: selectomart.com
 * GAME: Super Ninja Adventure
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Технологичный (Neon #00ffaa, Dark #0d1117)
 * - Effect: Neon Glow
 * - Fonts: JetBrains Mono (headings) + Inter (body)
 * - Buttons: Neon Border
 *
 * Created: January 2026
 */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --neon-green: #00ffaa;
  --neon-green-dim: #00cc88;
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --dark-bg: #0d1117;
  --dark-surface: #161b22;
  --dark-card: #1c2333;
  --dark-border: #30363d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  --font-heading: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --glow-green: 0 0 10px #00ffaa, 0 0 20px #00ffaa44, 0 0 40px #00ffaa22;
  --glow-blue: 0 0 10px #00d4ff, 0 0 20px #00d4ff44;
  --glow-purple: 0 0 10px #a855f7, 0 0 20px #a855f744;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* ===== 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(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--neon-green-dim);
}

ul {
  list-style: none;
}

/* ===== MANDATORY RULES ===== */
.article-card,
.offer-card,
.card {
  position: relative;
}

.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stars {
  color: #ffc107;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: var(--dark-surface);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--neon-green);
  letter-spacing: -0.02em;
  text-shadow: var(--glow-green);
  text-decoration: none;
  transition: text-shadow var(--transition);
}

.logo:hover {
  text-shadow: 0 0 14px #00ffaa, 0 0 30px #00ffaa66;
  color: var(--neon-green);
}

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

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.03em;
}

.nav__link:hover,
.nav__link--active {
  color: var(--neon-green);
  background: rgba(0, 255, 170, 0.06);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
    color: white;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 255, 170, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 255, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--neon-green);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: var(--glow-green);
}

.hero__title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
  display: block;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__meta-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.hero__meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__game-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  border: 1px solid rgba(0, 255, 170, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-card);
  box-shadow: var(--glow-green), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero__game-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero__game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(13, 17, 23, 0.55);
}

.hero__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-green);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.hero__play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #00ffaa, 0 0 40px #00ffaa66;
}

.hero__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #0d1117;
  margin-left: 4px;
}

.hero__game-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--neon-green);
  margin-top: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.04em;
  border: none;
}

.btn-play,
.btn--primary {
  background: transparent;
  color: var(--neon-green);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 8px rgba(0, 255, 170, 0.3), inset 0 0 8px rgba(0, 255, 170, 0.05);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-play:hover,
.btn--primary:hover {
  background: rgba(0, 255, 170, 0.12);
  box-shadow: var(--glow-green), inset 0 0 16px rgba(0, 255, 170, 0.1);
  color: var(--neon-green);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--dark-border);
}

.btn--secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  box-shadow: var(--glow-blue);
  color: var(--neon-blue);
}

/* ===== FEATURES ===== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 255, 170, 0.4);
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.06);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== SECTION HEADER ===== */
.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--neon-green);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section__title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section__title span {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== GAME SECTION ===== */
.game-section {
  background: var(--dark-bg);
}

.game-section__container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.game-section__iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 255, 170, 0.25);
  box-shadow: var(--glow-green), 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}

.game-section__iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-section__sidebar {}

.game-section__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.game-section__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.game-section__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.game-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
}

.game-info-row__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-info-row__value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--neon-green);
}

.game-section__controls {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.game-section__controls-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.controls-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.controls-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 0.4rem;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-primary);
  box-shadow: 0 2px 0 var(--dark-border);
  flex-shrink: 0;
}

/* ===== ARTICLE CARDS ===== */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
}

.article-card:hover {
  border-color: rgba(0, 255, 170, 0.35);
  box-shadow: 0 0 24px rgba(0, 255, 170, 0.07);
  transform: translateY(-4px);
}

.article-card__image {
  height: 180px;
  background: var(--dark-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.article-card__image-placeholder {
  font-size: 3.5rem;
  opacity: 0.6;
}

.article-card__body {
  padding: 1.5rem;
}

.article-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  color: var(--neon-green);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 1.25rem;
  margin-top: -0.25rem;
}

.article-card__date {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.article-card__read {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--neon-green);
  z-index: 2;
  position: relative;
}

.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.is-open {
  border-color: rgba(0, 255, 170, 0.35);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.faq-item__question-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.faq-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 255, 170, 0.1);
  border: 1px solid rgba(0, 255, 170, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-item__icon::before {
  content: '+';
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--neon-green);
  line-height: 1;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: rgba(0, 255, 170, 0.15);
}

.faq-item__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 255, 170, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-banner__title span {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.cta-banner__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  padding: 3.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: var(--glow-green);
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--neon-green);
}

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

.footer__copyright {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__bottom-link:hover {
  color: var(--neon-green);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 420px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-consent__text a {
  color: var(--neon-green);
}

.cookie-consent__btn {
  align-self: flex-end;
}

.cookie-consent--hidden {
  display: none;
}

/* ===== BLOG PAGE ===== */
.blog-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* ===== ARTICLE PAGE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.article-content h1 {
  margin-top: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--dark-border);
  flex-wrap: wrap;
}

.article-meta__date,
.article-meta__category,
.article-meta__time {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-meta__category {
  color: var(--neon-green);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.article-sidebar__card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-sidebar__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-related-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dark-border);
}

.sidebar-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-related-item__title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.sidebar-related-item:hover .sidebar-related-item__title {
  color: var(--neon-green);
}

.sidebar-related-item__date {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== HOW TO PLAY ===== */
.steps__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-item__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 255, 170, 0.08);
  border: 2px solid rgba(0, 255, 170, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: var(--glow-green);
  flex-shrink: 0;
}

.step-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  padding-top: 0.9rem;
}

.step-item__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CONTROLS TABLE ===== */
.controls-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.controls-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.9rem 1.25rem;
  text-align: left;
  background: var(--dark-surface);
  border-bottom: 1px solid var(--dark-border);
}

.controls-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--dark-border);
}

.controls-table tr:last-child td {
  border-bottom: none;
}

.controls-table tr:hover td {
  background: rgba(0, 255, 170, 0.02);
}

/* ===== ABOUT ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 255, 170, 0.25);
  box-shadow: var(--glow-green), 0 20px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 1;
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro__icon-placeholder {
  font-size: 6rem;
  opacity: 0.5;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.about-stat {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-stat:hover {
  border-color: rgba(0, 255, 170, 0.35);
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.05);
}

.about-stat__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: var(--glow-green);
  display: block;
  margin-bottom: 0.35rem;
}

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

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-textarea {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(0, 255, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 255, 170, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-item__value {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ===== PRIVACY / TERMS ===== */
.legal-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-layout h1 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal-layout .legal-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  display: block;
}

.legal-layout h2 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-layout p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-layout ul {
  list-style: disc;
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
}

.legal-layout ul li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
}

.page-hero__title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-hero__title span {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.page-hero__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 2rem;
}

.breadcrumb__item {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.breadcrumb__item a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb__item a:hover {
  color: var(--neon-green);
}

.breadcrumb__sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.breadcrumb__item--current {
  color: var(--neon-green);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .nav__list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-border);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__link {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    order: -1;
  }

  .game-section__container {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

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

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__meta {
    gap: 1rem;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .cookie-consent {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: var(--glow-green); }
  50% { opacity: 0.5; box-shadow: none; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--glow-green); }
  50% { box-shadow: 0 0 6px #00ffaa, 0 0 12px #00ffaa33; }
}

.neon-glow-anim {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ===== UTILITY ===== */
.text-neon {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}