/* ====================================================
   VAKYADHARAM — Complete Style Sheet
   Navy Blue #0A1F44 · Gold #D4AF37
   Version: 3.1 - Fixed Audio/Video Players
   ==================================================== */

:root {
  --navy: #0A1F44;
  --navy-mid: #132c5e;
  --navy-light: #1a3a72;
  --gold: #D4AF37;
  --gold-light: #e8cc6a;
  --gold-dim: rgba(212,175,55,.18);
  --gold-glow: 0 0 24px rgba(212,175,55,.5);
  --white: #ffffff;
  --cream: #FFF9E6;
  --text-muted: rgba(255,255,255,.55);
  --surface: rgba(255,255,255,.05);
  --border: rgba(212,175,55,.2);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Crimson Pro', Georgia, serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  
  /* Border Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 9999px;
  
  /* Animations */
  --ease: cubic-bezier(.16,1,.3,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --t: .25s;
  
  /* Z-index - FIXED hierarchy */
  --z-splash: 9999;
  --z-video-modal: 9998;
  --z-mini-player: 1000;
  --z-modal: 800;
  --z-toast: 600;
  --z-header: 500;
  --z-nav: 500;
  --z-fab: 450;
  --z-chat: 400;

  /* Layout */
  --header-h: 62px;
  --nav-h: 72px;
}

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

body {
  font-family: var(--font-primary);
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 4px; }

/* Utility Classes */
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.will-change { will-change: transform; }

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====================================================
   SPLASH SCREEN
   ==================================================== */
#splash {
  position: fixed;
  inset: 0;
  z-index: var(--z-splash);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .6s ease, transform .6s ease;
}
#splash.hidden {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash-logo-wrap {
  width: 90px;
  height: 90px;
  animation: splashPop .9s var(--spring) both;
}
.splash-title {
  font-family: var(--font-secondary);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  animation: fadeUp .6s var(--ease) .3s both;
  text-shadow: 0 0 40px rgba(212,175,55,.4);
}
.splash-sub {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeUp .6s var(--ease) .5s both;
}
.splash-bar {
  width: 80px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  animation: fadeUp .6s var(--ease) .6s both;
}
.splash-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--gold);
  animation: splashLoad 1.2s ease .8s forwards;
  transform: translateX(-100%);
}

@keyframes splashPop {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes splashLoad {
  to { transform: translateX(0); }
}
@keyframes fadeUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ====================================================
   APP LAYOUT
   ==================================================== */
.app-wrap {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212,175,55,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(26,58,114,.5) 0%, transparent 70%);
}

/* ====================================================
   HEADER
   ==================================================== */
.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--header-h);
  z-index: var(--z-header);
  background: rgba(10,31,68,.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.header-logo {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}
.header-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  position: relative;
  height: 32px;
}
.title-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.title-slide span {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(212,175,55,.35));
}
.header-profile {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  position: relative;
  cursor: pointer;
}
.header-profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.header-profile-default {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  border: 2px solid var(--gold);
}
.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #EF4444;
  border-radius: 50%;
  border: 2px solid var(--navy);
  animation: pulseBadge 2s ease infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* ====================================================
   MAIN CONTENT
   ==================================================== */
.main-content {
  padding-top: var(--header-h);
  padding-bottom: var(--nav-h);
  min-height: 100vh;
}

.page-section {
  display: none;
}
.page-section.active {
  display: block;
  animation: pageIn .35s var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   PAGE HERO
   ==================================================== */
.page-hero {
  background: linear-gradient(180deg, rgba(212,175,55,.12) 0%, transparent 100%);
  padding: var(--space-lg) var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h2 {
  font-family: var(--font-secondary);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 6px;
}
.page-hero p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ====================================================
   DAILY VERSE CARD
   ==================================================== */
.verse-card {
  margin: 0 12px 12px;
  background: linear-gradient(135deg, rgba(212,175,55,.1) 0%, rgba(212,175,55,.04) 100%);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  text-align: center;
}
.verse-text {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}
.verse-ref {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .5px;
}

/* ====================================================
   FEED
   ==================================================== */
.feed-header {
  padding: var(--space-md) var(--space-md) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-header h2 {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--gold);
}
.live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #EF4444;
  font-weight: 600;
}
.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.feed-list {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feed-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  cursor: pointer;
  transition: all .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.feed-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}
.feed-card:active {
  transform: scale(.98);
  background: rgba(255,255,255,.07);
}
.feed-card.final::before { background: #DC2626; }
.feed-card.critical::before { background: #EA580C; }
.feed-card.emergency::before { background: #D97706; }
.feed-card.needs::before { background: #2563EB; }
.feed-card.testimony::before { background: #059669; }
.feed-card.blog::before { background: var(--gold); }

.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.priority-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.badge-final { background: rgba(220,38,38,.18); color: #F87171; }
.badge-critical { background: rgba(234,88,12,.18); color: #FB923C; }
.badge-emergency { background: rgba(217,119,6,.18); color: #FBBF24; }
.badge-needs { background: rgba(37,99,235,.18); color: #60A5FA; }
.badge-testimony { background: rgba(5,150,105,.18); color: #34D399; }
.badge-blog { background: var(--gold-dim); color: var(--gold); }

.card-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}
.card-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.card-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--font-primary);
}
.btn-pray {
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(212,175,55,.3);
}
.btn-comment {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-fast {
  background: rgba(124,58,237,.18);
  color: #A78BFA;
  border: 1px solid rgba(124,58,237,.3);
}
.btn-will-pray {
  background: rgba(37,99,235,.18);
  color: #60A5FA;
  border: 1px solid rgba(37,99,235,.3);
}
.btn-cannot {
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.1);
}
.card-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ====================================================
   STATS ROW
   ==================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 1px;
}
.stat-box {
  background: rgba(255,255,255,.03);
  padding: var(--space-md) 10px;
  text-align: center;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
}

/* ====================================================
   FILTER CHIPS
   ==================================================== */
.filter-scroll {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-scroll::-webkit-scrollbar {
  display: none;
}
.filter-chip {
  flex-shrink: 0;
  padding: 7px var(--space-md);
  border-radius: var(--r-full);
  border: 1.5px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
  font-family: var(--font-primary);
}
.filter-chip.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(212,175,55,.3);
}

/* ====================================================
   PRAYER CARDS
   ==================================================== */
.prayer-list {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prayer-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.prayer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.prayer-card.final::before { background: linear-gradient(90deg, #DC2626, #F87171); }
.prayer-card.critical::before { background: linear-gradient(90deg, #EA580C, #FB923C); }
.prayer-card.emergency::before { background: linear-gradient(90deg, #D97706, #FBBF24); }
.prayer-card.needs::before { background: linear-gradient(90deg, #2563EB, #60A5FA); }

.pc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.pc-author {
  font-size: 12px;
  font-weight: 600;
  flex: 1;
}
.pc-time {
  font-size: 11px;
  color: var(--text-muted);
}
.pc-title {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  margin-bottom: 12px;
}
.pc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pray-count {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

/* ====================================================
   PRAYER MODAL
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-sheet {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  padding: 0 0 80px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(40px);
  transition: transform .4s var(--ease);
  position: relative;
  will-change: transform;
}
.modal-overlay.open .modal-sheet {
  transform: translateY(0);
}
.modal-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 4px;
  margin: 14px auto 0;
}
.modal-header {
  text-align: center;
  padding: 20px 20px var(--space-md);
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-family: var(--font-secondary);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 4px;
}
.modal-header p {
  font-size: 13px;
  color: var(--text-muted);
}
.modal-close-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  z-index: 20;
  backdrop-filter: blur(4px);
}
.modal-close-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: scale(1.1) rotate(90deg);
}

/* Action Tabs */
.action-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.action-tab {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-primary);
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}
.action-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.action-panel {
  display: none;
}
.action-panel.active {
  display: block;
}

/* Prayer Text Box */
.prayer-text-box {
  margin: var(--space-md);
  background: rgba(212,175,55,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-md);
}
.prayer-text-box p {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
}
.pray-instruction {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  padding: 10px;
}

/* Progress Bar */
.prayer-progress-wrap {
  padding: 0 var(--space-md) 10px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.progress-bar-outer {
  height: 10px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-full);
  overflow: hidden;
}
.progress-bar-inner {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, #B8860B 0%, var(--gold) 50%, var(--gold-light) 100%);
  width: 0%;
  transition: width .5s ease;
  position: relative;
  box-shadow: 0 0 10px rgba(212,175,55,.5);
}
.timer-display {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin: 12px 0;
  text-shadow: 0 0 20px rgba(212,175,55,.4);
}

/* Prayer Counter Dots */
.prayer-counter {
  margin: 10px var(--space-md);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.count-dot {
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-muted);
  transition: all .3s var(--spring);
  position: relative;
  overflow: hidden;
}
.count-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.count-dot.done::before {
  opacity: 1;
}
.count-dot.done {
  color: var(--navy);
  font-weight: 800;
  border-color: var(--gold);
}
.count-dot.done > * {
  position: relative;
  z-index: 1;
}
.count-dot > span {
  position: relative;
  z-index: 1;
  font-size: 15px;
}
.count-dot.active {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,.4);
  animation: activeGlow 1s ease infinite;
}
@keyframes activeGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(212,175,55,.3); }
  50% { box-shadow: 0 0 18px rgba(212,175,55,.7); }
}

.completion-msg {
  margin: 12px var(--space-md);
  background: rgba(5,150,105,.18);
  border: 1px solid rgba(5,150,105,.3);
  border-radius: var(--r-md);
  padding: var(--space-md);
  text-align: center;
  display: none;
}
.completion-msg.show {
  display: block;
}
.completion-msg svg {
  margin-bottom: 8px;
}
.completion-msg h4 {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: #34D399;
  margin-bottom: 4px;
}
.submit-pray-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 14px var(--space-md);
  padding: var(--space-md);
  border: none;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(212,175,55,.4);
  opacity: .4;
  pointer-events: none;
  transition: all .3s ease;
}
.submit-pray-btn.ready {
  opacity: 1;
  pointer-events: all;
}

/* ====================================================
   TESTIMONY CARDS
   ==================================================== */
.testimony-list {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.test-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.test-card-body {
  padding: 14px;
}
.test-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--space-md);
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.test-name {
  font-size: 14px;
  font-weight: 600;
}
.test-date {
  font-size: 11px;
  color: var(--text-muted);
}
.test-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.test-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
}
.like-btn.liked {
  color: #F87171;
}
.comment-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
}

/* ====================================================
   BLOG CARDS
   ==================================================== */
.blog-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
}
.blog-card:active {
  transform: scale(.98);
}
.blog-img {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.blog-body {
  padding: 14px;
}
.blog-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.blog-title {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 8px;
}
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ====================================================
   MEDIA PAGE
   ==================================================== */
.media-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.media-tab {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}
.media-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.media-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.media-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: all .2s ease;
}
.media-card:active {
  transform: scale(.97);
}
.media-card.playing-indicator {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
  animation: pulseGold 1s ease infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 0 3px rgba(212,175,55,0.2); }
}
.media-thumb {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}
.media-info {
  padding: 10px;
}
.media-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
}
.video-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  transition: all 0.2s ease;
}
.video-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}
.video-thumb {
  width: 120px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(212,175,55,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.video-thumb:hover .play-overlay {
  opacity: 1;
}
.video-info {
  flex: 1;
  padding: 12px;
}
.video-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: var(--text-muted);
}

/* ====================================================
   VIDEO MODAL - FIXED
   ==================================================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.96);
  z-index: var(--z-video-modal);
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.active {
  display: flex;
}
.video-container {
  width: 90%;
  max-width: 900px;
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 0 40px rgba(212,175,55,0.2);
}
.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
}
.video-header h3 {
  font-size: 16px;
  color: var(--gold);
  margin: 0;
}
.video-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}
.video-close:hover {
  background: var(--danger);
  transform: rotate(90deg);
}
.video-wrapper {
  background: #000;
}
.video-wrapper video {
  width: 100%;
  max-height: 70vh;
  outline: none;
  display: block;
}
video:focus {
  outline: none;
}
video::-webkit-media-controls-panel {
  background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-timeline {
  filter: drop-shadow(0 0 2px rgba(212,175,55,0.5));
}
.video-info-footer {
  padding: 12px 16px;
  background: rgba(0,0,0,0.4);
}
.video-info-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.video-info-artist {
  font-size: 11px;
  color: var(--gold);
  margin-top: 4px;
}
.video-actions {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}
.video-action-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 25px;
  color: var(--gold);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.video-action-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ====================================================
   AUDIO MINI PLAYER - FIXED
   ==================================================== */
.audio-mini-player {
  position: fixed;
  bottom: calc(var(--nav-h) + 70px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 456px;
  background: rgba(26,58,114,.96);
  backdrop-filter: blur(20px);
  border: 2px solid var(--gold);
  border-radius: 60px;
  padding: 8px 12px 8px 8px;
  z-index: var(--z-mini-player);
  display: none;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(212,175,55,0.3);
  transition: all 0.3s ease;
}
.audio-mini-player.visible {
  display: flex;
  animation: slideUp 0.35s var(--spring) both;
}
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(30px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.player-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 22px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 15px rgba(212,175,55,0.5);
}
.player-info {
  flex: 1;
  min-width: 0;
}
.player-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.player-artist {
  font-size: 10px;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.control-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s var(--spring);
}
.control-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}
.play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  font-size: 14px;
  transition: all 0.2s var(--spring);
}
.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}
.close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
}
.close-btn:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}
.progress-container {
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}
.progress-container:hover .progress-fill {
  height: 4px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #F5D742, var(--gold-light));
  transition: width 0.1s linear;
  border-radius: 3px;
}
.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 5px;
  padding: 0 4px;
}

/* ====================================================
   WALLPAPER GRID
   ==================================================== */
.wallpaper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
}
.wallpaper-item {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-mid);
  border-radius: 4px;
}
.wallpaper-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.wallpaper-item:hover img {
  transform: scale(1.05);
}
.wallpaper-download {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.7);
  border: none;
  border-radius: var(--r-full);
  padding: 6px 10px;
  color: var(--white);
  cursor: pointer;
  transition: all .2s ease;
  font-size: 11px;
  backdrop-filter: blur(4px);
}
.wallpaper-download:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ====================================================
   SEARCH PAGE
   ==================================================== */
.search-box-wrap {
  padding: var(--space-md);
}
.search-input-wrap {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-input {
  width: 100%;
  padding: 14px var(--space-md) 14px 44px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-primary);
  outline: none;
}
.search-input:focus {
  border-color: var(--gold);
}
.search-categories {
  padding: var(--space-md);
}
.search-cat-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-chip {
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  font-size: 12px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
}
.search-chip:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

/* ====================================================
   PROFILE PAGE
   ==================================================== */
.profile-hero {
  text-align: center;
  padding: 32px var(--space-md) 24px;
  background: linear-gradient(180deg, rgba(212,175,55,.1) 0%, transparent 100%);
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  border: 3px solid var(--gold);
  overflow: hidden;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-name {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 4px;
}
.profile-lang {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 0 0 1px;
}
.pstat {
  background: rgba(255,255,255,.03);
  text-align: center;
  padding: var(--space-md) 8px;
}
.pstat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
}
.pstat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.profile-section {
  padding: var(--space-md);
}
.profile-section h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.setting-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  gap: 12px;
}
.setting-item:last-child {
  border-bottom: none;
}
.setting-item svg {
  color: var(--gold);
  flex-shrink: 0;
}
.setting-label {
  flex: 1;
  font-size: 14px;
}
.setting-arrow {
  color: var(--text-muted);
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(212,175,55,.18);
  color: var(--gold);
  border-radius: var(--r-full);
  border: 1px solid rgba(212,175,55,.3);
}

/* ====================================================
   BOTTOM NAVIGATION
   ==================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  z-index: var(--z-nav);
}
.nav-wave {
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  overflow: hidden;
}
.nav-wave svg {
  width: 100%;
  height: 100%;
}
.nav-inner {
  width: 100%;
  background: rgba(10,31,68,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212,175,55,.25);
  display: flex;
  height: 100%;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255,255,255,.4);
  transition: color .2s ease;
  padding: 6px 0;
  border: none;
  background: none;
}
.nav-item .nav-icon {
  width: 24px;
  height: 24px;
  transition: all .25s var(--spring);
}
.nav-item .nav-label {
  font-size: 9px;
  font-weight: 600;
}
.nav-item.active {
  color: var(--gold);
}
.nav-item.active .nav-icon {
  transform: translateY(-3px) scale(1.15);
  filter: drop-shadow(0 0 6px rgba(212,175,55,.6));
}
.nav-item.active .nav-label {
  color: var(--gold);
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav-item.active::after {
  width: 28px;
}

/* ====================================================
   FAB BUTTONS
   ==================================================== */
.fab {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  border: none;
  cursor: pointer;
  z-index: var(--z-fab);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212,175,55,.4);
}
.fab:active {
  transform: scale(.92);
}
.chat-fab {
  position: fixed;
  bottom: calc(var(--nav-h) + 80px);
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: var(--z-chat);
  color: var(--gold);
}

/* ====================================================
   TOAST NOTIFICATIONS
   ==================================================== */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(26,58,114,.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px var(--space-md);
  z-index: var(--z-toast);
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.toast-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
  margin-top: 4px;
  animation: livePulse 1.5s ease infinite;
}
.toast-content {
  flex: 1;
}
.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}
.toast-msg {
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

/* ====================================================
   PROFILE MENU
   ==================================================== */
.profile-menu {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  right: 12px;
  background: rgba(19,44,94,.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-width: 200px;
  z-index: calc(var(--z-modal) + 1);
  transform: translateY(-10px) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: all .25s var(--ease);
}
.profile-menu.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
.profile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--space-md);
  font-size: 13px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.profile-menu a:hover {
  background: rgba(255,255,255,.06);
  color: var(--gold);
}
.profile-menu a svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ====================================================
   FORMS & AUTH
   ==================================================== */
.form-group {
  margin-bottom: var(--space-md);
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px var(--space-md);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-primary);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
}
.form-control::placeholder {
  color: var(--text-muted);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
select.form-control {
  cursor: pointer;
}
select.form-control option {
  background: var(--navy-mid);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary:active {
  transform: scale(.98);
}
.btn-secondary {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo h1 {
  font-family: var(--font-secondary);
  font-size: 32px;
  color: var(--gold);
}
.auth-logo p {
  font-size: 12px;
  color: var(--text-muted);
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.auth-card h2 {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--gold);
}
.auth-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.auth-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-link a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.error-msg {
  background: rgba(220,38,38,.12);
  border: 1px solid rgba(220,38,38,.3);
  border-radius: var(--r-md);
  padding: 12px;
  font-size: 13px;
  color: #F87171;
  margin-bottom: var(--space-md);
}
.success-msg {
  background: rgba(5,150,105,.12);
  border: 1px solid rgba(5,150,105,.3);
  border-radius: var(--r-md);
  padding: 12px;
  font-size: 13px;
  color: #34D399;
  margin-bottom: var(--space-md);
}

/* ====================================================
   EMPTY STATE & FOOTER
   ==================================================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state svg {
  margin-bottom: var(--space-md);
  opacity: .4;
}
.empty-state h3 {
  font-family: var(--font-secondary);
  font-size: 20px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.footer-content {
  padding: 20px var(--space-md) calc(var(--nav-h) + 24px);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-tagline {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-copy {
  font-size: 10px;
  color: var(--text-muted);
}
.footer-copy span {
  color: var(--gold);
}

/* ====================================================
   MISCELLANEOUS
   ==================================================== */
.praying-now {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.praying-count {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}
.page-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}
.page-close-btn:hover {
  background: var(--gold);
  color: var(--navy);
}
.comment-area {
  margin: var(--space-md);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
}
.comment-area textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 14px;
  resize: none;
  height: 100px;
  outline: none;
}
.char-count {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
}
.comment-submit {
  margin: 0 var(--space-md) var(--space-md);
}
.fasting-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: var(--space-md);
}
.fast-day-btn {
  padding: 14px 8px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,.04);
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
}
.fast-day-btn.selected {
  border-color: #A78BFA;
  background: rgba(124,58,237,.15);
}
.fast-day-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.fast-day-time {
  font-size: 10px;
  color: var(--text-muted);
}

/* ====================================================
   SKELETON LOADING
   ==================================================== */
.skeleton-wrapper {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.skeleton-wrapper.loading {
  opacity: 1;
}
.skeleton-wrapper:not(.loading) {
  display: none;
}
.content-wrapper {
  display: block;
}
.skeleton-wrapper.loading + .content-wrapper {
  display: none;
}
.prayer-card-skeleton {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 10px;
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-category { width: 60px; height: 20px; margin-bottom: 8px; }
.skeleton-author { width: 100px; height: 14px; margin-bottom: 8px; }
.skeleton-title { width: 80%; height: 18px; margin-bottom: 8px; }
.skeleton-description { width: 100%; height: 12px; margin-bottom: 6px; }
.skeleton-description:last-child { width: 70%; }
.skeleton-actions { display: flex; gap: 8px; margin-top: 10px; }
.skeleton-button { width: 80px; height: 28px; border-radius: 20px; }
.skeleton-button.small { width: 60px; }
.skeleton-count { width: 70px; height: 20px; margin-left: auto; }