@charset "UTF-8";

/* ==========================================================================
   NGUYỄN VĨNH CHIẾN - OFFICIAL INSPIRATIONAL BLOG STYLESHEET
   Domain: https://nguyenvinhchien.biz/
   Theme: Vibrant Energy, Kindness, Athletic Elegance, 60+ Vitality
   Typography: Be Vietnam Pro & Montserrat (100% Native Vietnamese Support)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  /* Color Palette - Vibrant Athletic Light Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-alt: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-blue: #1d4ed8;
  --accent-blue-light: #eff6ff;
  --accent-cyan: #0284c7;
  --accent-red: #dc2626;
  --accent-red-light: #fee2e2;
  --accent-emerald: #059669;

  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-blue: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  --gradient-vietnam: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --gradient-hero: linear-gradient(135deg, #0b192c 0%, #1e3a8a 50%, #0369a1 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);

  --border-color: rgba(148, 163, 184, 0.2);
  --border-glow: rgba(245, 158, 11, 0.35);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 10px 30px -5px rgba(245, 158, 11, 0.3);
  --shadow-blue: 0 10px 30px -5px rgba(29, 78, 216, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-heading: 'Be Vietnam Pro', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --nav-height: 76px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg-primary: #070c17;
  --bg-secondary: #0d1627;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(21, 32, 54, 0.9);
  --bg-alt: #131e33;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  --accent-gold-light: rgba(245, 158, 11, 0.15);
  --accent-blue-light: rgba(29, 78, 216, 0.2);
  --accent-red-light: rgba(220, 38, 38, 0.2);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.45);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 35px -5px rgba(245, 158, 11, 0.25);
  --shadow-blue: 0 10px 35px -5px rgba(29, 78, 216, 0.3);

  --gradient-card: linear-gradient(180deg, rgba(21, 32, 54, 0.8) 0%, rgba(13, 22, 39, 0.8) 100%);
}

/* Reset & Base Setup */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border: 1px solid rgba(29, 78, 216, 0.3);
}

.badge-red {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Gradient Text */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .site-header {
  background: rgba(13, 22, 39, 0.85);
}

.site-header.scrolled {
  height: 68px;
  box-shadow: var(--shadow-sm);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

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

.icon-btn:hover {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.icon-btn.playing {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  animation: pulse-ring 2s infinite;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.925rem;
  box-shadow: var(--shadow-blue);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(29, 78, 216, 0.45);
  color: #fff;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 12px 25px -4px rgba(245, 158, 11, 0.45);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.925rem;
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(29, 78, 216, 0.09) 0%, transparent 50%),
              var(--bg-primary);
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-motto-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-gold-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
  animation: float-gentle 4s ease-in-out infinite;
}

.hero-motto-banner .sun-icon {
  font-size: 1.3rem;
  color: #f59e0b;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
}

.hero-title .highlight {
  display: inline-block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

/* Hero Stats Bar */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
}

[data-theme="dark"] .hero-stat-number {
  color: var(--accent-gold);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Card Graphic */
.hero-visual-card {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 4px solid #fff;
  transition: transform var(--transition-smooth);
}

[data-theme="dark"] .hero-image-wrapper {
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper:hover {
  transform: translateY(-6px) scale(1.01);
}

.hero-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-main-img {
  transform: scale(1.03);
}

/* Floating Badges on Hero Card */
.floating-stat-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

[data-theme="dark"] .floating-stat-chip {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.chip-top-left {
  top: 20px;
  left: -20px;
  animation: float-gentle 5s ease-in-out infinite;
}

.chip-bottom-right {
  bottom: 24px;
  right: -20px;
  animation: float-gentle 4.5s ease-in-out infinite 1s;
}

.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chip-icon.run {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
}

.chip-icon.heart {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.chip-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION (CÂU CHUYỆN VỀ ANH NGUYỄN VĨNH CHIẾN)
   ========================================================================== */
.about-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.about-image-collage {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}

[data-theme="dark"] .about-img-main {
  border-color: rgba(255, 255, 255, 0.1);
}

.about-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.about-quote-box {
  position: absolute;
  bottom: -24px;
  left: 24px;
  right: 24px;
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-quote-box p {
  font-style: italic;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-quote-author {
  display: block;
  font-size: 0.8rem;
  color: var(--accent-gold-dark);
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-details h2 {
  font-size: 2.4rem;
  letter-spacing: -0.5px;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* 4 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.pillar-item {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  background: var(--bg-card);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.pillar-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

[data-theme="dark"] .pillar-icon-wrap {
  background: rgba(29, 78, 216, 0.25);
  color: var(--accent-gold);
}

.pillar-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ==========================================================================
   RUNNING LOG SECTION (NHẬT KÝ CHẠY BỘ MỖI SÁNG)
   ========================================================================== */
.running-section {
  background: var(--bg-primary);
}

.running-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.filter-btn.active {
  background: var(--gradient-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

/* Running Cards Grid */
.runs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.run-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.run-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.run-card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #000;
  cursor: pointer;
}

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

.run-card:hover .run-card-img {
  transform: scale(1.04);
}

.run-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.run-card-image-wrap:hover .run-card-overlay {
  opacity: 1;
}

.view-poster-btn {
  background: #fff;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.run-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tag-blue { background: #1d4ed8; }
.tag-red { background: #dc2626; }
.tag-white { background: #059669; }

.run-card-date {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.run-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 16px;
}

.run-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

.run-card-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats Matrix */
.run-stats-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 12px;
  gap: 8px;
  border: 1px solid var(--border-color);
}

.run-matrix-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.run-matrix-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-blue);
}

[data-theme="dark"] .run-matrix-val {
  color: var(--accent-gold);
}

.run-matrix-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.run-card-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent-gold);
  padding-left: 12px;
  line-height: 1.5;
}

.run-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.btn-run-detail {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

[data-theme="dark"] .btn-run-detail {
  color: var(--accent-gold);
}

.btn-run-detail:hover {
  text-decoration: underline;
}

/* ==========================================================================
   BLOG ARTICLES SECTION (BÀI VIẾT TRUYỀN CẢM HỨNG)
   ========================================================================== */
.articles-section {
  background: var(--bg-secondary);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

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

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.article-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.article-card:hover .article-img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

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

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

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-primary);
}

.article-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

[data-theme="dark"] .read-more-btn {
  color: var(--accent-gold);
}

/* ==========================================================================
   INTERACTIVE RUNNING CALCULATOR (CÔNG CỤ NĂNG LƯỢNG CHO ĐỘC GIẢ)
   ========================================================================== */
.calculator-section {
  background: radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.05) 0%, transparent 60%),
              var(--bg-primary);
}

.calculator-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 48px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-control {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.calc-results-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  text-align: center;
  gap: 16px;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-gold-dark);
  line-height: 1;
}

.calc-result-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-chien-tip {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 14px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-gold);
  text-align: left;
}

/* ==========================================================================
   PHOTO & MOMENTS GALLERY
   ========================================================================== */
.gallery-section {
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.gallery-card:hover .gallery-card-info {
  transform: translateY(0);
  opacity: 1;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.gallery-card-desc {
  font-size: 0.8rem;
  color: #e2e8f0;
}

/* ==========================================================================
   COMMUNITY WISHES & GUESTBOOK (SỔ LƯU BÚT YÊU THƯƠNG)
   ========================================================================== */
.wishes-section {
  background: var(--bg-primary);
}

.wishes-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: flex-start;
}

.wish-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.wish-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.wish-form-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.wishes-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 8px;
}

.wishes-feed::-webkit-scrollbar {
  width: 6px;
}

.wishes-feed::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.wish-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-fast);
}

.wish-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wish-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wish-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wish-avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.wish-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.wish-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

.wish-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.btn-like-wish {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-like-wish:hover,
.btn-like-wish.liked {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border-color: var(--accent-red);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--accent-gold-dark);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-card.open .faq-answer {
  max-height: 350px;
  padding: 0 24px 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0b1329;
  color: #e2e8f0;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #f59e0b;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: #f59e0b;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   MODAL WINDOWS (IMAGE LIGHTBOX & ARTICLE VIEWER)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #fff;
}

/* Poster Modal Layout */
.poster-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.poster-modal-img-wrap {
  background: #000;
}

.poster-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.poster-modal-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Article Modal Layout */
.article-modal-box {
  max-width: 800px;
  padding: 48px;
}

.article-modal-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 24px;
}

.article-modal-body h3 {
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.article-modal-body p {
  margin-bottom: 16px;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent-blue);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

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

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(29, 78, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-motto-banner {
    margin: 0 auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 520px;
    margin: 0 auto;
  }

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

  .about-img-main img {
    height: 420px;
  }

  .wishes-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .poster-modal-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calculator-card {
    padding: 24px;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .chip-top-left {
    left: 0;
  }

  .chip-bottom-right {
    right: 0;
  }
}
