/* ==========================================================================
   Lete's Yellow Vibe Space - Multi-Page Theme Stylesheet (01 Directory)
   ========================================================================== */

/* -----------------------------
   Design Tokens & CSS Variables (Yellow Centric)
   ----------------------------- */
:root {
  /* Yellow Palette - Light Theme */
  --bg-primary: #fffdf0;        /* Warm Butter Cream */
  --bg-surface: #ffffff;        /* Crisp White Card */
  --bg-surface-alt: #fefce8;    /* Light Pastel Yellow */
  --bg-glass: rgba(255, 253, 240, 0.9);
  --border-color: #fef08a;      /* Soft Yellow Border */
  --border-highlight: #eab308;  /* Vivid Sunshine Yellow */

  --text-primary: #1c1917;      /* Deep Warm Charcoal */
  --text-secondary: #44403c;    /* Warm Slate */
  --text-muted: #78716c;        /* Soft Grey */
  --text-inverted: #ffffff;

  /* Theme Accents */
  --primary: #eab308;           /* Primary Sunflower Yellow */
  --primary-hover: #ca8a04;     /* Deep Gold */
  --primary-light: #fef9c3;     /* Light Lemon */
  --primary-dark: #854d0e;      /* Deep Amber Brown */

  --secondary: #f97316;         /* Warm Orange */
  --secondary-hover: #ea580c;
  --secondary-light: #ffedd5;

  --accent-mtb: #15803d;        /* Deep Green */
  --accent-mtb-light: #dcfce7;
  --accent-vibe: #8b5cf6;       /* Violet */
  --accent-vibe-light: #ede9fe;
  --accent-career: #0284c7;     /* Sky Blue */
  --accent-career-light: #e0f2fe;
  --accent-family: #f43f5e;     /* Rose Pink */
  --accent-family-light: #ffe4e6;

  /* Terminal Colors */
  --terminal-bg: #1e1e24;
  --terminal-bar: #2a2a34;
  --terminal-text: #fef9c3;
  --terminal-yellow: #fde047;
  --terminal-amber: #fbbf24;
  --terminal-blue: #67e8f9;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(234, 179, 8, 0.08);
  --shadow-md: 0 8px 20px -4px rgba(202, 138, 4, 0.12);
  --shadow-lg: 0 16px 36px -6px rgba(180, 83, 9, 0.16);
  --shadow-yellow: 0 12px 28px -4px rgba(234, 179, 8, 0.38);

  /* Typography & Layout */
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
  --nav-height: 74px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #181512;
  --bg-surface: #221e1a;
  --bg-surface-alt: #2b2620;
  --bg-glass: rgba(34, 30, 26, 0.9);
  --border-color: #443c33;
  --border-highlight: #facc15;

  --text-primary: #fefce8;
  --text-secondary: #f5f5f4;
  --text-muted: #a8a29e;

  --primary: #facc15;
  --primary-hover: #eab308;
  --primary-light: rgba(250, 204, 21, 0.15);
  --primary-dark: #fef08a;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 20px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.65);
}

/* -----------------------------
   Reset & Base Styles
   ----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.68;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
}

.gradient-text {
  background: linear-gradient(135deg, #ca8a04 0%, #eab308 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.highlight-text {
  color: #b45309;
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #fef08a;
  z-index: -1;
  border-radius: 4px;
}

[data-theme="dark"] .highlight-text {
  color: #fde047;
}
[data-theme="dark"] .highlight-text::after {
  background-color: rgba(250, 204, 21, 0.25);
}

/* Section Common */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #b45309;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

[data-theme="dark"] .section-tag {
  color: #fef08a;
  background: rgba(250, 204, 21, 0.15);
  border-color: #facc15;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  word-break: keep-all;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  word-break: keep-all;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #422006;
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fde047 0%, #ca8a04 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(202, 138, 4, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  border-color: var(--primary);
}

/* -----------------------------
   Page Header Banner (For Subpages)
   ----------------------------- */
.subpage-banner {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 50px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.subpage-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.subpage-banner .breadcrumb a {
  color: #b45309;
  text-decoration: none;
  font-weight: 600;
}

.subpage-banner .banner-title {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.subpage-banner .banner-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* -----------------------------
   Navbar (Multi-Page Navigation)
   ----------------------------- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  color: #78350f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.3);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #b45309;
  background: var(--primary-light);
}

.nav-link.active {
  color: #422006;
  background: #facc15;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

[data-theme="dark"] .nav-link:hover {
  color: #facc15;
}

[data-theme="dark"] .nav-link.active {
  color: #181512;
  background: #facc15;
}

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

.theme-toggle-btn,
.mobile-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--primary-light);
  color: #b45309;
  transform: rotate(15deg);
}

.mobile-toggle-btn {
  display: none;
}

/* -----------------------------
   Home Page Specifics (index.html)
   ----------------------------- */
.home-hero {
  padding-top: 50px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.home-hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.home-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.75;
}

.typing-text {
  color: #d97706;
  font-weight: 800;
  border-bottom: 3px solid #f59e0b;
}

[data-theme="dark"] .typing-text {
  color: #fde047;
  border-bottom-color: #facc15;
}

/* Showcase Grid on Home */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.showcase-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--primary-light);
}

.showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img-box img {
  transform: scale(1.08);
}

.showcase-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(30, 27, 22, 0.85);
  color: #fef08a;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.showcase-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-body h3 i {
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-body h3 i {
  transform: translateX(4px);
}

.showcase-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.showcase-footer {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .showcase-footer {
  color: #facc15;
}

/* Home Stats Banner */
.stats-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

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

.stat-item .num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #b45309;
  line-height: 1.1;
  margin-bottom: 4px;
}

[data-theme="dark"] .stat-item .num {
  color: #facc15;
}

.stat-item .label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* -----------------------------
   About Page (about.html)
   ----------------------------- */
.about-hero-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.about-quote-box {
  background: var(--bg-surface);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.about-quote-box p {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about-quote-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.family-story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.family-story-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.family-story-content {
  padding: 28px;
}

.family-story-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #f43f5e;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* 4 Roles Detailed Grid */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.role-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.role-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.role-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.color-career { background: var(--accent-career-light); color: var(--accent-career); }
.color-mtb { background: var(--accent-mtb-light); color: var(--accent-mtb); }
.color-vibe { background: var(--accent-vibe-light); color: var(--accent-vibe); }
.color-family { background: var(--accent-family-light); color: var(--accent-family); }

.role-detail-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.role-detail-card .role-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 16px;
}

.role-detail-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* -----------------------------
   Gallery Page (gallery.html)
   ----------------------------- */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--primary-light);
  color: #b45309;
  border-color: var(--primary);
}

.filter-btn.active {
  background: #facc15;
  color: #422006;
  border-color: #facc15;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.gallery-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #fef9c3;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.08);
}

.zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fefce8;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.gallery-card:hover .zoom-hint {
  opacity: 1;
}

.gallery-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  color: white;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.badge-green { background: rgba(16, 185, 129, 0.9); }
.badge-yellow { background: rgba(202, 138, 4, 0.9); }
.badge-orange { background: rgba(234, 88, 12, 0.9); }
.badge-rose { background: rgba(225, 29, 72, 0.9); }
.badge-purple { background: rgba(139, 92, 246, 0.9); }

.gallery-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.gallery-card-body p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 16px;
  flex-grow: 1;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.85);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: modal-appear 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-appear {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: #facc15;
  color: #422006;
  transform: rotate(90deg);
}

.lightbox-img-wrapper {
  width: 100%;
  max-height: 560px;
  background: #181512;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.lightbox-caption {
  padding: 24px 28px;
}

.lightbox-caption h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.lightbox-caption p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.lightbox-badge {
  display: inline-block;
  background: var(--primary-light);
  color: #92400e;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* -----------------------------
   MTB Page (mtb.html)
   ----------------------------- */
.mtb-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.course-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.course-body {
  padding: 24px;
}

.course-body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

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

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.88rem;
  color: #b45309;
  font-weight: 700;
}

/* MTB Checklist Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tip-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tip-card i {
  font-size: 1.5rem;
  color: #ca8a04;
  margin-top: 4px;
}

.tip-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.tip-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -----------------------------
   Vibe Coding Page (vibe.html)
   ----------------------------- */
.vibe-banner-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.fireworks-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.fireworks-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.fireworks-caption {
  padding: 20px 24px;
}

.fireworks-caption h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.fireworks-caption p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Terminal Simulator */
.terminal-container {
  max-width: 860px;
  margin: 0 auto 60px auto;
  background: var(--terminal-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(250, 204, 21, 0.25);
  overflow: hidden;
}

.terminal-header {
  background: var(--terminal-bar);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #facc15; }
.dot.green { background: #10b981; }

.terminal-title {
  color: #fef08a;
  font-size: 0.85rem;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.terminal-badge {
  background: rgba(250, 204, 21, 0.2);
  color: #fde047;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 28px 24px;
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--terminal-text);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.terminal-line {
  position: relative;
  word-break: break-word;
}

.terminal-line .prompt-symbol {
  font-weight: 700;
  margin-right: 8px;
}

.terminal-line.system-msg .prompt-symbol {
  color: var(--terminal-blue);
}

.terminal-line.user-msg .prompt-symbol {
  color: var(--terminal-yellow);
}

.terminal-line.user-msg {
  color: #fef9c3;
  background: rgba(250, 204, 21, 0.12);
  padding: 10px 14px;
  border-radius: 8px;
}

.terminal-line.ai-msg .prompt-symbol {
  color: var(--terminal-amber);
}

.terminal-line.ai-msg {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.12);
  padding: 14px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--terminal-yellow);
}

.terminal-interactive-bar {
  background: var(--terminal-bar);
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.prompt-label {
  color: #fef08a;
  font-size: 0.85rem;
  font-weight: 700;
}

.prompt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fefce8;
  border: 1px solid rgba(250, 204, 21, 0.25);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.83rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  color: white;
}

.pill-btn.active {
  background: #facc15;
  color: #422006;
  border-color: #facc15;
  font-weight: 700;
}

/* Roadmap Grid */
.vibe-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roadmap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.roadmap-card.current-step {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--primary-light) 100%);
}

.step-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: #92400e;
  background: var(--primary-light);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.roadmap-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.roadmap-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -----------------------------
   Guestbook Page (guestbook.html)
   ----------------------------- */
.cheer-dashboard {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  margin-bottom: 60px;
}

.cheer-heart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.big-heart-btn {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #facc15 0%, #f97316 100%);
  color: white;
  font-size: 2.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-yellow);
  margin-bottom: 20px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.big-heart-btn:hover {
  transform: scale(1.1);
}

.big-heart-btn:active {
  transform: scale(0.92);
}

.heart-counter {
  margin-bottom: 8px;
}

.heart-counter .count-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #b45309;
  margin-right: 4px;
}

[data-theme="dark"] .heart-counter .count-number {
  color: #facc15;
}

.heart-counter .count-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.heart-tip {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guestbook-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i {
  color: #ca8a04;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25);
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
}

.guestbook-list-container .list-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

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

.message-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.message-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.msg-author {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.msg-tag {
  font-size: 0.78rem;
  background: var(--primary-light);
  color: #92400e;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

[data-theme="dark"] .msg-tag {
  color: #fef08a;
}

.msg-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  word-break: break-word;
}

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

/* -----------------------------
   Footer
   ----------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #b45309;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.back-to-top-btn:hover {
  background: var(--primary);
  color: #422006;
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* -----------------------------
   Responsive Breakpoints
   ----------------------------- */
@media (max-width: 1024px) {
  .gallery-grid,
  .mtb-courses-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vibe-roadmap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .home-hero-container,
  .about-hero-block,
  .vibe-banner-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .roles-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .cheer-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-hero-title {
    font-size: 2.5rem;
  }
  .subpage-banner .banner-title {
    font-size: 2.2rem;
  }
  .gallery-grid,
  .mtb-courses-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 16px;
    transition: left 0.3s ease-in-out;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 12px 16px;
  }

  .mobile-toggle-btn {
    display: flex;
  }
}
