* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Header */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff88;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00ff88;
}

/* Main Content Layout */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Date indicator */
.current-date {
    text-align: left;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

/* News Section Title */
.section-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Newspaper-style layout */
.newspaper-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Featured article (large) */
.featured-article {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 2rem;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
    line-height: 1.3;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #00ff88;
}

.featured-summary {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-cta {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-cta:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Secondary articles (right side) */
.secondary-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.secondary-article {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    min-height: 140px;
}

.secondary-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.secondary-image {
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.secondary-article:hover .secondary-image img {
    transform: scale(1.1);
}

.secondary-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.secondary-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.secondary-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.secondary-title a:hover {
    color: #00ff88;
}

.secondary-meta {
    margin-top: auto;
    color: #808080;
    font-size: 0.8rem;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    color: #666;
    font-size: 2rem;
}

.secondary-placeholder {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: #050505;
    color: #e0e0e0;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #00ff88;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
        padding: 1rem;
    }

    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .newspaper-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-image {
        height: 200px;
    }

    .featured-content {
        padding: 1.5rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .featured-summary {
        font-size: 1rem;
    }

    .secondary-articles {
        gap: 1rem;
    }

    .secondary-article {
        flex-direction: column;
        min-height: auto;
    }

    .secondary-image {
        width: 100%;
        height: 150px;
    }

    .secondary-content {
        padding: 1rem;
    }

    .secondary-title {
        font-size: 1.1rem;
        -webkit-line-clamp: 3;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #e0e0e0;
    }
}

/* Mobile auto-slide animation */
@keyframes mobileSlide {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-300px); }
    45% { transform: translateX(-300px); }
    50% { transform: translateX(-600px); }
    70% { transform: translateX(-600px); }
    75% { transform: translateX(-900px); }
    95% { transform: translateX(-900px); }
    100% { transform: translateX(0); }
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: none;
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    display: none;
    min-width: 120px;
}

.language-menu.show {
    display: block;
}

.language-option {
    display: block;
    padding: 0.8rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: background 0.3s;
}

.language-option:hover,
.language-option.active {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

/* Auto-play indicator - hidden for sidebar design */
.autoplay-indicator {
    display: none;
}