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

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

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

:root {
  --neon-green: #00ffaa;
  --neon-blue: #00d4ff;
  --neon-yellow: #f0ff00;
  --dark-bg: #0d1117;
  --dark-card: #161b22;
  --dark-border: #21262d;
  --dark-hover: #1c2128;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --glow-green: 0 0 10px rgba(0, 255, 170, 0.4), 0 0 30px rgba(0, 255, 170, 0.2);
  --glow-blue: 0 0 10px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.2);
  --glow-yellow: 0 0 10px rgba(240, 255, 0, 0.4), 0 0 30px rgba(240, 255, 0, 0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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.7;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

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

/* ===== MANDATORY RULES ===== */
.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.article-card,
.offer-card,
.card {
  position: relative;
}

.stars {
  color: #ffc107;
}

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

/* ===== HEADER ===== */
.site-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);
}

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

.logo {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--neon-green);
  letter-spacing: -0.5px;
  text-shadow: var(--glow-green);
  transition: text-shadow var(--transition);
}

.logo:hover {
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0, 255, 170, 0.7), 0 0 50px rgba(0, 255, 170, 0.3);
}

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

.site-nav__link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition), text-shadow var(--transition);
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--neon-green);
  transition: all var(--transition);
  display: block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: transparent;
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 8px rgba(0, 255, 170, 0.3), inset 0 0 8px rgba(0, 255, 170, 0.05);
}

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

.btn--secondary {
  background: transparent;
  color: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3), inset 0 0 8px rgba(0, 212, 255, 0.05);
}

.btn--secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-blue);
  box-shadow: var(--glow-blue), inset 0 0 20px rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark-bg);
  background: var(--neon-green);
  border: 2px solid var(--neon-green);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--glow-green);
  text-decoration: none;
}

.btn-play:hover {
  background: transparent;
  color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.6), 0 0 60px rgba(0, 255, 170, 0.3);
  transform: translateY(-3px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-green);
  margin-bottom: 20px;
}

.hero__label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
}

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

.hero__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

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

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: var(--glow-green);
  display: block;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.hero__game-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 0 40px rgba(0, 255, 170, 0.08);
  transition: box-shadow var(--transition);
}

.hero__game-card:hover {
  box-shadow: 0 0 60px rgba(0, 255, 170, 0.15);
}

.hero__game-icon-wrap {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,255,170,0.05) 0%, rgba(0,212,255,0.05) 100%);
  min-height: 240px;
}

.hero__game-icon-wrap img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 30px rgba(0, 255, 170, 0.2);
}

.hero__game-meta {
  padding: 20px 24px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__game-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__game-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
}

.hero__game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 17, 23, 0.85);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}

.hero__game-card:hover .hero__game-overlay {
  opacity: 1;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--dark-card);
}

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

.section__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-green);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

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

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

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

.feature-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 255, 170, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 170, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 170, 0.1);
}

.feature-card__title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

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

/* ===== HOW TO PLAY PREVIEW ===== */
.how-to-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.step-card__number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-border);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.step-card__title {
  font-size: 0.95rem;
  font-family: var(--font-mono);
  color: var(--neon-blue);
  margin-bottom: 8px;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

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

/* ===== ARTICLE CARDS ===== */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.article-card:hover {
  border-color: rgba(0, 255, 170, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 170, 0.05);
  transform: translateY(-4px);
}

.article-card__image {
  height: 180px;
  background: linear-gradient(135deg, rgba(0,255,170,0.06) 0%, rgba(0,212,255,0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.article-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(13,17,23,0.3));
}

.article-card__content {
  padding: 24px;
}

.article-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.article-card__title {
  font-size: 1rem;
  font-family: var(--font-mono);
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color var(--transition);
}

.article-card:hover .article-card__title {
  color: var(--neon-green);
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

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

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

.faq__item.is-open {
  border-color: rgba(0, 255, 170, 0.3);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

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

.faq__item.is-open .faq__question {
  color: var(--neon-green);
}

.faq__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: normal;
  transition: all var(--transition);
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.faq__item.is-open .faq__icon {
  background: var(--neon-green);
  color: var(--dark-bg);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--dark-border);
  padding-top: 16px;
}

.faq__item.is-open .faq__answer {
  display: block;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 255, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

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

.cta-section__text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 170, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

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

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  margin-top: 40px;
  color: var(--neon-green);
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.about-content ul li {
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.about-content ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.about-sidebar__card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.about-sidebar__card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.about-stat {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.875rem;
}

.about-stat:last-child {
  border-bottom: none;
}

.about-stat__label {
  color: var(--text-secondary);
}

.about-stat__value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--neon-green);
}

/* ===== HOW TO PLAY PAGE ===== */
.htp-section {
  padding: 60px 0;
}

.htp-section + .htp-section {
  border-top: 1px solid var(--dark-border);
}

.htp-section__title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.htp-section__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--neon-green);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-green);
  flex-shrink: 0;
}

.htp-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.htp-control-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.htp-control-item__key {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--dark-bg);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 0 6px rgba(0, 255, 170, 0.2);
  min-width: 80px;
  text-align: center;
}

.htp-control-item__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.htp-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.htp-tip-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 3px solid var(--neon-yellow);
}

.htp-tip-card__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.htp-tip-card__title {
  font-size: 0.95rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.htp-tip-card__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.htp-mechanics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.htp-mechanic {
  display: flex;
  gap: 20px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px;
  align-items: flex-start;
}

.htp-mechanic__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.htp-mechanic__title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-blue);
  margin-bottom: 6px;
}

.htp-mechanic__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== BLOG PAGE ===== */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== ARTICLE PAGE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 60px 0;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 36px 0 16px;
  color: var(--text-primary);
  padding-left: 16px;
  border-left: 3px solid var(--neon-green);
}

.article-body h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--neon-blue);
}

.article-body p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.85;
  font-size: 0.95rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 18px;
  padding-left: 0;
}

.article-body ul {
  list-style: none;
}

.article-body ul li {
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.article-body ol {
  list-style: decimal;
  padding-left: 24px;
}

.article-body ol li {
  color: var(--text-secondary);
  padding: 4px 0;
  font-size: 0.95rem;
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-border);
}

.article-header__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.article-header__title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-header__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 20px;
}

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

.article-sidebar__card h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  padding-left: 14px;
  position: relative;
}

.sidebar-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--neon-green);
}

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

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 8px rgba(0, 255, 170, 0.2);
}

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

.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.contact-info-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

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

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 36px 0 14px;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  color: var(--neon-blue);
  font-family: var(--font-mono);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.92rem;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-secondary);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  font-size: 0.92rem;
}

.legal-content ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--neon-green);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

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

.site-footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

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

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

.site-footer__bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer__bottom a {
  color: var(--text-muted);
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

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

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

.breadcrumb__sep {
  color: var(--dark-border);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__link {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition);
}

.mobile-nav__link:hover {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.mobile-nav__close:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

/* ===== FORM SUCCESS ===== */
.form-success {
  display: none;
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--neon-green);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-to-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

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

@media (max-width: 768px) {
  .site-nav,
  .site-header__cta .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__stats {
    gap: 20px;
  }

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

  .how-to-steps {
    grid-template-columns: 1fr;
  }

  .articles__grid,
  .blog__grid {
    grid-template-columns: 1fr;
  }

  .htp-controls-grid {
    grid-template-columns: 1fr;
  }

  .htp-tips-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .btn-play {
    padding: 14px 32px;
    font-size: 1rem;
  }
}