/* ==========================================================================
   ANNIVERSARY WEBSITE - MINIMALIST & ELEGANT STYLESHEET
   Mobile-First, Warm Aesthetic, Sophisticated Typography
   ========================================================================== */

:root {
  /* Default Color Palette: Dusty Rose */
  --bg-primary: #FAF7F2;
  --bg-secondary: #F3ECE4;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FDFBF8;
  --bg-overlay: rgba(43, 43, 43, 0.45);

  --text-main: #2B2B2B;
  --text-muted: #6E6862;
  --text-light: #9B948C;

  /* Accent: Dusty Rose */
  --accent: #B76E79;
  --accent-light: #D8A4AC;
  --accent-dark: #8E4F58;
  --accent-soft: rgba(183, 110, 121, 0.12);
  --accent-border: rgba(183, 110, 121, 0.25);

  --border-light: rgba(43, 43, 43, 0.08);
  --border-strong: rgba(43, 43, 43, 0.16);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(43, 43, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(43, 43, 43, 0.06);
  --shadow-lg: 0 16px 40px rgba(43, 43, 43, 0.09);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-max: 860px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
}

/* Theme Options */
[data-theme="sage-green"] {
  --accent: #6C826E;
  --accent-light: #9BB09D;
  --accent-dark: #4A5C4C;
  --accent-soft: rgba(108, 130, 110, 0.12);
  --accent-border: rgba(108, 130, 110, 0.25);
}

[data-theme="warm-beige"] {
  --accent: #9A7B56;
  --accent-light: #C2A988;
  --accent-dark: #715535;
  --accent-soft: rgba(154, 123, 86, 0.12);
  --accent-border: rgba(154, 123, 86, 0.25);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Fluid Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-top: clamp(4rem, 10vw, 7.5rem);
  padding-bottom: clamp(4rem, 10vw, 7.5rem);
  position: relative;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem auto 0;
  opacity: 0.6;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-soft),
              transform var(--duration-slow) var(--ease-soft);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   1. GERBANG TERKUNCI (SCREENSHOT EXACT MATCH)
   ========================================================================== */
#locked-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 75% 20%, #FAF0E4 0%, #FDFBF8 45%, #F7F3EC 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.8s var(--ease-soft), visibility 0.8s var(--ease-soft);
  overflow-y: auto;
}

#locked-gate.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Top Bar: Preview Badge di kiri, Musik Latar di kanan */
.gate-header-bar {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  pointer-events: auto;
}

.gate-preview-badge {
  background: #343436;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.gate-preview-badge:hover {
  background: #1C1C1E;
  transform: translateY(-1px);
}

.gate-music-btn {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4A453E;
  box-shadow: 0 2px 10px rgba(43, 43, 43, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.gate-music-btn:hover {
  border-color: rgba(43, 43, 43, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 43, 43, 0.07);
}

.gate-music-btn.is-playing {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.music-speaker-icon {
  width: 15px;
  height: 15px;
  color: currentColor;
}

/* Center Content */
.gate-main-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 2rem 0;
}

/* Glow Orbs */
.gate-glow-1 {
  position: absolute;
  top: 25%;
  left: -7rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background-color: rgba(184, 107, 119, 0.08);
  filter: blur(64px);
  pointer-events: none;
}

.gate-glow-2 {
  position: absolute;
  bottom: 25%;
  right: -7rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background-color: rgba(194, 125, 127, 0.08);
  filter: blur(64px);
  pointer-events: none;
}

.gate-glow-3 {
  position: absolute;
  top: 2.5rem;
  right: 25%;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background-color: rgba(254, 243, 199, 0.4);
  filter: blur(48px);
  pointer-events: none;
}

/* 1. Circular Avatar Photo with Gradient Ring */
.gate-avatar-box {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(to top right, rgba(184, 107, 119, 0.4), #FFFFFF, #E8E2D9);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
}

.gate-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  background-color: #FAF7F2;
}

.gate-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gate-status-dot-wrap {
  position: absolute;
  bottom: 6px;
  right: 12px;
  width: 14px;
  height: 14px;
  display: flex;
}

.gate-status-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #B86B77;
  opacity: 0.6;
  animation: ping-pulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.gate-status-dot-solid {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #B86B77;
  border: 2px solid #FFFFFF;
}

@keyframes ping-pulse {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* 2. Names Pill */
.gate-names-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(43, 43, 43, 0.07);
  border-radius: var(--radius-full);
  padding: 0.35rem 1.15rem;
  box-shadow: 0 2px 8px rgba(43, 43, 43, 0.02);
  margin-bottom: 1.15rem;
}

.gate-sparkle {
  color: #B76E79;
  display: flex;
  align-items: center;
}

.gate-names-text {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #4A453E;
  text-transform: uppercase;
}

/* 3. Headline */
.gate-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5.5vw, 3.3rem);
  font-weight: 400;
  color: #242220;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.85rem;
}

/* 4. Countdown Card */
.gate-countdown-card {
  background: #FFFFFF;
  border: 1px solid rgba(43, 43, 43, 0.06);
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(43, 43, 43, 0.03);
  width: 100%;
  max-width: 470px;
  padding: 1.35rem 0.5rem;
  margin-bottom: 1.25rem;
}

.gate-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gate-countdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gate-countdown-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background-color: rgba(43, 43, 43, 0.08);
}

.gate-cd-num {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  color: #262422;
}

.gate-cd-num.accent-digit {
  color: #B76E79;
}

.gate-cd-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #8C8479;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* 5. Password Box */
.gate-password-card {
  background: #FFFFFF;
  border: 1px solid rgba(43, 43, 43, 0.07);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(43, 43, 43, 0.03);
  width: 100%;
  max-width: 470px;
  padding: 1.6rem;
  margin-bottom: 1.25rem;
  animation: fadeIn 0.3s ease;
}

.gate-pw-header {
  margin-bottom: 1.15rem;
  text-align: center;
}

.gate-pw-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #242220;
  margin-bottom: 0.35rem;
}

.gate-pw-subtitle {
  font-size: 0.88rem;
  color: #6E6860;
  margin-bottom: 0.35rem;
}

.gate-pw-hint {
  display: inline-block;
  font-size: 0.78rem;
  color: #B86B77;
  font-weight: 500;
  background: rgba(184, 107, 119, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.gate-pw-input-wrap {
  margin-bottom: 0.75rem;
}

.gate-pw-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #FAF8F5;
  color: var(--text-main);
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.08em;
  outline: none;
  transition: all 0.2s ease;
}

.gate-pw-input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.gate-pw-feedback {
  min-height: 1.4rem;
  font-size: 0.85rem;
  color: #C0392B;
  margin-bottom: 0.75rem;
  text-align: center;
}

.gate-pw-action-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gate-btn-unlock {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.gate-btn-unlock:hover {
  background: var(--accent-dark);
}

.gate-btn-direct {
  width: 100%;
  padding: 0.65rem;
  background: #F0ECE4;
  color: #6E6860;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.gate-btn-direct:hover {
  background: #E6E0D6;
  color: var(--text-main);
}

/* 6. Date & Time Pill */
.gate-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(43, 43, 43, 0.06);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(43, 43, 43, 0.02);
  font-size: 0.84rem;
  color: #6E6860;
}

.gate-clock-icon {
  width: 15px;
  height: 15px;
  color: #B76E79;
  flex-shrink: 0;
}

/* ==========================================================================
   2. NAV-BACK BUTTON & FLOATING AUDIO TOGGLE
   ========================================================================== */
.nav-back-bar {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1000;
}

.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 43, 43, 0.09);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.nav-back-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.nav-back-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.nav-back-btn:hover .nav-back-arrow {
  transform: translateX(-3px);
}

.page-kado .floating-music-toggle {
  top: 1.25rem;
  bottom: auto;
  right: 1.25rem;
}

.floating-music-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-soft);
  backdrop-filter: blur(8px);
}

.floating-music-toggle:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.music-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-music-toggle.is-playing .music-icon-wrap {
  background: var(--accent);
  color: #FFFFFF;
  animation: pulse-soft 2s infinite ease-in-out;
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ==========================================================================
   3. PEMBUKA (HERO SECTION & TOGETHER TIMER)
   ========================================================================== */
.hero-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-names-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-ampersand {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

/* Together Live Timer Card */
.together-timer-card {
  width: 100%;
  max-width: 620px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
  position: relative;
}

.timer-header-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.live-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.live-counter-unit {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.35rem;
  text-align: center;
}

.live-counter-num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
}

.live-counter-unit:first-child .live-counter-num {
  color: var(--accent);
}

.live-counter-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.hero-quote-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   4. PERJALANAN KITA (VERTICAL TIMELINE)
   ========================================================================== */
.timeline-track {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent), var(--accent-light));
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

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

.timeline-node {
  position: absolute;
  left: -2rem;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  transform: translateX(-3px);
  z-index: 2;
  transition: transform var(--duration-fast);
}

.timeline-item:hover .timeline-node {
  transform: translateX(-3px) scale(1.3);
  background: var(--accent);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-soft),
              box-shadow var(--duration-normal) var(--ease-soft);
}

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

.timeline-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.timeline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}

.timeline-card:hover .timeline-img {
  transform: scale(1.03);
}

.timeline-body {
  padding: 1.5rem;
}

.timeline-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.timeline-caption {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   5. PETA KENANGAN (MEMORY MAP & CARDS)
   ========================================================================== */
.map-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.map-toggle-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all var(--duration-fast);
}

.map-toggle-btn.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.map-view-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

#leaflet-map {
  width: 100%;
  height: 440px;
  z-index: 1;
}

#leaflet-map .leaflet-tile-pane {
  filter: contrast(95%) brightness(98%) sepia(8%);
}

.custom-leaflet-heart-pin {
  background: transparent !important;
  border: none !important;
}

.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border-light);
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.5 !important;
  width: 260px !important;
}

.map-popup-card {
  overflow: hidden;
}

.map-popup-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.map-popup-info {
  padding: 1rem;
}

.map-popup-date {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.map-popup-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.map-popup-story {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Fallback Card List View */
.places-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .places-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.place-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.place-card-body {
  padding: 1.25rem;
  flex: 1;
}

/* ==========================================================================
   6. KUIS "SEBERAPA KENAL KAMU SAMA AKU?"
   ========================================================================== */
.quiz-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-soft);
  width: 20%;
}

.quiz-tracker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.quiz-question-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-main);
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quiz-opt-btn {
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all var(--duration-fast);
}

.quiz-opt-btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.quiz-opt-btn.correct {
  background: #E8F5E9;
  border-color: #4CAF50;
  color: #2E7D32;
  font-weight: 500;
}

.quiz-opt-btn.incorrect {
  background: #FFEBEE;
  border-color: #E57373;
  color: #C62828;
}

.quiz-explanation-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  animation: fadeIn 0.3s ease;
}

.quiz-footer {
  display: flex;
  justify-content: flex-end;
}

/* Quiz Result Card */
.quiz-result-card {
  text-align: center;
  padding: 1rem 0;
}

.quiz-result-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-result-badge svg {
  width: 36px;
  height: 36px;
}

.quiz-result-title {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.quiz-result-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* ==========================================================================
   7. 12 ALASAN AKU SAYANG KAMU (FLIP CARDS GRID)
   ========================================================================== */
.reasons-counter-wrap {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reasons-counter-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .reasons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reason-card-container {
  perspective: 1000px;
  height: 210px;
}

.reason-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s var(--ease-soft);
  transform-style: preserve-3d;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.reason-card-container.is-flipped .reason-card-inner {
  transform: rotateY(180deg);
}

.reason-card-front,
.reason-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.reason-card-front {
  background: var(--bg-card);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.reason-card-container:hover .reason-card-front {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.reason-front-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.reason-front-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.reason-front-tap {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reason-card-back {
  transform: rotateY(180deg);
  background: var(--bg-card-subtle);
  border-color: var(--accent-border);
  text-align: center;
  overflow-y: auto;
}

.reason-back-text {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.55;
  font-style: italic;
}

/* ==========================================================================
   8. AMPLOP "BUKA SAAT..." (OPEN WHEN LETTERS)
   ========================================================================== */
.envelopes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .envelopes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.envelope-item {
  cursor: pointer;
  perspective: 1000px;
}

.envelope-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.envelope-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.5;
}

.envelope-item:hover .envelope-box {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.envelope-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform var(--duration-fast);
}

.envelope-item:hover .envelope-icon {
  transform: scale(1.1);
}

.envelope-icon svg {
  width: 24px;
  height: 24px;
}

.envelope-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.envelope-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.envelope-action {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Letter Modal */
.letter-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  width: 90vw;
  max-width: 580px;
  margin: auto;
  box-shadow: var(--shadow-lg);
  outline: none;
}

.letter-dialog::backdrop {
  background: var(--bg-overlay);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.letter-paper {
  background: #FFFDF9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.25rem) clamp(1.5rem, 5vw, 2.5rem);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.letter-paper::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.letter-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  z-index: 10;
}

.letter-close-btn:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.letter-header {
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.letter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  color: var(--accent-dark);
  margin-bottom: 0.35rem;
}

.letter-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.letter-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-main);
  white-space: pre-line;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   9. PLAYLIST KITA
   ========================================================================== */
.playlist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .playlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.song-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--duration-fast);
}

.song-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.song-disc {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.song-disc svg {
  width: 22px;
  height: 22px;
}

.song-details {
  flex: 1;
}

.song-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.song-artist {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.song-reason {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.song-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--duration-fast);
}

.song-link:hover {
  color: var(--accent-dark);
}

/* ==========================================================================
   10. PENUTUP: TAHUN KEDUA & SETERUSNYA
   ========================================================================== */
.bucket-list-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.bucket-list-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.bucket-list-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

.bucket-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bucket-item-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--duration-fast);
  user-select: none;
}

.bucket-item-label:hover {
  background: var(--bg-secondary);
}

.bucket-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--accent);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}

.bucket-checkbox::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.15s ease-in-out;
  background-color: #FFFFFF;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.bucket-checkbox:checked {
  background-color: var(--accent);
}

.bucket-checkbox:checked::before {
  transform: scale(1);
}

.bucket-item-text {
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color var(--duration-fast);
}

.bucket-checkbox:checked ~ .bucket-item-text {
  text-decoration: line-through;
  color: var(--text-light);
}

/* Closing Letter Section */
.closing-letter-card {
  background: #FFFDF9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 6vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.closing-letter-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.closing-letter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.closing-letter-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.closing-signature-block {
  margin-top: 3rem;
  text-align: right;
  padding-right: 0.5rem;
}

.closing-signoff {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.closing-signature {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1.2;
}

.closing-date {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* Footer Note */
.site-footer {
  text-align: center;
  padding: 3rem 1.5rem 5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.password-input.shake {
  animation: shake 0.4s ease-in-out;
  border-color: #C0392B !important;
}

/* ==========================================================================
   ADMIN / EDIT MODE STYLING (PASSWORD: adminilham)
   ========================================================================== */
.admin-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background-color: #1F1E1D;
  color: #FFFFFF;
  padding: 0.55rem 1.25rem;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.admin-bar-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-bar-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
}

.admin-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse 1.8s infinite;
}

.admin-status-title {
  font-weight: 600;
  color: #FDE68A;
}

.admin-status-hint {
  color: #9CA3AF;
  font-size: 0.75rem;
}

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

.admin-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-btn-save {
  background-color: #059669;
  color: #FFFFFF;
}

.admin-btn-save:hover {
  background-color: #047857;
}

.admin-btn-export {
  background-color: var(--accent);
  color: #FFFFFF;
}

.admin-btn-export:hover {
  background-color: var(--accent-dark);
}

.admin-btn-reset {
  background-color: #374151;
  color: #D1D5DB;
}

.admin-btn-reset:hover {
  background-color: #4B5563;
  color: #FFFFFF;
}

.admin-btn-exit {
  background-color: #4B5563;
  color: #E5E7EB;
}

.admin-btn-exit:hover {
  background-color: #DC2626;
  color: #FFFFFF;
}

/* Edit Triggers on Every Section */
.admin-edit-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  margin: 0.65rem auto 1.25rem;
  background-color: rgba(184, 107, 119, 0.12);
  color: #8E4F58;
  border: 1.5px dashed #B86B77;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 50;
  letter-spacing: 0.02em;
}

.admin-edit-trigger:hover {
  background-color: #B86B77;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 107, 119, 0.25);
}

/* Admin Modal Dialog */
.admin-modal-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  width: 92vw;
  max-width: 660px;
  margin: auto;
  box-shadow: var(--shadow-lg);
  outline: none;
  z-index: 100000;
}

.admin-modal-dialog::backdrop {
  background: rgba(20, 20, 22, 0.65);
  backdrop-filter: blur(8px);
}

.admin-modal-card {
  background: #FFFDF9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
}

.admin-modal-header {
  padding: 1.15rem 1.5rem;
  background: #FDFBF7;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #242220;
  margin: 0;
}

.admin-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-modal-close:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.admin-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.admin-modal-footer {
  padding: 1rem 1.5rem;
  background: #FDFBF7;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-btn-cancel {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.admin-btn-save-section {
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-btn-save-section:hover {
  background: var(--accent-dark);
}

.admin-btn-add {
  background: #FFFFFF;
  border: 1.5px dashed var(--accent);
  color: var(--accent-dark);
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
  font-weight: 500;
}

.admin-btn-add:hover {
  background: var(--accent-soft);
}

/* Form Controls Inside Admin Modal */
.admin-form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.admin-form-group small {
  font-size: 0.75rem;
  color: var(--text-light);
}

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

.admin-card-row {
  background: #FAF7F2;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.35rem;
}

.btn-remove-row {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-remove-row:hover {
  text-decoration: underline;
}

.admin-file-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-file-picker-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-main);
}

/* Toast Notification */
.admin-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1F1E1D;
  color: #FFFFFF;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000000;
  pointer-events: none;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--accent);
}

.admin-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

