/* -----------------------------------------------------------------------------
   STYLE ARCHITECTURE - Zorvixaeilo.xyz
   - Typography: Elegant Bold Serif (Headers) & High-performance Sans-Serif
   - Visual Theme: Cyber-Gloss Athletics (Vivid Pitch Black & Electric Yellow)
   - Accent Elements: Heavy transparency, glassmorphism gloss, metallic borders
----------------------------------------------------------------------------- */

/* Root Variables */
:root {
    --bg-primary: #0a0a0c;       /* Pitch Black deep space */
    --bg-secondary: #121216;     /* Dark Charcoal sleek panel background */
    --bg-card: rgba(18, 18, 22, 0.65); /* High transparency dark base */
    --bg-gloss: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    --accent-primary: #facc15;   /* Electric Neon Yellow */
    --accent-secondary: #eab308; /* Metallic Yellow Gold */
    --accent-tertiary: #ffffff;  /* Premium Gloss white */
    --border-color: rgba(250, 204, 21, 0.18); /* Semi-transparent yellow highlights */
    --text-primary: #f8fafc;     /* Bright premium silver white */
    --text-secondary: #94a3b8;   /* Muted sports gray */
    --font-heading: 'Fredoka', 'Playfair Display', Georgia, sans-serif;
    --font-sans: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
    --max-width: 1280px;
    --border-radius: 12px;       /* Modern tech styling */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --yellow-glow: 0 0 15px rgba(250, 204, 21, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.625;
    background: radial-gradient(circle at 50% 20%, #16161c 0%, #0a0a0c 70%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Header / Sticky Nav - Sleek, Slim, and Fluid */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px; /* Slimmer, precise height */
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1600px; /* High fluid screen span */
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem; /* Clean, horizontal fluid spacing without vertical clutter */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.35rem; /* Refined slimmer logo sizing */
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent-primary);
    text-shadow: var(--yellow-glow);
}

.logo-accent {
    position: relative;
    display: inline-block;
}

.logo-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
}

.mini-football-icon {
    filter: drop-shadow(0 0 4px var(--accent-primary));
    animation: rotateBall 20s linear infinite;
}

@keyframes rotateBall {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.85rem; /* Slightly trimmer typography */
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.2rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

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

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

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem; /* Modern high-performance, less bulky button padding */
    font-size: 0.8rem; /* Refined font scale */
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #0a0a0c;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.5);
    filter: brightness(1.1);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: var(--accent-primary);
    color: #0a0a0c;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--yellow-glow);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.cta-button.outline:hover {
    background-color: rgba(250, 204, 21, 0.1);
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

/* Sections - Global Layout */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px rgba(250,204,21,0.25);
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: rgba(18, 18, 22, 0.4);
    text-align: center;
    padding: 9rem 2rem;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-container {
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: rgba(250, 204, 21, 0.1);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: var(--yellow-glow);
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

/* Decorative Football Accents with shine */
.decorative-football {
    position: absolute;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

.decorative-football:hover {
    opacity: 0.35;
    transform: scale(1.05);
}

.decorative-football.d-1 {
    top: 15%;
    left: 5%;
}

.decorative-football.d-2 {
    bottom: 15%;
    right: 8%;
}

/* Glassmorphism & Glossy Cards base */
.favorite-card, .match-card, .guide-block, .host-card, .faq-card {
    background: var(--bg-card);
    background-image: var(--bg-gloss);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

/* Title Race / Favorites Section */
.favorites-section {
    background-color: transparent;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.favorite-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.favorite-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(250, 204, 21, 0.1) 48%,
        rgba(250, 204, 21, 0.2) 50%,
        rgba(250, 204, 21, 0.1) 52%,
        transparent 55%
    );
    transform: rotate(45deg);
    transition: 0.8s ease-in-out;
    pointer-events: none;
}

.favorite-card:hover::before {
    left: 100%;
    top: 100%;
}

.favorite-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(250, 204, 21, 0.15);
}

.fav-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 800;
    color: #0a0a0c;
    background-color: var(--accent-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    box-shadow: var(--yellow-glow);
}

.fav-header {
    margin-bottom: 2rem;
}

.fav-country {
    font-size: 1.85rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.fav-group {
    font-size: 0.85rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.fav-metrics {
    border-top: 1px dashed rgba(250, 204, 21, 0.2);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.metric-value {
    font-weight: 700;
    font-size: 1.15rem;
}

.metric-value.font-highlight {
    color: #ffffff;
}

.metric-value.highlight {
    color: var(--accent-primary);
    font-size: 1.3rem;
    text-shadow: var(--yellow-glow);
}

/* Card color modifiers converted into glowing edge designs */
.color-card-pink { border-left: 4px solid #facc15; }
.color-card-blue { border-left: 4px solid #eab308; }
.color-card-yellow { border-left: 4px solid #ffffff; }
.color-card-mint { border-left: 4px solid rgba(250, 204, 21, 0.6); }
.color-card-lavender { border-left: 4px solid #fef08a; }
.color-card-peach { border-left: 4px solid #ca8a04; }

/* Matchups Section */
.matchups-section {
    background-color: rgba(18, 18, 22, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.matchups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}

.match-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.match-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(250, 204, 21, 0.12);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.match-group {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.match-rank-tag {
    font-size: 0.75rem;
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--accent-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.match-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.match-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.match-data-summary {
    background-color: rgba(10, 10, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-summary {
    display: flex;
    flex-direction: column;
}

.team-summary.align-right {
    align-items: flex-end;
    text-align: right;
}

.team-name {
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
}

.team-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.vs-divider {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1rem;
}

.card-footer-action {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
}

.read-more-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Expanded Match Guide Blocks */
.expanded-guide-section {
    background-color: transparent;
}

.expanded-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.guide-block {
    padding: 3rem;
}

.guide-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.block-group-badge {
    font-size: 0.8rem;
    font-weight: 800;
    background-color: var(--accent-primary);
    color: #0a0a0c;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--yellow-glow);
}

.block-match-title {
    font-size: 2.2rem;
    flex-grow: 1;
    margin-left: 1.5rem;
    color: #ffffff;
}

.block-match-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.comparison-row {
    background-color: rgba(10, 10, 12, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.comp-col {
    flex: 1;
}

.comp-col.align-right {
    text-align: right;
}

.comp-team {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.comp-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.comp-vs {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.25rem;
    padding: 0 2rem;
}

.block-editorial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.editorial-col h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.editorial-col p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Group Balance Section Summary Table */
.groups-section {
    background-color: rgba(18, 18, 22, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.groups-summary-table-wrapper {
    overflow-x: auto;
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.groups-summary-table {
    min-width: 800px;
}

.groups-summary-table th, 
.groups-summary-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.95rem;
}

.groups-summary-table th {
    background-color: rgba(10, 10, 12, 0.8);
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--accent-primary);
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.groups-summary-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.groups-summary-table tr:last-child td {
    border-bottom: none;
}

.group-cell {
    font-weight: 800;
    color: var(--accent-primary) !important;
}

.table-fav-badge {
    display: inline-block;
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--accent-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Host Nations Watch Section */
.hosts-section {
    background-color: transparent;
}

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

.host-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.host-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(250, 204, 21, 0.15);
}

.host-badge {
    align-self: flex-start;
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(250, 204, 21, 0.25);
}

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

.host-country {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.host-stat-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.host-stats-block {
    border-top: 1px dashed rgba(250, 204, 21, 0.25);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.h-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.h-stat-lbl {
    color: var(--text-secondary);
}

.h-stat-val {
    font-weight: 800;
    color: #ffffff;
}

/* Tournament Guide Context Section */
.guide-details-section {
    background-color: rgba(18, 18, 22, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.guide-details-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.framework-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.framework-item {
    display: flex;
    gap: 1.5rem;
}

.fw-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1.1;
    text-shadow: var(--yellow-glow);
}

.fw-content h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #ffffff;
}

.fw-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.guide-details-visual {
    background: linear-gradient(135deg, #18181c 0%, #0a0a0c 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    color: #ffffff;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.guide-details-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.visual-card-title {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.visual-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.visual-card-divider {
    height: 1px;
    background-color: rgba(250, 204, 21, 0.15);
    margin-bottom: 2rem;
}

.visual-stat-display {
    display: flex;
    gap: 2rem;
}

.vs-item {
    display: flex;
    flex-direction: column;
}

.vs-val {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
    text-shadow: var(--yellow-glow);
}

.vs-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    background-color: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-card {
    padding: 2.25rem;
}

.faq-question {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Legal Content Section */
.legal-section {
    padding: 8rem 2rem 6rem 2rem;
    background-color: transparent;
    min-height: 70vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    background-image: var(--bg-gloss);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    box-shadow: var(--glass-shadow);
}

.legal-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1.5rem;
    color: #ffffff;
}

.legal-meta {
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-content h2 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--accent-primary);
    font-weight: 800;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    list-style: square;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer Styles */
.main-footer {
    background-color: #060608;
    color: #e2e8f0;
    padding: 6rem 2rem 3rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 1rem;
    text-shadow: var(--yellow-glow);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 24rem;
}

.footer-nav-title {
    font-family: var(--font-sans);
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

.footer-nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-nav-links a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 3rem;
}

.footer-middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.address-block {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.address-title {
    display: block;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.informational-note {
    font-size: 0.825rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 204, 21, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Breakpoints Configuration */

/* Tablet & Smaller Screens */
@media (max-width: 1200px) {
    .hosts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .block-editorial-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guide-details-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Adjust spacing */
    section {
        padding: 40px 1.5rem;
    }
    
    .hero-section {
        padding: 5rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Toggle Mobile Navigation */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px; /* Perfect fluid mapping for slimmer sticky header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: 0.4s ease-in-out;
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
    }
    
    .nav-cta .cta-button {
        width: 100%;
    }
    
    /* Mobile layouts */
    .favorites-grid, 
    .matchups-grid, 
    .hosts-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-block {
        padding: 2rem 1.5rem;
    }
    
    .guide-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .block-match-title {
        margin-left: 0;
    }
    
    .comparison-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .comp-col.align-right {
        text-align: center;
    }
    
    .footer-middle {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-section {
        padding: 6rem 1rem 4rem 1rem;
    }
    
    .legal-container {
        padding: 2.5rem 1.5rem;
    }
    
    .legal-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .cta-button {
        width: 100%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-brand-info {
        grid-column: span 1;
    }
}