/*
 * PROJECT: westcostello
 * DOMAIN: westcostello.com
 * GAME: Stick Jump
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Soft UI / Neumorphism (light #e0e5ec)
 * - Effect: Neumorphism
 * - Fonts: Lexend (heading) + Red Hat Display (body)
 * - Buttons: 3D Effect / Soft raised
 *
 * Created: January 2026
 */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;600;700;800&family=Red+Hat+Display:wght@400;500;600&display=swap');

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

:root {
  --bg-base:        #e0e5ec;
  --bg-card:        #e8edf4;
  --shadow-dark:    #a3b1c6;
  --shadow-light:   #ffffff;
  --text-primary:   #2d3748;
  --text-secondary: #5a6a7e;
  --text-muted:     #8a9bb0;
  --accent-jump:    #5b8dee;
  --accent-stick:   #f5a623;
  --accent-hero:    #7c5cbf;
  --accent-green:   #4caf82;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --font-heading:   'Lexend', sans-serif;
  --font-body:      'Red Hat Display', sans-serif;
  --transition:     0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ─── UTILITY ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
}

.section__header { margin-bottom: 40px; }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin-left: auto; margin-right: auto; }

/* ─── SOFT UI SHADOWS ──────────────────────────────── */
.su-raised {
  background: var(--bg-base);
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  border-radius: var(--radius-md);
}

.su-inset {
  background: var(--bg-base);
  box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
  border-radius: var(--radius-md);
}

.su-card {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}

.su-card:hover {
  box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light);
  transform: translateY(-3px);
}

/* ─── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.btn--primary {
  background: linear-gradient(145deg, #6b9ef8, #4a7de0);
  color: #fff;
  box-shadow: 4px 4px 12px rgba(91,141,238,0.45), -2px -2px 6px rgba(255,255,255,0.7);
}
.btn--primary:hover {
  box-shadow: 6px 6px 16px rgba(91,141,238,0.55), -2px -2px 8px rgba(255,255,255,0.8);
  transform: translateY(-2px);
}
.btn--primary:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 6px rgba(91,141,238,0.4);
}

.btn--accent {
  background: linear-gradient(145deg, #f7b84b, #e5951a);
  color: #fff;
  box-shadow: 4px 4px 12px rgba(245,166,35,0.45), -2px -2px 6px rgba(255,255,255,0.7);
}
.btn--accent:hover {
  box-shadow: 6px 6px 16px rgba(245,166,35,0.55), -2px -2px 8px rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--bg-base);
  color: var(--accent-jump);
  box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
}
.btn--ghost:hover {
  color: var(--accent-hero);
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(145deg, #7c5cbf, #5b3fa0);
  box-shadow: 5px 5px 15px rgba(124,92,191,0.5), -3px -3px 8px rgba(255,255,255,0.7);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-play:hover {
  box-shadow: 8px 8px 20px rgba(124,92,191,0.55), -4px -4px 10px rgba(255,255,255,0.8);
  transform: translateY(-3px);
}
.btn-play:active {
  transform: translateY(1px);
}

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

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

.stars { color: #ffc107; }

/* ─── HEADER ───────────────────────────────────────── */
.site-header {
  background: var(--bg-base);
  box-shadow: 0 4px 16px var(--shadow-dark), 0 -2px 8px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-hero);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}
.logo span { color: var(--accent-stick); }
.logo:hover { color: var(--accent-jump); }

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

.nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--accent-jump);
  background: var(--bg-base);
  box-shadow: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
}

.nav__link--active {
  color: var(--accent-hero);
  background: var(--bg-base);
  box-shadow: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-base);
  box-shadow: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-hero);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero__title span { color: var(--accent-jump); }

.hero__description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 460px;
}

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

.hero__stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.hero__stat {
  text-align: center;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-base);
  box-shadow: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-hero);
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.hero__game-card {
  padding: 32px;
  background: var(--bg-base);
  box-shadow: 12px 12px 28px var(--shadow-dark), -12px -12px 28px var(--shadow-light);
  border-radius: var(--radius-xl);
  text-align: center;
  width: 100%;
  max-width: 380px;
}

.hero__game-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
  box-shadow: 6px 6px 16px var(--shadow-dark), -6px -6px 16px var(--shadow-light);
}

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

.hero__game-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero__game-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__meta-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__meta-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ─── FEATURES ─────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light);
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-base);
  box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
}

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

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

/* ─── HOW TO PLAY PREVIEW ──────────────────────────── */
.howto-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.howto-preview__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-base);
  box-shadow: 6px 6px 16px var(--shadow-dark), -6px -6px 16px var(--shadow-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.step-card:hover {
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  transform: translateX(4px);
}

.step-card__number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-jump);
  min-width: 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  box-shadow: inset 3px 3px 8px var(--shadow-dark), inset -3px -3px 8px var(--shadow-light);
}

.step-card__content {}
.step-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.step-card__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.howto-preview__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.howto-preview__panel {
  width: 100%;
  padding: 32px;
  background: var(--bg-base);
  box-shadow: 10px 10px 24px var(--shadow-dark), -10px -10px 24px var(--shadow-light);
  border-radius: var(--radius-xl);
  text-align: center;
}

.howto-preview__control {
  font-size: 3rem;
  margin-bottom: 12px;
}
.howto-preview__control-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.howto-preview__control-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─── ARTICLES / BLOG ──────────────────────────────── */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
}
.article-card:hover {
  box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light);
  transform: translateY(-4px);
}

.article-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, #c8d6e5 0%, #dde4ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
}

.article-card__thumb--alt1 { background: linear-gradient(135deg, #d0dff5 0%, #e0eaf8 100%); }
.article-card__thumb--alt2 { background: linear-gradient(135deg, #e0d4f5 0%, #ede0f8 100%); }
.article-card__thumb--alt3 { background: linear-gradient(135deg, #d4eed9 0%, #e0f4e6 100%); }

.article-card__content {
  padding: 24px;
}

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

.article-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-base);
  box-shadow: 2px 2px 6px var(--shadow-dark), -2px -2px 6px var(--shadow-light);
  color: var(--accent-jump);
}

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

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

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

.article-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-jump);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  position: relative;
  z-index: 2;
}
.article-card__link:hover { color: var(--accent-hero); }
.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.faq__item {
  background: var(--bg-base);
  box-shadow: 6px 6px 16px var(--shadow-dark), -6px -6px 16px var(--shadow-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.faq__icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: var(--accent-jump); }

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq__item.is-open .faq__answer { display: block; }

/* ─── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  padding: 64px 0;
}

.cta-banner__inner {
  background: var(--bg-base);
  box-shadow: 12px 12px 30px var(--shadow-dark), -12px -12px 30px var(--shadow-light);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.cta-banner__title span { color: var(--accent-jump); }

.cta-banner__text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ─── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--bg-base);
  box-shadow: 0 -4px 16px var(--shadow-dark);
  padding: 48px 0 24px;
}

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

.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-hero);
  margin-bottom: 12px;
  display: block;
}
.footer-brand__logo span { color: var(--accent-stick); }

.footer-brand__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.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-muted);
  margin-bottom: 16px;
}

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

.footer-nav__link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-nav__link:hover { color: var(--accent-jump); }

.site-footer__bottom {
  border-top: 1px solid var(--shadow-dark);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.site-footer__legal {
  display: flex;
  gap: 20px;
}
.site-footer__legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-footer__legal a:hover { color: var(--accent-jump); }

/* ─── PAGE HERO ────────────────────────────────────── */
.page-hero {
  padding: 56px 0 40px;
}

.page-hero__inner {
  background: var(--bg-base);
  box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
}

.page-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--bg-base);
  box-shadow: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hero);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.page-hero__title span { color: var(--accent-jump); }

.page-hero__text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── BREADCRUMB ───────────────────────────────────── */
.breadcrumb {
  padding: 12px 0;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb__link {
  color: var(--accent-jump);
  transition: color var(--transition);
}
.breadcrumb__link:hover { color: var(--accent-hero); }
.breadcrumb__sep { color: var(--text-muted); }

/* ─── CONTENT ARTICLE ──────────────────────────────── */
.content-article {
  padding: 40px 0 72px;
}

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

.prose {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 14px;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 10px;
}

.prose p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  margin: 0 0 16px 0;
  padding-left: 20px;
}
.prose li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}
.prose ul li { list-style-type: disc; }
.prose ol li { list-style-type: decimal; }

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

.prose blockquote {
  border-left: 4px solid var(--accent-jump);
  background: var(--bg-base);
  box-shadow: inset 3px 3px 8px var(--shadow-dark), inset -3px -3px 8px var(--shadow-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ─── SIDEBAR ──────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.sidebar-widget__game-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 14px;
  display: block;
  box-shadow: 4px 4px 12px var(--shadow-dark), -4px -4px 12px var(--shadow-light);
}
.sidebar-widget__game-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.sidebar-widget__game-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 16px;
}

.sidebar-related__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-related__item a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-jump);
  transition: color var(--transition);
  display: block;
  line-height: 1.4;
}
.sidebar-related__item a:hover { color: var(--accent-hero); }
.sidebar-related__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── ABOUT PAGE ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.about-block {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.about-block h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.about-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-block p:last-child { margin-bottom: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light);
}

.team-card__avatar {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-base);
  box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
  margin: 0 auto 14px;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 0.8rem;
  color: var(--accent-jump);
  font-weight: 600;
}
.team-card__bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.55;
}

/* ─── HOW TO PLAY PAGE ─────────────────────────────── */
.howto-full {
  padding: 40px 0 72px;
}

.howto-section {
  margin-bottom: 48px;
}

.howto-panel {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.howto-panel__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.howto-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.howto-step {
  background: var(--bg-base);
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all var(--transition);
}
.howto-step:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}

.howto-step__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-jump);
  margin-bottom: 8px;
}
.howto-step__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.howto-step__text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.tip-card {
  background: var(--bg-base);
  box-shadow: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
}
.tip-card:hover {
  transform: translateY(-2px);
}
.tip-card__icon { font-size: 1.4rem; margin-bottom: 8px; }
.tip-card__title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.tip-card__text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.controls-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.controls-table th {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  padding: 8px 16px;
  text-align: left;
}
.controls-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-base);
}
.controls-table td:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  box-shadow: 4px 0 0 0 transparent;
}
.controls-table td:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.controls-table tr td {
  box-shadow: 0 4px 10px var(--shadow-dark), 0 -2px 6px var(--shadow-light);
}
.controls-table .key {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-base);
  box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-jump);
}

/* ─── CONTACT PAGE ─────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0 72px;
}

.contact-form-wrap {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-base);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
  outline: none;
  transition: box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus {
  box-shadow: inset 5px 5px 12px var(--shadow-dark), inset -5px -5px 12px var(--shadow-light), 0 0 0 2px rgba(91,141,238,0.3);
}
.form-textarea { min-height: 130px; resize: vertical; }

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-card__icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--bg-base);
  box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
}

.contact-info-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.contact-info-card__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── LEGAL PAGES ──────────────────────────────────── */
.legal-content {
  padding: 40px 0 72px;
}
.legal-content__inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-base);
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.legal-content__inner h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.legal-content__inner h2:first-child { margin-top: 0; }
.legal-content__inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-content__inner ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-content__inner li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style-type: disc;
}
.legal-content__inner a {
  color: var(--accent-jump);
  text-decoration: underline;
}

/* ─── BLOG PAGE ────────────────────────────────────── */
.blog-header {
  margin-bottom: 40px;
}
.blog-hero-card {
  background: var(--bg-base);
  box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
}
.blog-hero-card__thumb {
  height: 280px;
  background: linear-gradient(135deg, #c8d6e5 0%, #dde4ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.blog-hero-card__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-hero-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-hero);
  margin-bottom: 12px;
}
.blog-hero-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}
.blog-hero-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── NOTIFICATION / TOAST ─────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-base);
  box-shadow: 10px 10px 24px var(--shadow-dark), -10px -10px 24px var(--shadow-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toast--success { border-left: 4px solid var(--accent-green); }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__game-card { max-width: 340px; }

  .howto-preview__inner { grid-template-columns: 1fr; }
  .content-article__layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-hero-card { grid-template-columns: 1fr; }
  .blog-hero-card__thumb { height: 200px; }

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

@media (max-width: 680px) {
  .nav { display: none; }
  .nav.is-open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-base); box-shadow: 0 8px 20px var(--shadow-dark); padding: 16px; }
  .nav.is-open .nav__list { flex-direction: column; align-items: stretch; }
  .nav__toggle { display: flex; }
  .site-header { position: relative; }

  .hero { padding: 40px 0 36px; }
  .hero__stats { flex-wrap: wrap; gap: 12px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .section { padding: 48px 0; }
  .features__grid { grid-template-columns: 1fr 1fr; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }

  .cta-banner__inner { padding: 36px 24px; }
  .page-hero__inner { padding: 32px 24px; }

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

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

@media (max-width: 420px) {
  .features__grid { grid-template-columns: 1fr; }
  .howto-steps-grid { grid-template-columns: 1fr; }
}