:root {
    /* Color System */
    --bg-primary: #FAF7EF;
    --bg-secondary: #EFE7D8;
    --surface: #FFFFFF;
    --green-deep: #123D32;
    --navy: #17253A;
    --clay-warm: #B76E4B;
    --gold-soft: #D2A857;
    --sky-blue: #4E8FBF;
    --text-primary: #1B2430;
    --text-secondary: #5F6B76;
    --text-muted: #8A939B;
    --border: rgba(27,36,48,0.12);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1280px;
    --spacing-desktop: 120px;
    --spacing-tablet: 80px;
    --spacing-mobile: 60px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.w-100 { width: 100%; }

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    max-width: 750px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    border: none;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--green-deep);
    color: var(--surface);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    transition: background-color 0.3s ease;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-deep);
}

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

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--clay-warm);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.cta-btn {
    font-weight: 600;
    color: var(--clay-warm);
    border-bottom: 1px solid var(--clay-warm);
    padding-bottom: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 102;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s ease;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
}

/* Sections Global */
section {
    padding: var(--spacing-desktop) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-desc {
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text-column {
    flex: 0 0 45%;
    min-width: 500px;
}

.hero-image-column {
    flex: 0 0 55%;
}

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Editorial Sections */
.editorial-section {
    background-color: var(--surface);
}

.editorial-two-column {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.editorial-two-column.reverse {
    flex-direction: row-reverse;
}

.ed-text {
    flex: 0 0 45%;
    min-width: 500px;
}

.ed-image {
    flex: 0 0 55%;
}

.feature-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Title Race */
.title-race {
    background-color: var(--bg-secondary);
}

.ranking-strips-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.ranking-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.ranking-strip:last-child {
    border-bottom: none;
}

.strip-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.strip-rank {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clay-warm);
    font-weight: 700;
}

.strip-country {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.strip-group {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.strip-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
}

/* Matchups Grid */
.top-matchups {
    background-color: var(--surface);
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.match-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 2rem;
}

.match-header {
    margin-bottom: 1.5rem;
}

.match-group {
    font-size: 0.75rem;
    color: var(--clay-warm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.match-title {
    margin-top: 0.5rem;
    font-size: 1.25rem;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.team {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.team.higher-ranked .t-name {
    color: var(--green-deep);
}

.t-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.t-rank {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.vs {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    font-family: var(--font-heading);
}

.match-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.match-stats div {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.match-stats div span:first-child {
    color: var(--text-secondary);
}

.match-stats div span:last-child {
    font-weight: 600;
    color: var(--navy);
}

/* Expanded Guides */
.expanded-guides {
    background-color: var(--bg-secondary);
}

.guides-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.guide-block {
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--clay-warm);
}

.guide-head {
    margin-bottom: 2rem;
}

.guide-group {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.guide-head h3 {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.guide-content p {
    margin-bottom: 1rem;
    max-width: 100%;
}

.guide-content strong {
    color: var(--text-primary);
}

/* Hosts Watch */
.hosts-watch {
    background-color: var(--bg-primary);
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.host-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    text-align: center;
}

.host-head {
    margin-bottom: 2rem;
}

.h-group {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.host-data {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.h-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.h-stat span:first-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.h-stat span:last-child {
    font-weight: 600;
    color: var(--navy);
}

/* FAQ */
.faq {
    background-color: var(--bg-secondary);
}

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

.accordion-item {
    background: var(--surface);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.accordion-btn {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
}

.faq-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact */
.contact {
    background-color: var(--surface);
}

.contact-wrapper {
    display: flex;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info, .contact-form-container {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-primary);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--clay-warm);
}

.form-status {
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
}
.form-status.success { color: var(--green-deep); }
.form-status.error { color: #d32f2f; }
.form-status.loading { color: var(--sky-blue); }

/* Footer */
.site-footer {
    background-color: var(--green-deep);
    color: var(--bg-primary);
    position: relative;
}

.footer-top-strip {
    height: 8px;
    background-color: var(--gold-soft);
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0;
    border-bottom: 1px solid rgba(250,247,239,0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-primary);
    display: block;
    margin-bottom: 1rem;
}

.footer-desc {
    color: #D8CDBB;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-address {
    margin-top: 1.5rem;
    font-style: normal;
    color: #D8CDBB;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-address strong {
    color: var(--bg-primary);
    font-weight: 600;
}

.footer-heading {
    color: var(--bg-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col a {
    color: #D8CDBB;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--clay-warm);
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #D8CDBB;
    font-size: 0.85rem;
}

.legal-footer-bottom {
    justify-content: center;
    border: none;
    padding-top: 0;
}

.footer-bottom p {
    margin: 0;
    color: #D8CDBB;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 350px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

/* Legal Pages Base */
.legal-page {
    padding: 6rem 0;
    background: var(--surface);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 { margin-bottom: 0.5rem; }
.legal-content .last-updated { color: var(--text-muted); margin-bottom: 3rem; display: block; }
.legal-content h2 { margin-top: 3rem; font-size: 1.75rem; }
.legal-content p, .legal-content li { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1rem; }
.legal-content ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1.5rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    section { padding: var(--spacing-tablet) 0; }
    
    .hero-container, .editorial-two-column, .editorial-two-column.reverse, .contact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-text-column, .ed-text {
        flex: 1;
        min-width: 100%;
        text-align: center;
    }
    
    p { margin: 0 auto 1.5rem auto; }
    
    .hero-actions { justify-content: center; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    section { padding: var(--spacing-mobile) 0; }
    
    .desktop-nav, .cta-btn { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .match-grid, .hosts-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .strip-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .guide-block {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner {
        bottom: 0;
        right: 0;
        max-width: 100%;
        border-radius: 0;
    }
}