/* ========== PREMIUM VALENTINE AESTHETIC ========== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@600;700&family=Caveat:wght@400;700&display=swap');

:root {
  --pink-light: #ffd6e6;
  --pink-soft: #ffc2dc;
  --pink-champagne: #ffeaf2;
  --pink-accent: #ff5fa2;
  --pink-deep: #ff8fab;
  --text-dark: #3a2b2b;
  --text-muted: #6b4a5a;
  --white-glow: rgba(255, 255, 255, 0.9);
  /* New luxury palette */
  --beige-light: #f5f1ed;
  --beige-warm: #ede8e2;
  --ivory: #faf8f5;
  --stone: #d4ccc2;
  --charcoal: #2a2420;
  --espresso: #3d3733;
  --gold: #d4a574;
  --champagne-subtle: #e8dcc8;
}

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

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ========== BACKGROUND & GRADIENTS ========== */

.bg-pink {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink-soft) 50%, var(--pink-champagne) 100%);
  min-height: 100vh;
  position: relative;
}

.bg-pink::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ========== PASSWORD / VAULT PAGE ========== */

.center-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.vault-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 192, 203, 0.3);
  padding: 48px 40px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(255, 95, 162, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 420px;
  width: 100%;
  animation: vaultFloat 3s ease-in-out infinite;
}

@keyframes vaultFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.lock-icon {
  font-size: 3.2rem;
  margin-bottom: 16px;
  animation: lockSpin 2s ease-in-out infinite;
}

@keyframes lockSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

.vault-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--pink-accent) 0%, #ff7a9f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vault-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.pw-form {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pw-form input {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 95, 162, 0.2);
  background: rgba(255, 255, 255, 0.6);
  width: 200px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.pw-form input:focus {
  outline: none;
  border-color: var(--pink-accent);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 95, 162, 0.1);
  transform: translateY(-2px);
}

.pw-form input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.btn-unlock {
  background: linear-gradient(135deg, var(--pink-accent) 0%, #ff7a9f 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 95, 162, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-unlock::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-unlock:hover::before {
  left: 100%;
}

.btn-unlock:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 95, 162, 0.35);
}

.btn-unlock:active {
  transform: translateY(-1px);
}

.vault-msg {
  height: 20px;
  color: #d1364a;
  font-size: 0.9rem;
}

.footer-small {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 32px;
  font-weight: 300;
}

/* ========== MAIN CONTAINER ========== */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  animation: fadeInPage 0.5s ease forwards;
}

.page.active {
  display: block;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero-header {
  text-align: center;
  padding: 48px 20px 40px;
  position: relative;
  margin-bottom: 40px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, var(--pink-accent) 0%, #ff7a9f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  animation: fadeInDown 0.6s ease;
}

.hero-names {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.sparkle-heart {
  font-size: 2rem;
  animation: sparkleFloat 2s ease-in-out infinite;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-12px) scale(1.1); }
}

/* ========== PREMIUM CARDS ========== */

.premium-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1.5px solid rgba(255, 192, 203, 0.3);
  box-shadow: 0 10px 40px rgba(255, 95, 162, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(255, 95, 162, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 95, 162, 0.5);
  background: rgba(255, 255, 255, 0.95);
}

.premium-card:active {
  transform: translateY(-6px);
}

/* ========== NAV GRID ========== */

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.nav-card {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.card-icon {
  font-size: 3rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.nav-card:nth-child(2) .card-icon {
  animation-delay: 0.2s;
}

.nav-card:nth-child(3) .card-icon {
  animation-delay: 0.4s;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

.card-label {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ========== SECRET HEART ========== */

.secret-heart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  animation: secretPulse 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes secretPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.secret-heart:hover {
  animation: none;
  transform: scale(1.3);
}

/* ========== SECRET MESSAGE POPUP ========== */

.secret-message-popup {
  position: fixed;
  bottom: -400px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1.5px solid rgba(255, 95, 162, 0.3);
  padding: 24px 28px;
  border-radius: 20px;
  max-width: 300px;
  box-shadow: 0 15px 50px rgba(255, 95, 162, 0.2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: 100;
}

.secret-message-popup.show {
  bottom: 120px;
}

.secret-message-popup p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.secret-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ========== PAGE HEADERS ========== */

.page-header {
  position: relative;
  padding: 32px 20px;
  text-align: center;
  margin-bottom: 32px;
}

.back-btn {
  position: absolute;
  left: 20px;
  top: 32px;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--pink-accent);
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
}

.back-btn:hover {
  transform: translateX(-4px);
  background: rgba(255, 95, 162, 0.1);
}

.header-content {
  margin-top: 12px;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--pink-accent) 0%, #ff7a9f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ========== LETTERS SECTION ========== */

.letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.letter-envelope {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1.5px solid rgba(255, 192, 203, 0.3);
  padding: 28px 20px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 8px 30px rgba(255, 95, 162, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.letter-envelope:hover {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: 0 15px 45px rgba(255, 95, 162, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 95, 162, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

.letter-envelope:active {
  transform: translateY(-4px) rotate(-1deg);
}

.envelope-icon {
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.letter-envelope:hover .envelope-icon {
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1.1); }
}

.envelope-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* ========== MODAL ========== */

.love-modal {
  border: none;
  border-radius: 24px;
  padding: 0;
  background: transparent;
  backdrop-filter: blur(10px);
}

.love-modal::backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}

.modal-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 95, 162, 0.2);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(255, 95, 162, 0.2);
  position: relative;
  animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 10px;
}

.modal-close:hover {
  background: rgba(255, 95, 162, 0.1);
  color: var(--pink-accent);
  transform: rotate(90deg);
}

.modal-content {
  color: var(--text-dark);
  line-height: 1.8;
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--pink-accent);
  margin-bottom: 20px;
  font-weight: 700;
}

.modal-content pre {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--text-dark);
  line-height: 1.8;
  background: linear-gradient(135deg, rgba(255, 223, 230, 0.4), rgba(255, 210, 222, 0.3));
  padding: 20px;
  border-radius: 16px;
  border-left: 4px solid var(--pink-accent);
}

/* ========== PROFILE CONTENT ========== */

.profile-content {
  margin: 32px 0;
}

.content-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1.5px solid rgba(255, 192, 203, 0.3);
  padding: 40px 32px;
  border-radius: 24px;
  line-height: 1.9;
  box-shadow: 0 10px 40px rgba(255, 95, 162, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.6s ease;
}

.content-card p {
  margin: 16px 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.content-card p:first-child {
  margin-top: 0;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.aboutme-card {
  border-color: rgba(255, 192, 203, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 245, 250, 0.7));
}

.aboutdeepak-card {
  border-color: rgba(255, 160, 180, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 240, 245, 0.7));
}

/* ========== DEEPAK TRIBUTE PAGE ========== */

.deepak-tribute {
  max-width: 820px;
  margin: 0 auto;
}

.hero-tribute {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px;
  margin-bottom: 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.08), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-text {
  font-size: 1.3rem;
  color: var(--espresso);
  letter-spacing: 2px;
  font-weight: 300;
  animation: fadeInUp 0.8s ease;
}

/* OPENING SECTION */

.opening-section {
  margin-bottom: 100px;
  padding: 0;
}

.opening-section p {
  color: var(--espresso);
  line-height: 2;
  font-size: 1.08rem;
  margin: 28px 0;
}

.opening-section p:first-child {
  margin-top: 0;
  font-weight: 500;
  color: var(--charcoal);
}

/* MOVEMENT SECTION */

.movement-section {
  margin-bottom: 100px;
  padding: 70px 50px;
  background: var(--beige-light);
  border: 1px solid var(--stone);
  border-radius: 16px;
}

.movement-section p {
  color: var(--espresso);
  line-height: 2;
  font-size: 1.08rem;
  margin: 28px 0;
}

.movement-section p:first-of-type {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--charcoal);
  font-weight: 600;
}

.emphasis-strong {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.1rem;
}

/* PRESENCE SECTION (Updated) */

.presence-section {
  margin-bottom: 100px;
  padding: 0;
}

.presence-section > .section-title {
  margin-bottom: 40px;
}

.presence-section p {
  color: var(--espresso);
  line-height: 2;
  font-size: 1.08rem;
  margin: 28px 0;
}

.highlight-box {
  background: var(--ivory);
  border-left: 4px solid var(--gold);
  padding: 36px 32px;
  margin: 40px 0;
  border-radius: 8px;
}

.highlight-box p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.6;
}

/* DUALITY SECTION (Updated) */

.duality-section {
  margin-bottom: 100px;
  padding: 0;
}

.duality-section > .section-title {
  margin-bottom: 40px;
}

.duality-section > p {
  color: var(--espresso);
  line-height: 2;
  font-size: 1.08rem;
  margin: 28px 0;
}

.duality-section > p:first-of-type {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--charcoal);
  font-weight: 500;
}

.emphasis-gold {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.1rem;
}

/* EVOLUTION SECTION */

.evolution-section {
  margin-bottom: 100px;
  padding: 70px 50px;
  background: var(--ivory);
  border: 1px solid var(--stone);
  border-radius: 16px;
}

.evolution-section > p {
  color: var(--espresso);
  line-height: 2;
  font-size: 1.08rem;
  margin: 28px 0;
}

.evolution-section > p:first-of-type {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--charcoal);
  font-weight: 500;
}

.growth-list {
  margin: 40px 0;
  padding: 40px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.growth-list p {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 16px 0;
  line-height: 1.8;
}

/* THE DUO SECTION (Updated) */

.the-duo-section {
  margin-bottom: 100px;
  padding: 0;
}

.the-duo-section > .section-title {
  margin-bottom: 40px;
}

.the-duo-section > p {
  color: var(--espresso);
  line-height: 2;
  font-size: 1.08rem;
  margin: 28px 0;
}

.the-duo-section p.emphasis-strong {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.1rem;
}

.duo-traits {
  background: var(--beige-light);
  padding: 40px 32px;
  border-radius: 12px;
  margin: 40px 0;
  border-left: 4px solid var(--gold);
}

.duo-traits p {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 14px 0;
  line-height: 1.8;
}

.duo-traits p:first-child {
  margin-top: 0;
}

.duo-traits p:last-child {
  margin-bottom: 0;
}

.closing-thought {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 40px;
}

/* SECTION TITLE (Global) */

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .deepak-tribute {
    max-width: 100%;
  }

  .movement-section,
  .evolution-section {
    padding: 50px 32px;
  }

  .movement-section p,
  .evolution-section > p,
  .the-duo-section > p,
  .opening-section p,
  .presence-section p,
  .duality-section > p {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .highlight-box,
  .duo-traits {
    padding: 32px 24px;
  }

  .growth-list p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .movement-section,
  .evolution-section {
    padding: 40px 20px;
  }

  .movement-section p,
  .evolution-section > p,
  .the-duo-section > p,
  .opening-section p,
  .presence-section p,
  .duality-section > p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .emphasis-strong,
  .emphasis-gold,
  .closing-thought {
    font-size: 1rem;
  }

  .hero-text {
    font-size: 1.1rem;
  }
}

/* About Me image + layout */
.aboutme-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.aboutme-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stone);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.aboutme-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aboutme-photo--small {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
}

.aboutme-text h3 {
  margin: 0 0 8px 0;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
  font-size: 1.4rem;
}

.aboutme-text .lead {
  margin: 6px 0 12px 0;
  color: var(--espresso);
  font-size: 1.05rem;
  line-height: 1.6;
}

.aboutme-text ul {
  margin: 8px 0 12px 18px;
  color: var(--espresso);
}

.aboutme-text .highlight {
  margin-top: 10px;
  color: var(--charcoal);
  font-weight: 700;
}

.aboutme-text .closing-smile {
  margin-top: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .aboutme-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .aboutme-photo {
    width: 100%;
    height: 260px;
  }
}

/* ========== UTILITIES ========== */

.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-names {
    font-size: 1.6rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .vault-card {
    padding: 40px 28px;
  }

  .vault-title {
    font-size: 2rem;
  }

  .back-btn {
    left: 12px;
    top: 24px;
    font-size: 1rem;
  }

  .pw-form {
    flex-direction: column;
  }

  .pw-form input {
    width: 100%;
    max-width: 280px;
  }

  .modal-wrapper {
    padding: 32px 24px;
    margin: 20px;
  }

  .secret-heart {
    bottom: 16px;
    right: 16px;
    font-size: 1.8rem;
  }

  .secret-message-popup {
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .secret-message-popup.show {
    bottom: 80px;
  }
}

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

  .hero-names {
    font-size: 1.3rem;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .vault-title {
    font-size: 1.6rem;
  }

  .card-icon {
    font-size: 2.4rem;
  }

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

  .content-card {
    padding: 28px 20px;
  }
}
