/* App Manager Ultra Pro - Frontend CSS */
/* Card styles are inline in shortcode for reliability */
/* This file handles single app page styles */

/* ── Single App Page ── */
.am-single-wrap { max-width: 480px; margin: 0 auto; padding: 16px; font-family: 'Sarala', sans-serif; }
.am-app-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.am-app-header img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.am-app-title { font-size: 1.3rem; font-weight: 800; color: #111; margin: 0 !important; }
.am-apk-link { font-size: 0.75rem; color: #2563eb; text-decoration: none; }

.am-stats-row { display: flex; justify-content: space-around; background: #f8f8f8; border-radius: 10px; padding: 10px; margin-bottom: 14px; gap: 6px; }
.am-stat { text-align: center; }
.am-stat-val { font-size: 1rem; font-weight: 800; color: #111; display: block; }
.am-stat-label { font-size: 0.65rem; color: #666; }

.am-dl-main { display: block; width: 100%; background: linear-gradient(135deg, #16a34a, #15803d); color: #fff !important; text-align: center; font-size: 1.1rem; font-weight: 700; padding: 14px; border-radius: 10px; text-decoration: none !important; margin-bottom: 14px; box-shadow: 0 4px 12px rgba(22,163,74,0.4); }
.am-dl-main:hover { background: linear-gradient(135deg, #15803d, #166534); }

.am-tg-banner { border: 2px solid #2563eb; border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; animation: am-blink-border 1.5s infinite; }
@keyframes am-blink-border { 0%,100%{border-color:#2563eb;} 50%{border-color:#93c5fd;} }
.am-tg-text { font-weight: 700; font-size: 0.9rem; color: #1e3a8a; }
.am-tg-btn { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff !important; padding: 8px 16px; border-radius: 8px; text-decoration: none !important; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }

.am-section { margin-bottom: 16px; }
.am-section-title { font-size: 1rem; font-weight: 800; color: #111; margin-bottom: 8px !important; border-left: 4px solid #16a34a; padding-left: 8px; }
.am-niche-content { font-size: 0.88rem; color: #444; line-height: 1.6 !important; }
.am-vlog-wrap { border-radius: 10px; overflow: hidden; }
.am-vlog-wrap iframe { width: 100%; border-radius: 10px; }

.am-faq { margin-bottom: 16px; }
.am-faq-item { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 6px; overflow: hidden; }
.am-faq-q { width: 100%; background: #f9fafb; border: none; padding: 12px 14px; text-align: left; font-weight: 700; font-size: 0.88rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.am-faq-a { display: none; padding: 10px 14px; font-size: 0.85rem; color: #444; border-top: 1px solid #e5e7eb; }
.am-faq-item.open .am-faq-a { display: block; }
.am-faq-item.open .am-faq-arrow { transform: rotate(180deg); }
.am-faq-arrow { transition: transform 0.2s; }

.am-related-title { font-size: 1rem; font-weight: 800; margin-bottom: 10px !important; }
.am-related-grid { display: flex; flex-direction: column; gap: 8px; }

.am-disclaimer-box { background: #fef9c3; border: 1px solid #fde047; border-radius: 8px; padding: 10px 12px; font-size: 0.78rem; color: #713f12; margin-bottom: 14px; }
.am-marquee-wrap { background: #111; color: #facc15; padding: 6px 0; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.am-marquee-wrap marquee { font-size: 0.8rem; font-weight: 600; }

/* Nav bar */
.am-nav-bar { display: flex !important; flex-direction: row !important; justify-content: center !important; align-items: center; gap: 8px; background: #1e3a8a; padding: 8px 12px; width: 100%; flex-wrap: wrap; }
.am-nav-link { color: #fff !important; text-decoration: none !important; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.12); white-space: nowrap; }
.am-nav-link:hover { background: rgba(255,255,255,0.25); }
.am-nav-link .material-symbols-outlined { font-size: 16px !important; }
