/*
 * PROJECT: heinpall.com
 * DOMAIN: heinpall.com
 * GAME: Ninja Veggie Slice
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Glassmorphism / Arcade Purple
 * - Effect: Glassmorphism (blur + transparent cards)
 * - Fonts: Plus Jakarta Sans (heading) + Manrope (body)
 * - Buttons: Gradient
 *
 * Created: 2026
 */

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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

  --ninja-green: #52d96e;
  --veggie-orange: #ff8c42;
  --slice-red: #f5576c;
  --blade-silver: #c8d6e5;
  --dojo-dark: #1a0533;
  --dojo-mid: #2d1054;
  --dojo-light: #3d1a6e;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-hover: rgba(255, 255, 255, 0.32);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --glass-blur: blur(14px);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;

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

  --transition-fast: 0.18s ease;
  --transition-mid: 0.3s ease;
  --transition-slow: 0.5s ease;

  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--dojo-dark);
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(82, 217, 110, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

.stars {
  color: #ffc107;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--sm {
  padding: 3rem 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(26, 5, 51, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-mid);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width var(--transition-mid);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  background: var(--gradient-main);
  border-radius: 50px;
  color: #fff;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-mid), opacity var(--transition-fast);
}

.hamburger.is-open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
    color: white;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  background: #667eea;
  top: -100px;
  left: -100px;
  animation: float-shape 8s ease-in-out infinite;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  background: #f093fb;
  top: 50%;
  right: -80px;
  animation: float-shape 10s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 250px;
  height: 250px;
  background: #52d96e;
  bottom: -50px;
  left: 40%;
  animation: float-shape 7s ease-in-out infinite 2s;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ninja-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--ninja-green);
  border-radius: 50%;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.hero__title-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px rgba(102, 126, 234, 0.4), var(--glass-shadow);
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-play {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 2.25rem;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(102, 126, 234, 0.55);
}

.btn--primary {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.38);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(102, 126, 234, 0.52);
}

.btn--outline {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn--outline:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.btn--sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
}

.btn--accent {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 87, 108, 0.35);
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  transition: background var(--transition-mid), border-color var(--transition-mid), transform var(--transition-mid), box-shadow var(--transition-mid);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow);
  transform: translateY(-4px);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  padding: 5rem 0;
}

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

.feature-card {
  padding: 2rem;
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

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

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-title--gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HOW TO PLAY (Homepage snippet)
   ============================================================ */
.steps {
  padding: 5rem 0;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-main);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.articles {
  padding: 5rem 0;
}

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

.article-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.article-card__inner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: background var(--transition-mid), border-color var(--transition-mid), transform var(--transition-mid), box-shadow var(--transition-mid);
  height: 100%;
}

.article-card:hover .article-card__inner {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow);
  transform: translateY(-4px);
}

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

.article-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ninja-green);
  background: rgba(82, 217, 110, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-card__meta-sep {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 5rem 0;
}

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

.faq__item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  text-align: left;
}

.faq__question:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.faq__question.is-open {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.4);
}

.faq__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform var(--transition-mid);
  color: var(--text-muted);
}

.faq__question.is-open .faq__icon {
  transform: rotate(45deg);
  color: var(--gradient-start);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  background: rgba(102, 126, 234, 0.06);
  border: 1px solid transparent;
  border-top: none;
}

.faq__answer.is-open {
  max-height: 500px;
  border-color: rgba(102, 126, 234, 0.25);
  border-top: none;
}

.faq__answer-inner {
  padding: 1.25rem 1.5rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 5rem 0;
}

.cta-section__inner {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border: 1px solid rgba(102, 126, 234, 0.3);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 400px;
  width: calc(100% - 3rem);
}

.cookie-consent__inner {
  background: rgba(26, 5, 51, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--glass-shadow);
}

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

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: rgba(10, 2, 26, 0.85);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 240px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.footer__link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.footer__bottom-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: var(--text-primary);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 3.5rem;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-grid__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-grid__text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.about-game-card {
  padding: 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.about-game-card__icon {
  margin: 0 auto 1.5rem;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.35);
}

.about-game-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-game-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-game-card__tag {
  font-size: 0.8rem;
  color: var(--ninja-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

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

.value-card {
  padding: 1.75rem;
  text-align: center;
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   HOW TO PLAY PAGE
   ============================================================ */
.how-to-play {
  padding: 4rem 0;
}

.how-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.how-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
}

.how-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.how-step__body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.how-step__body p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.tip-card {
  padding: 1.75rem;
}

.tip-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--veggie-orange);
  margin-bottom: 0.75rem;
}

.tip-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tip-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.controls-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.controls-table th,
.controls-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.93rem;
}

.controls-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.controls-table td {
  color: var(--text-secondary);
}

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

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  padding: 2rem 0 5rem;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-layout {
  padding: 2rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.article-layout__header {
  margin-bottom: 2.5rem;
}

.article-layout__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ninja-green);
  background: rgba(82, 217, 110, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.article-layout__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.article-layout__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-layout__body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.article-layout__body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.article-layout__body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.article-layout__body p {
  margin-bottom: 1.25rem;
}

.article-layout__body ul,
.article-layout__body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-layout__body ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.article-layout__body ol li {
  list-style: decimal;
  margin-bottom: 0.5rem;
}

.article-layout__body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color var(--transition-fast);
}

.article-back:hover {
  color: var(--text-primary);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  padding: 3rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(102, 126, 234, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.form-textarea {
  min-height: 130px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
}

.contact-info__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info__title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-info__value {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* ============================================================
   PRIVACY / TERMS (Legal pages)
   ============================================================ */
.legal-layout {
  padding: 3rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-layout h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.legal-layout h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.75rem 0 0.75rem;
}

.legal-layout p,
.legal-layout li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 1rem;
}

.legal-layout ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-layout ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ============================================================
   GAME EMBED
   ============================================================ */
.game-section {
  padding: 5rem 0;
}

.game-embed {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(102, 126, 234, 0.25), var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.game-embed__frame {
  display: block;
  width: 100%;
  height: 560px;
  border: none;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: calc(var(--header-height) + 1.5rem) 0 0;
  flex-wrap: wrap;
}

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

.breadcrumbs__item a:hover {
  color: var(--text-primary);
}

.breadcrumbs__sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.breadcrumbs__item--current {
  color: var(--text-secondary);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(26, 5, 51, 0.97);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

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

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--text-primary);
}

.mobile-nav__cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* ============================================================
   FORM SUCCESS
   ============================================================ */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}

.form-success__icon {
  font-size: 3rem;
}

.form-success__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.form-success__text {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__list,
  .nav__cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
  }
  .hero__stats {
    gap: 1.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .game-embed__frame {
    height: 380px;
  }
  .section {
    padding: 3.5rem 0;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .articles__grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .game-embed__frame {
    height: 300px;
  }
}