/* ==========================================================================
   RESET & SYSTEM VARIABLE DECLARATIONS (SKY BLUE & WHITE GLOSSY THEME)
   ========================================================================== */
:root {
    /* Sky Blue & White Glossy Color Palette */
    --bg-primary: #f0f9ff;         /* Bright glossy light sky blue background */
    --bg-secondary: #ffffff;       /* Pure white glossy cards and panels */
    --surface: #e0f2fe;            /* Liquid ice light blue */
    --surface-alt: #bae6fd;        /* Solid sky accent */
    
    --neon-coral: #0284c7;         /* Polished Sky Blue (Vibrant) */
    --neon-gold: #0369a1;          /* Deep Sky Blue Accent */
    --neon-gold-rgb: 3, 105, 161;
    --neon-coral-rgb: 2, 132, 199;
    
    --cream: #0f172a;              /* Deep Slate for high-contrast text */
    --text-muted: #475569;         /* Soft slate secondary text */
    --border-color: rgba(2, 132, 199, 0.18);
    --border-color-glow: rgba(2, 132, 199, 0.45);

    --transition-speed: 0.3s;
    --font-heading: 'Montserrat', sans-serif;
    --font-editorial: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-primary);
}

a {
    color: var(--neon-coral);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--neon-gold);
}

button, input, select {
    font-family: inherit;
    outline: none;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-alt);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-coral);
}

/* ==========================================================================
   HEADER & MARQUEE TICKER TAPE
   ========================================================================== */
.marquee-container {
    background: linear-gradient(90deg, #bae6fd, #e0f2fe, #bae6fd);
    border-bottom: 2px solid var(--neon-coral);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--neon-gold);
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-content span {
    display: inline-block;
    padding-right: 2rem;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(2, 132, 199, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(14, 165, 233, 0.08);
    transition: background-color var(--transition-speed);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.neon-text-blue {
    color: var(--neon-coral);
    text-shadow: 0 1px 4px rgba(2, 132, 199, 0.2);
}

.neon-text-gray {
    color: var(--neon-gold);
    text-shadow: 0 1px 4px rgba(3, 105, 161, 0.2);
}

/* Slim Proper Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
}

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

.nav-link.active, .nav-link:hover {
    color: var(--neon-gold);
}

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

.cta-nav-btn {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.cta-nav-btn:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--neon-gold);
    transition: var(--transition-speed);
}

/* ==========================================================================
   GLOBAL VIEW MANAGEMENT (SPA SWITCHING)
   ========================================================================== */
.view-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    padding: 60px 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.view-section.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   HERO / PROBABILITY MARQUEE SIGN
   ========================================================================== */
.hero-marquee {
    background: radial-gradient(circle at center, #ffffff 30%, #e0f2fe 100%);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 80px rgba(2, 132, 199, 0.05), 0 20px 45px rgba(2, 132, 199, 0.08);
}

.vintage-frame {
    border: 4px double var(--neon-coral);
    padding: 40px 24px;
    max-width: 900px;
    width: 100%;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.1), inset 0 0 20px rgba(255, 255, 255, 1);
    border-radius: 8px;
    text-align: center;
}

.vintage-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -12px;
    right: -12px;
    border: 1px solid var(--neon-coral);
    pointer-events: none;
    opacity: 0.25;
}

.light-bulbs {
    position: absolute;
    top: -8px;
    left: 10%;
    right: 10%;
    height: 16px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-kicker {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1rem;
    color: var(--neon-gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(2, 132, 199, 0.15);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #0c4a6e;
    letter-spacing: 1px;
}

.coral-glow {
    color: var(--neon-coral);
    text-shadow: 0 2px 12px rgba(2, 132, 199, 0.25);
}

.hero-subtitle {
    font-family: var(--font-editorial);
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Button UI System */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: #0369a1;
    border: 1.5px solid rgba(2, 132, 199, 0.3);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.05), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.btn-secondary:hover {
    background-color: var(--surface);
    border-color: var(--neon-coral);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

/* ==========================================================================
   SECTION TITLE BLOCKS
   ========================================================================== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}

.accent-label {
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--neon-coral);
    letter-spacing: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.vintage-heading {
    font-family: var(--font-heading);
    color: #0c4a6e;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.vintage-heading.large-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-desc, .page-desc {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 10px auto 0 auto;
}

.page-desc {
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   CARDS & GRID LAYOUTS
   ========================================================================== */
.home-segment {
    margin-bottom: 80px;
}

.contenders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Elegant Slate & Blue Card Style */
.marquee-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08), inset 0 1px 2px rgba(255, 255, 255, 1);
}

.marquee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0284c7);
}

.marquee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.18), inset 0 1px 2px rgba(255, 255, 255, 1);
    border-color: var(--neon-coral);
}

.card-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 800;
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--neon-gold);
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.card-title {
    font-family: var(--font-editorial);
    font-weight: 800;
    font-size: 1.4rem;
    color: #0c4a6e;
}

.stat-row-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-weight: 700;
    color: #0c4a6e;
}

.stat-value.highlight-gold {
    color: var(--neon-gold);
}

/* Host Nations Block */
.hosts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.host-card {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    border: 2px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.08), inset 0 1px 3px rgba(255, 255, 255, 1);
}

.host-card::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.host-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #0284c7;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Match Showdowns Section */
.matches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.match-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    align-items: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.08), inset 0 1px 3px rgba(255, 255, 255, 1);
}

.match-card-vs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.match-team {
    flex: 1;
}

.team-name-lg {
    font-family: var(--font-editorial);
    font-size: 1.6rem;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 5px;
}

.team-info-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vs-divider {
    font-family: var(--font-heading);
    color: var(--neon-coral);
    font-size: 1.5rem;
    padding: 0 20px;
    text-shadow: 0 1px 4px rgba(2, 132, 199, 0.3);
}

.match-analysis-side {
    border-left: 1px solid rgba(2, 132, 199, 0.15);
    padding-left: 25px;
}

.analysis-label {
    font-size: 0.8rem;
    color: #0284c7;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.analysis-p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.probability-bar-track {
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.prob-fill-a {
    background: linear-gradient(90deg, #38bdf8, #0284c7);
    height: 100%;
}

.prob-fill-b {
    background-color: #94a3b8;
    height: 100%;
}

/* ==========================================================================
   TABLE DESIGN (RANKINGS)
   ========================================================================== */
.table-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(2, 132, 199, 0.15);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.06);
}

.search-box-wrap input {
    background-color: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: #0f172a;
    padding: 10px 15px;
    border-radius: 4px;
    width: 280px;
    font-size: 0.9rem;
}

.search-box-wrap input::placeholder {
    color: #94a3b8;
}

.search-box-wrap input:focus {
    border-color: var(--neon-coral);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.table-outer-container {
    overflow-x: auto;
    border: 2px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.06);
}

.vintage-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.vintage-data-table th {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    color: #0284c7;
    font-family: var(--font-sans);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 16px;
    border-bottom: 2px solid rgba(2, 132, 199, 0.15);
    cursor: pointer;
    user-select: none;
    transition: background-color var(--transition-speed);
}

.vintage-data-table th:hover {
    background-color: #e0f2fe;
}

.vintage-data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(2, 132, 199, 0.1);
    color: var(--cream);
}

.vintage-data-table tbody tr:hover {
    background-color: rgba(2, 132, 199, 0.04);
}

.vintage-data-table tbody tr:nth-child(even) {
    background-color: rgba(240, 249, 255, 0.4);
}

.rank-cell {
    font-weight: 800;
    color: var(--neon-coral);
}

.country-cell {
    font-family: var(--font-editorial);
    font-weight: bold;
    font-size: 1rem;
}

/* ==========================================================================
   COUNTRIES GRID VIEW
   ========================================================================== */
.countries-control-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.countries-control-bar input, .countries-control-bar select {
    background-color: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.countries-control-bar input {
    width: 350px;
}

.countries-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* ==========================================================================
   GROUPS SYSTEM A-L
   ========================================================================== */
.groups-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.group-block {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.06);
    position: relative;
}

.group-block-title {
    font-family: var(--font-heading);
    color: #0284c7;
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(2, 132, 199, 0.15);
    padding-bottom: 10px;
}

.group-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(2, 132, 199, 0.08);
}

.group-team-row:last-child {
    border-bottom: none;
}

.group-team-name {
    font-weight: 600;
    color: var(--cream);
}

.group-team-chance {
    font-weight: 700;
    color: var(--neon-coral);
}

/* ==========================================================================
   GUIDE & FAQ SECTION
   ========================================================================== */
.guide-content-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.guide-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.05);
}

.guide-card h3 {
    font-family: var(--font-heading);
    color: #0284c7;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.guide-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.guide-card.advisory {
    grid-column: 1 / -1;
    border: 2px solid #0284c7;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    color: #0c4a6e;
    font-family: var(--font-editorial);
    font-size: 1.2rem;
    text-align: left;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-trigger::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-coral);
}

.faq-item.active .faq-trigger::after {
    content: '−';
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(240, 249, 255, 0.5);
}

.faq-panel p {
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   LEGAL CONTAINER & PHYSICAL ADDRESSES
   ========================================================================== */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 8px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.06);
}

.legal-container h1 {
    font-family: var(--font-heading);
    color: var(--neon-coral);
    margin-bottom: 10px;
}

.legal-date {
    font-size: 0.85rem;
    color: var(--neon-coral);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.legal-container h3 {
    font-family: var(--font-editorial);
    font-size: 1.4rem;
    color: #0c4a6e;
    margin: 30px 0 15px 0;
}

.legal-container p, .legal-container ul {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.address-box {
    margin-top: 40px;
    border-top: 2px dashed rgba(2, 132, 199, 0.2);
    padding-top: 25px;
}

.address-text {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--neon-coral);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    border-top: 2px solid #38bdf8;
    padding: 70px 20px 30px 20px;
    margin-top: 100px;
    color: #bae6fd;
}

.footer-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-logo .neon-text-blue {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.footer-logo .neon-text-gray {
    color: #bae6fd;
    text-shadow: none;
}

.footer-tagline {
    color: #e0f2fe;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-grid h4 {
    font-family: var(--font-heading);
    color: #38bdf8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-legal a {
    color: #bae6fd;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.footer-links a:hover, .footer-legal a:hover {
    color: #ffffff;
}

.footer-address {
    color: #e0f2fe;
    font-size: 0.9rem;
}

.address-block-display {
    color: #38bdf8;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1440px;
    margin: 30px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #bae6fd;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 2px solid #0284c7;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.15), 0 0 20px rgba(2, 132, 199, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
    transform: translateY(100px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-banner.show {
    display: block;
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.marquee-alert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--neon-coral);
    box-shadow: 0 0 8px var(--neon-coral);
    flex-shrink: 0;
}

.cookie-banner-text p {
    font-size: 0.9rem;
    color: #0c4a6e;
}

.cookie-banner-text a {
    color: #0284c7;
    font-weight: 700;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
}

/* ==========================================================================
   RESPONSIVE SCALING & ADAPTIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

@media (max-width: 992px) {
    .match-card {
        grid-template-columns: 1fr;
    }
    .match-analysis-side {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Header toggle */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: left 0.4s ease;
        padding: 40px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .vintage-heading {
        font-size: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .table-controls {
        flex-direction: column;
    }

    .search-box-wrap input {
        width: 100%;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-text {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .vintage-frame {
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}