/*
 * PROJECT: no-mars.com
 * DOMAIN: no-mars.com
 * GAME: Stick Jump (stick-jump)
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Ретро-90 (бирюзовый #00cec9, розовый #fd79a8)
 * - Effect: Pattern Backgrounds + Neon Glow
 * - Fonts: Silkscreen (heading) + Geologica (body)
 * - Buttons: Neon Border with 3D offset
 *
 * Created: January 2026
 */

@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Geologica:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --teal:        #00cec9;
  --teal-dark:   #00a8a3;
  --teal-light:  #81ecec;
  --pink:        #fd79a8;
  --pink-dark:   #e84393;
  --pink-light:  #ffeef5;
  --bg-dark:     #0d1b2a;
  --bg-mid:      #162535;
  --bg-card:     #1a2e44;
  --text-light:  #e0f7f7;
  --text-muted:  #8ab4b4;
  --white:       #ffffff;
  --yellow:      #fdcb6e;
  --border:      rgba(0, 206, 201, 0.25);

  --font-heading: 'Silkscreen', monospace;
  --font-body:    'Geologica', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --shadow-teal: 0 0 12px rgba(0,206,201,0.5), 0 0 30px rgba(0,206,201,0.2);
  --shadow-pink: 0 0 12px rgba(253,121,168,0.5), 0 0 30px rgba(253,121,168,0.2);
  --transition:  0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Retro-90 dot pattern background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0,206,201,0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(253,121,168,0.06) 1px, transparent 1px);
  background-size: 40px 40px, 70px 70px;
  background-position: 0 0, 20px 20px;
}

body > * { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pink); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--white);
}

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

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

.stars { color: #ffc107; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--teal);
  text-shadow: 0 0 10px rgba(0,206,201,0.5);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

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

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

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

/* TEXT-ONLY LOGO */
.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  text-shadow: var(--shadow-teal);
  letter-spacing: 2px;
  text-decoration: none;
  transition: color var(--transition);
}
.logo span { color: var(--pink); }
.logo:hover { color: var(--pink); }

.site-nav__list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav__link {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav__link:hover,
.site-nav__link--active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-play,
.btn--primary {
  background: var(--teal);
  color: var(--bg-dark);
  border-color: var(--teal);
  box-shadow: var(--shadow-teal), 4px 4px 0 var(--teal-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-play:hover,
.btn--primary:hover {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: var(--shadow-pink), 4px 4px 0 var(--pink-dark);
  color: var(--white);
  transform: translate(-2px, -2px);
}

.btn--secondary {
  background: transparent;
  color: var(--pink);
  border-color: var(--pink);
  box-shadow: 3px 3px 0 var(--pink-dark);
}
.btn--secondary:hover {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-pink), 3px 3px 0 var(--pink-dark);
  transform: translate(-2px, -2px);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  box-shadow: 3px 3px 0 var(--teal-dark);
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--bg-dark);
  box-shadow: var(--shadow-teal), 3px 3px 0 var(--teal-dark);
  transform: translate(-2px, -2px);
}

.btn--sm {
  font-size: 0.65rem;
  padding: 7px 16px;
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-consent__text {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.cookie-consent__text a {
  color: var(--teal);
  text-decoration: underline;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,206,201,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(253,121,168,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Scanline retro effect */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.05) 2px,
    rgba(0,0,0,0.05) 4px
  );
  pointer-events: none;
  opacity: 0.4;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,121,168,0.12);
  border: 1px solid rgba(253,121,168,0.35);
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
}
.hero__title span {
  color: var(--teal);
  text-shadow: var(--shadow-teal);
  display: block;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}
.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--teal);
  text-shadow: var(--shadow-teal);
  display: block;
}
.hero__stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.hero__game-frame {
  position: relative;
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-teal), 0 0 60px rgba(0,206,201,0.15);
  overflow: hidden;
  background: var(--bg-mid);
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 380px;
}

.hero__game-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.hero__game-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  border: 2px solid rgba(0,206,201,0.3);
}

.hero__game-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.hero__game-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero__game-tag {
  display: inline-block;
  background: rgba(0,206,201,0.12);
  border: 1px solid rgba(0,206,201,0.3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.65rem;
  font-family: var(--font-heading);
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Floating pixel particles */
.hero__pixel {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: float-pixel 4s ease-in-out infinite;
}
.hero__pixel--1 { background: var(--teal); top: 10%; left: -15%; animation-delay: 0s; }
.hero__pixel--2 { background: var(--pink); top: 70%; left: -10%; animation-delay: 1s; width: 5px; height: 5px; }
.hero__pixel--3 { background: var(--yellow); top: 30%; right: -10%; animation-delay: 2s; width: 6px; height: 6px; }

@keyframes float-pixel {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50%       { transform: translateY(-20px) rotate(45deg); opacity: 1; }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   HOW TO PLAY PREVIEW
   ============================================================ */
.how-to-preview { }

.how-to-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.steps-list { display: flex; flex-direction: column; gap: 22px; }

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--transition);
}
.step:hover {
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(253,121,168,0.2);
}

.step__number {
  min-width: 36px;
  height: 36px;
  background: var(--teal);
  color: var(--bg-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--teal-dark);
}

.step__content { }
.step__title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
.step__text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.how-to-preview__visual {
  position: relative;
  text-align: center;
}

.pixel-screen {
  background: var(--bg-card);
  border: 3px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  position: relative;
  box-shadow: var(--shadow-teal), inset 0 0 40px rgba(0,206,201,0.05);
}

.pixel-screen::before {
  content: '●  ●  ●';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 0.5rem;
  color: var(--teal);
  letter-spacing: 4px;
  opacity: 0.6;
}

.pixel-screen__img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 18px;
  image-rendering: pixelated;
}

.pixel-screen__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
}

.keyboard-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.key-chip {
  background: var(--bg-dark);
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 3px 10px;
  color: var(--teal);
  font-size: 0.65rem;
  box-shadow: 0 2px 0 var(--teal-dark);
}

/* ============================================================
   BLOG PREVIEW / ARTICLE CARDS
   ============================================================ */
.blog-preview { background: var(--bg-mid); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.article-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}

.article-card__image-wrap {
  height: 180px;
  overflow: hidden;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.article-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
}
.article-card__thumb-placeholder span:first-child { font-size: 2rem; }

.article-card__content {
  padding: 22px;
}

.article-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.article-card__category {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(253,121,168,0.1);
  border: 1px solid rgba(253,121,168,0.25);
  border-radius: 20px;
  padding: 2px 10px;
}

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

.article-card__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.article-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__link {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.article-card__link:hover { color: var(--pink); }

.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: 12px; }

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item.is-open { border-color: var(--teal); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq__question-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1.4;
}

.faq__icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--teal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: all var(--transition);
  font-family: monospace;
}
.faq__item.is-open .faq__icon {
  background: var(--teal);
  color: var(--bg-dark);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}
.faq__item.is-open .faq__answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

.faq__answer p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,206,201,0.15) 0%, rgba(253,121,168,0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,206,201,0.03) 10px,
    rgba(0,206,201,0.03) 11px
  );
  pointer-events: none;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner__title span { color: var(--teal); text-shadow: var(--shadow-teal); }

.cta-banner__text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(10, 20, 30, 0.98);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.site-footer__brand .logo { font-size: 1.2rem; display: inline-block; margin-bottom: 14px; }

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

.site-footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }

.site-footer__nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-footer__nav a:hover { color: var(--teal); }

.site-footer__bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer__legal {
  display: flex;
  gap: 18px;
}
.site-footer__legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-footer__legal a:hover { color: var(--teal); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0,206,201,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--teal);
  text-shadow: var(--shadow-teal);
  margin-bottom: 14px;
}

.page-hero__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--teal); }
.breadcrumb__sep { color: var(--border); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page { padding: 60px 0; }

.article-page__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.article__header { margin-bottom: 32px; }

.article__category {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(253,121,168,0.1);
  border: 1px solid rgba(253,121,168,0.25);
  border-radius: 20px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 16px;
}

.article__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.article__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article__meta span { display: flex; align-items: center; gap: 5px; }

.article__body { }
.article__body h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--teal);
  margin: 32px 0 14px;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article__body h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--pink);
  margin: 22px 0 10px;
}
.article__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article__body ul, .article__body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article__body li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
.article__body strong { color: var(--teal); font-weight: 600; }
.article__body em { color: var(--pink); font-style: italic; }

.article__tip {
  background: rgba(0,206,201,0.07);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Sidebar */
.sidebar { }

.sidebar__widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.sidebar__widget-title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar__play-btn { width: 100%; text-align: center; margin-top: 12px; }

.sidebar__links { display: flex; flex-direction: column; gap: 8px; }
.sidebar__links a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar__links a::before { content: '▸'; color: var(--teal); font-size: 0.7rem; }
.sidebar__links a:hover { color: var(--teal); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: 70px 0; }

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.about-section__text h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 16px;
}
.about-section__text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-visual {
  background: var(--bg-card);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-teal);
}

.about-visual__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.about-visual__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 8px;
}

.about-visual__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-pink);
  transform: translateY(-3px);
}
.value-card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-card__title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--pink);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.value-card__text { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   HOW TO PLAY PAGE
   ============================================================ */
.how-to-page { padding: 70px 0; }

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.control-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.control-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); }
.control-card__icon { font-size: 2rem; margin-bottom: 12px; }
.control-card__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.control-card__desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px;
  transition: all var(--transition);
}
.tip-card:nth-child(even) { border-left-color: var(--pink); }
.tip-card:hover { box-shadow: 0 4px 20px rgba(0,206,201,0.15); }
.tip-card__number {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tip-card:nth-child(even) .tip-card__number { color: var(--pink); }
.tip-card__title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--white);
  margin-bottom: 8px;
}
.tip-card__text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 70px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info { }
.contact-info__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 16px;
}
.contact-info__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-detail__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail__label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-detail__value { font-size: 0.87rem; color: var(--text-muted); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,206,201,0.1);
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }

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

.form-submit { width: 100%; margin-top: 8px; }

/* ============================================================
   LEGAL PAGES (Privacy, Terms)
   ============================================================ */
.legal-page { padding: 70px 0; }

.legal-page__content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-page__content h2 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--teal);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.5px;
}
.legal-page__content h2:first-child { margin-top: 0; }
.legal-page__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-page__content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-page__content li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  list-style: disc;
  margin-bottom: 6px;
}
.legal-page__last-updated {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page { padding: 70px 0; }

.blog-page__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}

.blog-articles-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-card--horizontal {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.article-card--horizontal .article-card__image-wrap {
  height: auto;
  min-height: 160px;
  border-bottom: none;
  border-right: 1px solid var(--border);
}

/* ============================================================
   GAME EMBED SECTION
   ============================================================ */
.game-embed-section {
  background: var(--bg-mid);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.game-embed-wrapper {
  background: var(--bg-dark);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-teal);
  max-width: 900px;
  margin: 0 auto;
}

.game-embed-header {
  background: var(--bg-card);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.game-embed-header__title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--teal);
  text-transform: uppercase;
}

.game-embed-header__dots {
  display: flex;
  gap: 6px;
}

.game-embed-header__dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.game-embed-header__dot--red   { background: var(--pink); }
.game-embed-header__dot--yellow{ background: var(--yellow); }
.game-embed-header__dot--green { background: var(--teal); }

.game-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__subtitle { margin: 0 auto 30px; }
  .hero__badge { margin: 0 auto 20px; }
  .hero__game-frame { max-width: 340px; margin: 0 auto; }

  .how-to-preview__grid { grid-template-columns: 1fr; }
  .about-section__grid   { grid-template-columns: 1fr; }
  .contact-grid          { grid-template-columns: 1fr; }

  .article-page__inner   { grid-template-columns: 1fr; }
  .blog-page__grid       { grid-template-columns: 1fr; }
  .sidebar               { display: none; }

  .site-footer__grid     { grid-template-columns: 1fr 1fr; }
  .article-card--horizontal { grid-template-columns: 1fr; }

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

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

  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(13,27,42,0.98); border-bottom: 1px solid var(--border); padding: 16px 20px; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 16px; }
  .nav-toggle { display: flex; }
  .site-header__cta .btn { display: none; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }

  .legal-page__content { padding: 28px 20px; }

  .hero { min-height: auto; padding: 50px 0; }
  .hero__title { font-size: 1.8rem; }

  .cookie-consent { left: 20px; right: 20px; max-width: none; }
}