/*
 * PROJECT: ingelinks.com
 * DOMAIN: ingelinks.com
 * GAME: Super Ninja Adventure
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Семейный/дружелюбный — мягкий голубой, зелёный
 * - Effect: Gradient Mesh + soft shadows
 * - Fonts: Nunito (heading) + Open Sans (body)
 * - Buttons: Gradient + 3D Effect
 *
 * Created: January 2026
 */

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

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

:root {
  --sky-blue: #e3f2fd;
  --deep-blue: #1565c0;
  --mid-blue: #1e88e5;
  --light-blue: #90caf9;
  --ninja-green: #4caf50;
  --dark-green: #2e7d32;
  --accent-green: #81c784;
  --leaf-green: #c8e6c9;
  --shuriken-gold: #ffc107;
  --sunset-orange: #ff7043;
  --shadow-dark: #263238;
  --text-dark: #1a2e3a;
  --text-mid: #37474f;
  --text-light: #546e7a;
  --white: #ffffff;
  --surface: #f0f7ff;
  --card-bg: #ffffff;
  --border-light: #bbdefb;

  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(21, 101, 192, 0.1);
  --shadow-md: 0 4px 20px rgba(21, 101, 192, 0.15);
  --shadow-lg: 0 8px 40px rgba(21, 101, 192, 0.2);

  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden !important; }

body {
  font-family: var(--font-body);
  background-color: var(--sky-blue);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

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

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

ul { list-style: none; }

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

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

.stars { color: #ffc107; }

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

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

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

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

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--ninja-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  box-shadow: 0 6px 0 #1b5e20, 0 8px 20px rgba(76, 175, 80, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #1b5e20, 0 12px 30px rgba(76, 175, 80, 0.5);
}

.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #1b5e20, 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--mid-blue) 0%, var(--deep-blue) 100%);
  color: var(--white);
  box-shadow: 0 6px 0 #0d47a1, 0 8px 20px rgba(30, 136, 229, 0.4);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #0d47a1, 0 12px 30px rgba(30, 136, 229, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--ninja-green);
  border: 3px solid var(--ninja-green);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--ninja-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  padding: 18px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--shuriken-gold) 0%, var(--sunset-orange) 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 0 #e65100, 0 10px 30px rgba(255, 112, 67, 0.5);
  transition: all var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #e65100, 0 16px 40px rgba(255, 112, 67, 0.6);
}

.btn-play:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #e65100, 0 4px 15px rgba(255, 112, 67, 0.3);
}

/* ===================== HEADER ===================== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--deep-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__accent {
  color: var(--ninja-green);
}

.logo::before {
  content: '🥷';
  font-size: 1.4rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
}

.nav__link:hover,
.nav__link--active {
  background: var(--leaf-green);
  color: var(--dark-green);
}

.nav__cta {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--ninja-green), var(--dark-green));
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 0 #1b5e20, 0 6px 16px rgba(76, 175, 80, 0.35);
  transition: all var(--transition);
}

.nav__cta:hover {
  transform: translateY(-2px);
}

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

.burger__line {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition);
}

/* ===================== HERO SECTION ===================== */
.hero {
  background: linear-gradient(135deg, #e3f2fd 0%, #c8e6c9 50%, #e8f5e9 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--leaf-green);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__title {
  margin-bottom: 20px;
}

.hero__title-accent {
  color: var(--ninja-green);
  display: block;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.8;
}

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

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--deep-blue);
  display: block;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

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

.hero__game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 340px;
  width: 100%;
  border: 3px solid var(--border-light);
}

.hero__game-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.hero__game-icon-fallback {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--ninja-green), var(--deep-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-md);
}

.hero__game-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.hero__game-genre {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-mid);
}

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

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

.section--leaf {
  background: var(--leaf-green);
}

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

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--leaf-green);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section__title {
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue);
}

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

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

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

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  position: relative;
}

.step-card__number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ninja-green), var(--dark-green));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 0 #1b5e20;
}

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

.step-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

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

.article-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  transition: all var(--transition);
    position: relative;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-green);
}

.article-card__thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--leaf-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.article-card__content {
  padding: 24px;
}

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

.article-card__category {
  background: var(--leaf-green);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.article-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

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

.faq__item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition);
}

.faq__item.is-open {
  border-color: var(--ninja-green);
  box-shadow: var(--shadow-md);
}

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

.faq__question:hover {
  background: var(--surface);
}

.faq__icon {
  width: 28px;
  height: 28px;
  background: var(--leaf-green);
  color: var(--dark-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition);
  font-weight: 900;
}

.faq__item.is-open .faq__icon {
  background: var(--ninja-green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

/* ===================== CTA SECTION ===================== */
.cta {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ninja-green) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

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

.cta__title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta__desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--shadow-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

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

.footer__brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-flex;
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin: 0;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

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

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

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: linear-gradient(135deg, #e3f2fd 0%, #c8e6c9 100%);
  padding: 60px 0;
  text-align: center;
}

.page-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--leaf-green);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-hero__title {
  margin-bottom: 14px;
}

.page-hero__desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== CONTENT PAGE ===================== */
.content-section {
  padding: 80px 0;
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.content-body h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  margin-top: 40px;
  color: var(--deep-blue);
}

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

.content-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  margin-top: 28px;
  color: var(--ninja-green);
}

.content-body p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
  color: var(--text-mid);
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.2rem;
  padding-left: 24px;
}

.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }

.content-body li {
  color: var(--text-mid);
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 2px solid var(--border-light);
  text-align: center;
}

.sidebar-card__icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.sidebar-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.sidebar-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ===================== BREADCRUMBS ===================== */
.breadcrumbs {
  padding: 14px 0;
  background: var(--sky-blue);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumbs__item::after {
  content: '›';
  color: var(--text-light);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__link {
  color: var(--mid-blue);
  font-weight: 600;
  transition: color var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--deep-blue);
}

/* ===================== CONTROLS TABLE ===================== */
.controls-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.controls-table th {
  background: linear-gradient(135deg, var(--ninja-green), var(--dark-green));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
}

.controls-table td {
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
}

.controls-table tr:nth-child(even) td {
  background: var(--surface);
}

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

/* ===================== TIP BOX ===================== */
.tip-box {
  background: linear-gradient(135deg, #e8f5e9, #e3f2fd);
  border: 2px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tip-box__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tip-box__text {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.7;
}

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

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

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--leaf-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info__text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid var(--border-light);
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--ninja-green);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

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

/* ===================== ARTICLE PAGE ===================== */
.article-hero {
  background: linear-gradient(135deg, #e3f2fd 0%, #c8e6c9 100%);
  padding: 60px 0;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-hero__category {
  background: var(--leaf-green);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-hero__date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-hero__title {
  margin-bottom: 16px;
  max-width: 800px;
}

.article-hero__desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.8;
}

.article-content {
  padding: 60px 0;
  background: var(--white);
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* ===================== ABOUT PAGE ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  transition: all var(--transition);
}

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

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ninja-green), var(--deep-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--ninja-green);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ===================== VALUE CARDS ===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.value-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ===================== INLINE GAME SECTION ===================== */
.play-section {
  background: linear-gradient(135deg, var(--sky-blue), var(--leaf-green));
  padding: 80px 0;
}

.play-section__inner {
  text-align: center;
}

.game-frame-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: inline-block;
  max-width: 800px;
  width: 100%;
  border: 3px solid var(--border-light);
}

.game-frame-box__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.game-frame-box__subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.game-frame-box__actions {
  margin-top: 24px;
}

/* ===================== HOW TO PLAY PAGE ===================== */
.htp-section {
  padding: 80px 0;
  background: var(--white);
}

.htp-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.htp-step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px dashed var(--border-light);
  align-items: flex-start;
}

.htp-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.htp-step__num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ninja-green), var(--dark-green));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 0 #1b5e20;
}

.htp-step__content {}

.htp-step__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.htp-step__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.8;
}

/* ===================== LEGAL PAGES ===================== */
.legal-content {
  padding: 60px 0 80px;
  background: var(--white);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.5rem;
  color: var(--deep-blue);
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.15rem;
  color: var(--ninja-green);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-body p {
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-body ul {
  margin-bottom: 1.2rem;
  padding-left: 24px;
  list-style: disc;
}

.legal-body ul li {
  color: var(--text-mid);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===================== MOBILE NAV ===================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  flex-direction: column;
  gap: 8px;
  transition: right var(--transition);
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.mobile-nav__overlay.is-open {
  display: block;
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-nav__link:hover {
  color: var(--ninja-green);
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================== COOKIE CONSENT ===================== */
#cookie-consent {
  font-family: var(--font-body);
}

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

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

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

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

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__image-box {
    display: none;
  }

  .features__grid,
  .blog__grid,
  .blog-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .content-grid,
  .htp-grid,
  .article-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

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

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

  .section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-play,
  .btn {
    width: 100%;
    text-align: center;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}