/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #502c2c;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
    background: linear-gradient(135deg, #8b0000 0%, #a00000 50%, #8b0000 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.site-title {
    font-size: 3rem;
    font-weight: bold;
    color: rgb(255, 0, 0);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.site-title-link {
    color: rgb(231, 208, 0);
    text-decoration: none;
}

.site-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ========== NAVIGATION ========== */
.nav {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 3px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #8b0000, #a00000);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-text {
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #495057;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    min-height: 70vh;
    padding: 40px 0;
}

/* ========== HERO SECTION ========== */
.hero-section {
    margin: 40px 0 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.hero-content {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 50px 40px 40px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* ========== SECTIONS ========== */
.posts-section,
.featured-section {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ff7c7c;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    font-size: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #8b0000, #a00000);
    border-radius: 2px;
}

/* ========== POSTS FILTER ========== */
.posts-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #ff0000;
    background: transparent;
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff0000;
    color: white;
    transform: translateY(-2px);
}

/* ========== POSTS GRID ========== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* ========== POST CARDS ========== */
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f1f3f4;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
}

.card .meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #502c2c;
    line-height: 1.4;
    font-weight: 700;
}

.card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
}

.card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b0000, #a00000);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card .read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

/* ========== CATEGORY PAGE ========== */
.category-header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    margin-bottom: 50px;
}

.category-title {
    font-size: 2.5rem;
    color: #502c2c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-description {
    font-size: 1.2rem;
    color: #8d7f7f;
    margin-bottom: 20px;
}

.category-stats {
    color: #574949;
    font-weight: 600;
}

/* ========== SINGLE POST ========== */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #8b0000;
    text-decoration: none;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #7d6c6c;
}

.breadcrumb-current {
    color: #7d6c6c;
}

.dark-theme .post-article {
    background: #181818;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
    margin: 40px auto;
    border: 1px solid #222;
    max-width: 900px;
}


.post-article h1 {
    font-size: 3rem;
    color: #502c2c;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 800;
}
.dark-theme .post-article h1 {
    color: #ffffff;
}

.post-meta {
    color: #8d7f7f;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f3f4;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #502c2c;
}
.dark-theme .post-content {
    color: #e5e5e5;
}

.post-content h2 {
    font-size: 2rem;
    color: #8b0000;
    margin: 40px 0 20px 0;
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.5rem;
    color: #502c2c;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 20px;
}
.dark-theme .post-content img {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    margin: 35px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.post-content iframe {
    max-width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    background: #f8f9fa;
    border-left: 5px solid #8b0000;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

/* ========== SHARE SECTION ========== */
.share-section {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
}

.share-title {
    font-size: 1.5rem;
    color: #502c2c;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #4267B2);
    color: white;
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: white;
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d95e8);
    color: white;
}

.share-btn.copy {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

/* ========== RELATED POSTS ========== */
.related-posts-section {
    margin: 60px 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #502c2c, #5e3434);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-section p {
    line-height: 1.6;
    color: #a69595;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #a69595;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ecf0f1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    color: #a69595;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #a69595;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #5e3434;
    color: #a69595;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ========== LOADING & EMPTY STATES ========== */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #8d7f7f;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8b0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading p {
    font-size: 1.2rem;
    font-weight: 500;
}

.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 40px 0;
}

.no-posts-content h3 {
    font-size: 2rem;
    color: #3f2929;
    margin-bottom: 20px;
}

.no-posts-content p {
    font-size: 1.1rem;
    color: #a69595;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #8b0000, #a00000);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #db3434, #b92929);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(219, 52, 52, 0.3);
}

/* ========== LOADING OVERLAY ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
}

.loading-overlay .loading-spinner {
    border-color: #f3f3f3;
    border-top-color: #8b0000;
}

.loading-overlay p {
    margin-top: 20px;
    font-size: 1.2rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .featured-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2.2rem;
    }

    .site-tagline {
        font-size: 1rem;
    }

    .nav-wrapper {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .nav-wrapper.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .post-article {
        padding: 30px 20px;
    }

    .post-article h1 {
        font-size: 2.2rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 200px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 30px 0;
    }

    .site-title {
        font-size: 1.8rem;
    }

    .nav {
        padding: 15px 0;
    }

    .hero-content {
        height: 300px;
    }

    .hero-overlay {
        padding: 30px 20px 25px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-content {
        padding: 20px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .post-article {
        padding: 20px 15px;
    }

    .post-article h1 {
        font-size: 1.8rem;
    }

    .post-content {
        font-size: 1.1rem;
    }

    .share-section {
        padding: 30px 20px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .header,
    .nav,
    .share-section,
    .related-posts-section,
    .footer {
        display: none;
    }

    .post-article {
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .post-content img,
    .post-content iframe {
        max-width: 100%;
        page-break-inside: avoid;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #8b0000;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }

    .nav-link {
        border: 1px solid #000;
    }
}

/* ===== POST GRID ===== */
#posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* ===== POST CARD ===== */
.post-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ===== THUMBNAIL (IMPORTANT PART) ===== */
.post-thumb {
    width: 100%;
    height: 180px;
    /* 🔑 fixed height like YouTube */
    object-fit: cover;
    /* 🔑 crop like news thumbnails */
    display: block;
}

/* ===== CONTENT ===== */
.post-content {
    padding: 16px;
}

.post-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #111;
}

.post-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-content a {
    font-size: 14px;
    color: #ffffff;

    padding: 8px 12px;
    font-weight: 600;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* =========================
   NETFLIX DARK THEME
   ========================= */

.dark-theme {
    background-color: #1f1f1f;
    color: #e5e5e5;
}

/* ===== NAVBAR ===== */
.dark-theme header,
.dark-theme nav {
    background: #000;
    border-bottom: 1px solid #2c2c2c;
}

.dark-theme nav a {
    color: #e5e5e5;
}

.dark-theme nav a.active {
    background: #e50914;
    color: #fff;
}

/* ===== HERO / BANNER ===== */
.dark-theme .hero,
.dark-theme .banner {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.95));
}

/* ===== POST GRID ===== */
.dark-theme #posts-grid {
    gap: 26px;
}

/* ===== POST CARD ===== */
.dark-theme .post-card {
    background: #0f0f0f;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-theme .post-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

/* ===== THUMBNAIL ===== */
.dark-theme .post-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.9);
    padding: 8px 4px 0px 4px;
    border-radius: 14px
    ;
}

/* ===== CONTENT ===== */
.dark-theme .post-content {
    padding: 16px;
}

.dark-theme .post-content h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
}

.dark-theme .post-content p {
    color: #b3b3b3;
    font-size: 14px;
}

/* ===== READ BUTTON ===== */
.dark-theme .post-content a {
    color: #ffe9ad;
   
    padding: 8px 12px;
    border-radius: 4px;
    
    background: #a10008;
    font-weight: 600;
    text-decoration: none;
}

.dark-theme .post-content a:hover {
    text-decoration: underline;
}

/* ===== STATS (POST / VIEW) ===== */
.dark-theme .stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

.dark-theme .stat-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 18px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #222;
}

.dark-theme .stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.dark-theme .stat-label {
    font-size: 14px;
    color: #b3b3b3;
}

/* ===== CATEGORY TITLE ===== */
.dark-theme .category-title {
    color: #2e0000;
}

/* ===== FOOTER ===== */
.dark-theme footer {
    background: #000;
    color: #777;
    border-top: 1px solid #222;
}

/* ===== SINGLE POST THUMBNAIL FIX ===== */
.post-article img:first-of-type {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin: 30px 0;
    display: block;
}

.telegram-strip {
    background: linear-gradient(90deg, #0f0f0f, #1a1a1a);
    border-bottom: 1px solid #222;
    padding: 12px 0;
}

.telegram-strip-inner {
    max-width: 1100px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e5e5e5;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.telegram-strip-inner span {
    opacity: 0.85;
}

.telegram-strip-inner a {
    background: #e50914; /* Netflix red */
    color: #fff;
    padding: 7px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.telegram-strip-inner a:hover {
    background: #f6121d;
    transform: translateY(-1px);
}

/* ===== TELEGRAM CTA BOX (NETFLIX PREMIUM STYLE) ===== */
.telegram-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.telegram-box {
    max-width: 520px;
    width: 100%;
    background: linear-gradient(180deg, #0f0f0f, #181818);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 28px 26px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Heading */
.telegram-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

/* Description */
.telegram-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

/* CTA Button */
.telegram-btn {
    display: inline-block;
    background: #e50914;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}


.telegram-btn:hover {
    background: #f6121d;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(229,9,20,0.5);
}

/* Note text */
.telegram-note {
    margin-top: 16px;
    font-size: 12px;
    color: #9a9a9a;
    opacity: 0.85;
}

/* Mobile */
@media (max-width: 600px) {
    .telegram-box {
        padding: 22px 18px;
        border-radius: 8px;
    }

    .telegram-box h3 {
        font-size: 18px;
    }

    .telegram-btn {
        width: 100%;
        padding: 12px 0;
    }
}

/* ===== TELEGRAM STICKY CTA ===== */
.telegram-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.telegram-sticky a {
    background: #e50914;
    color: #fff;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    transition: all 0.25s ease;
}

.telegram-sticky a:hover {
    background: #f6121d;
    transform: scale(1.05);
}

/* Mobile adjust */
@media (max-width: 600px) {
    .telegram-sticky {
        bottom: 14px;
        right: 14px;
    }

    .telegram-sticky a {
        font-size: 12px;
        padding: 10px 14px;
    }
}
/* ===== INLINE TELEGRAM CTA ===== */
.telegram-inline {
    margin: 40px 0;
    padding: 25px;
    background: linear-gradient(135deg, #111, #1b1b1b);
    border-left: 4px solid #e50914;
    text-align: center;
}

.telegram-inline p {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 15px;
}

.telegram-inline a {
    display: inline-block;
    background: #e50914;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.telegram-inline a:hover {
    background: #f6121d;
    transform: scale(1.05);
}

.telegram-inline span {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #aaa;
}

/* ===== TELEGRAM EXIT POPUP ===== */
.tg-exit {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tg-exit.hidden {
    display: none;
}

.tg-exit-box {
    background: #141414;
    padding: 30px;
    max-width: 380px;
    text-align: center;
    border-radius: 6px;
    border-top: 4px solid #e50914;
}

.tg-exit-box h3 {
    color: #fff;
    margin-bottom: 10px;
}

.tg-exit-box p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.tg-join {
    display: block;
    background: #e50914;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 15px;
}

#tg-close {
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 13px;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.featured-card {
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.featured-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.featured-content {
    padding: 14px;
}

.featured-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.featured-content a {
    color: #ffffff;
    background-color: #ca0000;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
/* ========== SHARE SECTION ========== */
.share-section {
    margin-top: 30px;
}

.share-title {
    font-size: 18px;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #000000;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.share-btn i {
    font-size: 16px;
}

/* Brand colors */
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.twitter { background: #000; }
.share-btn.copy { background: #555; }

/* Hover effect */
.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Responsive for mobile */
@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
    }
}
/* ================= MOBILE NAV — FINAL STABLE FIX ================= */
@media (max-width: 768px) {

    /* NAV ROOT */
    .nav {
        background: #020617;
        position: relative;
        z-index: 1000;
        width: 100%;
    }

    /* HAMBURGER BAR (always visible) */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        height: 56px;
        padding-left: 16px;
        border-bottom: 1px solid #1e293b;
        background: #020617;
    }

    .mobile-menu-toggle span {
        width: 26px;
        height: 3px;
        background: #ffffff;
        border-radius: 3px;
    }

    /* MENU WRAPPER (hidden by default) */
    .nav-wrapper {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #020617;
    }

    /* OPEN STATE */
    .nav.open .nav-wrapper {
        display: flex;
    }

    /* LINKS */
    .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 18px;
        border-bottom: 1px solid #1e293b;
        font-size: 16px;
        color: #e5e7eb;
        text-decoration: none;
    }

    .nav-link.active {
        background: #dc2626;
        color: #ffffff;
    }

    /* HIDE DESKTOP STYLE SIDE EFFECTS */
    .nav-wrapper {
        overflow-x: hidden;
    }
}
