/*
 * PROJECT: lundermax
 * DOMAIN: lundermax.com
 * GAME: Stick Jump
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Spider/Comic (Red, Blue, Web patterns)
 * - Effect: Pattern Backgrounds + Brutalism
 * - Fonts: Bangers + Nunito
 * - Buttons: 3D Effect
 *
 * Created: 2026
 */

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

/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  --spider-red: #d62828;
  --spider-red-dark: #a01010;
  --spider-blue: #1a3a6b;
  --spider-blue-light: #2855a0;
  --web-white: #f5f5f0;
  --web-black: #111111;
  --accent-gold: #ffd700;
  --accent-orange: #ff6b35;
  --text-dark: #1a1a2e;
  --text-light: #f5f5f0;
  --text-muted: #6c757d;
  --card-bg: #ffffff;
  --body-bg: #0e1628;
  --section-alt: #12203a;
  --border-radius: 4px;
  --font-display: 'Bangers', cursive;
  --font-body: 'Nunito', sans-serif;
  --shadow-brutal: 5px 5px 0px var(--web-black);
  --shadow-brutal-red: 5px 5px 0px var(--spider-red-dark);
  --web-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.08)'/%3E%3Cline x1='50' y1='0' x2='50' y2='100' stroke='rgba(255,255,255,0.04)' stroke-width='0.5'/%3E%3Cline x1='0' y1='50' x2='100' y2='50' stroke='rgba(255,255,255,0.04)' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3Cline x1='15' y1='15' x2='85' y2='85' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3Cline x1='85' y1='15' x2='15' y2='85' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--body-bg);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  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;
}

/* =====================
   WEB PATTERN UTILITY
   ===================== */
.web-pattern {
  background-image: var(--web-pattern);
}

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

/* =====================
   HEADER
   ===================== */
.site-header {
  background: var(--spider-blue);
  background-image: var(--web-pattern);
  border-bottom: 4px solid var(--spider-red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 0 var(--spider-red-dark);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--web-white);
  letter-spacing: 0.08em;
  text-shadow: 3px 3px 0 var(--spider-red), 5px 5px 0 var(--spider-red-dark);
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.05);
  color: var(--accent-gold);
}

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

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--web-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.site-nav__btn {
  background: var(--spider-red);
  color: var(--web-white) !important;
  padding: 0.45rem 1.2rem !important;
  border: 2px solid var(--web-black);
  box-shadow: var(--shadow-brutal);
  border-radius: var(--border-radius);
  border-bottom: none !important;
  transition: transform 0.1s, box-shadow 0.1s !important;
}

.site-nav__btn:hover {
  transform: translate(2px, 2px) !important;
  box-shadow: 3px 3px 0 var(--web-black) !important;
  color: var(--accent-gold) !important;
  border-bottom-color: transparent !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}

.hamburger__bar {
  width: 26px;
  height: 3px;
  background: var(--web-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  background: linear-gradient(135deg, var(--spider-blue) 0%, var(--spider-blue-light) 40%, var(--spider-red-dark) 100%);
  background-image: var(--web-pattern), linear-gradient(135deg, var(--spider-blue) 0%, var(--spider-blue-light) 40%, var(--spider-red-dark) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--spider-red);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(214,40,40,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(26,58,107,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__text {
  flex: 1 1 420px;
  text-align: left;
}

.hero__badge {
  display: inline-block;
  background: var(--spider-red);
  color: var(--web-white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border: 2px solid var(--web-black);
  box-shadow: 3px 3px 0 var(--web-black);
  margin-bottom: 1.2rem;
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--web-white);
  text-shadow: 4px 4px 0 var(--spider-red), 7px 7px 0 var(--spider-red-dark);
  margin-bottom: 1rem;
  line-height: 1;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(245,245,240,0.88);
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__game-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border: 4px solid var(--spider-red);
  box-shadow: 8px 8px 0 var(--spider-red-dark), 12px 12px 0 var(--web-black);
  border-radius: 12px;
  background: var(--spider-blue-light);
  filter: drop-shadow(0 0 20px rgba(214,40,40,0.5));
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.07em;
  padding: 0.7rem 1.9rem;
  border-radius: var(--border-radius);
  border: 3px solid var(--web-black);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none;
  position: relative;
  top: 0;
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 transparent !important;
  top: 0;
}

.btn-play,
.btn--primary {
  background: var(--spider-red);
  color: var(--web-white);
  box-shadow: var(--shadow-brutal);
}

.btn-play:hover,
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--web-black);
  color: var(--accent-gold);
}

.btn--secondary {
  background: var(--accent-gold);
  color: var(--web-black);
  box-shadow: 5px 5px 0 var(--spider-red-dark);
}

.btn--secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--spider-red-dark);
}

.btn--outline {
  background: transparent;
  color: var(--web-white);
  border: 3px solid var(--web-white);
  box-shadow: 5px 5px 0 rgba(255,255,255,0.3);
}

.btn--outline:hover {
  background: var(--web-white);
  color: var(--spider-blue);
  transform: translate(-2px, -2px);
}

/* =====================
   SECTION TITLES
   ===================== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--web-white);
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 3px 3px 0 var(--spider-red);
}

.section-subtitle {
  text-align: center;
  color: rgba(245,245,240,0.75);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.section-title--left {
  text-align: left;
}

/* =====================
   FEATURES SECTION
   ===================== */
.features {
  padding: 5rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

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

.feature-card {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--spider-red-dark);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.feature-card__text {
  font-size: 0.95rem;
  color: rgba(245,245,240,0.8);
  font-weight: 600;
}

/* =====================
   GAME SECTION
   ===================== */
.game-section {
  padding: 5rem 0;
  background: var(--section-alt);
  background-image: var(--web-pattern);
}

.game-section__inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.game-section__info {
  flex: 1 1 340px;
}

.game-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--web-white);
  text-shadow: 3px 3px 0 var(--spider-red);
  margin-bottom: 1rem;
}

.game-section__description {
  font-size: 1rem;
  color: rgba(245,245,240,0.82);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.game-section__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.game-meta-tag {
  background: var(--spider-red);
  color: var(--web-white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border: 2px solid var(--web-black);
  box-shadow: 3px 3px 0 var(--web-black);
  border-radius: 2px;
}

.game-meta-tag--blue {
  background: var(--spider-blue-light);
}

.game-section__preview {
  flex: 1 1 420px;
  aspect-ratio: 16/9;
  background: var(--spider-blue);
  border: 4px solid var(--spider-red);
  box-shadow: 8px 8px 0 var(--spider-red-dark);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-section__preview-placeholder {
  text-align: center;
  color: rgba(245,245,240,0.6);
}

.game-section__preview-placeholder span {
  font-size: 5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* =====================
   HOW TO PLAY SECTION
   ===================== */
.how-to-play-section {
  padding: 5rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

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

.step-card {
  background: var(--spider-blue);
  border: 3px solid var(--web-black);
  box-shadow: var(--shadow-brutal);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--web-black);
}

.step-card__number {
  position: absolute;
  top: -1rem;
  left: 1rem;
  background: var(--spider-red);
  color: var(--web-white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--web-black);
  box-shadow: 3px 3px 0 var(--web-black);
  border-radius: 2px;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.step-card__text {
  font-size: 0.9rem;
  color: rgba(245,245,240,0.8);
  font-weight: 600;
}

/* =====================
   BLOG / ARTICLES SECTION
   ===================== */
.blog-section {
  padding: 5rem 0;
  background: var(--section-alt);
  background-image: var(--web-pattern);
}

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

.article-card {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.article-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--spider-red-dark);
}

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

.article-card__thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--spider-red-dark), var(--spider-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 3px solid var(--spider-red);
}

.article-card__content {
  padding: 1.5rem;
}

.article-card__category {
  display: inline-block;
  background: var(--spider-red);
  color: var(--web-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.7rem;
  border: 2px solid var(--web-black);
  box-shadow: 2px 2px 0 var(--web-black);
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--web-white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.article-card__excerpt {
  font-size: 0.88rem;
  color: rgba(245,245,240,0.75);
  margin-bottom: 1rem;
  font-weight: 600;
}

.article-card__meta {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* =====================
   FAQ SECTION
   ===================== */
.faq-section {
  padding: 5rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

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

.faq__item {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq__question:hover {
  background: rgba(214,40,40,0.15);
}

.faq__icon {
  font-size: 1.4rem;
  color: var(--spider-red);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 1.5rem;
}

.faq__item--open .faq__answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

.faq__answer p {
  color: rgba(245,245,240,0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
  padding: 4rem 0;
  background: var(--spider-red);
  background-image: var(--web-pattern);
  border-top: 4px solid var(--web-black);
  border-bottom: 4px solid var(--web-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--web-white);
  text-shadow: 4px 4px 0 var(--spider-red-dark), 6px 6px 0 var(--web-black);
  margin-bottom: 0.8rem;
}

.cta-banner__text {
  font-size: 1.1rem;
  color: rgba(245,245,240,0.9);
  margin-bottom: 2rem;
  font-weight: 700;
}

/* =====================
   STATS ROW
   ===================== */
.stats {
  padding: 4rem 0;
  background: var(--spider-blue);
  background-image: var(--web-pattern);
  border-top: 3px solid var(--spider-red);
  border-bottom: 3px solid var(--spider-red);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent-gold);
  text-shadow: 3px 3px 0 var(--spider-red-dark);
  display: block;
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-item__label {
  font-size: 0.9rem;
  color: rgba(245,245,240,0.8);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  display: block;
}

/* =====================
   PAGE HEADER (inner pages)
   ===================== */
.page-header {
  background: linear-gradient(135deg, var(--spider-blue) 0%, var(--spider-blue-light) 50%, var(--spider-red-dark) 100%);
  background-image: var(--web-pattern), linear-gradient(135deg, var(--spider-blue) 0%, var(--spider-blue-light) 50%, var(--spider-red-dark) 100%);
  padding: 4rem 0 3rem;
  border-bottom: 4px solid var(--spider-red);
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--web-white);
  text-shadow: 4px 4px 0 var(--spider-red), 6px 6px 0 var(--spider-red-dark);
  margin-bottom: 0.7rem;
}

.page-header__subtitle {
  color: rgba(245,245,240,0.8);
  font-size: 1rem;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
}

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb {
  padding: 1rem 0;
  background: var(--spider-blue);
  border-bottom: 2px solid var(--spider-red);
}

.breadcrumb__list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  color: var(--spider-red);
  font-size: 1rem;
}

.breadcrumb__link {
  color: var(--accent-gold);
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: var(--web-white);
}

.breadcrumb__current {
  color: rgba(245,245,240,0.65);
}

/* =====================
   ARTICLE / CONTENT PAGE
   ===================== */
.content-layout {
  padding: 4rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

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

.article-body {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-gold);
  text-shadow: 2px 2px 0 var(--spider-red-dark);
  margin: 2rem 0 0.8rem;
  letter-spacing: 0.04em;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--web-white);
  margin: 1.5rem 0 0.6rem;
  letter-spacing: 0.04em;
}

.article-body p {
  color: rgba(245,245,240,0.85);
  margin-bottom: 1rem;
  font-size: 0.97rem;
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
  list-style: disc;
}

.article-body li {
  color: rgba(245,245,240,0.82);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.article-body strong {
  color: var(--accent-gold);
  font-weight: 800;
}

.article-body__thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--spider-red-dark), var(--spider-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 3px solid var(--spider-red);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* =====================
   SIDEBAR
   ===================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--spider-red);
}

.sidebar-widget__link {
  display: block;
  color: rgba(245,245,240,0.82);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(214,40,40,0.2);
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-widget__link:hover {
  color: var(--accent-gold);
  padding-left: 0.5rem;
}

.sidebar-widget__play {
  display: block;
  text-align: center;
  margin-top: 1rem;
}

/* =====================
   ABOUT PAGE
   ===================== */
.about-content {
  padding: 4rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

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

.about-block {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent-gold);
  text-shadow: 2px 2px 0 var(--spider-red-dark);
  margin-bottom: 1rem;
}

.about-block p {
  color: rgba(245,245,240,0.82);
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.about-block ul {
  margin: 0.8rem 0 1rem 1.2rem;
  list-style: disc;
}

.about-block li {
  color: rgba(245,245,240,0.8);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-section {
  padding: 4rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

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

.contact-form {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,245,240,0.8);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(26,58,107,0.6);
  border: 2px solid var(--spider-red);
  border-radius: var(--border-radius);
  padding: 0.7rem 1rem;
  color: var(--web-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.15);
}

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

.contact-info {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-info__text strong {
  display: block;
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

.contact-info__text span {
  color: rgba(245,245,240,0.8);
  font-size: 0.92rem;
  font-weight: 600;
}

/* =====================
   HOW TO PLAY (full page)
   ===================== */
.how-to-play-content {
  padding: 4rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

.how-to-play-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.instructions-block {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.instructions-block h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-gold);
  text-shadow: 2px 2px 0 var(--spider-red-dark);
  margin: 1.5rem 0 0.7rem;
  letter-spacing: 0.04em;
}

.instructions-block h2:first-child {
  margin-top: 0;
}

.instructions-block p {
  color: rgba(245,245,240,0.85);
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.instructions-block ul,
.instructions-block ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
}

.instructions-block ul { list-style: disc; }
.instructions-block ol { list-style: decimal; }

.instructions-block li {
  color: rgba(245,245,240,0.82);
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
  font-weight: 600;
}

.controls-box {
  background: rgba(26,58,107,0.5);
  border: 2px dashed var(--spider-red);
  border-radius: var(--border-radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.controls-box__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(245,245,240,0.85);
}

.control-key {
  background: var(--spider-red);
  color: var(--web-white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0.2rem 0.7rem;
  border: 2px solid var(--web-black);
  box-shadow: 2px 2px 0 var(--web-black);
  border-radius: 2px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tips-block {
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.tips-block h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.tip-item__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tip-item__text {
  font-size: 0.88rem;
  color: rgba(245,245,240,0.8);
  font-weight: 600;
}

/* =====================
   BLOG PAGE
   ===================== */
.blog-content {
  padding: 4rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

.blog-content .articles-grid {
  margin-top: 0;
}

/* =====================
   PRIVACY / TERMS PAGE
   ===================== */
.legal-content {
  padding: 4rem 0;
  background: var(--body-bg);
  background-image: var(--web-pattern);
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  border-radius: var(--border-radius);
  padding: 2.5rem 3rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-gold);
  text-shadow: 2px 2px 0 var(--spider-red-dark);
  margin: 2rem 0 0.7rem;
  letter-spacing: 0.04em;
}

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

.legal-body p {
  color: rgba(245,245,240,0.82);
  margin-bottom: 0.9rem;
  font-size: 0.93rem;
  font-weight: 600;
}

.legal-body ul {
  margin: 0.7rem 0 1rem 1.5rem;
  list-style: disc;
}

.legal-body li {
  color: rgba(245,245,240,0.8);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-body a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.legal-last-updated {
  display: inline-block;
  background: var(--spider-red);
  color: var(--web-white);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border: 2px solid var(--web-black);
  box-shadow: 2px 2px 0 var(--web-black);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--web-black);
  background-image: var(--web-pattern);
  border-top: 4px solid var(--spider-red);
  padding: 4rem 0 2rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--web-white);
  letter-spacing: 0.08em;
  text-shadow: 3px 3px 0 var(--spider-red);
  display: block;
  margin-bottom: 0.8rem;
}

.footer-brand__desc {
  color: rgba(245,245,240,0.65);
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--spider-red);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col__link {
  color: rgba(245,245,240,0.7);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-col__link:hover {
  color: var(--accent-gold);
}

.site-footer__bottom {
  border-top: 2px solid rgba(214,40,40,0.4);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: rgba(245,245,240,0.45);
  font-size: 0.83rem;
  font-weight: 600;
}

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

.footer-legal-links a {
  color: rgba(245,245,240,0.45);
  font-size: 0.83rem;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* =====================
   NOTIFICATION
   ===================== */
.notification {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  background: var(--spider-blue);
  border: 3px solid var(--spider-red);
  box-shadow: var(--shadow-brutal-red);
  color: var(--web-white);
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  max-width: 300px;
  z-index: 999;
  opacity: 0;
  transform: translateX(110%);
  transition: opacity 0.3s, transform 0.3s;
  border-radius: var(--border-radius);
}

.notification--show {
  opacity: 1;
  transform: translateX(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .content-layout__inner,
  .how-to-play-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .features__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--spider-blue);
    border-left: 4px solid var(--spider-red);
    box-shadow: -8px 0 0 var(--spider-red-dark);
    padding: 5rem 2rem 2rem;
    transition: right 0.35s ease;
    z-index: 200;
    overflow-y: auto;
  }

  .site-nav--open {
    right: 0;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 2px solid rgba(214,40,40,0.3);
  }

  .site-nav__btn {
    margin-top: 1rem;
  }

  .hamburger {
    display: flex;
    z-index: 300;
  }

  .hamburger--open .hamburger__bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger--open .hamburger__bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger--open .hamburger__bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero__text {
    text-align: center;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__image {
    order: -1;
    flex: 0 0 auto;
  }

  .hero__game-icon {
    width: 140px;
    height: 140px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .legal-body {
    padding: 1.5rem;
  }

  .article-body {
    padding: 1.5rem;
  }

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

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

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .game-section__preview {
    flex: 1 1 100%;
  }
}

/* =====================
   MOBILE OVERLAY
   ===================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 150;
}

.nav-overlay--show {
  display: block;
}