:root {
    --color-primary: #D4AF37;
    --color-background: #000000;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #CFCFCF;
    --color-text-muted: #9CA3AF;
    --color-text-disabled: #6B7280;
    --color-text-subtle: #8B8B8B;
    --color-border: #333333;
    --color-border-light: #374151;
    --color-overlay: rgba(20, 20, 20, 0.80);
    --color-shadow: rgba(0, 0, 0, 0.7);
    --color-surface-hover: rgba(212, 175, 55, 0.05);
    
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-display: 'Six Caps', serif;
    
    --header-height: 40vh;
    --header-height-mobile: 300px;
}

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

body {
    font-family: var(--font-family-primary);
    background-color: var(--color-background);
    color: var(--color-text-primary);
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    z-index: 1000;
}

.pane {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    padding: 0;
    transition: opacity 0.3s ease;
}

.pane::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 2000px var(--color-overlay);
}

.pane-left::before { background-image: url('images/the-gaffer.png'); }
.pane-right::before { background-image: url('images/the-line.png'); }

.pane h1 {
    position: relative;
    z-index: 2;
    font-family: var(--font-family-display);
    font-size: clamp(4.5rem, 12vw, 9rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    text-shadow: 2px 2px 8px var(--color-shadow);
}

.pane:hover { opacity: 0.9; }
.pane.active { border-bottom: 5px solid var(--color-primary); }

.content-area {
    margin-top: var(--header-height);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.post {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.post-header {
    cursor: pointer;
    padding: 1rem 0;
    transition: background-color 0.2s;
}

.post-header:hover { background-color: var(--color-surface-hover); }

.post-headline {
    font-size: 4.4rem;
    font-weight: 400;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.post-subheadline {
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.post-content {
    display: none;
    padding-top: 1.5rem;
}

.post-content.expanded { display: block; }

.match-info {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-primary);
    line-height: 1.6;
}

.match-info .odds-label {
    color: var(--color-text-subtle);
    font-weight: 900;
}

.match-info .odds-value {
    color: var(--color-text-subtle);
}

.match-info .odds-value.pick {
    color: var(--color-primary);
}

.pre-match {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.post-match {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
    white-space: pre-line;
}

.post-match-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--color-text-disabled);
    margin-bottom: 0.75rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    white-space: pre-line;
}

.article-intro {
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .content-area { 
        margin-top: var(--header-height-mobile);
        padding: 2rem 1.5rem; 
    }
    
    .fixed-header {
        flex-direction: column;
        height: var(--header-height-mobile);
    }
    
    .pane { height: 150px; }
    
    .pane h1 { font-size: clamp(3rem, 9vw, 4.5rem); }
    
    .content-area { padding: 2rem 1.5rem; }
    
    .post-headline {
        font-size: 3rem;
        font-weight: 700;
        color: var(--color-text-muted);
    }
    
    .post-subheadline {
        font-size: 2rem;
        color: var(--color-text-disabled);
    }
    
    .match-info { font-size: 1rem; }
}
