:root {
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --bg-surface: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc; /* Brightened from #b0b0b0 for better contrast */
    --gold: #ffcc00; /* Brightened from #e2b714 for better AA/AAA contrast on dark */
    --gold-hover: #ffd700;
    --gold-glow: rgba(255, 204, 0, 0.4);
    --gold-muted: rgba(255, 204, 0, 0.1);
    --border-color: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(15, 15, 15, 0.85);
}

.text-gold {
    color: var(--gold) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Navbar */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-size: 1.75rem;
}

.logo-box {
    width: 45px;
    height: 45px;
    background: var(--gold-muted);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transform: rotate(5deg);
    transition: var(--transition-smooth);
}

.navbar-brand:hover .logo-box {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 0 20px var(--gold-glow);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--gold) !important;
    text-shadow: 0 0 10px var(--gold-glow);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--gold-glow);
    color: #000;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #000;
    box-shadow: 0 0 20px var(--gold-glow);
}

.fw-900 {
    font-weight: 900 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at center, rgba(226, 183, 20, 0.08) 0%, transparent 70%);
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-section h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.hero-section .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.movie-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
}

.movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, var(--border-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.movie-card:hover {
    transform: translateY(-12px);
    border-color: rgba(226, 183, 20, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-muted);
}

.movie-card .card-img-container {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
    overflow: hidden;
}

.movie-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.movie-card:hover img {
    transform: scale(1.1);
}

.movie-card .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.movie-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: var(--gold);
    filter: drop-shadow(0 0 15px var(--gold-glow));
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

/* TV Channel Slider */
.tv-channel-container {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.tv-channel-item {
    min-width: 340px;
    flex: 0 0 auto;
}

/* Footer Improvements */
.footer {
    border-top: 1px solid var(--border-color);
    background: #000;
}

.footer h5,
.footer h6 {
    letter-spacing: 2px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
    color: var(--text-secondary) !important;
}

.social-links a:hover {
    background: var(--gold);
    color: #000 !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--gold-glow);
}

/* Cinematic Components */
.cinematic-header {
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%),
        radial-gradient(circle at top right, rgba(226, 183, 20, 0.1) 0%, transparent 50%),
        radial-gradient(circle at top left, rgba(226, 183, 20, 0.05) 0%, transparent 40%);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.article-video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--gold-muted);
    background: #000;
}

.article-video-wrapper iframe {
    aspect-ratio: 16/9;
    width: 100%;
}

.badge-gold {
    background: var(--gold-muted);
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    font-weight: 700;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.related-thumb {
    width: 100px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Utilities */
.transition-smooth {
    transition: var(--transition-smooth);
}

.hover-gold:hover {
    color: var(--gold) !important;
    text-shadow: 0 0 10px var(--gold-glow);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section {
        padding: 80px 0;
    }

    .tv-channel-item {
        min-width: 280px;
    }
}