:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(99, 102, 241, 0.4);
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  
  --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.25);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   LIGHT THEME STYLES
   ========================================= */
body.theme-light {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(241, 245, 249, 0.98);
  --bg-glass: rgba(0, 0, 0, 0.03);
  --border-glass: rgba(0, 0, 0, 0.09);
  --border-glass-hover: rgba(99, 102, 241, 0.4);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.15);
  
  color-scheme: light;
}

body.theme-light .header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .modal-window,
body.theme-light .spotlight-box {
  background: #ffffff;
  color: #0f172a;
}

body.theme-light .spotlight-input {
  color: #0f172a;
}

body.theme-light .form-input,
body.theme-light .form-textarea {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.15);
}

body.theme-light .spotlight-overlay {
  background: rgba(15, 23, 42, 0.6);
}

body.theme-light .hero-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

/* THEME TOGGLE BUTTON & VIEW TRANSITIONS */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--border-glass-hover);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.theme-toggle-icon {
  display: inline-block;
  font-size: 1rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  will-change: transform;
}

.theme-toggle-btn.animating .theme-toggle-icon {
  transform: rotate(360deg) scale(1.35);
  filter: drop-shadow(0 0 10px #f59e0b);
}

/* VIEW TRANSITION CIRCULAR RIPPLE ANIMATION */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 999999;
}

/* Fallback smooth global transitions when theme changes */
body.theme-transitioning,
body.theme-transitioning * {
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s ease,
              box-shadow 0.5s ease !important;
}

body.theme-transitioning #particleCanvas,
body.theme-transitioning .ambient-blob {
  transition: none !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* BACKGROUND AMBIENT GLOWS & PARTICLES */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden;
  user-select: none;
}

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  z-index: 0 !important;
}

.ambient-blob {
  position: absolute;
  filter: blur(120px);
  opacity: 0.18;
  border-radius: 50%;
  animation: floatSlow 15s infinite alternate ease-in-out;
  pointer-events: none !important;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: var(--accent-cyan);
  bottom: 5%;
  left: 20%;
  animation-delay: -10s;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* FILTER TABS & BUTTONS */
.filter-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 10;
}

.filter-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  user-select: none;
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.filter-btn.active {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 20px var(--primary-glow);
}

body.theme-light .filter-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

body.theme-light .filter-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

body.theme-light .filter-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
}

section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

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

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-base);
  padding: 1.25rem 0;
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass-hover);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* HERO VISUAL & AVATAR CARD */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.7) 0%, rgba(17, 24, 39, 0.85) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-avatar-box {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  background: #1f2937;
}

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

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

.hero-avatar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.avatar-badge-tag {
  background: rgba(99, 102, 241, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.hero-card-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-card-socials {
  display: flex;
  gap: 0.5rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* FLOATING BADGES AROUND HERO */
.floating-badge {
  position: absolute;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border-glass-hover);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
  animation: float 6s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -15px;
  right: -25px;
  animation-delay: -2s;
}

.badge-bottom-left {
  bottom: 120px;
  left: -25px;
  animation-delay: -4s;
}

.floating-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.icon-purple {
  background: rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.skills-container {
  margin-top: 2rem;
}

.skills-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: #fff;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FILTER TABS */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* CARDS GRID (PROJECTS & CAMPS) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card,
.camp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: relative;
}

.project-card:hover,
.camp-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glow);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1e293b;
}

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

.project-card:hover .card-img,
.camp-card:hover .card-img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.badge-it {
  background: rgba(6, 182, 212, 0.85);
  color: #fff;
}

.badge-camp {
  background: rgba(245, 158, 11, 0.85);
  color: #fff;
}

.badge-event {
  background: rgba(168, 85, 247, 0.85);
  color: #fff;
}

.badge-creative {
  background: rgba(236, 72, 153, 0.85);
  color: #fff;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* CAMPS SECTION SPECIFICS */
.camp-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
}

.camp-stat-box {
  text-align: center;
}

.camp-stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-amber);
}

.camp-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #1e293b;
  border: 1px solid var(--border-glass);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary);
}

.gallery-item.video-item::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  transition: transform var(--transition-fast);
}

.gallery-item.video-item:hover::after {
  transform: translate(-50%, -50%) scale(1.15);
}

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

.gallery-item:hover .gallery-thumbnail {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.gallery-category {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

/* REVIEWS SECTION */
.reviews-header-action {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  position: relative;
  transition: var(--transition-base);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.review-quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(99, 102, 241, 0.2);
  margin-bottom: 0.5rem;
  font-family: serif;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.contact-link-item:hover {
  transform: translateX(6px);
  color: var(--primary);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-link-item:hover .contact-icon-box {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-item-value {
  font-size: 0.95rem;
  font-weight: 600;
}

/* FORM STYLING */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

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

/* FOOTER */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(11, 15, 25, 0.9);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.modal-window {
  background: #111827;
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-glow), 0 25px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-glass);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* LIGHTBOX */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(16px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-primary);
  font-size: 1.05rem;
  text-align: center;
  font-weight: 500;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: #ef4444;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #1f2937;
  border: 1px solid var(--border-glass-hover);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInUp 0.3s ease forwards;
  backdrop-filter: blur(12px);
  min-width: 280px;
}

.toast.success {
  border-left: 4px solid var(--accent-emerald);
}

.toast.error {
  border-left: 4px solid #ef4444;
}

/* RATING STARS INPUT */
.rating-input {
  display: flex;
  gap: 0.5rem;
  font-size: 1.6rem;
  cursor: pointer;
}

.rating-star {
  color: #4b5563;
  transition: color var(--transition-fast);
}

.rating-star.active,
.rating-star:hover {
  color: #fbbf24;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .camp-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #111827;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .floating-badge {
    display: none;
  }

  .cards-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
}

/* =========================================
   ADMIN PANEL STYLES
   ========================================= */

/* Floating Admin Trigger Button */
.admin-float-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 990;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass-hover);
  color: var(--text-secondary);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-base);
}

.admin-float-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Admin Full Drawer / Overlay */
.admin-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-drawer.active {
  opacity: 1;
  visibility: visible;
}

.admin-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17, 24, 39, 0.8);
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-title-wrap h2 {
  font-size: 1.4rem;
}

.admin-tabs-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 2rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-glass);
}

.admin-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.admin-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.admin-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.admin-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.admin-tab-pane.active {
  display: block;
}

/* Admin Item Card */
.adm-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  transition: var(--transition-fast);
}

.adm-item-card:hover {
  border-color: var(--border-glass-hover);
}

.adm-item-thumb {
  width: 90px;
  height: 65px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1f2937;
  flex-shrink: 0;
}

.adm-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adm-item-info {
  flex-grow: 1;
}

.adm-item-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.adm-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.adm-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.adm-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Admin Gallery Grid */
.adm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.adm-gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.adm-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.adm-gallery-card-body {
  padding: 0.75rem;
}

/* Form 2-col layout */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .adm-item-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .adm-item-thumb {
    width: 100%;
    height: 120px;
  }

  .adm-item-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* =========================================
   COMPACT & SLEEK TOPBAR NAVBAR
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-base);
  padding: 0.9rem 0;
}

.header.scrolled {
  padding: 0.6rem 0;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-fast);
  padding: 0.25rem 0.4rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active {
  color: var(--accent-cyan);
}

/* =========================================
   1. VISUAL GRATITUDE CARDS (PORTRAIT FOCUS)
   ========================================= */
.gratitude-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gratitude-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gratitude-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2);
}

.gratitude-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  background: #1f2937;
}

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

.gratitude-card:hover .gratitude-photo-img {
  transform: scale(1.06);
}

.gratitude-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 0.75rem;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, transparent 100%);
}

.gratitude-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-main);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.gratitude-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.gratitude-msg {
  font-size: 0.93rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  position: relative;
}

.gratitude-msg::before {
  content: '“';
  font-size: 2rem;
  line-height: 0;
  color: var(--primary);
  display: inline-block;
  margin-right: 0.25rem;
  vertical-align: -0.3rem;
}

/* =========================================
   2. DIPLOMAS & TROPHIES (CERTIFICATE STYLE)
   ========================================= */
.trophies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.trophy-card {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.85) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-base);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
  cursor: pointer;
}

.trophy-card:hover {
  transform: translateY(-6px);
  border-color: #f59e0b;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.3);
}

.trophy-certificate-frame {
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
}

.trophy-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

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

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

.trophy-ribbon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
  letter-spacing: 0.05em;
  z-index: 2;
}

.trophy-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.trophy-org-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.trophy-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.trophy-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* GOOGLE DRIVE SHIFT BUTTON */
.btn-drive {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-drive:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

/* =========================================
   SCROLL PROGRESS BAR
   ========================================= */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  width: 0%;
  z-index: 1000;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: width 0.1s ease-out;
}

/* =========================================
   INTERACTIVE TIMELINE / ROADMAP
   ========================================= */
.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-cyan), transparent);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  display: flex;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-step:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-step:nth-child(even) {
  justify-content: flex-end;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111827;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 16px var(--primary-glow);
  z-index: 2;
}

.timeline-card {
  width: calc(50% - 40px);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: var(--transition-base);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px var(--primary-glow);
}

.timeline-year-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .timeline-wrap::before {
    left: 24px;
  }
  .timeline-step {
    justify-content: flex-start !important;
  }
  .timeline-node {
    left: 24px;
  }
  .timeline-card {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
}

/* =========================================
   INTERACTIVE DEVELOPER TERMINAL
   ========================================= */
.dev-terminal {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.15);
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  margin-top: 2rem;
}

.terminal-header {
  background: rgba(30, 41, 59, 0.9);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.terminal-dots {
  display: flex;
  gap: 0.4rem;
}

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

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

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

.terminal-body {
  padding: 1.5rem;
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}

.terminal-output {
  color: #94a3b8;
  margin-bottom: 0.75rem;
  white-space: pre-wrap;
}

.terminal-prompt-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-emerald);
}

.terminal-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  flex-grow: 1;
  outline: none;
}

/* =========================================
   AMBIENT SOUND MINI-WIDGET
   ========================================= */
.ambient-sound-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-base);
}

.ambient-sound-widget:hover {
  border-color: var(--primary);
}

.sound-toggle-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sound-wave-bar {
  width: 3px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sound-playing .sound-wave-bar:nth-child(1) { animation: soundWave 0.8s ease-in-out infinite alternate; }
.sound-playing .sound-wave-bar:nth-child(2) { animation: soundWave 1.1s ease-in-out infinite 0.2s alternate; }
.sound-playing .sound-wave-bar:nth-child(3) { animation: soundWave 0.7s ease-in-out infinite 0.4s alternate; }

@keyframes soundWave {
  0% { height: 4px; }
  100% { height: 14px; }
}

/* =========================================
   PROJECT REQUEST TAG PILLS (INTERACTIVE BRIEF)
   ========================================= */
.req-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.req-pill {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.req-pill:hover,
.req-pill.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: #fff;
}

/* =========================================
   THEME ACCENT SWITCHER
   ========================================= */
.theme-switch-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

.theme-dot-btn {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.theme-dot-btn:hover,
.theme-dot-btn.active {
  transform: scale(1.25);
  border-color: #fff;
}

.theme-indigo { background: #6366f1; }
.theme-cyan { background: #06b6d4; }
.theme-emerald { background: #10b981; }
.theme-amber { background: #f59e0b; }

/* THEME ACCENT OVERRIDES */
body.theme-accent-cyan {
  --primary: #06b6d4;
  --primary-glow: rgba(6, 182, 212, 0.45);
  --gradient-main: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

body.theme-accent-emerald {
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.45);
  --gradient-main: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

body.theme-accent-amber {
  --primary: #f59e0b;
  --primary-glow: rgba(245, 158, 11, 0.45);
  --gradient-main: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

/* =========================================
   SPOTLIGHT SEARCH (CTRL+K)
   ========================================= */
.spotlight-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.spotlight-box {
  background: #111827;
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--primary-glow);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}

.spotlight-overlay.active .spotlight-box {
  transform: translateY(0);
}

.spotlight-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.spotlight-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 100%;
  outline: none;
}

.spotlight-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.75rem;
}

.spotlight-item {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s ease;
  color: var(--text-primary);
  text-decoration: none;
}

.spotlight-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   SKILL PROGRESS MATRIX
   ========================================= */
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.skill-bar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   CAMP ARHETYPE QUIZ MINI-GAME
   ========================================= */
.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quiz-option-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.quiz-res-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 0 25px var(--primary-glow);
}

/* =========================================
   CAMPFIRE & CODING MUSIC PLAYER
   ========================================= */
.music-player-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.music-player-card {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.music-cover-art {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 10px 25px var(--primary-glow);
  margin: 0 auto 1.5rem;
  transition: transform 0.5s ease;
}

.music-playing .music-cover-art {
  animation: pulseRotate 4s linear infinite;
}

@keyframes pulseRotate {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.06) rotate(180deg); }
  100% { transform: scale(1) rotate(360deg); }
}

.music-track-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.music-track-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.music-track-artist {
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

.music-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.player-ctrl-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.player-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  transform: scale(1.1);
}

.player-play-btn {
  width: 56px;
  height: 56px;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  font-size: 1.4rem;
}

.player-play-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.music-playlist-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.playlist-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.playlist-item:hover,
.playlist-item.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  transform: translateX(6px);
}

.playlist-item.active {
  box-shadow: 0 0 15px var(--primary-glow);
}

/* =========================================
   CAMP GEO LOCATIONS
   ========================================= */
.geo-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.geo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  position: relative;
  transition: var(--transition-base);
  overflow: hidden;
}

.geo-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.2);
}

.geo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.geo-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* =========================================
   3D TILT EFFECT FOR CARDS
   ========================================= */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-inner {
  transition: transform 0.15s ease-out;
}

/* =========================================
   LIVE STATUS & TIME BADGE
   ========================================= */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.5s infinite;
}

/* =========================================
   CAMP WISDOM & DAILY INSPIRATION WIDGET
   ========================================= */
.wisdom-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  max-width: 760px;
  margin: 3rem auto 0;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.wisdom-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.wisdom-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.wisdom-btn:hover {
  background: var(--accent-amber);
  color: #000;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

/* =========================================
   QR BUSINESS CARD SHARE MODAL
   ========================================= */
.qr-card-wrap {
  text-align: center;
  padding: 1rem 0;
}

.qr-box {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 1.25rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.qr-box svg {
  display: block;
}

/* =========================================
   UPCOMING SHIFT COUNTDOWN BANNER
   ========================================= */
.countdown-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--primary-glow);
}

.countdown-timer-boxes {
  display: flex;
  gap: 0.75rem;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 65px;
}

.countdown-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* COUNTDOWN STATUS MODES (ONGOING & UNKNOWN) */
.countdown-status-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  min-width: 250px;
}

.countdown-status-card.ongoing {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.25) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.countdown-status-card.unknown {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(71, 85, 105, 0.25) 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.countdown-status-icon {
  font-size: 2rem;
  line-height: 1;
}

.countdown-status-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.countdown-status-card.ongoing .countdown-status-title {
  color: #34d399;
}

.countdown-status-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.live-pulse-dot {
  width: 14px;
  height: 14px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 12px #10b981;
  animation: pulseLive 1.5s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseLive {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px #10b981;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.7;
    box-shadow: 0 0 18px #10b981;
  }
}

/* =========================================
   INTERACTIVE LIVE CODE PLAYGROUND
   ========================================= */
.code-playground {
  background: #0d1117;
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.playground-header {
  background: #161b22;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.editor-pane {
  padding: 1.25rem;
  border-right: 1px solid var(--border-glass);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.88rem;
  color: #e6edf3;
  background: #0d1117;
  display: flex;
  flex-direction: column;
}

.editor-textarea {
  background: transparent;
  border: none;
  color: #58a6ff;
  font-family: inherit;
  font-size: 0.88rem;
  resize: none;
  min-height: 140px;
  outline: none;
  line-height: 1.5;
}

.preview-pane {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

@media (max-width: 768px) {
  .playground-grid {
    grid-template-columns: 1fr;
  }
  .editor-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }
}

/* =========================================
   DIGITAL AUTOGRAPH CANVAS & GUESTBOOK
   ========================================= */
.autograph-section-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  margin-top: 1.5rem;
}

.canvas-container {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: #0b0f19;
  position: relative;
  touch-action: none;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

#autographCanvas {
  display: block;
  cursor: crosshair;
  width: 100%;
  height: 200px;
}

.autograph-tools {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.color-picker-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-picker-dot:hover,
.color-picker-dot.active {
  transform: scale(1.2);
  border-color: #fff;
}

.autograph-gallery {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1.25rem 0.5rem;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  scrollbar-width: thin;
}

.autograph-item {
  position: relative;
  width: 170px;
  height: 110px;
  border-radius: var(--radius-md);
  background: #0a0e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.autograph-item:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

.autograph-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.autograph-badge {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* =========================================
   INTERACTIVE PARTICLE CANVAS BACKGROUND
   ========================================= */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =========================================
   SCROLL SPY — ACTIVE NAV LINK
   ========================================= */
.nav-link.active-section {
  color: var(--primary) !important;
  text-shadow: 0 0 12px var(--primary-glow);
}

.nav-link.active-section::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.nav-links .nav-link {
  position: relative;
}

/* =========================================
   HERO TYPEWRITER CURSOR
   ========================================= */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* =========================================
   KONAMI CODE EASTER EGG CONFETTI
   ========================================= */
.confetti-piece {
  position: fixed;
  z-index: 99999;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
  animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg) scale(0.3);
    opacity: 0;
  }
}

/* =========================================
   RESPONSIVE MEDIA QUERIES (MOBILE)
   ========================================= */
@media (max-width: 800px) {
  .music-player-grid {
    grid-template-columns: 1fr;
  }
  .countdown-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
/* =========================================
   ANIMATED PRELOADER SCREEN (DISABLED TO PREVENT BLOCKING)
   ========================================= */
.preloader {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 40px var(--primary-glow);
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px var(--primary-glow); }
  50% { transform: scale(1.08); box-shadow: 0 0 50px var(--primary-glow), 0 0 80px rgba(99, 102, 241, 0.2); }
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* SCROLL PROGRESS BAR */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-main);
  z-index: 99999;
  pointer-events: none !important;
  transition: width 0.1s ease-out;
}

#ctxMenu, .ctx-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* =========================================
   ABOUT & TIMELINE SECTION
   ========================================= */
.about-section {
  position: relative;
  padding: 6rem 0;
}

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  position: relative;
  box-shadow: var(--shadow-card);
}

.about-bio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.about-bio-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.timeline-list {
  position: relative;
  padding-left: 2rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  background: linear-gradient(to bottom, #00f2fe, #4facfe, rgba(79, 172, 254, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--bg-main);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-cyan);
  transform: scale(1.2);
  box-shadow: 0 0 16px var(--accent-cyan);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: var(--shadow-card);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.timeline-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =========================================
   VIDEO PLAY BADGE (GALLERY)
   ========================================= */
.video-item {
  position: relative;
  cursor: pointer;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f2fe;
  z-index: 3;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 242, 254, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.video-play-badge svg {
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.gallery-item:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.18);
  background: var(--gradient-main);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.8), 0 0 50px rgba(236, 72, 153, 0.4);
}

.gallery-item:hover .video-play-badge svg {
  transform: scale(1.1);
}






