/* ============================================================
   Brain Puzzle 3 Crazy Mind — Guide Site
   Color palette from logo: warm orange, golden yellow, sky blue
   ============================================================ */

:root {
  --ink: #2a1a00;
  --bg: #fdf0d5;
  --brand-500: #f5a623;
  --brand-600: #e0911a;
  --brand-900: #7a3d00;
  --accent-500: #3dbfff;
  --accent-600: #1aa8f0;
  --blue-dark: #1565c0;
  --yellow: #f5c842;
  --orange: #f5a623;
  --header-bg: #f5c842;
  --muted: #5c3d00;
  --shadow-soft: 3px 3px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --card-bg: #fff9ee;
  --section-bg: #fdf0d5;
  --hero-bg: #f5c842;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Fredoka One", "Press Start 2P", "Courier New", monospace;
  margin: 0 0 0.6rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 4px solid var(--ink);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  display: block;
  background: #fff9ee;
  border-radius: 8px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-500), #f5c842 55%, var(--accent-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--ink);
  font-family: "Fredoka One", sans-serif;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--ink);
  display: block;
}

.brand span {
  display: block;
  color: var(--ink);
  font-family: "Fredoka One", "Courier New", monospace;
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  display: block;
}

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

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  transition: all 0.15s ease;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--accent-500);
  box-shadow: 2px 2px 0 var(--ink);
}

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

.nav-actions input {
  width: 140px;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.nav-actions button {
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  font-size: 0.9rem;
}

.nav-actions button:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
}

.nav-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: var(--accent-500);
  color: var(--ink);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}

.mobile-nav {
  display: none;
  background: var(--header-bg);
  border-bottom: 4px solid var(--ink);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0 1.4rem;
}

.mobile-nav a {
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  background: #fff9ee;
  border: 2px solid var(--ink);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.mobile-nav input {
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border: 2px solid var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
}

.mobile-nav button {
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.25), rgba(61, 191, 255, 0.25)),
    repeating-linear-gradient(0deg, rgba(42, 26, 0, 0.05) 0 3px, transparent 3px 8px),
    repeating-linear-gradient(90deg, rgba(42, 26, 0, 0.05) 0 3px, transparent 3px 8px),
    #f5e4a0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: linear-gradient(145deg, var(--yellow), var(--orange) 45%, var(--accent-500));
  border-radius: 50%;
  box-shadow: 12px 12px 0 var(--ink);
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  background: var(--accent-500);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.15s ease;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
}

.btn-secondary {
  background: var(--accent-500);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--yellow);
  text-decoration: none;
}

.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap img {
  max-width: 280px;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 12px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #fff9ee;
}

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

.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink);
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0.5rem auto 0;
}

.section-kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   LEVEL CARDS
   ============================================================ */

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

.level-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.level-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-soft);
}

.level-thumb {
  position: relative;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.level-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.level-thumb-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(42, 26, 0, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.level-card h3 {
  font-size: 0.78rem;
  padding: 0.6rem 0.75rem 0.3rem;
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
}

.level-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem 0.4rem;
  gap: 0.4rem;
}

.level-meta span {
  font-size: 0.72rem;
  color: var(--muted);
}

.level-meta span:last-child {
  background: var(--yellow);
  color: var(--ink);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
}

.level-open {
  display: block;
  margin: 0 0.75rem 0.75rem;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--ink);
  padding: 0.45rem 0;
  border-radius: 6px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
  transition: all 0.12s ease;
}

.level-open:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */

.load-more-wrap {
  text-align: center;
  margin-top: 2rem;
}

#load-more-btn {
  background: var(--accent-500);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  font-family: inherit;
  transition: all 0.15s ease;
}

#load-more-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

#load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h3 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.blog-card-header {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 2px solid var(--ink);
}

.blog-card-tag {
  display: inline-block;
  background: var(--accent-500);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--ink);
  margin-bottom: 0.5rem;
}

.blog-card-header h3 {
  font-size: 0.95rem;
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
}

.blog-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card-body a {
  display: inline-block;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.blog-card-body a:hover {
  text-decoration: underline;
}

/* ============================================================
   TIPS / TRICKS
   ============================================================ */

.tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
}

.tip-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.tip-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
}

.tip-item h4 {
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-family: inherit;
  font-weight: 700;
}

.tip-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   SEARCH SECTION
   ============================================================ */

.search-box {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.search-box input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.search-box button {
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}

/* ============================================================
   LEVEL DETAIL
   ============================================================ */

.level-detail-hero {
  padding: 2rem 0 1.5rem;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border-bottom: 4px solid var(--ink);
}

.level-breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.level-breadcrumb a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.level-breadcrumb a:hover {
  text-decoration: underline;
}

.level-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0 3rem;
}

.level-video-wrap {
  aspect-ratio: 16/9;
  background: #000;
  border: 3px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.level-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.level-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.related-list a {
  display: block;
  padding: 0.5rem 0.7rem;
  background: #fff9ee;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.12s;
}

.related-list a:hover {
  background: var(--yellow);
  text-decoration: none;
}

.walkthrough-steps {
  margin-top: 1rem;
}

.walkthrough-steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 0.82rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  background: #fff9ee;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.12s;
}

.pagination a:hover {
  background: var(--yellow);
  text-decoration: none;
}

.pagination .active {
  background: var(--orange);
  color: var(--ink);
}

/* ============================================================
   LEVELS LIST PAGE
   ============================================================ */

.level-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover {
  background: rgba(245, 168, 35, 0.1);
}

.faq-arrow {
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 2px solid var(--ink);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.download-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.15s;
}

.download-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.download-card .store-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.download-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.download-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ============================================================
   RATINGS & STATS
   ============================================================ */

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  font-family: "Fredoka One", monospace;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 2px solid var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}

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

/* ============================================================
   BLOG DETAIL
   ============================================================ */

.blog-detail-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border-bottom: 4px solid var(--ink);
}

.blog-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  padding: 2rem 0 3rem;
}

.blog-content {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.blog-content h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.blog-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.blog-content li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.blog-content p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #2a1a00;
  color: #f5e4a0;
  border-top: 4px solid var(--ink);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(245, 228, 160, 0.15);
}

.footer-grid h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 0.85rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-grid ul li a {
  color: rgba(245, 228, 160, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-grid ul li a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer-grid ul li {
  font-size: 0.85rem;
  color: rgba(245, 228, 160, 0.75);
}

.footer-brand .brand-mark {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245, 228, 160, 0.65);
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: rgba(245, 228, 160, 0.45);
}

/* ============================================================
   ABOUT HERO BADGE
   ============================================================ */

.about-badge {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.about-badge .badge-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* ============================================================
   404 PAGE
   ============================================================ */

.not-found {
  text-align: center;
  padding: 6rem 0;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--orange);
  -webkit-text-stroke: 3px var(--ink);
}

.not-found h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.not-found p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ============================================================
   NOTICE BANNER
   ============================================================ */

.notice-banner {
  background: var(--accent-500);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

  .nav-toggle {
    display: block;
  }

  .hero::after {
    display: none;
  }

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

  .level-detail-body {
    grid-template-columns: 1fr;
  }

  .blog-detail-body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}
