@import url('https://googleapis.com');

:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --primary: #1e3a8a;
    --primary-light: #eff6ff;
    --accent: #d97706;
    --live-red: #dc2626;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans Tamil', sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.7; }
header h1 { font-family: 'Noto Sans Tamil', sans-serif; font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: 0.6rem; font-weight: 700; }

header p { color: #cbd5e1;
    max-height: 350px;
    max-width: 900px;
    margin: 20px auto 50px auto; }

.container { max-width: 1240px; height:auto; margin: -2rem auto 4rem; padding: 0 1.25rem; }
.card { background: var(--bg-card); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 2rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--primary-light); padding-bottom: 0.75rem; margin-bottom: 1.5rem; }
.section-header h2 { font-size: 1.35rem; color: var(--primary); }

.live-card { border-top: 5px solid var(--live-red); }
.live-badge { background: var(--live-red); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }

.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #000; }
.video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.main-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; }
.prayer-item { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 1.15rem; border-radius: 10px; margin-bottom: 1rem; }
.prayer-title { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.prayer-meta { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin: 0.25rem 0; }
.prayer-focus { font-size: 0.95rem; margin-bottom: 0.75rem; }

.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; }
.btn:hover { background: #172554; }

.ann-item { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.ann-item:last-child { border-bottom: none; }
.ann-date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-top: 0.4rem; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.video-box h3 { font-size: 1rem; margin-top: 0.75rem; }

.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.poster-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; background: #0f172a; aspect-ratio: 4 / 5; }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.poster-card:hover img { transform: scale(1.06); }
.poster-overlay { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(15, 23, 42, 0.92), transparent); color: #fff; padding: 2rem 1rem 1rem; }
.tag { background: var(--accent); font-size: 0.7rem; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 4px; font-weight: 700; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.9); z-index: 1000; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

@media (max-width: 1024px) { .main-grid { grid-template-columns: 1fr; } }
/* இன்றைய வாக்குத்தத்த வசனம் பேனர் */
.verse-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 6px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}
.verse-label {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.verse-banner blockquote {
    font-size: 1.15rem;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 0.4rem;
}
.verse-banner cite {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

/* சபை விவரங்கள் Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 1.25rem 1.5rem;
    margin-top: 3rem;
}
.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
}
footer h3 { color: #f8fafc; margin-bottom: 0.75rem; font-size: 1.15rem; border-left: 3px solid var(--accent); padding-left: 0.6rem; }
.footer-bottom { text-align: center; padding-top: 1.25rem; font-size: 0.85rem; color: #64748b; }
