/* ================================================================
   Proyectando mi Mejor Versión — PWA Styles
   ================================================================ */

:root {
  --magenta:       #E93391;
  --magenta-dark:  #C41E72;
  --magenta-light: #f9a8d4;
  --magenta-bg:    #fdf2f8;
  --gold:          #D8AE63;
  --gold-light:    #f5e9c8;
  --purple:        #7624A3;
  --purple-light:  #e9d5ff;
  --dark:          #221E1F;
  --beige:         #E2DDDA;
  --beige-light:   #F7F4F2;
  --white:         #FFFFFF;
  --gray-100:      #f3f4f6;
  --gray-200:      #e5e7eb;
  --gray-400:      #9ca3af;
  --gray-600:      #6b7280;
  --text:          #221E1F;

  --nav-h:    65px;
  --header-h: 56px;
  --radius:   16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);
  --shadow-m:   0 8px 30px rgba(233,51,145,.2);

  --font-size: 16px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html, body {
  height: 100%; overflow: hidden;
  font-family: 'Lato', sans-serif;
  background: var(--beige-light);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; }
input  { font-family: inherit; }

.hidden  { display: none !important; }
.visible { display: flex !important; }

/* ================================================================
   SPLASH SCREEN
   ================================================================ */
#splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(145deg, var(--magenta) 0%, #9b1f7a 50%, var(--purple) 100%);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .4s ease;
}

.splash-inner {
  text-align: center;
  padding: 48px 32px;
  max-width: 400px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.splash-butterfly {
  font-size: 6rem;
  animation: float 3s ease-in-out infinite;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.3));
}

.splash-subtitle {
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 24px;
}

.splash-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.splash-author {
  font-size: .9rem;
  opacity: .85;
  font-style: italic;
  margin-bottom: 44px;
}

.splash-date-badge {
  font-size: .78rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;
  padding: 5px 16px;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.btn-splash {
  background: #fff;
  color: var(--magenta-dark);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-splash:active { transform: scale(.97); }

/* ================================================================
   APP SHELL
   ================================================================ */
#app {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  background: var(--beige-light);
}

/* ── Header ────────────────────────────────────────────────────── */
.app-header {
  height: var(--header-h);
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  display: flex; align-items: center;
  padding: 0 16px;
  gap: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(233,51,145,.35);
  position: relative; z-index: 10;
}

.header-logo { font-size: 1.5rem; flex-shrink: 0; animation: float 4s ease-in-out infinite; }

.header-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: #fff;
  flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.header-notif-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--transition);
  position: relative;
}
.header-notif-btn:active { background: rgba(255,255,255,.38); }

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--magenta-dark);
}

/* ── Tab Content ───────────────────────────────────────────────── */
.tab-content {
  flex: 1; overflow: hidden; position: relative;
}

.tab-panel {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  display: none;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: var(--nav-h);
}
.tab-panel.active { display: flex; }

/* ================================================================
   INICIO TAB
   ================================================================ */
.card-motivational {
  margin: 16px 16px 8px;
  background: linear-gradient(145deg, var(--magenta) 0%, #9b1f7a 60%, var(--purple) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-m);
}

.card-mot-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}

.card-mot-emoji { font-size: 1.5rem; }

.card-mot-date {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .85;
  font-weight: 600;
}

.card-mot-bg-butterfly {
  position: absolute;
  bottom: -20px; right: -16px;
  font-size: 8rem;
  opacity: .07;
  pointer-events: none;
  line-height: 1;
}

.card-mot-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}

.card-mot-author {
  font-size: .85rem;
  opacity: .85;
  font-style: italic;
  margin-bottom: 18px;
}

.card-mot-actions { display: flex; gap: 10px; }

.btn-glass {
  background: rgba(255,255,255,.22);
  color: #fff;
  border: 1px solid rgba(255,255,255,.38);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: .88rem;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-glass:active { background: rgba(255,255,255,.38); }

/* Quick Access */
.section-block { padding: 16px 16px 0; }
.section-block + .section-block { padding-top: 8px; }

.section-label {
  font-family: 'Dancing Script', cursive;
  font-size: 1.35rem;
  color: var(--magenta-dark);
  margin-bottom: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 6px;
  display: flex; flex-direction: column;
  align-items: center; gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.quick-card:active { transform: scale(.94); box-shadow: none; }

.quick-icon { font-size: 1.9rem; }

/* Featured */
.featured-list { display: flex; flex-direction: column; gap: 10px; }

.featured-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-sm);
  width: 100%; text-align: left;
  transition: transform var(--transition);
}
.featured-card:active { transform: scale(.98); }

.featured-icon { font-size: 2.2rem; flex-shrink: 0; }

.featured-info { flex: 1; min-width: 0; }
.featured-tag  { font-size: .7rem; color: var(--magenta); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.featured-name { font-size: .95rem; font-weight: 700; color: var(--dark); margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-desc { font-size: .8rem; color: var(--gray-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.featured-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.featured-play:active { background: var(--magenta-dark); }

/* ================================================================
   AUDIO TAB
   ================================================================ */
.tab-section-header {
  padding: 20px 16px 12px;
}

.tab-section-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  color: var(--magenta-dark);
}

.tab-section-sub {
  font-size: .85rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.audio-list {
  padding: 0 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}

.audio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-sm);
  width: 100%; text-align: left;
  transition: transform var(--transition), border var(--transition);
  border: 2px solid transparent;
}
.audio-card:active  { transform: scale(.98); }
.audio-card.playing { border-color: var(--magenta); background: var(--magenta-bg); }

.audio-thumb {
  width: 62px; height: 62px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.audio-thumb img { width: 100%; height: 100%; object-fit: cover; }

.audio-info { flex: 1; min-width: 0; }
.audio-cat  { font-size: .7rem; color: var(--magenta); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.audio-name { font-size: .95rem; font-weight: 700; color: var(--dark); margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-desc { font-size: .8rem; color: var(--gray-600); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.audio-dur  { font-size: .75rem; color: var(--gray-400); margin-top: 4px; }

.audio-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.audio-btn:active { transform: scale(.9); }
.audio-card.playing .audio-btn { background: var(--magenta-dark); }

/* ── Player Bar ─────────────────────────────────────────────────── */
#player-bar {
  background: var(--white);
  border-top: 1px solid rgba(233,51,145,.18);
  padding: 10px 14px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.09);
  flex-shrink: 0;
  position: relative; z-index: 50;
}
#player-bar.hidden { display: none; }

.player-thumb {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0; overflow: hidden;
}
.player-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.player-info { flex: 1; min-width: 0; }
.player-name   { font-size: .88rem; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-author { font-size: .75rem; color: var(--gray-600); margin-bottom: 4px; }

.player-progress-wrap { position: relative; }
input[type="range"].progress-range {
  width: 100%; height: 3px;
  -webkit-appearance: none; appearance: none;
  border-radius: 2px;
  background: var(--gray-200);
  outline: none; cursor: pointer;
}
input[type="range"].progress-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--magenta);
  cursor: pointer;
}

.player-times {
  display: flex; justify-content: space-between;
  font-size: .68rem; color: var(--gray-400);
  margin-top: 2px;
}

.player-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.ctrl-btn {
  background: none; color: var(--gray-600);
  font-size: 1.1rem; padding: 6px;
}
.ctrl-play {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.ctrl-play:active { background: var(--magenta-dark); }

/* ================================================================
   LIBROS TAB
   ================================================================ */
.books-grid {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left; width: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.book-card:active { transform: scale(.97); box-shadow: none; }

.book-cover {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--magenta), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative; overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 60%);
}

.book-meta { padding: 12px; }
.book-cat  { font-size: .68rem; color: var(--magenta); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.book-name { font-size: .92rem; font-weight: 700; color: var(--dark); margin: 3px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-by   { font-size: .78rem; color: var(--gray-600); }

.book-progress-bar {
  height: 3px; background: var(--gray-200);
  border-radius: 2px; margin-top: 8px; overflow: hidden;
}
.book-progress-fill {
  height: 100%; background: var(--magenta);
  border-radius: 2px; transition: width .4s;
}

/* ================================================================
   IFRAME TABS (COMUNIDAD / LANDING)
   ================================================================ */
.tab-iframe-wrap {
  position: absolute; inset: 0;
  padding-bottom: var(--nav-h);
}
.tab-iframe-wrap iframe {
  width: 100%; height: 100%; border: none;
  display: block;
}

.iframe-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; background: var(--beige-light);
  z-index: 2;
}
.iframe-loading.hidden { display: none; }

.loading-butterfly { font-size: 4rem; animation: float 2s ease-in-out infinite; }
.loading-text { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--magenta-dark); }

/* ================================================================
   BOTTOM NAV
   ================================================================ */
.bottom-nav {
  height: var(--nav-h);
  background: var(--white);
  display: flex;
  border-top: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 -2px 12px rgba(0,0,0,.07);
  flex-shrink: 0;
  position: relative; z-index: 50;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  }
}

.nav-btn {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  background: none;
  color: var(--gray-400);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}
.nav-btn.active { color: var(--magenta); }

.nav-btn.active::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--magenta-dark));
  border-radius: 0 0 3px 3px;
}

.nav-icon  { font-size: 1.45rem; line-height: 1; }
.nav-label { font-size: .62rem; font-weight: 700; letter-spacing: .3px; }

/* ================================================================
   FULLSCREEN MODALS
   ================================================================ */
.fs-modal {
  position: fixed; inset: 0;
  background: var(--beige-light);
  z-index: 500;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.fs-modal.open { transform: translateX(0); }

.fs-modal-header {
  height: var(--header-h);
  background: var(--white);
  display: flex; align-items: center;
  padding: 0 16px; gap: 12px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.fs-back {
  background: none; color: var(--magenta);
  font-size: .95rem; font-weight: 700;
  padding: 6px 4px;
  flex-shrink: 0;
}

.fs-title {
  flex: 1; font-size: 1rem; font-weight: 700;
  color: var(--dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.fs-actions { display: flex; gap: 6px; }

.fs-action {
  background: var(--gray-100); color: var(--dark);
  padding: 6px 12px; border-radius: 8px;
  font-size: .85rem; font-weight: 600;
}

/* ── Book Reader ─────────────────────────────────────────────────── */
.book-reader-body {
  flex: 1;
  overflow-y: auto; overflow-x: hidden;
  padding: 28px 22px;
  font-size: var(--font-size);
  line-height: 1.85;
  color: var(--dark);
  -webkit-overflow-scrolling: touch;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.book-reader-body h1,
.book-reader-body h2,
.book-reader-body h3 {
  font-family: 'Dancing Script', cursive;
  color: var(--magenta-dark);
  margin: 28px 0 14px;
  line-height: 1.3;
}
.book-reader-body h1 { font-size: 2rem; }
.book-reader-body h2 { font-size: 1.6rem; }
.book-reader-body h3 { font-size: 1.3rem; }

.book-reader-body p { margin-bottom: 18px; }

.book-reader-body blockquote {
  border-left: 4px solid var(--magenta);
  padding: 14px 18px;
  margin: 24px 0;
  background: var(--magenta-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-600);
}

.book-reader-body em  { color: var(--magenta-dark); font-style: italic; }
.book-reader-body strong { color: var(--dark); font-weight: 700; }

.book-chapter-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.btn-chapter {
  background: none; color: var(--magenta);
  font-weight: 700; font-size: .9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.btn-chapter:disabled { color: var(--gray-400); }
.btn-chapter:not(:disabled):active { background: var(--magenta-bg); }

.chapter-counter {
  font-size: .85rem; color: var(--gray-600);
  font-weight: 600;
}

/* ── Breathing Modal ─────────────────────────────────────────────── */
.breathe-body {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px; padding: 40px 24px;
  background: linear-gradient(180deg, var(--beige-light), #f0e8f8);
}

.breathe-circle {
  width: 210px; height: 210px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--magenta), var(--purple));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 4s cubic-bezier(.4,0,.2,1),
              box-shadow 4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 0 0 rgba(233,51,145,.2);
}
.breathe-circle.inhale {
  transform: scale(1.42);
  box-shadow: 0 0 0 40px rgba(233,51,145,.08), 0 0 0 80px rgba(233,51,145,.04);
}
.breathe-circle.exhale { transform: scale(1); }

.breathe-word {
  color: #fff;
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  text-align: center;
  pointer-events: none;
}

.breathe-hint {
  text-align: center; color: var(--gray-600);
  font-size: .95rem; max-width: 260px;
  line-height: 1.5;
}

.btn-breathe {
  background: var(--magenta);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(233,51,145,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-breathe:active { transform: scale(.97); }

/* ── Overlay Modals (notification, confirm) ──────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.52);
  display: none; align-items: center; justify-content: center;
  z-index: 900;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.overlay.show { display: flex; }

.overlay-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  max-width: 340px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  animation: slideUp .3s ease;
}

.overlay-emoji { font-size: 3.5rem; margin-bottom: 14px; display: block; }

.overlay-card h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.overlay-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 26px;
}

.overlay-btns { display: flex; gap: 12px; justify-content: center; }

.btn-primary {
  background: var(--magenta); color: #fff;
  padding: 12px 26px; border-radius: 30px;
  font-size: .95rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(233,51,145,.35);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:active { background: var(--magenta-dark); transform: scale(.97); }

.btn-ghost {
  background: var(--gray-100); color: var(--dark);
  padding: 12px 22px; border-radius: 30px;
  font-size: .95rem; font-weight: 600;
}

/* ── Toast ───────────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 14px);
  left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.82);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: .88rem;
  z-index: 9998;
  max-width: 300px;
  text-align: center;
  transition: opacity .3s;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
}
#toast.show { opacity: 1; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── Theme dark (future) ─────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --beige-light: #1a1a2e;
    --white: #242438;
    --gray-100: #2a2a40;
    --gray-200: #3a3a50;
    --text: #f0eff5;
    --dark: #f0eff5;
    --gray-600: #a0a0c0;
    --gray-400: #6060a0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,.4);
    --shadow-m:  0 8px 30px rgba(233,51,145,.3);
  }
  .app-header { background: linear-gradient(135deg, #b0276e, #6b1799); }
  #splash-screen { background: linear-gradient(145deg, #b0276e, #6b1799); }
}
