/* shayari/style.css */

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #13131b;
  --bg-card: #171722;
  --border-color: rgba(212, 175, 55, 0.2);
  --gold-primary: #d4af37;
  --gold-hover: #e6c35c;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --text-primary: #f8f8fa;
  --text-secondary: #9e9eb2;
  --text-muted: #6e6e82;
  --whatsapp-color: #25D366;
  
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-hindi-poetry: 'Noto Serif Devanagari', Georgia, serif;
  --font-poet-signature: 'Rozha One', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-ui);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 140px;
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  background: linear-gradient(135deg, #ffffff 20%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-badge {
  background: #1e1e28;
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Category Filter Bar --- */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 53px;
  background: rgba(10, 10, 14, 0.96);
  z-index: 40;
  border-bottom: 1px solid #1c1c28;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-bar::after {
  content: '';
  padding-right: 20px; 
}

.cat-btn {
  white-space: nowrap;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid #28283a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn.active {
  background: var(--gold-primary);
  color: #000;
  font-weight: 700;
  border-color: var(--gold-primary);
}

/* --- Main Content --- */
main {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================================
   Category Transition Divider (Separates Category from Other Items)
   ============================================================ */
.feed-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 4px 0;
  padding: 0 6px;
  width: 100%;
}

.feed-section-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.feed-section-divider .divider-label {
  font-family: var(--font-hindi-poetry);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* --- Main Poetry Stream --- */
#shayari-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #171724 0%, #111118 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 4.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 22px 20px 18px 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7), 0 0 15px rgba(212, 175, 55, 0.15);
}

.card::before {
  content: "❝";
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 5.5rem;
  font-family: Georgia, serif;
  color: rgba(212, 175, 55, 0.05);
  line-height: 1;
  pointer-events: none;
}

.card-category {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.shayari-text {
  font-family: var(--font-hindi-poetry);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 2.15;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 12px;
  white-space: normal;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* --- Paywall 50% Truncation & Show More Button/Link --- */
.shayari-dots,
.show-more-btn {
  display: none;
}

.shayari-hidden-half {
  display: inline;
}

.card.locked .shayari-text {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  margin-bottom: 6px;
}

.card.locked .shayari-hidden-half {
  display: none;
}

.card.locked .shayari-dots {
  display: inline;
  color: var(--text-secondary);
}

.card.locked .show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-primary);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.card.locked .show-more-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

.poet {
  display: block;
  text-align: right;
  font-family: var(--font-poet-signature);
  font-size: 1.05rem;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  gap: 8px;
}

.actions-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.icon-action-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.icon-action-btn.wa-btn {
  color: var(--whatsapp-color);
  border-color: rgba(37, 211, 102, 0.3);
}

.icon-action-btn.wa-btn:hover {
  background: rgba(37, 211, 102, 0.12);
}

.play-btn {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  padding: 7px 16px;
  border-radius: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.play-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

.sound-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.sound-equalizer span {
  width: 2.5px;
  background: currentColor;
  border-radius: 2px;
  animation: equalize 0.8s infinite ease-in-out alternate;
}

.sound-equalizer span:nth-child(2) { animation-delay: 0.25s; }
.sound-equalizer span:nth-child(3) { animation-delay: 0.5s; }

@keyframes equalize {
  0% { height: 3px; }
  100% { height: 14px; }
}

.play-btn.playing .sound-equalizer {
  display: inline-flex;
}

.lock-btn {
  background: #1b1b24;
  color: #e6c35c;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 7px 15px;
  border-radius: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lock-btn:hover {
  background: #252535;
  border-color: var(--gold-hover);
}

/* --- Sticky Bottom Payment Strip --- */
.paywall-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 14, 20, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0 16px max(14px, env(safe-area-inset-bottom, 14px));
  z-index: 80;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.9), 0 -1px 10px rgba(212, 175, 55, 0.2);
}

.paywall-urgency-strip {
  text-align: center;
  padding: 5px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.paywall-urgency-strip span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.paywall-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.paywall-pricing {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.final-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.price-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.original-price {
  font-size: 0.76rem;
  color: #838396;
  text-decoration: line-through;
  font-weight: 500;
  line-height: 1;
}

.discount-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.sub-trust {
  font-size: 0.74rem;
  color: #b3b3c4;
  font-weight: 500;
}

.buy-btn-pro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fce08b 0%, #d4af37 55%, #b28a1c 100%);
  color: #0d0d12;
  border: none;
  padding: 10px 18px;
  border-radius: 14px;
  cursor: pointer;
  flex: 1;
  max-width: 260px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transition: transform 0.12s ease;
}

.buy-btn-pro:active {
  transform: scale(0.97);
}

.btn-main-text {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
}

.btn-sub-text {
  font-size: 0.66rem;
  font-weight: 700;
  color: #292408;
  opacity: 0.9;
  line-height: 1.2;
}

.buy-btn-pro::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(60deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: btnShimmer 3s infinite ease-in-out;
}

@keyframes btnShimmer {
  0% { left: -60%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

/* --- Floating Toast Notification --- */
#toastNotification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-35px);
  background: linear-gradient(135deg, #1f1f2e 0%, #12121a 100%);
  color: #fff;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85), 0 0 15px rgba(212, 175, 55, 0.25);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 99999999;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

#toastNotification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   Full-Screen Hard-Gate Mobile Verification Modal (#0A0A0A)
   ============================================================ */
.royal-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0A0A0A;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.royal-modal-overlay.visible {
  opacity: 1;
}

.royal-modal-card {
  position: relative;
  background: #0A0A0A;
  border: none;
  border-radius: 0;
  padding: 40px 22px;
  width: 100%;
  height: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: none;
  transform: scale(0.97);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.royal-modal-overlay.visible .royal-modal-card {
  transform: scale(1);
}

.modal-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.modal-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 16px;
}

.modal-app-logo {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background-color: #0A0A0A;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 5px 25px rgba(0,0,0,0.8);
}

.modal-logo-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 135%; height: 135%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: logoPulse 2.5s infinite alternate ease-in-out;
}

@keyframes logoPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.modal-app-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

.royal-modal-desc {
  font-size: 0.9rem;
  color: #a4a4b8;
  line-height: 1.5;
  max-width: 340px;
  margin: 0 auto 24px auto;
  padding: 0 8px;
}

.royal-perks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.royal-perk-item {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
}

.royal-input-group {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 340px;
  background: #111116;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 6px 14px;
  margin: 0 auto 6px auto;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.royal-input-group:focus-within {
  border-color: var(--gold-hover);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3), inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.country-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.flag-icon { font-size: 1.15rem; }
.prefix-code { font-size: 0.95rem; font-weight: 700; color: #e5e5ed; }

.input-divider {
  width: 1px; height: 26px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 12px;
}

.royal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  padding: 10px 0;
  outline: none;
  width: 100%;
}

.royal-input::placeholder {
  color: #5d5d70;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.input-error-msg {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 12px auto;
  min-height: 18px;
  font-size: 0.74rem;
  color: #f87171;
  font-weight: 600;
  text-align: left;
  padding: 0 4px;
}

.royal-cta-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fce08b 0%, #d4af37 50%, #b28a1c 100%);
  color: #0c0b06;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.4px;
  padding: 15px 18px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.15s ease, filter 0.2s ease;
}

.royal-cta-btn:hover { filter: brightness(1.05); }
.royal-cta-btn:active { transform: scale(0.98); }

.royal-cta-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(60deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: btnShimmer 3.2s infinite ease-in-out;
}

.cta-btn-loader {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: #0c0b06;
}

.mini-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: psSpin 0.7s linear infinite;
}

.royal-secure-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #7b7b91;
}

.royal-secure-footer .lock-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
  display: block;
  flex-shrink: 0;
}

.secure-text {
  font-size: 0.74rem;
  line-height: 1;
  margin-top: 2px;
}

/* ============================================================
   Bottom-Sheet Play Store Install / Open Gate
   ============================================================ */
.ps-gate-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999999;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ps-gate-overlay.visible {
  opacity: 1;
}

.ps-gate-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  padding: 12px 18px max(22px, env(safe-area-inset-bottom, 22px));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #202124;
}

.ps-gate-overlay.visible .ps-gate-sheet {
  transform: translateY(0);
}

.ps-sheet-handle {
  width: 38px;
  height: 4px;
  background: #dadce0;
  border-radius: 4px;
  margin: 2px auto 16px auto;
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.ps-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.ps-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ps-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202124;
  line-height: 1.2;
  margin-bottom: 3px;
}

.ps-dev-name {
  font-size: 0.84rem;
  color: #0b57d0;
  font-weight: 600;
  margin-bottom: 4px;
}

.ps-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: #01875f;
  font-weight: 600;
}

.ps-verified-svg {
  width: 14px;
  height: 14px;
}

.ps-tagline {
  font-size: 0.74rem;
  color: #5f6368;
  margin-top: 3px;
}

.ps-meta-matrix {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 4px;
  margin: 12px 0 14px 0;
  border-top: 1px solid #f1f3f4;
  border-bottom: 1px solid #f1f3f4;
}

.ps-matrix-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 50px;
}

.ps-matrix-top {
  font-size: 0.92rem;
  font-weight: 700;
  color: #202124;
  line-height: 1.2;
}

.ps-matrix-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #202124;
  border: 1.2px solid #5f6368;
  padding: 0px 4px;
  border-radius: 3px;
  line-height: 1.2;
}

.ps-matrix-bottom {
  font-size: 0.68rem;
  color: #5f6368;
  margin-top: 3px;
  white-space: nowrap;
  display: block !important;
}

.ps-matrix-divider {
  width: 1px;
  height: 22px;
  background: #e8eaed;
}

/* Play Store Action Area (Install / Open Buttons) */
.ps-action-area {
  width: 100%;
  margin: 4px 0 16px 0;
}

.ps-install-btn,
.ps-launch-btn {
  background: #0b57d0;
  color: #ffffff;
  border: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.2px;
  padding: 12px 20px;
  border-radius: 24px;
  width: 100%;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.ps-install-btn:active,
.ps-launch-btn:active {
  background: #0842a0;
  transform: scale(0.99);
}

/* Original Screenshots carousel */
.ps-screenshots-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.ps-screenshots-carousel::-webkit-scrollbar {
  display: none;
}

.ps-screenshots-carousel img {
  height: 210px;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Play Store Style Installing Progress Bar */
.ps-progress-box {
  display: none;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 2px 14px 2px;
  margin-bottom: 8px;
}

.ps-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ps-progress-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid #e8eaed;
  border-top: 2.5px solid #0b57d0;
  border-radius: 50%;
  animation: psSpin 0.9s linear infinite;
}

@keyframes psSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ps-track {
  width: 100%;
  height: 4px;
  background: #e8eaed;
  border-radius: 10px;
  overflow: hidden;
  margin: 2px 0;
}

.ps-fill {
  width: 0%;
  height: 100%;
  background: #0b57d0;
  border-radius: 10px;
  transition: width 0.25s linear;
}

.ps-percent {
  font-size: 0.85rem;
  color: #5f6368;
  font-weight: 600;
}

.ps-status {
  font-size: 0.88rem;
  color: #202124;
  font-weight: 500;
}

/* --- Mobile Responsive Tweaks --- */
@media (max-width: 480px) {
  header h1 { font-size: 1.15rem; }
  .shayari-text { font-size: 1.15rem; line-height: 2.1; }
  .icon-action-btn span.label { display: none; }
}

@media (max-width: 380px) {
  .feed-section-divider .divider-label {
    font-size: 0.74rem;
    padding: 4px 10px;
  }
}

@media (max-width: 360px) {
  .final-price { font-size: 1.45rem; }
  .buy-btn-pro { padding: 8px 12px; }
  .btn-main-text { font-size: 0.88rem; }
  .btn-sub-text { font-size: 0.62rem; }
}

/* ============================================================
   Infinite Scroll Loader Styles
   ============================================================ */
.loader-sentinel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 50px 0;
  width: 100%;
}

.loader-sentinel .mini-spinner {
  width: 24px;
  height: 24px;
  border-width: 3px;
  border-color: rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold-primary);
}