/* Root variables defining the designated design system */
:root {
    /* Rich Cosmic Canvas */
    --bg-primary: #060713;
    --bg-secondary: #0c0d21;
    --bg-surface-glass: rgba(255, 255, 255, 0.03);
    --bg-surface-glass-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.22);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    
    /* Vibrant Palette */
    --color-red: #FF6B6B;
    --color-yellow: #FFD93D;
    --color-green: #6BCB77;
    --color-blue: #4D96FF;
    --color-purple: #C77DFF;
    
    /* Neutral text components */
    --text-light: #f8fafc;
    --text-light-muted: #a3b3cc;
    --text-dark: #11132e;
    
    /* Fonts and styles */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Syncopate', sans-serif;
    --transition-speed: 0.4s;
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-purple);
}

/* Reset and general styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

/* Liquid Blob Backdrops */
.liquid-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-red {
    width: 450px;
    height: 450px;
    background: var(--color-red);
    top: -10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-purple {
    width: 500px;
    height: 500px;
    background: var(--color-purple);
    bottom: 10%;
    right: -5%;
    animation-delay: -5s;
}

.blob-blue {
    width: 400px;
    height: 400px;
    background: var(--color-blue);
    top: 40%;
    left: -10%;
    animation-delay: -10s;
}

.blob-green {
    width: 420px;
    height: 420px;
    background: var(--color-green);
    bottom: -15%;
    left: 30%;
    animation-delay: -15s;
}

.blob-yellow {
    width: 350px;
    height: 350px;
    background: var(--color-yellow);
    top: 15%;
    right: 15%;
    animation-delay: -20s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, 50px) scale(1.15) rotate(180deg);
    }
    100% {
        transform: translate(-40px, -80px) scale(0.9) rotate(360deg);
    }
}

/* Layout systems */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

/* Color class helpers */
.text-red { color: var(--color-red) !important; }
.text-purple { color: var(--color-purple) !important; }
.text-blue { color: var(--color-blue) !important; }
.text-green { color: var(--color-green) !important; }
.text-yellow { color: var(--color-yellow) !important; }

/* Typography styles */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 16px;
}

.section-tagline.highlight {
    background: linear-gradient(135deg, var(--color-red), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 0%, #b8c7db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-light-muted);
}

/* Navigation Header styling - frosted floating bar */
.main-header {
    background-color: rgba(6, 7, 19, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-accent {
    background: linear-gradient(135deg, var(--color-red), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.main-nav {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light-muted);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-speed);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 180px 0 130px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 30%, rgba(199, 125, 255, 0.15) 0%, rgba(6, 7, 19, 0) 65%),
                radial-gradient(circle at 25% 75%, rgba(77, 150, 255, 0.1) 0%, rgba(6, 7, 19, 0) 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-yellow);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 28px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #a3b3cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light-muted);
    margin-bottom: 44px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Button Styles - Glossy Reflection & Spring effects */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-purple) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    border: 1px solid var(--glass-border-hover);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Stats Ticker Section - Dynamic Glass Wrap */
.stats-ticker-section {
    background-color: rgba(12, 13, 33, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 28px 0;
}

.ticker-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticker-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-light-muted);
}

.ticker-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-red);
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.ticker-value.text-gold {
    color: var(--color-yellow);
    text-shadow: 0 0 15px rgba(255, 217, 61, 0.4);
}

.ticker-value.text-purple {
    color: var(--color-purple);
    text-shadow: 0 0 15px rgba(199, 125, 255, 0.4);
}

.ticker-divider {
    width: 1px;
    height: 28px;
    background-color: var(--glass-border);
}

/* Glassmorphism Match Grid Cards */
.match-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.match-card {
    background: var(--bg-surface-glass);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-highlight);
    border-left-color: var(--glass-highlight);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    padding: 36px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.match-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: var(--bg-surface-glass-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(199, 125, 255, 0.15);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-group-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--glass-border);
}

.card-meta {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light-muted);
}

.card-teams {
    margin-bottom: 28px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 12px;
}

.team-stat {
    font-size: 0.9rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light-muted);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.vs-divider {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-yellow);
    text-shadow: 0 0 10px rgba(255, 217, 61, 0.4);
    text-align: left;
    margin: 12px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.vs-divider::after {
    content: '';
    flex-grow: 1;
    margin-left: 16px;
    height: 1px;
    background: linear-gradient(90deg, var(--glass-border), transparent);
}

.card-metrics {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    margin-bottom: 28px;
}

.metric-box {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.metric-label {
    color: var(--text-light-muted);
    font-weight: 600;
}

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

.card-cta {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-blue);
    transition: transform 0.3s, color 0.3s;
    margin-top: auto;
    padding-top: 12px;
}

.card-cta:hover {
    color: var(--color-purple);
    transform: translateX(5px);
}

/* Favorites Grid Styling - Colorful Neon Cards */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.fav-card {
    background: var(--bg-surface-glass);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-highlight);
    border-left-color: var(--glass-highlight);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
}

.fav-card:hover {
    transform: translateY(-8px);
    background: var(--bg-surface-glass-hover);
    border-color: var(--color-purple);
    box-shadow: 0 15px 35px rgba(199, 125, 255, 0.2);
}

.fav-rank {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}

.fav-country {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
}

.fav-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fav-metric {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.fav-metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fav-metric span {
    color: var(--text-light-muted);
}

.text-accent { color: var(--color-red); text-shadow: 0 0 10px rgba(255, 107, 107, 0.3); }
.text-accent-purple { color: var(--color-purple); text-shadow: 0 0 10px rgba(199, 125, 255, 0.3); }
.text-accent-blue { color: var(--color-blue); text-shadow: 0 0 10px rgba(77, 150, 255, 0.3); }
.text-accent-green { color: var(--color-green); text-shadow: 0 0 10px rgba(107, 203, 119, 0.3); }
.text-accent-yellow { color: var(--color-yellow); text-shadow: 0 0 10px rgba(255, 217, 61, 0.3); }

.text-accent-sec { color: var(--color-green); }
.text-accent-sec-purple { color: var(--color-blue); }
.text-accent-sec-blue { color: var(--color-purple); }
.text-accent-sec-green { color: var(--color-yellow); }
.text-accent-sec-yellow { color: var(--color-green); }

/* Expanded Match Previews Section Styles */
.previews-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.preview-block {
    background: var(--bg-surface-glass);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-highlight);
    border-left-color: var(--glass-highlight);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 56px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-speed) ease;
}

.preview-block:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.preview-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 28px;
}

.preview-group {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.preview-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 48px;
    margin-bottom: 40px;
}

.comparison-vs {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.6rem;
    color: #ffffff;
    background: var(--bg-surface-glass);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.text-red-glow { border-color: var(--color-red) !important; color: var(--color-red); text-shadow: 0 0 15px rgba(255, 107, 107, 0.5); }
.text-purple-glow { border-color: var(--color-purple) !important; color: var(--color-purple); text-shadow: 0 0 15px rgba(199, 125, 255, 0.5); }
.text-blue-glow { border-color: var(--color-blue) !important; color: var(--color-blue); text-shadow: 0 0 15px rgba(77, 150, 255, 0.5); }
.text-green-glow { border-color: var(--color-green) !important; color: var(--color-green); text-shadow: 0 0 15px rgba(107, 203, 119, 0.5); }
.text-yellow-glow { border-color: var(--color-yellow) !important; color: var(--color-yellow); text-shadow: 0 0 15px rgba(255, 217, 61, 0.5); }

.team-profile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: border-color var(--transition-speed);
}

.team-profile.border-red:hover { border-color: var(--color-red); }
.team-profile.border-purple:hover { border-color: var(--color-purple); }
.team-profile.border-blue:hover { border-color: var(--color-blue); }
.team-profile.border-green:hover { border-color: var(--color-green); }
.team-profile.border-yellow:hover { border-color: var(--color-yellow); }

.profile-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light-muted);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.profile-team {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-stats li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-light-muted);
}

.profile-stats li strong {
    color: #ffffff;
}

.preview-editorial {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    line-height: 1.75;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--glass-border);
}

.preview-editorial.bar-red { border-left-color: var(--color-red); }
.preview-editorial.bar-purple { border-left-color: var(--color-purple); }
.preview-editorial.bar-blue { border-left-color: var(--color-blue); }
.preview-editorial.bar-green { border-left-color: var(--color-green); }
.preview-editorial.bar-yellow { border-left-color: var(--color-yellow); }

/* Group Race Table styling */
.group-summary-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: var(--bg-surface-glass);
}

.group-summary-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 1rem;
}

.group-summary-table th, 
.group-summary-table td {
    padding: 22px 28px;
    border-bottom: 1px solid var(--glass-border);
}

.group-summary-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--text-light-muted);
    background-color: rgba(255, 255, 255, 0.03);
}

.group-summary-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

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

.table-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
}

.table-badge.badge-red { background: rgba(255, 107, 107, 0.15); color: var(--color-red); }
.table-badge.badge-purple { background: rgba(199, 125, 255, 0.15); color: var(--color-purple); }
.table-badge.badge-blue { background: rgba(77, 150, 255, 0.15); color: var(--color-blue); }
.table-badge.badge-green { background: rgba(107, 203, 119, 0.15); color: var(--color-green); }
.table-badge.badge-yellow { background: rgba(255, 217, 61, 0.15); color: var(--color-yellow); }

/* Host Nations Watch - Glowing Glass Borders */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.host-card {
    background: var(--bg-surface-glass);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-highlight);
    border-left-color: var(--glass-highlight);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
}

.host-card.border-yellow-glow:hover { border-color: var(--color-yellow); box-shadow: 0 15px 35px rgba(255, 217, 61, 0.15); }
.host-card.border-red-glow:hover { border-color: var(--color-red); box-shadow: 0 15px 35px rgba(255, 107, 107, 0.15); }
.host-card.border-blue-glow:hover { border-color: var(--color-blue); box-shadow: 0 15px 35px rgba(77, 150, 255, 0.15); }

.host-card-header {
    margin-bottom: 28px;
}

.host-badge {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.host-name {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 6px;
}

.host-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.host-stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: var(--border-radius-sm);
}

.hs-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.hs-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.host-footer-stat {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    font-size: 0.95rem;
    color: var(--text-light-muted);
}

.host-footer-stat strong {
    font-weight: 700;
}

/* Guide Section styling */
.guide-section {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(12, 13, 33, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.guide-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.guide-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, var(--text-light-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guide-text {
    color: var(--text-light-muted);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-list li {
    font-size: 1rem;
    color: var(--text-light-muted);
}

.guide-list li strong {
    color: #ffffff;
    font-weight: 700;
}

.guide-update-stamp {
    font-size: 1rem;
    margin-top: 32px;
    color: var(--text-light-muted);
}

.guide-update-stamp strong {
    text-shadow: 0 0 10px rgba(77, 150, 255, 0.4);
}

.guide-svg {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

/* FAQ Section Styling */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: var(--bg-surface-glass);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-highlight);
    border-left-color: var(--glass-highlight);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    padding: 28px 36px;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--color-purple);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-light-muted);
}

/* Footer styling */
.main-footer {
    background-color: #03040a;
    border-top: 1px solid var(--glass-border);
    color: var(--text-light-muted);
    padding: 100px 0 50px 0;
    position: relative;
    z-index: 10;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li a {
    font-size: 0.95rem;
    color: var(--text-light-muted);
}

.footer-links li a:hover {
    color: var(--color-purple);
}

/* Address Block */
.footer-address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-light-muted);
}

.footer-address strong {
    color: #ffffff;
    display: block;
    margin-bottom: 6px;
}

.contact-info-meta {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-light-muted);
    margin-top: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.footer-legal-links {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.footer-legal-links a {
    color: var(--text-light-muted);
    margin: 0 6px;
}

.footer-legal-links a:hover {
    color: var(--color-red);
    text-decoration: underline;
}

/* Floating Cookie Consent Banner styles - Premium Glass Banner */
.cookie-banner-wrapper {
    position: fixed;
    bottom: -180px;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(12, 13, 33, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border-hover);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5);
    transition: bottom 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 24px 0;
}

.cookie-banner-wrapper.active {
    bottom: 0;
}

.cookie-banner-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cookie-banner-text {
    flex: 1;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--color-blue);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    color: var(--color-purple);
}

.cookie-banner-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-cookie-primary {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-blue) 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(107, 203, 119, 0.2);
    transition: all 0.3s;
}

.btn-cookie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 203, 119, 0.4);
}

.btn-cookie-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light-muted);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cookie-secondary:hover {
    border-color: var(--text-light);
    color: var(--text-light);
}

/* Interactive Legal Modal Styles - Full Glass Pop */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
    padding: 24px;
}

.legal-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-container {
    background: rgba(12, 13, 33, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border-hover);
    width: 100%;
    max-width: 850px;
    height: 80vh;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.legal-modal-overlay.active .legal-modal-container {
    transform: translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: var(--text-light-muted);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
}

.legal-modal-close:hover {
    color: var(--color-red);
}

.legal-modal-tabs {
    display: flex;
    background-color: rgba(3, 4, 10, 0.3);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px 28px 0 28px;
    gap: 16px;
}

.legal-tab-btn {
    background: none;
    border: none;
    color: var(--text-light-muted);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 24px;
    cursor: pointer;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    position: relative;
    transition: all 0.3s;
}

.legal-tab-btn:hover {
    color: #ffffff;
}

.legal-tab-btn.active {
    color: var(--color-purple);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-bottom-color: transparent;
    margin-bottom: -1px;
}

.legal-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 44px;
    color: var(--text-light-muted);
}

.legal-tab-pane {
    display: none;
}

.legal-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.legal-tab-pane h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.legal-tab-pane h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 28px;
    margin-bottom: 14px;
}

.legal-tab-pane p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.legal-tab-pane ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 18px;
}

.legal-tab-pane li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-light-muted);
}

.legal-date {
    font-size: 0.85rem;
    color: var(--color-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .match-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .favorites-grid, .hosts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .favorites-grid, .hosts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .guide-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    .footer-brand-column {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    .hero-title {
        font-size: 3rem;
    }
    .match-grid {
        grid-template-columns: 1fr;
    }
    .favorites-grid, .hosts-grid {
        grid-template-columns: 1fr;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .comparison-vs {
        margin: 0 auto;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(6, 7, 19, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 44px;
        transition: left var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
    }
    .main-nav.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.35rem;
    }
    .cookie-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .ticker-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .ticker-divider {
        display: none;
    }
    .preview-block {
        padding: 30px 20px;
    }
    .legal-modal-tabs {
        padding: 16px 16px 0 16px;
        gap: 6px;
    }
    .legal-tab-btn {
        font-size: 0.8rem;
        padding: 10px 14px;
    }
    .legal-modal-content {
        padding: 28px;
    }
}