/*
 * PROJECT: thetwogunman.com
 * DOMAIN: thetwogunman.com
 * GAME: Tennis Dash
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Геймификация (фиолетовый #6c5ce7, желтый #ffd93d)
 * - Effect: Gradient Mesh + Animated Gradients
 * - Fonts: Fredoka One (heading) + Quicksand (body)
 * - Buttons: 3D Effect
 *
 * Created: 2025
 */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --champion-purple: #6c5ce7;
  --rally-yellow: #ffd93d;
  --court-green: #00b894;
  --ace-pink: #fd79a8;
  --sky-blue: #74b9ff;
  --dark-court: #1e1b4b;
  --mid-court: #2d2a6e;
  --light-surface: #f8f7ff;
  --text-dark: #1e1b4b;
  --text-light: #f8f7ff;
  --text-muted: #a0a0c0;
  --font-heading: 'Fredoka One', cursive;
  --font-body: 'Quicksand', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-card: 0 8px 32px rgba(108, 92, 231, 0.18);
  --shadow-hover: 0 16px 48px rgba(108, 92, 231, 0.32);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 70px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-surface);
  min-height: 100vh;
  overflow-x: hidden !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.section {
  padding: 5rem 0;
}

.section--alt {
  background: linear-gradient(135deg, #f0eeff 0%, #fff8e1 100%);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--champion-purple);
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 500;
}

.stars {
  color: #ffc107;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-play {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  padding: 1rem 2.8rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  border: none;
  background: var(--rally-yellow);
  color: var(--dark-court);
  box-shadow: 0 6px 0 #c8a800, 0 8px 20px rgba(255, 217, 61, 0.4);
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #c8a800, 0 12px 28px rgba(255, 217, 61, 0.5);
}

.btn-play:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #c8a800, 0 4px 10px rgba(255, 217, 61, 0.3);
}

.btn--primary {
  background: var(--champion-purple);
  color: var(--text-light);
  box-shadow: 0 6px 0 #4834d4, 0 8px 20px rgba(108, 92, 231, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #4834d4, 0 12px 28px rgba(108, 92, 231, 0.45);
}

.btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #4834d4;
}

.btn--outline {
  background: transparent;
  color: var(--champion-purple);
  border: 3px solid var(--champion-purple);
  box-shadow: 4px 4px 0 var(--champion-purple);
}

.btn--outline:hover {
  background: var(--champion-purple);
  color: var(--text-light);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dark-court);
}

.btn--sm {
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
}

/* =====================
   COOKIE CONSENT
   ===================== */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 400px;
  background: var(--dark-court);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border: 2px solid rgba(108, 92, 231, 0.3);
}

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

.cookie-consent__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: var(--rally-yellow);
  text-decoration: underline;
}

/* =====================
   HEADER / NAV
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-court);
  box-shadow: 0 4px 24px rgba(30, 27, 75, 0.3);
  height: var(--header-height);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--rally-yellow);
  letter-spacing: 1px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo::before {
  content: "🎾";
  font-size: 1.4rem;
}

.logo:hover {
  color: #fff;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav__link:hover,
.nav__link--active {
  color: var(--rally-yellow);
  border-bottom-color: var(--rally-yellow);
}

.nav__cta {
  background: var(--rally-yellow);
  color: var(--dark-court);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 0 #c8a800;
  transition: var(--transition);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c8a800;
  color: var(--dark-court);
  border-bottom: none;
}

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

.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--rally-yellow);
  border-radius: 3px;
  transition: var(--transition);
}

/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(135deg, var(--dark-court) 0%, var(--mid-court) 40%, #3d3494 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero__badge {
  display: inline-block;
  background: rgba(255, 217, 61, 0.15);
  color: var(--rally-yellow);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 217, 61, 0.4);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero__title span {
  color: var(--rally-yellow);
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  font-weight: 500;
  max-width: 480px;
}

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

.hero__meta {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.hero__meta-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero__meta-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--rally-yellow);
}

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

.hero__game-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 217, 61, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  width: 100%;
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero__game-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero__game-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.hero__game-cat {
  font-size: 0.85rem;
  color: var(--rally-yellow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.feature-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
  border: 2px solid transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--champion-purple), var(--rally-yellow));
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(108, 92, 231, 0.15);
}

.feature-card__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--champion-purple);
  margin-bottom: 0.6rem;
}

.feature-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =====================
   HOW TO PLAY (overview)
   ===================== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: steps;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--champion-purple), #a29bfe);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(108, 92, 231, 0.35);
}

.step-card__icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark-court);
  margin-bottom: 0.5rem;
}

.step-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.article-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.article-card__thumb {
  background: linear-gradient(135deg, var(--champion-purple), #a29bfe);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.article-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,217,61,0.25) 0%, transparent 60%);
}

.article-card__thumb-icon {
  font-size: 4rem;
  position: relative;
  z-index: 1;
}

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

.article-card__tag {
  display: inline-block;
  background: rgba(108, 92, 231, 0.1);
  color: var(--champion-purple);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-xl);
  margin-bottom: 0.8rem;
  width: fit-content;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark-court);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

/* =====================
   CTA SECTION
   ===================== */
.cta {
  background: linear-gradient(135deg, var(--dark-court), var(--mid-court));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta__title span {
  color: var(--rally-yellow);
}

.cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 500;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq__item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}

.faq__item.is-open {
  border-color: rgba(108, 92, 231, 0.25);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark-court);
  gap: 1rem;
  user-select: none;
}

.faq__question:hover {
  color: var(--champion-purple);
}

.faq__icon {
  width: 28px;
  height: 28px;
  background: var(--champion-purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq__item.is-open .faq__icon {
  background: var(--rally-yellow);
  color: var(--dark-court);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.7;
}

.faq__item.is-open .faq__answer {
  max-height: 400px;
  padding: 0 1.5rem 1.3rem;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand .logo {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  display: inline-flex;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--rally-yellow);
  margin-bottom: 1rem;
}

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

.footer__link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--rally-yellow);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

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

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer__bottom-link:hover {
  color: var(--rally-yellow);
}

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--dark-court), var(--mid-court));
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--champion-purple), var(--rally-yellow), var(--court-green));
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.page-hero__title span {
  color: var(--rally-yellow);
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* =====================
   BREADCRUMBS
   ===================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 1.2rem 0;
}

.breadcrumbs__link {
  color: var(--champion-purple);
  transition: var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--dark-court);
}

.breadcrumbs__sep {
  color: var(--text-muted);
}

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

.about__visual {
  background: linear-gradient(135deg, var(--champion-purple), var(--mid-court));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.about__icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
}

.about__game-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--rally-yellow);
  margin-bottom: 0.5rem;
}

.about__game-cat {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.about__heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--champion-purple);
  line-height: 1.2;
}

.about__text {
  font-size: 1rem;
  color: #4a4a6a;
  font-weight: 500;
  line-height: 1.7;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.about__stat {
  background: linear-gradient(135deg, #f0eeff, #fff8e1);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  border: 2px solid rgba(108, 92, 231, 0.12);
}

.about__stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--champion-purple);
}

.about__stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =====================
   HOW TO PLAY PAGE
   ===================== */
.htp__content {
  max-width: 800px;
  margin: 0 auto;
}

.htp__section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.htp__section::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--champion-purple), var(--rally-yellow));
}

.htp__section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--champion-purple);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

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

.htp__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.htp__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: var(--champion-purple);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.htp__step-text {
  font-size: 0.97rem;
  color: #4a4a6a;
  font-weight: 500;
  line-height: 1.6;
  padding-top: 0.4rem;
}

.htp__tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.htp__tip {
  background: linear-gradient(135deg, #f0eeff, #fff8e1);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 2px solid rgba(108, 92, 231, 0.1);
}

.htp__tip-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.htp__tip-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--dark-court);
  margin-bottom: 0.4rem;
}

.htp__tip-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.htp__controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.htp__control {
  text-align: center;
  background: linear-gradient(135deg, var(--champion-purple), #a29bfe);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  color: #fff;
}

.htp__control-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.htp__control-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.htp__control-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* =====================
   BLOG PAGE
   ===================== */
.blog__featured {
  background: linear-gradient(135deg, var(--dark-court), var(--mid-court));
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.blog__featured::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,217,61,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.blog__featured-content {
  position: relative;
  z-index: 1;
}

.blog__featured-tag {
  display: inline-block;
  background: var(--rally-yellow);
  color: var(--dark-court);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.blog__featured-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog__featured-excerpt {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog__featured-visual {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  font-size: 6rem;
  position: relative;
  z-index: 1;
}

/* =====================
   ARTICLE PAGE
   ===================== */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article__header {
  margin-bottom: 2.5rem;
}

.article__tag {
  display: inline-block;
  background: rgba(108, 92, 231, 0.1);
  color: var(--champion-purple);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.article__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--dark-court);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
}

.article__meta-dot {
  color: var(--text-muted);
  opacity: 0.4;
}

.article__banner {
  background: linear-gradient(135deg, var(--champion-purple), var(--mid-court));
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  font-size: 6rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.article__banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,217,61,0.2) 0%, transparent 60%);
}

.article__body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--champion-purple);
  margin: 2rem 0 1rem;
}

.article__body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark-court);
  margin: 1.5rem 0 0.8rem;
}

.article__body p {
  font-size: 1rem;
  color: #4a4a6a;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.article__body ul, .article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.article__body ul {
  list-style: disc;
}

.article__body ol {
  list-style: decimal;
}

.article__body li {
  font-size: 1rem;
  color: #4a4a6a;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.article__body strong {
  color: var(--champion-purple);
  font-weight: 700;
}

.article__callout {
  background: linear-gradient(135deg, #f0eeff, #fff8e1);
  border-left: 4px solid var(--champion-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.97rem;
  color: var(--dark-court);
  font-weight: 600;
  font-style: italic;
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

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

.contact__info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__info-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact__info-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--champion-purple);
  margin-bottom: 0.3rem;
}

.contact__info-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark-court);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--dark-court);
  background: var(--light-surface);
  transition: var(--transition);
  outline: none;
  font-weight: 500;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--champion-purple);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__success {
  display: none;
  background: rgba(0, 184, 148, 0.1);
  border: 2px solid var(--court-green);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: #006d56;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* =====================
   PRIVACY / TERMS
   ===================== */
.legal__content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.legal__content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--champion-purple);
  margin: 2rem 0 1rem;
}

.legal__content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark-court);
  margin: 1.2rem 0 0.6rem;
}

.legal__content p {
  font-size: 0.97rem;
  color: #4a4a6a;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal__content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal__content li {
  font-size: 0.97rem;
  color: #4a4a6a;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.legal__updated {
  background: rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  font-size: 0.87rem;
  color: var(--champion-purple);
  font-weight: 600;
  margin-bottom: 2rem;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__meta {
    justify-content: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

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

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

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

@media (max-width: 600px) {
  .nav__menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark-court);
    z-index: 200;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

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

  .nav__toggle {
    display: flex;
    z-index: 210;
    position: relative;
  }

  .nav__link {
    font-size: 1.3rem;
  }

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

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

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

  .hero__game-card {
    max-width: 260px;
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .legal__content {
    padding: 1.5rem;
  }

  .htp__section {
    padding: 1.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }

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