:root {
    --primary: #1a1a1a;
    --secondary: #666;
    --accent-red: #d63031;
    --bg: #ffffff;
    --border: #e0e0e0;
    --hover: #f5f5f5;
}

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

body {
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Split Header Design */
.split-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 3px solid var(--primary);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 200px;
}

.header-left {
    background: var(--accent-red);
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-right {
    background: var(--bg);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 0.9;
    text-align: center;
}

.logo-part-1 {
    color: var(--bg);
    display: block;
}

.logo-part-2 {
    color: var(--accent-red);
    display: block;
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
}

.header-left .geometric-shapes {
    top: 1rem;
    right: 1rem;
}

.header-right .geometric-shapes {
    bottom: 1rem;
    right: 1rem;
}

.shape {
    position: absolute;
}

.circle {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid #2d3192;
    top: 50px;
    left: 60px;
}

.square {
    width: 50px;
    height: 35px;
    background: #f1c40f;
    top: 0;
    left: 0;
}

.question {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--accent-red);
    font-weight: 900;
    line-height: 1;
    bottom: -20px;
    left: -80px;
}

/* Navigation */
.main-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    align-items: flex-end;
}

.main-nav a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s;
    font-family: 'Bebas Neue', sans-serif;
}

.main-nav a:hover {
    color: var(--accent-red);
}

/* Tagline */
.tagline {
    text-align: center;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--bg);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Content */
.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Sponsor Section */
.sponsor-section {
    background: var(--accent-red);
    padding: 2rem;
    margin: 0 -2rem 3rem -2rem;
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

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

.sponsor-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sponsor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: rgba(0,0,0,0.1);
    padding: 2rem;
}

.sponsor-video iframe {
    border: 3px solid rgba(255,255,255,0.3);
}

.sponsor-text {
    color: white;
}

.sponsor-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.sponsor-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .sponsor-content {
        grid-template-columns: 1fr;
    }
}

/* Hero */
.hero-section {
    margin-bottom: 4rem;
}

.hero-story {
    border-bottom: 1px solid var(--border);
    padding-bottom: 3rem;
}

.story-link {
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border: 3px solid var(--accent-red);
}

.story-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    transition: color 0.2s;
}

.story-link:hover .story-title {
    color: var(--accent-red);
}

.story-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--secondary);
    font-weight: 300;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    transition: transform 0.2s;
}

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

.article-card a {
    text-decoration: none;
    color: inherit;
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.article-card a:hover h3 {
    color: var(--accent-red);
}

.article-card .meta {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Featured Cards */
.article-card.featured {
    grid-column: span 2;
    border: 3px solid var(--accent-red);
    padding: 0;
    border-bottom-width: 3px;
}

.article-card.featured a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

.card-image {
    grid-column: 1;
}

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

.article-card.featured .excerpt {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Video Modal */
.video-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 800px;
    height: 500px;
    background: #1a1a1a;
    border: 3px solid var(--accent-red);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.video-modal-header {
    background: var(--accent-red);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.video-modal-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-modal-close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 0 0.5rem;
}

.video-modal-close:hover {
    opacity: 0.7;
}

.video-modal-player {
    flex: 1;
    position: relative;
    background: #000;
}

.video-modal-player iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-modal-resize {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: nwse-resize;
    background: var(--accent-red);
    border-top-left-radius: 3px;
}

.video-modal-resize::before {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95vw !important;
        height: 60vh !important;
    }
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    margin-top: 5rem;
    padding: 2rem;
    border-top: 4px solid var(--accent-red);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-grid {
        grid-template-columns: 1fr;
    }

    .header-left, .header-right {
        min-height: 100px;
        padding: 1.5rem;
    }

    .logo-text {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .main-nav {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .story-link {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-image iframe {
        height: 300px;
    }

    .sponsor-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sponsor-video iframe {
        height: 250px;
    }

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

    .article-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1rem;
    }

    .logo-text {
        font-size: 2rem;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .main-nav a {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .tagline {
        font-size: 0.7rem;
        padding: 0.5rem;
        letter-spacing: 1px;
    }

    .hero-section {
        margin-bottom: 2rem;
    }

    .story-image iframe {
        height: 250px;
    }

    .story-title {
        font-size: 1.75rem;
    }

    .story-excerpt {
        font-size: 1rem;
    }

    .sponsor-section {
        padding: 1.5rem 1rem;
        margin: 0 -1rem 2rem -1rem;
    }

    .sponsor-content {
        padding: 1rem;
    }

    .sponsor-video iframe {
        height: 200px;
    }

    .sponsor-text h3 {
        font-size: 1.25rem;
    }

    .sponsor-text p {
        font-size: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card h3 {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .geometric-shapes {
        display: none;
    }

    .video-modal-content {
        width: 95vw !important;
        height: 60vh !important;
    }

    .video-modal-header {
        padding: 0.5rem 0.75rem;
    }

    .video-modal-title {
        font-size: 0.8rem;
    }

    .video-modal-close {
        font-size: 24px;
    }

    .video-modal-resize {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .main-nav a {
        font-size: 0.75rem;
    }

    .story-title {
        font-size: 1.5rem;
    }

    .story-excerpt {
        font-size: 0.95rem;
    }

    .sponsor-text h3 {
        font-size: 1.1rem;
    }

    .sponsor-text p {
        font-size: 0.9rem;
    }

    .article-card h3 {
        font-size: 1rem;
    }

    .video-modal-content {
        height: 50vh !important;
    }
}
