
/* --- Theme Variables --- */
:root {
    /* Color system - Light (Modern Royal Sunset: Violet/Amber) */
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --primary-rgb: 139, 92, 246;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-rgb: 245, 158, 11;
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glass: rgba(255, 255, 255, 0.5);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --shadow-color: rgba(15, 23, 42, 0.04);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
    --grad-glow: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.1) 100%);
    --grad-hero: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);

    /* UI constants */
    --shadow-sm: 0 2px 4px var(--shadow-color);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    /* Color system - Cosmic Deep Dark Mode */
    --bg-base: #0a0915;
    --bg-surface: #121124;
    --bg-glass: rgba(18, 17, 36, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.04);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #475569;
    --shadow-color: rgba(0, 0, 0, 0.5);

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #0a0915 0%, #121124 100%);
    --grad-glow: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--accent-rgb), 0.2) 100%);

    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.6);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'NTR', 'Inter', 'Noto Sans Telugu', sans-serif;
    font-size: 1.125rem; /* 18px */
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.9;
    overflow-x: hidden;
    letter-spacing: 0.1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ramaraja', 'Outfit', 'Noto Sans Telugu', serif;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.45;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Sticky Header / Floating Navbar --- */
nav {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 20px;
    z-index: 1000;
    border: 1px solid var(--border-glass);
    padding: 12px 32px;
    max-width: 1200px;
    margin: 0 auto 20px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    font-family: 'Outfit', sans-serif;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover:after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-surface);
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    top: 100%;
    left: 0;
    overflow-y: auto;
    max-height: 75vh;
    padding: 8px 0;
    flex-direction: column;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 10px 18px;
    text-decoration: none;
    display: block;
    width: 100%;
    font-size: 0.9rem;
    white-space: normal;
    transition: var(--transition-smooth);
}

.dropdown-content a:after {
    display: none;
}

.dropdown-content a:hover {
    background-color: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    background-color: var(--bg-surface);
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.05);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.login-btn {
    background: var(--grad-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    font-weight: 700 !important;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
}

/* --- Keyframes --- */
@keyframes float-1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 50px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(var(--accent-rgb), 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.play-pulse {
    animation: pulse-ring 2s infinite;
}

/* --- Redesigned Hero --- */
.hero {
    padding: 90px 0 60px;
    text-align: center;
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-glow-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-1 15s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-2 18s ease-in-out infinite;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--text-main) 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 450;
}

/* --- Dynamic Category Hero --- */
.category-hero {
    padding: 70px 0 45px;
    text-align: center;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.category-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

/* --- Grid & Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Premium Card Design */
.post-card {
    background: var(--bg-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    position: relative;
    z-index: 1;
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.post-card:hover::before {
    opacity: 1;
}

.post-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--border-color);
}

/* Float category on top of image */
.post-card .post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 17, 21, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.post-card:hover .post-category {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-image {
    transform: scale(1.06);
}

.post-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.45;
    font-weight: 700;
    font-family: 'Outfit', 'Noto Sans Telugu', sans-serif;
    transition: color 0.3s ease;
}

.post-title a {
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card:hover .post-title {
    color: var(--primary-light);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.post-meta {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    color: var(--primary);
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════
     Featured & Sidebar Layout Specific Styles
   ═══════════════════════════════════════════════ */
.featured-news-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .featured-news-container {
        grid-template-columns: 1.7fr 1fr;
        gap: 40px;
    }
}

/* Huge Featured Card */
.featured-main-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.featured-main-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.featured-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.featured-main-card:hover::before {
    opacity: 1;
}

.featured-image-wrap {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
    background-color: var(--border-color);
}

.featured-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-pulse {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: featuredPulse 1.8s infinite;
}

@keyframes featuredPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-main-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.featured-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.featured-title {
    font-size: 1.75rem;
    line-height: 1.4;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
    font-family: 'Outfit', 'Noto Sans Telugu', sans-serif;
    transition: color 0.3s ease;
}

.featured-title a {
    color: inherit;
}

.featured-main-card:hover .featured-title {
    color: var(--primary-light);
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-meta svg {
    color: var(--primary);
}

.featured-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
    transition: var(--transition-smooth);
}

.featured-read-btn svg {
    transition: transform 0.3s ease;
}

.featured-main-card:hover .featured-read-btn {
    color: var(--accent);
}

.featured-main-card:hover .featured-read-btn svg {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .featured-main-card {
        flex-direction: row;
    }
    .featured-image-wrap {
        width: 50%;
        height: 100%;
        min-height: 450px;
    }
    .featured-content {
        width: 50%;
        padding: 40px;
    }
}

/* Sidebar List of Trending Stories */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.sidebar-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.sidebar-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
}

.sidebar-badge {
    font-size: 0.7rem;
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.mini-post-card {
    display: flex;
    gap: 16px;
    background: var(--bg-surface);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.mini-post-card:hover {
    transform: translateX(4px);
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.mini-thumb-wrap {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--border-color);
}

.mini-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-post-card:hover .mini-thumb {
    transform: scale(1.08);
}

.mini-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
}

.mini-category {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.mini-title {
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: 'Outfit', 'Noto Sans Telugu', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-title a {
    color: inherit;
}

.mini-post-card:hover .mini-title {
    color: var(--primary-light);
}

.mini-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mini-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Premium Single Post Layout --- */
.post-header {
    max-width: 800px;
    margin: 60px auto 40px;
    text-align: center;
}

.post-header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.post-header-meta .post-category {
    margin-bottom: 0;
}

.post-main-title {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.25;
}

.post-featured-img-wrapper {
    max-width: 900px;
    margin: 0 auto 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 480px;
}

.post-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.post-body-content {
    font-size: 1.2rem;
    line-height: 2.0;
    color: var(--text-main);
}

.post-body-content p {
    margin-bottom: 28px;
}

.post-body-content h2, .post-body-content h3 {
    margin: 40px 0 20px;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    display: inline-block;
}

/* Floating Share Bar */
.share-bar {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.share-tw { background-color: #1DA1F2; }
.share-fb { background-color: #1877F2; }
.share-wa { background-color: #25D366; }

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 0 60px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
}

.page-btn.active {
    background: var(--grad-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(255, 94, 58, 0.4);
}

.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 94, 58, 0.6);
}

/* --- Footer Overhaul --- */
footer {
    background: #0B0E17;
    color: #94A3B8;
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-section p, .footer-section li {
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    color: #94A3B8;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748B;
    font-size: 0.9rem;
}

/* --- Alert Messages --- */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(var(--accent-rgb), 0.1);
    color: #f59e0b;
    border-color: rgba(var(--accent-rgb), 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Responsive Layout --- */
@media (max-width: 900px) {
    .post-body-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-featured-img-wrapper {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .post-main-title {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
        width: 100%;
        background-color: transparent;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }
}

/* --- Admin Form Controls --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 650;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0 40px;
    background: var(--bg-base);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h1, .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--text-main) 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.text-center {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, var(--primary-light), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.glow-card:hover::before {
    opacity: 0.1;
}

.glow-card * {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   AI News Section — Premium Redesign
   ========================================================================== */
.ai-news-section {
    max-width: 960px;
    margin: 36px auto;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

/* --- Header --- */
.ain-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.ain-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ain-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 999px;
}

.ain-pulse {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: ainPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ainPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50%       { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.ain-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin: 0;
    background: linear-gradient(135deg, var(--text-main) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ain-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ain-gemini-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.12), rgba(139,92,246,0.12));
    border: 1px solid rgba(var(--primary-rgb),0.25);
    color: var(--primary);
}

.ain-nav-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ain-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.ain-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.ain-counter {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 40px;
    text-align: center;
}

/* --- Progress Bar --- */
.ain-progress-track {
    width: 100%;
    height: 3px;
    background: var(--border-color);
    border-radius: 999px;
    margin-bottom: 18px;
    overflow: hidden;
}

.ain-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
    transition: width 0.5s ease;
    width: 10%;
}

/* --- Viewport & Track (Slide Mechanism) --- */
.ain-viewport {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.ain-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* --- Card --- */
.ain-card {
    flex: 0 0 100%;
    padding: 0;
}

.ain-card-inner {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 28px 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
}

.ain-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.025) 0%, rgba(var(--accent-rgb),0.025) 100%);
    pointer-events: none;
}

.ain-card-active .ain-card-inner {
    box-shadow: var(--shadow-lg);
    transform: none;
}

.ai-news-section:hover .ain-card-inner {
    box-shadow: 0 18px 45px rgba(9, 9, 11, 0.09);
}

/* --- Icon --- */
.ain-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 1.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ain-emoji {
    font-size: 2rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.ain-icon-glow {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(16px);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Content --- */
.ain-content {
    flex: 1;
    min-width: 0;
}

.ain-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ain-topic-num {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid;
}

.ain-read-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
}

.ain-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.45;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    font-family: 'Outfit', 'Noto Sans Telugu', sans-serif;
}

.ain-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 10px 0 0;
}

.ain-summary-list {
    margin: 12px 0 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ain-summary-list li {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
    font-family: 'NTR', 'Noto Sans Telugu', sans-serif;
}

.ain-summary-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 0.75rem;
    opacity: 0.9;
}

/* --- Accent stripe --- */
.ain-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 20px 20px 0;
    opacity: 0.7;
}

/* --- Dot Indicators --- */
.ain-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ain-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
}

.ain-dot-active {
    background: var(--primary);
    width: 26px;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.4);
}

.ain-dot:hover:not(.ain-dot-active) {
    background: var(--text-light);
    transform: scale(1.2);
}

/* --- Dark Mode --- */
[data-theme="dark"] .ain-card-inner {
    background: rgba(24, 24, 27, 0.9);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .ain-arrow {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ain-card-inner::before {
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.05) 0%, rgba(var(--accent-rgb),0.05) 100%);
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .ain-header {
        gap: 8px;
    }
    .ain-section-title {
        font-size: 1.1rem;
    }
    .ain-gemini-badge {
        display: none;
    }
    .ain-card-inner {
        padding: 20px 18px 20px 16px;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }
    .ain-icon-wrap {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
    .ain-emoji {
        font-size: 1.6rem;
    }
    .ain-title {
        font-size: 1rem;
    }
    .ain-desc {
        font-size: 0.88rem;
    }
    .ain-summary-list li {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .ain-accent {
        top: 0; right: 0;
        width: 100%; height: 4px;
        border-radius: 20px 20px 0 0;
    }
    .ain-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   ATW Telugu Responsive Design & Custom Page Layouts
   ========================================================================== */

/* --- Global Responsive Tweaks --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    body {
        font-size: 1rem;
    }
}

/* --- Navigation & Menu Customizations --- */
@media (max-width: 768px) {
    nav {
        padding: 10px 20px;
        top: 10px;
        margin-bottom: 10px;
        border-radius: 30px;
    }
    .logo {
        font-size: 1.4rem;
        letter-spacing: -1px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-glass);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 1.05rem;
    }
    .dropdown {
        width: 100%;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 0;
        display: none;
        width: 100%;
        background-color: rgba(var(--primary-rgb), 0.05);
        border-radius: var(--radius-sm);
        margin-top: 8px;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .dropdown.active .dropbtn span {
        transform: rotate(180deg);
        display: inline-block;
    }
    
    /* Hamburger Menu Animation */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        position: relative;
    }
    .hamburger span {
        position: absolute;
        width: 20px;
        height: 2px;
        background: var(--text-main);
        transition: var(--transition-smooth);
    }
    .hamburger span:nth-child(1) {
        transform: translateY(-6px);
    }
    .hamburger span:nth-child(2) {
        transform: scaleX(1);
    }
    .hamburger span:nth-child(3) {
        transform: translateY(6px);
    }
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        transform: scaleX(0);
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg);
    }
}

/* --- Media Gallery (`gallery.php`) --- */
.gallery-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border-color);
}
.gallery-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.gallery-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 40px 0;
}
.filter-pill {
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.filter-pill:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}
.filter-pill.active {
    background: var(--grad-primary);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.count-badge {
    background: rgba(128, 128, 128, 0.1);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}
.filter-pill.active .count-badge {
    background: rgba(255, 255, 255, 0.2);
}
.search-wrap {
    margin-left: auto;
}
@media (max-width: 900px) {
    .search-wrap {
        margin: 10px 0 0 0;
        width: 100%;
    }
    .search-wrap form, .search-wrap input {
        width: 100%;
    }
}
.search-wrap input {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    min-width: 250px;
}
.search-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.masonry {
    column-count: 3;
    column-gap: 24px;
    margin-bottom: 60px;
}
@media (max-width: 900px) {
    .masonry {
        column-count: 2;
        column-gap: 16px;
    }
}
@media (max-width: 480px) {
    .masonry {
        column-count: 1;
    }
}
.m-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    break-inside: avoid;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}
.m-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.m-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}
.m-card:hover img {
    transform: scale(1.04);
}
.m-card-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 5;
}
.m-card:hover .m-card-zoom {
    opacity: 1;
}
.m-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition-smooth);
    transform: translateY(10px);
}
.m-card:hover .m-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.m-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.m-card-cat {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.empty-gallery {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}
.empty-gallery .emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* --- Video Gallery (`videos.php`) --- */
.vid-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border-color);
}
.vid-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.vid-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.featured-section {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    transition: var(--transition-smooth);
}
.featured-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
}
@media (max-width: 900px) {
    .featured-inner {
        grid-template-columns: 1fr;
    }
}
.featured-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
}
.featured-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.featured-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 600px) {
    .featured-info {
        padding: 24px;
    }
}
.feat-badge {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #111;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(253, 160, 133, 0.2);
}
.feat-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--text-main);
}
.feat-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.filter-bar form {
    display: flex;
    gap: 8px;
    flex-grow: 1;
    max-width: 450px;
}
@media (max-width: 900px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-bar form {
        max-width: 100%;
    }
}
.filter-search {
    flex-grow: 1;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}
.filter-search:focus {
    border-color: var(--primary);
}
.filter-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.filter-btn:hover {
    background: var(--primary-dark);
}
.cat-chip {
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    text-align: center;
}
.cat-chip:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.cat-chip.active {
    background: var(--grad-primary);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.vid-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.vid-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.vid-thumb-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: #000;
}
.vid-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.vid-card:hover .vid-thumb {
    transform: scale(1.06);
}
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition-smooth);
}
.vid-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
}
.play-btn {
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-rgb), 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.vid-card:hover .play-btn {
    background: var(--primary);
    transform: scale(1.1);
}
.vid-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.vid-cat {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.vid-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-main);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vid-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}

/* --- Web Stories (`stories.php`) --- */
.stories-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border-color);
}
.stories-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.stories-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.stories-section {
    padding: 40px 0 20px;
    overflow: hidden;
}
.stories-scroll-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.stories-scroll-row::-webkit-scrollbar {
    height: 6px;
}
.stories-scroll-row::-webkit-scrollbar-track {
    background: transparent;
}
.stories-scroll-row::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
.stories-scroll-row::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}
.story-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    min-width: 90px;
    max-width: 90px;
    scroll-snap-align: start;
    transition: var(--transition-smooth);
}
.story-bubble:hover {
    transform: scale(1.05);
}
.story-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.story-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-surface);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
}
.story-ring-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-emoji {
    font-size: 2.2rem;
}
.story-bubble-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 8px;
    line-height: 1.3;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stories-grid-section {
    padding: 40px 0 60px;
}
.section-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.section-title-row h2 {
    font-size: 1.8rem;
    font-weight: 800;
}
.section-divider {
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
}
.story-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}
@media (max-width: 480px) {
    .story-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
}
.story-card {
    aspect-ratio: 9/16;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.story-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.story-card:hover .story-card-bg {
    transform: scale(1.05);
}
.story-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 1;
}
.story-card-slides-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.story-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    color: white;
}
.story-card-cat {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffeb3b;
    margin-bottom: 6px;
    display: inline-block;
}
.story-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.story-card-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}
.stories-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}
.stories-empty .emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* --- Live TV (`live-tv.php`) --- */
.live-tv-container {
    padding-top: 40px;
    padding-bottom: 60px;
}
.player-layout {
    display: grid;
    grid-template-columns: 2.8fr 1fr;
    gap: 32px;
}
@media (max-width: 900px) {
    .player-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.tv-details-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}
.tv-details-card h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    margin-top: 8px;
    color: var(--text-main);
}
.tv-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% { transform: scale(0.98); opacity: 0.85; }
    50% { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(0.98); opacity: 0.85; }
}
.channels-sidebar {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    max-height: 600px;
    overflow-y: auto;
}
.sidebar-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}
.channel-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    background: transparent;
    border: 1px solid transparent;
    margin-bottom: 8px;
    text-decoration: none;
}
.channel-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-1px);
}
.channel-item.active {
    background: var(--grad-glow);
    border-color: var(--primary-light);
}
.channel-logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.channel-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}
.channel-item.active .channel-name {
    color: var(--primary);
    font-weight: 700;
}

/* --- Static Content Pages (About, Terms, Privacy, etc.) --- */
.page-hero {
    padding: 70px 0 50px;
    text-align: center;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}
.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--text-main);
}
.page-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}
.content-section {
    padding: 50px 0;
}
.card-panel, .privacy-card, .terms-card, .disc-card, .cookies-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
@media (max-width: 600px) {
    .card-panel, .privacy-card, .terms-card, .disc-card, .cookies-card {
        padding: 24px;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
}
.card-panel h2, .privacy-card h2, .terms-card h2, .disc-card h2, .cookies-card h2 {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--primary);
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 8px;
}
.card-panel h2:first-child, .privacy-card h2:first-child, .terms-card h2:first-child, .disc-card h2:first-child, .cookies-card h2:first-child {
    margin-top: 0;
}
.card-panel p, .privacy-card p, .terms-card p, .disc-card p, .cookies-card p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-muted);
}
.card-panel ul, .privacy-card ul, .terms-card ul, .disc-card ul, .cookies-card ul {
    margin-left: 24px;
    margin-bottom: 24px;
}
.card-panel li, .privacy-card li, .terms-card li, .disc-card li, .cookies-card li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-muted);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* --- Homepage Web Stories Section --- */
.home-stories-section {
    padding: 60px 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.stories-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--text-main) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.stories-icon {
    font-size: 2.2rem;
    line-height: 1;
    -webkit-text-fill-color: initial;
}

.stories-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.stories-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.stories-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.stories-slider-track .story-card {
    flex: 0 0 calc((100% - (20px * 4)) / 5);
    min-width: 180px;
}

@media (max-width: 1024px) {
    .stories-slider-track .story-card {
        flex: 0 0 calc((100% - (20px * 3)) / 4);
    }
}

@media (max-width: 768px) {
    .stories-slider-track .story-card {
        flex: 0 0 calc((100% - (20px * 2)) / 3);
    }
}

@media (max-width: 480px) {
    .stories-slider-track .story-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: 140px;
    }
}

.story-card-bg-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.stories-slider-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.stories-slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
    transform: scale(1.1);
}

.stories-slider-btn.prev {
    left: -22px;
}

.stories-slider-btn.next {
    right: -22px;
}

@media (max-width: 768px) {
    .stories-slider-btn {
        display: none;
    }
    .stories-slider-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .stories-slider-track .story-card {
        scroll-snap-align: start;
    }
}

.view-all-stories-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-light);
    border: 1.5px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.view-all-stories-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
}

.view-all-stories-btn svg {
    transition: transform 0.3s ease;
}

.view-all-stories-btn:hover svg {
    transform: translateX(4px);
}

/* --- Web Story Fullscreen Viewer Modal --- */
.story-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.story-viewer-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 850px;
    background: #111;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 12px;
}
@media (max-width: 480px) {
    .story-viewer-container {
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}
.story-viewer-progress-container {
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
    z-index: 10002;
}
.story-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}
.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.1s linear;
}
.story-viewer-header {
    position: absolute;
    top: 25px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10002;
}
.story-viewer-category {
    background: var(--primary, #ffd700);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
}
.story-viewer-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.story-viewer-slide-area {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 24px 80px 24px;
    transition: background 0.3s ease;
}
.story-nav-tap {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 45%;
    z-index: 10001;
    cursor: pointer;
}
.story-nav-tap.left {
    left: 0;
}
.story-nav-tap.right {
    right: 0;
}
.story-viewer-content {
    position: relative;
    z-index: 10002;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
.story-viewer-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}
.story-viewer-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}
.story-viewer-cta {
    display: inline-block;
    background: #fff;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.story-viewer-cta:hover {
    transform: scale(1.05);
}