/* ═══════════════════════════════════════════════════════════
   BRING HER HOME — Premium Mobile-First Design System
   Dark, Urgent, Cinematic — Optimized for Adsterra Revenue
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-main: #0a0a0a;
    --bg-card: rgba(26, 0, 0, 0.6);
    --bg-card-solid: #1a0a0a;
    --text-primary: #f5f5f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-red: #dc2626;
    --accent-red-dark: #991b1b;
    --accent-amber: #fbbf24;
    --accent-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --hope-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --urgent-glow: 0 0 20px rgba(220, 38, 38, 0.3);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(10, 10, 10, 0.85);
    --font-sans: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.container-large { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ═══ ANIMATIONS ═══ */
@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 30px rgba(220, 38, 38, 0.6); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes beacon {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes dotPulse {
    0%, 100% { background: var(--accent-red); transform: scale(1); }
    50% { background: #ff4444; transform: scale(1.3); }
}

/* ═══ AD PLACEMENTS ═══ */
.ad-container {
    display: flex; justify-content: center; align-items: center;
    margin: 16px auto; text-align: center; overflow: hidden;
    min-height: 50px;
}
.ad-desktop { display: none; }
.ad-mobile { display: block; }
@media (min-width: 768px) {
    .ad-desktop { display: block; }
    .ad-mobile { display: none; }
}

.sidebar-ad-left, .sidebar-ad-right {
    position: fixed; top: 100px; display: none; z-index: 50;
}
.sidebar-ad-left { left: 10px; }
.sidebar-ad-right { right: 10px; }
@media (min-width: 1250px) {
    .sidebar-ad-left, .sidebar-ad-right { display: block; }
}

/* ═══ URGENT TOP BANNER ═══ */
.urgent-banner {
    background: var(--accent-red);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 1.5s ease-in-out infinite;
}

/* ═══ PROGRESS BAR ═══ */
.progress-container {
    width: 100%; height: 3px; background: rgba(255,255,255,0.05);
    position: fixed; top: 0; left: 0; z-index: 1000;
}
.progress-bar {
    height: 3px; background: var(--accent-gradient); width: 0%;
    transition: width 0.1s;
}

/* ═══ NAVBAR ═══ */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-content {
    display: flex; justify-content: space-between;
    align-items: center; height: 56px;
}
.logo {
    font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 6px;
}
.logo-icon { font-size: 1rem; }
.logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-urgent {
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: urgentPulse 2s ease-in-out infinite;
}

/* ═══ LIVE MISSING COUNTER ═══ */
.live-counter {
    background: linear-gradient(135deg, rgba(26,0,0,0.8) 0%, rgba(10,10,10,0.9) 100%);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin: 16px 0;
    animation: slideUp 0.6s ease-out;
}
.counter-label {
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.counter-digits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.counter-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
}
.counter-unit span {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.counter-unit small {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.counter-sep {
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: 300;
    margin-top: -8px;
}

/* ═══ HERO SECTION ═══ */
.hero {
    padding: 40px 0 50px; text-align: center;
    position: relative; overflow: hidden;
    background: radial-gradient(circle at top, rgba(26, 0, 0, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
}
.hero h1 {
    font-size: 2.5rem; font-weight: 800; line-height: 1.1;
    margin: 16px 0; letter-spacing: -1px;
}
.hero h1 .red { color: var(--accent-red); }
.hero p {
    font-size: 1rem; color: var(--text-secondary);
    max-width: 500px; margin: 0 auto 20px;
}
.hero-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glowPulse 2s ease-in-out infinite;
}

/* ═══ SECTION HEADINGS ═══ */
.section-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 30px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══ CASE HEADER ═══ */
.case-header {
    text-align: center; margin: 20px 0;
    animation: slideUp 0.6s ease-out;
}
.case-status {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    animation: glowPulse 2s ease-in-out infinite;
}
.case-title {
    font-size: 2.2rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 8px; letter-spacing: -0.5px;
}
.case-subtitle {
    color: var(--text-secondary); font-size: 0.95rem;
    font-family: var(--font-body);
}

/* ═══ PHOTO — Full width mobile ═══ */
.photo-section {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 16px -16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.photo-section img {
    width: 100%; height: auto;
    max-height: 450px;
    object-fit: cover; display: block;
}
.photo-overlay-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 40px 16px 16px;
}
.photo-badge-text {
    background: var(--accent-red);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: urgentPulse 2s ease-in-out infinite;
}

/* ═══ SHARE CTA BUTTON ═══ */
.share-cta {
    display: block;
    width: 100%;
    margin: 16px 0;
    padding: 16px 20px;
    background: var(--hope-gradient);
    color: #0a0a0a;
    text-align: center;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s;
    animation: beacon 3s ease-in-out infinite;
    border: none;
    cursor: pointer;
}
.share-cta:hover { transform: scale(1.02); filter: brightness(1.1); }
.share-cta-mid {
    background: var(--accent-gradient);
    color: white;
    font-size: 0.9rem;
}

/* ═══ SOCIAL PROOF COUNTER ═══ */
.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 16px 8px;
    margin: 16px 0;
}
.proof-item {
    flex: 1;
    text-align: center;
}
.proof-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    font-variant-numeric: tabular-nums;
    animation: countUp 0.5s ease-out;
}
.proof-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.proof-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* ═══ INFO GRID ═══ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 12px 0 20px;
}
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}
.info-card:hover { border-color: rgba(220,38,38,0.3); }
.info-label {
    color: var(--text-muted); font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 4px; font-weight: 600;
    font-family: var(--font-body);
}
.info-value {
    color: white; font-size: 1rem; font-weight: 700;
    word-break: break-word;
}
.info-value.highlight { color: var(--accent-red); }

/* ═══ PLEA BLOCK ═══ */
.plea-block {
    margin: 20px 0;
    padding: 24px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-red);
    font-size: 1.1rem;
    font-style: italic;
    color: white;
    border-radius: 0 12px 12px 0;
    font-family: var(--font-body);
    line-height: 1.7;
}
.plea-block .attribution {
    display: block; margin-top: 12px;
    font-size: 0.85rem; font-style: normal;
    color: var(--text-muted);
}

/* ═══ CASE DESCRIPTION ═══ */
.case-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: #d4d4d8;
}
.case-description p { margin-bottom: 20px; }

/* ═══ TIMELINE ═══ */
.timeline {
    margin: 12px 0 20px;
    padding-left: 20px;
    border-left: 2px solid var(--accent-red);
}
.timeline-item {
    position: relative;
    padding: 0 0 20px 18px;
}
.timeline-item::before {
    content: '';
    position: absolute; left: -7px; top: 4px;
    width: 10px; height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    border: 2px solid var(--bg-main);
}
.timeline-date {
    color: var(--accent-red);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 3px;
    font-family: var(--font-body);
}
.timeline-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* ═══ SMARTLINK BUTTON ═══ */
.smartlink-btn {
    display: block;
    width: 100%;
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--accent-gradient);
    color: white;
    text-align: center;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--urgent-glow);
    transition: all 0.3s;
    animation: glowPulse 2s ease-in-out infinite;
}
.smartlink-btn:hover { transform: scale(1.02); }
.smartlink-final {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid var(--glass-border);
    box-shadow: none;
    animation: none;
}
.smartlink-final:hover { border-color: var(--accent-red); }

/* ═══ TIP SECTION ═══ */
.tip-section {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}
.tip-section h3 {
    font-size: 1.2rem; margin-bottom: 10px;
    color: var(--accent-amber);
}
.tip-section p {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.tip-number {
    font-size: 1.6rem; font-weight: 800;
    color: var(--accent-red);
    letter-spacing: 2px;
}

/* ═══ RELATED CASES — CHAKRAVYUH LOOP ═══ */
.related-section {
    margin: 30px 0;
}
.related-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}
.related-card:hover {
    border-color: rgba(220,38,38,0.3);
    transform: translateY(-2px);
}
.related-card-img {
    width: 100%; height: 120px;
    object-fit: cover;
}
.related-card-body {
    padding: 10px;
}
.related-card-name {
    font-size: 0.85rem; font-weight: 700;
    color: white; margin-bottom: 2px;
}
.related-card-meta {
    font-size: 0.7rem; color: var(--text-muted);
    font-family: var(--font-body);
}
.related-card-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 6px;
}

/* ═══ NATIVE AD SECTION ═══ */
.native-ad-section {
    margin: 20px 0;
}
.native-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

/* ═══ SHARE SECTION ═══ */
.share-section {
    margin: 20px 0;
    text-align: center;
}
.share-heading {
    font-size: 1rem; font-weight: 700;
    margin-bottom: 12px;
}
.share-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.share-btn {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1d1d1f; border: 1px solid #333; }
.share-btn.whatsapp { background: #25d366; color: #0a0a0a; }
.share-btn.copy { background: var(--bg-card); border: 1px solid var(--glass-border); }
.share-btn:active { transform: scale(0.95); }

/* ═══ CASE CARDS (Homepage) ═══ */
.cases-section { padding: 20px 0; }
.section-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 16px;
}
.section-title {
    font-size: 1.2rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.section-title .dot {
    width: 8px; height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}
.case-count { color: var(--text-muted); font-size: 0.8rem; }

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: row;
    position: relative;
}
.story-card:hover {
    border-color: rgba(220,38,38,0.3);
    box-shadow: var(--urgent-glow);
}
.card-img-wrapper {
    width: 130px; min-height: 150px;
    overflow: hidden; position: relative;
    flex-shrink: 0;
}
.card-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 50%, rgba(10,10,10,0.3) 100%);
}
.card-badge {
    position: absolute; top: 8px; left: 8px;
    background: var(--accent-red);
    color: white; padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.55rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: urgentPulse 2s ease-in-out infinite;
}
.card-badge.found { background: #16a34a; animation: none; }
.card-content {
    padding: 14px;
    display: flex; flex-direction: column;
    justify-content: center; flex-grow: 1;
}
.card-name {
    font-size: 1.05rem; font-weight: 700;
    margin-bottom: 2px; color: white;
}
.card-meta {
    color: var(--text-muted); font-size: 0.75rem;
    margin-bottom: 8px; font-family: var(--font-body);
}
.card-content p {
    color: var(--text-secondary); font-size: 0.8rem;
    line-height: 1.4; font-family: var(--font-body);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.card-details { display: none; }
.read-more-btn {
    margin-top: 8px;
    display: inline-flex; align-items: center;
    color: var(--accent-red); font-weight: 600;
    font-size: 0.8rem;
}
.read-more-btn svg {
    width: 14px; height: 14px;
    margin-left: 4px; transition: transform 0.2s;
}
.story-card:hover .read-more-btn svg { transform: translateX(4px); }

/* ═══ REACTION BAR ═══ */
.reaction-bar {
    position: fixed; bottom: 20px; left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 40px;
    display: flex; gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 99;
}
.react-btn {
    background: none; border: none;
    font-size: 1.5rem; cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 4px;
}
.react-btn:hover { transform: scale(1.3); }
.react-btn:active { transform: scale(0.9); }

/* ═══ FOOTER ═══ */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 30px 0 80px;
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.footer .disclaimer {
    font-size: 0.7rem; color: var(--text-muted);
    max-width: 500px; margin: 10px auto 0;
    line-height: 1.4;
}

/* ═══ TABLET ═══ */
@media (min-width: 640px) {
    .story-grid { grid-template-columns: repeat(2, 1fr); }
    .story-card { flex-direction: column; }
    .card-img-wrapper { width: 100%; height: 180px; }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .photo-section { margin: 16px 0; border-radius: 16px; }
}

/* ═══ DESKTOP ═══ */
@media (min-width: 1024px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 3.5rem; }
    .case-title { font-size: 3rem; }
    .story-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: repeat(4, 1fr); }
    .counter-unit span { font-size: 3rem; }
    .info-grid { grid-template-columns: repeat(4, 1fr); }
    .share-row { grid-template-columns: repeat(4, 1fr); }
    .nav-content { height: 70px; }
    .logo { font-size: 1.8rem; }
}
