/* =========================
   ULTIMATE CINEMATIC HOMEPAGE  
========================= */

/* Keyframe Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.4), 0 0 40px rgba(255, 193, 7, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6), 0 0 60px rgba(255, 193, 7, 0.3);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hero Showcase */
.hero-showcase {
    position: relative;
    height: 75vh;
    min-height: 550px;
    max-height: 750px;
    margin: -1rem -1rem 4rem -1rem;
    overflow: hidden;
    background: #000;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}


.hero-parallax-bg {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}


.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 3rem;
}

.hero-inner {
    max-width: 750px;
    animation: slideIn 0.8s ease-out;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-gold), #ff9800);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    animation: pulseGlow 2s infinite;
}

.pulse-badge i {
    font-size: 1rem;
    animation: float 2s ease-in-out infinite;
}

.hero-mega-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    letter-spacing: -1px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0 2.5rem 0;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-gold), #ff9800);
    color: #000;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-primary-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff9800, var(--primary-gold));
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-primary-btn:hover::before {
    opacity: 1;
}

.hero-primary-btn span,
.hero-primary-btn i {
    position: relative;
    z-index: 1;
}

.hero-primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.5);
    color: #000;
}

.hero-primary-btn i {
    transition: transform 0.3s;
}

.hero-primary-btn:hover i {
    transform: translateX(5px);
}

.hero-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.hero-category-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Hero Controls */
.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
}

.hero-control.prev-slide {
    left: 2rem;
}

.hero-control.next-slide {
    right: 2rem;
}

.hero-control:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

/* Slide Indicators */
.hero-slide-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slide-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slide-dot.active {
    background: var(--primary-gold);
    border-color: rgba(255, 193, 7, 0.5);
    transform: scale(1.3);
}

.slide-dot:hover {
    background: rgba(255, 193, 7, 0.7);
}

/* Content Grid */
.content-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    padding: 2rem 0;
    max-width: 1140px;
    margin: 4rem auto 0;
}


/* Section Header */
.content-section-header {
    margin-bottom: 3rem;
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.header-top h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.header-top h2 i {
    color: var(--primary-gold);
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.accent-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), rgba(255, 193, 7, 0.3), transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.section-tagline {
    color: #777;
    font-size: 1.1rem;
    margin: 0;
    padding-left: 2px;
}

/* Articles Showcase */
.articles-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-premium-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Separator line */
    background: transparent;
    /* Remove card bg */
    border-radius: 0;
    border: none;
    height: auto;
    /* Let content dictate height */
    overflow: visible;
}

.article-premium-card:last-child {
    border-bottom: none;
}

.article-premium-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 193, 7, 0.1);
}

.article-visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 12px;
    /* Round the image directly */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-premium-card:hover .article-visual img {
    transform: scale(1.15) rotate(2deg);
}

.article-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.1));
    color: var(--primary-gold);
    font-size: 4rem;
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.article-premium-card:hover .image-gradient-overlay {
    opacity: 1;
}

.floating-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-gold);
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hover-effect-layer {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.article-premium-card:hover .hover-effect-layer {
    opacity: 1;
}

.view-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.article-premium-card:hover .view-icon {
    transform: scale(1);
}

.article-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.article-metadata {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.meta-item {
    color: #777;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--primary-gold);
}

.meta-divider {
    color: #555;
}

.article-headline {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem 0;
}

.article-headline a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

/* Hovering card highlights title */
.article-premium-card:hover .article-headline a {
    color: var(--primary-gold);
}

.article-snippet {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.read-link {
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: auto;
}

.read-link:hover {
    gap: 12px;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

/* Empty State */
.empty-state-card {
    text-align: center;
    padding: 5rem 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 2px dashed rgba(255, 193, 7, 0.3);
}

.empty-icon {
    font-size: 5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.empty-state-card p {
    color: #888;
    font-size: 1.05rem;
    margin: 0;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-item {
    display: flex;
    justify-content: flex-start;
    /* Align content to start */
    gap: 12px;
    /* Space between icon and text */
    align-items: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-item:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: var(--primary-gold);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-icon {
    color: var(--primary-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.category-label {
    color: #ddd;
    font-size: 0.95rem;
    font-weight: 600;
}

.widget-box:last-child {
    margin-bottom: 0;
}


.widget-box:hover {
    border-color: rgba(255, 193, 7, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.widget-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 193, 7, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.widget-heading i {
    color: var(--primary-gold);
    font-size: 1.4rem;
}

.widget-body p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ... Categories styles are already updated ... */

/* Social Buttons */
.social-intro {
    color: #999;
    font-size: 0.9rem;
    margin: 0 0 1.25rem 0;
}

.social-buttons-grid {
    display: grid;
    gap: 16px;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-platform i {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-platform:hover i {
    transform: scale(1.2) rotate(10deg);
}

.social-platform.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.1), rgba(131, 58, 180, 0.05));
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.social-platform.instagram:hover {
    background: linear-gradient(135deg, #e1306c, #833ab4);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(225, 48, 108, 0.3);
}

.social-platform.youtube {
    background: rgba(255, 0, 0, 0.08);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.social-platform.youtube:hover {
    background: #ff0000;
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.3);
}

.social-platform.twitter {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-platform.twitter:hover {
    background: #000;
    color: #fff;
    border-color: #333;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.05));
    border-color: rgba(255, 193, 7, 0.3);
}

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

.cta-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #000;
    animation: pulseGlow 2s infinite;
}

.cta-content h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.cta-content p {
    color: #999;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.cta-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e1306c, #833ab4);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.cta-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.5);
    color: #fff;
}

/* Responsive */
@media (max-width: 1400px) {
    .content-grid-wrapper {
        grid-template-columns: 1fr 340px;
        gap: 3rem;
    }
}

@media (max-width: 1200px) {
    .content-grid-wrapper {
        grid-template-columns: 1fr 320px;
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .content-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-sidebar {
        position: static;
    }

    .article-premium-card {
        grid-template-columns: 1fr;
    }

    .article-visual {
        aspect-ratio: 16/9;
    }

    .widget-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .articles-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-showcase {
        height: 60vh;
        min-height: 450px;
        margin: -0.5rem -0.5rem 3rem -0.5rem;
    }

    .hero-content-wrap {
        padding: 0 1.5rem;
    }

    .hero-mega-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-control {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .hero-control.prev-slide {
        left: 1rem;
    }

    .hero-control.next-slide {
        right: 1rem;
    }

    .header-top h2 {
        font-size: 1.5rem;
    }

    .article-details {
        padding: 1.75rem;
    }

    .article-headline {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-mega-title {
        font-size: 1.6rem;
    }

    .pulse-badge {
        font-size: 0.7rem;
        padding: 8px 14px;
    }

    .hero-primary-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-metadata {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .meta-divider {
        display: none;
    }
}

/* =============================================
   LIGHT MODE OVERRIDES
   (Active when body does NOT have .dark-mode)
   ============================================= */

body:not(.dark-mode) .hero-showcase {
    background: #f8f9fa;
    color: #333;
}

body:not(.dark-mode) .hero-mega-title {
    color: #1a1a1a;
}

body:not(.dark-mode) .hero-description {
    color: #555;
    text-shadow: none;
}

body:not(.dark-mode) .header-top h2 {
    color: #1a1a1a;
}

body:not(.dark-mode) .section-tagline {
    color: #666;
}

body:not(.dark-mode) .article-headline a {
    color: #1a1a1a;
}

body:not(.dark-mode) .article-headline a:hover {
    color: var(--primary-gold);
}

body:not(.dark-mode) .article-snippet {
    color: #666;
}

body:not(.dark-mode) .article-premium-card {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .article-premium-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--primary-gold);
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin: -1.5rem;
    transition: all 0.3s ease;
}

body:not(.dark-mode) .meta-item {
    color: #666;
}

body:not(.dark-mode) .empty-state-card {
    background: #fff;
    border: 2px dashed rgba(255, 193, 7, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #333;
}

body:not(.dark-mode) .empty-state-card h3 {
    color: #1a1a1a;
    font-weight: 800;
}

body:not(.dark-mode) .empty-state-card p {
    color: #666;
}

body:not(.dark-mode) .widget-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body:not(.dark-mode) .widget-heading {
    color: #1a1a1a;
    border-bottom-color: rgba(255, 193, 7, 0.5);
}

body:not(.dark-mode) .widget-body p {
    color: #555;
}

body:not(.dark-mode) .cta-content h4 {
    color: #1a1a1a;
    font-weight: 800;
}

body:not(.dark-mode) .cta-content p {
    color: #555;
}

body:not(.dark-mode) .category-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

body:not(.dark-mode) .category-item:hover {
    background: rgba(255, 193, 7, 0.15);
}

body:not(.dark-mode) .category-label {
    color: #333;
}

body:not(.dark-mode) .social-platform {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body:not(.dark-mode) .social-platform.twitter {
    background: #f1f1f1;
    color: #333;
}