/* Anthem 24 Theme - Dark Mode with Orange Accents */

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-card: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #ff5722;
    --accent-hover: #ff7043;
    --border-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.language-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.main-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Breaking News */
.breaking-news {
    background: var(--accent);
    padding: 12px 20px;
    margin: 20px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background: white;
    color: var(--accent);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.breaking-news a {
    font-weight: 600;
}

/* Section Styles */
.section {
    margin: 40px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--accent);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    margin: 20px 0;
}

.hero-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-deck {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.category-badge.small {
    padding: 4px 10px;
    font-size: 10px;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.story-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-4px);
}

.story-image {
    height: 180px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 15px;
}

.story-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;
}

.timestamp {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Scroll Sections */
.movies-scroll, .news-scroll, .promo-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

.movies-scroll::-webkit-scrollbar,
.news-scroll::-webkit-scrollbar,
.promo-scroll::-webkit-scrollbar {
    height: 6px;
}

.movies-scroll::-webkit-scrollbar-thumb,
.news-scroll::-webkit-scrollbar-thumb,
.promo-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* Movie Card */
.movie-card {
    flex: 0 0 280px;
    cursor: pointer;
}

.movie-thumbnail {
    position: relative;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
}

.movie-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.play-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 4px;
}

.movie-card h3 {
    font-size: 14px;
    margin-top: 10px;
}

/* News Card */
.news-card {
    flex: 0 0 200px;
}

.news-image {
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 10px 0;
}

.news-content h3 {
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.4;
}

/* Spotlight Grid */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spotlight-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.spotlight-card:hover {
    transform: translateY(-4px);
}

.spotlight-image {
    height: 150px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-content {
    padding: 15px;
}

.spotlight-content h3 {
    font-size: 15px;
    margin: 8px 0;
    font-weight: 600;
}

.spotlight-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 8px;
    transition: background 0.3s;
}

.trending-item:hover {
    background: var(--bg-secondary);
}

.trending-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    min-width: 50px;
}

.trending-content h3 {
    font-size: 15px;
    margin-top: 5px;
}

/* Promo Card */
.promo-card {
    flex: 0 0 250px;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.promo-image {
    height: 140px;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    padding: 15px;
}

.promo-content h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.promo-content p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    background: black;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Article Page */
.article-page {
    padding: 40px 0;
}

.article-header {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.article-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-deck {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.article-author {
    font-size: 14px;
    color: var(--text-secondary);
}

.article-hero {
    max-width: 900px;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: auto;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 28px;
    margin: 30px 0 15px;
}

.article-body h3 {
    font-size: 22px;
    margin: 25px 0 10px;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-tags {
    max-width: 800px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    color: var(--text-secondary);
}

.tag {
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: background 0.3s;
}

.tag:hover {
    background: var(--accent);
}

.article-share {
    max-width: 800px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    color: var(--text-secondary);
}

.share-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

/* Related Articles */
.related-articles {
    background: var(--bg-secondary);
    padding: 40px 0;
    margin-top: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
}

.related-image {
    height: 120px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 12px;
}

.related-content h3 {
    font-size: 14px;
    margin: 8px 0 5px;
    line-height: 1.4;
}

/* Category Page */
.category-page {
    padding: 40px 0;
}

.category-header {
    margin-bottom: 30px;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
}

.category-desc {
    color: var(--text-secondary);
    margin-top: 8px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
}

.card-image {
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-deck {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Videos Page */
.videos-page {
    padding: 40px 0;
}

.videos-header {
    margin-bottom: 30px;
}

.videos-title {
    font-size: 36px;
    font-weight: 700;
}

.videos-desc {
    color: var(--text-secondary);
    margin-top: 8px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    cursor: pointer;
}

.video-card .video-thumbnail {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.video-content {
    padding: 15px 0;
}

.video-label {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}

.video-content h3 {
    font-size: 16px;
    margin: 8px 0;
    font-weight: 600;
}

.video-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand .logo-text {
    font-size: 28px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    transition: background 0.3s;
}

.social-icon:hover {
    background: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .stories-grid,
    .spotlight-grid,
    .articles-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .language-selector {
        display: none;
    }

    .hero-image {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .stories-grid,
    .spotlight-grid,
    .articles-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 28px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-image {
        height: 280px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .movie-card {
        flex: 0 0 220px;
    }

    .news-card {
        flex: 0 0 160px;
    }

    .promo-card {
        flex: 0 0 200px;
    }
}

/* Utility Classes */
.no-articles, .no-videos {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
