/*
 * PROJECT: starinkersis
 * DOMAIN: starinkersis.com
 * GAME: Tennis Dash
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Спортивный (champion-gold, field-green, energy-red, team-blue)
 * - Effect: Gradient Mesh
 * - Fonts: DM Sans (heading) + Work Sans (body)
 * - Buttons: Gradient
 * - Style: Современный минимализм (#f5f5f7 bg, #2563eb accent)
 *
 * Created: 2026-01-01
 */

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

/* ========================
   CSS CUSTOM PROPERTIES
   ======================== */
:root {
  --champion-gold: #f59e0b;
  --trophy-silver: #94a3b8;
  --field-green: #16a34a;
  --energy-red: #dc2626;
  --team-blue: #2563eb;
  --court-teal: #0891b2;
  --bg-light: #f5f5f7;
  --bg-white: #ffffff;
  --bg-section: #eef2f7;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
html, body { overflow-x: hidden !important; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* ========================
   CONTAINER
   ======================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--team-blue) 0%, var(--court-teal) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--champion-gold) 0%, #f97316 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.30);
}
.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.42);
}

.btn--outline {
  background: transparent;
  color: var(--team-blue);
  border: 2px solid var(--team-blue);
}
.btn--outline:hover {
  background: var(--team-blue);
  color: #fff;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  background: linear-gradient(135deg, var(--field-green) 0%, var(--court-teal) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.38);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.48);
}

/* ========================
   HEADER
   ======================== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--team-blue);
  letter-spacing: -0.03em;
}
.logo span {
  color: var(--field-green);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__list a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__list a:hover,
.nav__list a.is-active {
  color: var(--team-blue);
  background: rgba(37, 99, 235, 0.07);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================
   COOKIE CONSENT
   ======================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: rgba(255,255,255,0.9);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
}
.cookie-consent p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
}
.cookie-consent a {
  color: var(--champion-gold);
  text-decoration: underline;
}
.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  background: var(--bg-white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(22,163,74,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(22, 163, 74, 0.1);
  color: var(--field-green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: var(--team-blue);
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

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

.hero__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__game-card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero__game-icon {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.hero__game-meta {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero__game-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.hero__game-cat {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ========================
   SECTION COMMON
   ======================== */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-section); }
.section--white { background: var(--bg-white); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section__header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.section__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--team-blue);
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
}

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

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.feature-card__icon--blue { background: rgba(37, 99, 235, 0.1); }
.feature-card__icon--green { background: rgba(22, 163, 74, 0.1); }
.feature-card__icon--gold { background: rgba(245, 158, 11, 0.1); }
.feature-card__icon--teal { background: rgba(8, 145, 178, 0.1); }
.feature-card__icon--red { background: rgba(220, 38, 38, 0.1); }
.feature-card__icon--purple { background: rgba(124, 58, 237, 0.1); }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
}
.feature-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ========================
   HOW TO PLAY PREVIEW
   ======================== */
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); }

.step-card__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--team-blue), var(--court-teal));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}
.step-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
}
.step-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

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

.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--team-blue) 0%, var(--court-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.article-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.article-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--team-blue);
  font-family: var(--font-heading);
}
.article-card__date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.article-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
  line-height: 1.3;
}
.article-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

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

/* ========================
   GAME SECTION (index)
   ======================== */
.game-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.game-section__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-section);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.game-section__info .section__label { text-align: left; }
.game-section__info h2 { margin-bottom: 1rem; }
.game-section__info p { margin-bottom: 1.25rem; }

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.game-tag {
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  background: rgba(37, 99, 235, 0.08);
  color: var(--team-blue);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

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

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  transition: background 0.2s;
}
.faq-item__question:hover { background: var(--bg-section); }

.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--team-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.is-open .faq-item__answer { display: block; }

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
  background: linear-gradient(135deg, var(--team-blue) 0%, var(--court-teal) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-section .btn-play {
  background: linear-gradient(135deg, var(--champion-gold) 0%, #f97316 100%);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.38);
}
.cta-section .btn-play:hover {
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.52);
}

/* ========================
   FOOTER
   ======================== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--champion-gold); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 0.75rem; line-height: 1.65; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-footer__copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.site-footer__links { display: flex; gap: 1.25rem; }
.site-footer__links a { font-size: 0.82rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.site-footer__links a:hover { color: rgba(255,255,255,0.8); }

/* ========================
   PAGE HERO (inner pages)
   ======================== */
.page-hero {
  background: linear-gradient(135deg, var(--team-blue) 0%, var(--court-teal) 55%, var(--field-green) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.07) 0%, transparent 65%);
}
.page-hero h1 { color: #fff; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-top: 0.75rem; position: relative; z-index: 1; }

/* ========================
   BREADCRUMB
   ======================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--team-blue); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb__sep { color: var(--text-light); }

/* ========================
   ABOUT PAGE
   ======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(8,145,178,0.08) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 1px solid var(--border);
}
.value-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.value-item__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: var(--font-heading);
  margin-bottom: 0.2rem;
}
.value-item__text { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--team-blue), var(--court-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}
.team-card__name { font-weight: 700; font-family: var(--font-heading); color: var(--text-dark); }
.team-card__role { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ========================
   HOW TO PLAY PAGE
   ======================== */
.htp-steps { display: flex; flex-direction: column; gap: 2rem; }
.htp-step {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}
.htp-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--team-blue), var(--court-teal));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.htp-step__title { font-size: 1.15rem; font-weight: 700; font-family: var(--font-heading); color: var(--text-dark); margin-bottom: 0.5rem; }
.htp-step__text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.control-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.control-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.control-card__title { font-weight: 700; font-size: 0.95rem; font-family: var(--font-heading); color: var(--text-dark); margin-bottom: 0.25rem; }
.control-card__text { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.tip-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--team-blue);
}
.tip-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--team-blue);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.tip-card__text { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ========================
   BLOG PAGE
   ======================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ========================
   ARTICLE PAGE
   ======================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 3rem 0;
}
.article-content { min-width: 0; }
.article-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.article-content h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.article-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.article-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content li { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 0.4rem; line-height: 1.6; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }

.article-meta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-meta__cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--team-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
}
.article-meta__date, .article-meta__read { font-size: 0.85rem; color: var(--text-muted); }

.article-sidebar { position: sticky; top: 90px; height: fit-content; }
.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-card__header {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sidebar-card__body { padding: 1.25rem 1.4rem; }

.sidebar-play {
  background: linear-gradient(135deg, var(--team-blue), var(--court-teal));
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-play h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.sidebar-play p { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 1.25rem; }
.sidebar-play .btn-play { width: 100%; justify-content: center; background: linear-gradient(135deg, var(--champion-gold), #f97316); }

.related-list { display: flex; flex-direction: column; gap: 1rem; }
.related-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.related-item__img {
  width: 60px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--team-blue), var(--court-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.related-item__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-heading);
  line-height: 1.35;
}
.related-item__date { font-size: 0.77rem; color: var(--text-light); margin-top: 0.2rem; }
.related-item a {
  display: block;
  color: inherit;
  transition: opacity 0.2s;
}
.related-item a:hover { opacity: 0.75; }

/* ========================
   CONTACT PAGE
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--team-blue); }
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info__label { font-weight: 700; font-size: 0.9rem; font-family: var(--font-heading); color: var(--text-dark); margin-bottom: 0.2rem; }
.contact-info__value { font-size: 0.9rem; color: var(--text-muted); }

/* ========================
   LEGAL PAGES
   ======================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}
.legal-content h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal-content p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { list-style: disc; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.6; }
.legal-content .updated { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2rem; }

/* ========================
   NOTICE
   ======================== */
.notice {
  background: rgba(37, 99, 235, 0.06);
  border-left: 4px solid var(--team-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.4rem;
  margin-bottom: 1.25rem;
}
.notice p { color: var(--text-dark); font-size: 0.92rem; margin: 0; }

/* ========================
   FORM SUCCESS
   ======================== */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  color: var(--field-green);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__description { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }
  .game-section__inner { grid-template-columns: 1fr; }
  .game-section__info .section__label { text-align: center; }
  .game-section__info h2 { text-align: center; }
  .articles-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .controls-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .nav__list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 99; }
  .nav__list.is-open { display: flex; }
  .nav__toggle { display: flex; }
  .site-header__inner { position: relative; }
  .htp-step { grid-template-columns: 1fr; }
  .htp-step__num { width: 48px; height: 48px; font-size: 1.1rem; }
  .cookie-consent { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .hero__stat-value { font-size: 1.25rem; }
  .btn-play { padding: 0.85rem 1.5rem; font-size: 1rem; }
}