/* Japatapa Official Web - Exact Match to Native Android Compose Theme */

:root,
body[data-theme="sandalwood"] {
  --bg-primary: #FBF5E9;
  --surface-card: #FFFDF8;
  --surface-variant: #F3E8D2;
  --color-maroon: #7A1820;
  --color-maroon-dark: #520D13;
  --color-gold: #D97706;
  --color-gold-light: #FDE68A;
  --color-amber: #F59E0B;
  --color-ink: #2B1810;
  --color-ink-muted: #6B4F43;
  --color-outline: #DCC7AA;
  --border-subtle: #E8D9C0;
  --altar-wood: #3D2214;
  --altar-wood-dark: #2A170D;
  --gesso-gold: #D9A830;
  --gesso-gold-bright: #FFE58F;
  --shadow-warm: 0 4px 18px rgba(122, 24, 32, 0.08);
  --shadow-card: 0 2px 10px rgba(43, 24, 16, 0.06);
}

body[data-theme="sepia"] {
  --bg-primary: #F1E3C8;
  --surface-card: #F8EEDB;
  --surface-variant: #E5D2B0;
  --color-maroon: #631D16;
  --color-maroon-dark: #3E0F0A;
  --color-gold: #B8650B;
  --color-gold-light: #EAD4B0;
  --color-amber: #D97706;
  --color-ink: #26170E;
  --color-ink-muted: #5E4534;
  --color-outline: #CBB38D;
  --border-subtle: #D8C7A5;
  --altar-wood: #361F12;
  --altar-wood-dark: #22120A;
  --gesso-gold: #C49226;
  --gesso-gold-bright: #F7DA88;
  --shadow-warm: 0 4px 18px rgba(99, 29, 22, 0.08);
  --shadow-card: 0 2px 10px rgba(38, 23, 14, 0.06);
}

body[data-theme="dark"] {
  --bg-primary: #160F0E;
  --surface-card: #231816;
  --surface-variant: #332320;
  --color-maroon: #F5B041;
  --color-maroon-dark: #D97706;
  --color-gold: #EB984E;
  --color-gold-light: #4A1A1E;
  --color-amber: #F5B041;
  --color-ink: #F7EFE4;
  --color-ink-muted: #C9B3A3;
  --color-outline: #523B35;
  --border-subtle: #3D2B26;
  --altar-wood: #1D1311;
  --altar-wood-dark: #120A09;
  --gesso-gold: #E2B144;
  --gesso-gold-bright: #FFE58F;
  --shadow-warm: 0 4px 18px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
  background-color: var(--bg-primary);
  color: var(--color-ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* App Top Navigation Bar (Compose TopAppBar) */
.app-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--color-outline);
  box-shadow: 0 2px 10px rgba(122, 24, 32, 0.04);
  transition: background-color 0.25s ease;
}

.top-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.app-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gesso-gold);
  box-shadow: 0 2px 6px rgba(122, 24, 32, 0.15);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-maroon);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-top: 1px;
}

/* Top App Bar Action Buttons (Exact Match to App Actions) */
.top-actions-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-outline);
  background: var(--surface-card);
  color: var(--color-maroon);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-icon-action:hover {
  background: var(--surface-variant);
  border-color: var(--color-maroon);
  transform: translateY(-1px);
}

.btn-script-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 18px;
  background: var(--surface-card);
  border: 1px solid var(--color-outline);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-maroon);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-script-selector:hover {
  background: var(--surface-variant);
  border-color: var(--color-maroon);
}

.btn-play-store {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-maroon);
  color: #FFFDF8;
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(122, 24, 32, 0.2);
  transition: all 0.18s ease;
}

.btn-play-store:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(122, 24, 32, 0.3);
}

/* Main App Container */
.app-container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Search Bar (Exact Compose OutlinedTextField Style) */
.search-bar-wrapper {
  position: relative;
  width: 100%;
}

.search-input-field {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: 24px;
  border: 1.5px solid var(--color-outline);
  background: var(--surface-card);
  color: var(--color-ink);
  font-size: 0.96rem;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.search-input-field:focus {
  border-color: var(--color-maroon);
  box-shadow: 0 0 0 3px rgba(122, 24, 32, 0.12);
}

.search-icon-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-ink-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-ink-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
}

/* Filter Chips Row (Scrollable Horizontal) */
.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-chips-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-outline);
  background: var(--surface-card);
  color: var(--color-ink);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-chip:hover {
  border-color: var(--color-maroon);
  background: var(--surface-variant);
}

.filter-chip.active {
  background: var(--color-maroon);
  color: #FFFDF8;
  border-color: var(--color-maroon);
  box-shadow: 0 2px 6px rgba(122, 24, 32, 0.2);
}

/* ========================================================
   VIEW 1: MYSORE PAINTING CATEGORIES GRID (Like App Home)
   ======================================================== */
.mysore-categories-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mysore-section-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mysore-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
}

.mysore-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.mysore-section-title {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-maroon);
}

.mysore-section-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.mysore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Individual Mysore Painting Card */
.mysore-card {
  background: var(--surface-card);
  border-radius: 18px;
  border: 1.5px solid rgba(217, 168, 48, 0.85);
  box-shadow: 0 3px 12px rgba(43, 24, 16, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.mysore-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(122, 24, 32, 0.16);
  border-color: var(--gesso-gold-bright);
}

.mysore-card-image-box {
  position: relative;
  width: 100%;
  height: 154px;
  background: #1F0D09;
  overflow: hidden;
}

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

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

/* Golden Prabhavali Inner Border on Image */
.mysore-card-frame-overlay {
  position: absolute;
  inset: 6px;
  border: 1.5px solid rgba(255, 229, 143, 0.7);
  border-radius: 12px;
  pointer-events: none;
}

/* Shloka Count Pill Badge */
.mysore-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(31, 13, 9, 0.85);
  border: 1px solid rgba(255, 229, 143, 0.85);
  border-radius: 12px;
  padding: 3px 9px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gesso-gold-bright);
  backdrop-filter: blur(4px);
}

/* Golden Gesso Divider */
.mysore-card-divider {
  width: 100%;
  height: 2px;
  background: var(--gesso-gold);
}

/* Mysore Card Footer */
.mysore-card-footer {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mysore-card-title-native {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-maroon);
  line-height: 1.25;
}

.mysore-card-title-en {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

/* ========================================================
   VIEW 2: DRILLED CATEGORY & SHLOKA READER VIEW
   ======================================================== */
.drilled-category-view {
  display: none;
  flex-direction: column;
  gap: 14px;
}

/* Top Back Banner */
.category-drilled-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface-card);
  border: 1.5px solid var(--color-outline);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.btn-back-categories {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 18px;
  background: var(--color-maroon);
  color: #FFFDF8;
  border: none;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-back-categories:hover {
  background: var(--color-maroon-dark);
}

.category-mini-thumb {
  width: 58px;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid var(--gesso-gold);
  object-fit: cover;
}

.category-banner-titles {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-banner-native {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-maroon);
  line-height: 1.2;
}

.category-banner-en {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

/* Dual Column Content (List + Reader) */
.dual-reader-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 860px) {
  .dual-reader-layout {
    grid-template-columns: 1fr;
  }
}

/* Left: Shloka List Column */
.shloka-list-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
  padding-right: 4px;
}

.shloka-list-column::-webkit-scrollbar {
  width: 5px;
}

.shloka-list-column::-webkit-scrollbar-thumb {
  background: var(--color-outline);
  border-radius: 10px;
}

/* Shloka Card Item (Exact Match to App ShlokaCardItem) */
.shloka-card-item {
  background: var(--surface-card);
  border-radius: 16px;
  border: 1px solid var(--color-outline);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shloka-card-item:hover {
  border-color: var(--color-maroon);
  box-shadow: 0 3px 12px rgba(122, 24, 32, 0.1);
  transform: translateY(-1px);
}

.shloka-card-item.active {
  border-color: var(--color-maroon);
  border-width: 1.5px;
  background: var(--surface-variant);
  box-shadow: 0 4px 14px rgba(122, 24, 32, 0.12);
}

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

.card-deity-pill {
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--color-gold-light);
  color: var(--color-maroon-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-fav-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-maroon);
  padding: 2px;
}

.card-native-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.3;
}

.card-english-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-ink-muted);
}

/* Right: Shloka Reader & Altar Column */
.reader-column {
  background: var(--surface-card);
  border-radius: 18px;
  border: 1px solid var(--color-outline);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reader-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.reader-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reader-header-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reader-main-title {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-maroon);
  line-height: 1.25;
}

.reader-en-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
}

.reader-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Stepper Controls Bar */
.font-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-variant);
  border-radius: 12px;
  padding: 6px 14px;
}

.font-steppers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-stepper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-outline);
  background: var(--surface-card);
  color: var(--color-maroon);
  font-weight: 800;
  cursor: pointer;
}

.font-size-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-maroon);
  min-width: 40px;
  text-align: center;
}

/* Single Toggle Button for Bhagavad Gita */
.gita-toggle-container {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.btn-gita-toggle {
  background: var(--color-maroon);
  color: #FFFDF8;
  border: none;
  border-radius: 20px;
  padding: 7px 22px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(122, 24, 32, 0.2);
  transition: all 0.18s ease;
}

.btn-gita-toggle:hover {
  background: var(--color-maroon-dark);
  transform: translateY(-1px);
}

/* Shloka Verses Card */
.shloka-verses-box {
  background: var(--bg-primary);
  border: 1px solid var(--color-outline);
  border-radius: 16px;
  padding: 24px;
  min-height: 260px;
  max-height: 520px;
  overflow-y: auto;
  font-family: Georgia, serif;
  line-height: 1.85;
  white-space: pre-line;
  text-align: center;
  color: var(--color-ink);
  transition: font-size 0.15s ease;
}

/* Paduka Altar Panel */
.paduka-altar-panel {
  background: var(--altar-wood);
  color: #FFFDF8;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sankalpa-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.sankalpa-target-chip {
  padding: 4px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 229, 143, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gesso-gold-bright);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.sankalpa-target-chip.active {
  background: var(--gesso-gold);
  color: #2A170D;
  border-color: var(--gesso-gold-bright);
}

.altar-counter-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.altar-count-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gesso-gold-bright);
  line-height: 1;
}

.altar-count-target-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-paduka-japa {
  background: linear-gradient(145deg, #7A1820, #420D12);
  border: 2px solid var(--gesso-gold);
  border-radius: 36px;
  padding: 12px 28px;
  color: #FFFDF8;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.12s ease;
}

.btn-paduka-japa:active {
  transform: scale(0.96);
}

.btn-altar-reset {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ========================================================
   MODALS: PRADAKSHINA, REMINDER, SCRIPT SELECTOR
   ======================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 15, 12, 0.65);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: var(--surface-card);
  border: 1.5px solid var(--gesso-gold);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-maroon);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-ink-muted);
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Pradakshina Shloka Card in Modal */
.pradakshina-verse-card {
  background: var(--bg-primary);
  border: 1px solid var(--color-outline);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.pradakshina-verse-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-maroon);
  margin-bottom: 6px;
}

.pradakshina-verse-text {
  font-family: Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: pre-line;
  color: var(--color-ink);
}

/* Circular Pradakshina Counter Altar */
.pradakshina-altar-circle {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--altar-wood);
  border: 4px solid var(--gesso-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease;
  user-select: none;
}

.pradakshina-altar-circle:active {
  transform: scale(0.96);
}

/* Reminder Settings Inputs */
.reminder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-variant);
}

.reminder-time-input {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--color-outline);
  background: var(--surface-card);
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-primary-modal {
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  background: var(--color-maroon);
  color: #FFFDF8;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

/* Script Selector Radios */
.script-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  cursor: pointer;
  transition: all 0.18s ease;
}

.script-option-row:hover {
  border-color: var(--color-maroon);
  background: var(--surface-variant);
}

.script-option-row.active {
  border-color: var(--color-maroon);
  background: var(--color-gold-light);
  font-weight: 800;
}

/* Toast Notifications */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(43, 24, 16, 0.94);
  color: #FFFDF8;
  border: 1px solid var(--gesso-gold);
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
}

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

/* Flying Flower Animation */
.flying-flower {
  position: fixed;
  font-size: 1.8rem;
  pointer-events: none;
  z-index: 999;
  animation: floatFlower 1.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes floatFlower {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), calc(var(--ty) + 40px)) scale(0.8) rotate(360deg);
  }
}

/* App Footer */
.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-outline);
  background: var(--surface-card);
  padding: 24px 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--color-maroon);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

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