* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981;
    --primary-hover: #059669;
    --primary-light: #d1fae5;
    --green-primary: #10b981;
    --green-hover: #059669;
    --green-light: #d1fae5;
    --green-accent: #34d399;
    --secondary-color: #000000;
    --text-primary: #1f2937;
    --text-secondary: #374151;
    --text-light: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f9f5;
    --bg-tertiary: #e8f5f0;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f5 100%);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    background-color: var(--bg-secondary);
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    text-align: left;
}

.breadcrumbs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 4px;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.mobile-logo {
    display: none;
}

.desktop-logo {
    display: block;
}

nav,
.desktop-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Mobile menu elements - hidden on desktop by default */
.mobile-menu-toggle,
.mobile-nav,
.mobile-menu-overlay {
    display: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dropdown-toggle {
    color: var(--text-secondary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.nav-dropdown-toggle:hover {
    color: var(--green-primary);
}

.nav-dropdown-toggle:hover::after {
    color: var(--green-primary);
}

.language-switcher-toggle {
    gap: 8px;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    max-width: 320px;
    z-index: 1000;
    overflow: hidden;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown-search {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background-color: var(--bg-secondary);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.nav-dropdown-search:focus {
    background-color: var(--bg-primary);
    border-bottom-color: var(--primary-color);
}

.nav-dropdown-search::placeholder {
    color: var(--text-light);
}

.nav-dropdown-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

/* Days dropdown should show the full fixed day list without clipping. */
.nav-dropdown-list-days {
    max-height: none;
    overflow-y: visible;
}

.nav-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.nav-dropdown-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.nav-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.nav-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.nav-dropdown-list a {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-list a:hover {
    background-color: var(--green-light);
    color: var(--green-primary);
    border-left-color: var(--green-primary);
    padding-left: 20px;
}

.nav-dropdown-list a.active-language {
    background-color: var(--green-light);
    color: var(--green-primary);
    border-left-color: var(--green-primary);
    font-weight: 600;
}

/* Content Container (for other pages) */
.content-container {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 24px;
}

.content-box {
    background-color: var(--bg-primary);
    border-radius: 5px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Compact styling for contact page */
.content-box:has(.contact-layout) {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
}

.content-box a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.content-box a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* 404 page */
.not-found-page {
    max-width: 980px;
}

.not-found-body {
    background: radial-gradient(circle at 20% 20%, #e8f5f0 0%, #f8fbf9 35%, #ffffff 100%);
}

.not-found-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f7fcfa 100%);
    border: 1px solid #dbe7e1;
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    padding: 56px 56px 48px;
}

.not-found-card::before {
    content: '';
    position: absolute;
    inset: -60px auto auto -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 72%);
    pointer-events: none;
}

.not-found-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-hover);
    margin-bottom: 8px;
}

.not-found-code {
    font-size: clamp(74px, 10vw, 128px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f766e;
    text-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
}

.not-found-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.not-found-copy {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 18px;
}

.not-found-path {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    background-color: #f1f8f5;
    border: 1px solid #d8e8df;
    border-radius: 5px;
    padding: 10px 14px;
    color: var(--text-light);
    font-size: 12px;
}

.not-found-path code {
    font-family: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;
    color: #0f766e;
    font-size: 12px;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.not-found-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 5px;
    border: 1px solid #c9d8d0;
    background: #ffffff;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.not-found-btn:hover {
    transform: translateY(-1px);
    border-color: #9fb9aa;
    background: #f6faf8;
}

.not-found-btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.not-found-btn.primary:hover {
    filter: brightness(0.98);
}

.not-found-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.not-found-link-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 5px;
    border: 1px dashed #b8cfc1;
    text-decoration: none;
    color: #0f766e;
    font-weight: 600;
    background-color: #f4fbf7;
    transition: all 0.2s ease;
}

.not-found-link-grid a:hover {
    border-style: solid;
    border-color: #8fb4a1;
    background-color: #ebf8f1;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.7;
}
/* About Us Page Styles */
/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.contact-form-section,
.contact-emails-section {
    display: flex;
    flex-direction: column;
}

.contact-form-section h2,
.contact-emails-section h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Email Contacts */
.email-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.email-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
}

.email-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.email-item a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}
/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 24px;
}

/* Left Sidebar - Leagues */
.sidebar-left {
    background-color: var(--bg-primary);
    border-radius: 5px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    align-self: start;
}

.sidebar-title {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 14px 16px;
    font-weight: 700;
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 16px;
    border-radius: 5px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.country-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background-color: var(--bg-secondary);
    transition: all 0.3s ease;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.country-search:focus {
    background-color: var(--bg-primary);
    border-color: var(--primary-color);
}

.country-search::placeholder {
    color: var(--text-light);
}

.country-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.country-item {
    margin-bottom: 4px;
}

.country-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.country-header:hover {
    background-color: var(--green-light);
}

.country-header.country-active {
    color: var(--green-primary);
    padding-left: 13px;
}

.country-link {
    flex: 1;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
    font-family: inherit;
}

.country-link:hover {
    color: var(--green-primary);
}

.country-item.open .country-link {
    color: var(--green-primary);
}

.country-arrow-toggle {
    background: var(--green-light);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 5px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 10px;
    color: var(--green-primary);
    font-weight: 700;
    transition: all 0.3s ease;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    font-family: inherit;
}

.country-arrow-toggle:hover {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: #ffffff;
}

.country-item.open .country-arrow-toggle {
    transform: rotate(180deg);
    color: #ffffff;
    background: var(--green-primary);
    border-color: var(--green-primary);
}

.league-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.country-item .league-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.country-item.open .league-list {
    max-height: 500px;
    overflow-y: auto;
}

.league-list li {
    margin-bottom: 2px;
    border-radius: 5px;
    overflow: hidden;
}

.league-list li a {
    display: block;
    width: 100%;
    padding: 10px 16px 10px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.league-list li:hover a {
    background-color: var(--green-light);
    color: var(--green-primary);
    transform: translateX(4px);
}

.league-list li.active {
    background-color: var(--green-light);
    border-left: 3px solid var(--green-primary);
}

.league-list li.active a {
    color: var(--green-primary);
    padding-left: 13px;
}

.league-list li.active:hover a {
    transform: none;
}

.international-league-list li.active {
    background-color: var(--green-light);
    border-left: 3px solid var(--green-primary);
}

.international-league-list li.active a {
    color: var(--green-primary);
    padding-left: 13px;
}

.international-league-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.international-league-list::-webkit-scrollbar {
    width: 6px;
}

.international-league-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 5px;
}

.international-league-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.international-league-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.empty-state {
    color: var(--text-light) !important;
    cursor: default !important;
}

.empty-state:hover {
    transform: none !important;
    background: transparent !important;
}

.league-section-title {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    border-radius: 5px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    text-align: center;
}

.international-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background-color: var(--bg-secondary);
    transition: all 0.3s ease;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.international-search:focus {
    background-color: var(--bg-primary);
    border-color: var(--primary-color);
}

.international-search::placeholder {
    color: var(--text-light);
}

.sidebar-title h2,
.league-section-title h2,
.sidebar-section-title h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.sidebar-title,
.league-section-title {
    font-size: 13px !important;
}

/* Center Column - Main Content */
.main-content {
    background-color: var(--bg-primary);
    border-radius: 5px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
	width:820px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.date-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 6px;
    border-radius: 5px;
}

/* Desktop: wrapper is just a container, no special styling */
.date-navigation-wrapper {
    display: block;
    position: static;
    margin-bottom: 0;
}

.date-navigation-wrapper > .date-navigation {
    /* Inherit desktop styles */
}

.date-navigation-scroll-indicator {
    display: none;
}

.date-nav-item {
    flex: 1;
    display: block;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
}

.date-nav-item:hover {
    background-color: var(--bg-primary);
    color: var(--primary-color);
}

.date-nav-item.active {
    cursor: default;
}

.date-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.tabs-wrapper {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.tabs-wrapper .tabs-scroll-indicator {
    display: none;
}

.tabs-wrapper .tabs-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.prediction-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    justify-content: space-between;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 4px;
    border-radius: 5px;
}

.prediction-tab {
    flex: 1;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 5px;
    color: var(--text-secondary);
    text-align: center;
    text-decoration: none;
    display: block;
}

.prediction-tab:hover {
    color: var(--primary-color);
    background-color: var(--bg-primary);
}

.prediction-tab.active {
    color: var(--primary-color);
    background-color: var(--bg-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.sub-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    justify-content: space-between;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 4px;
    border-radius: 5px;
}

.sub-tab {
    flex: 1;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    display: block;
}

.sub-tab:hover {
    color: var(--primary-color);
    background-color: var(--bg-primary);
}

.sub-tab.active {
    color: var(--primary-color);
    background-color: var(--bg-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Arrow Indicator */
/* Desktop Slider Styles */
@media (min-width: 969px) {
    .tabs-wrapper {
        position: relative;
    }

    .tabs-wrapper .tabs-container {
        display: block;
        overflow-x: hidden;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 4px;
        background-color: var(--bg-secondary);
        border-radius: 5px;
    }

    /* Desktop: tabs fit the container, no horizontal scrolling. */

    .prediction-tabs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        margin-bottom: 0;
        justify-content: stretch;
        width: 100%;
        min-width: 0;
        background-color: transparent;
        padding: 0;
    }

    .prediction-tab,
    .sub-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px 10px;
        background-color: transparent;
        color: var(--text-secondary);
        font-weight: 500;
        box-shadow: none;
        white-space: nowrap;
    }

    .prediction-tab:hover,
    .sub-tab:hover {
        color: var(--primary-color);
        background-color: var(--bg-primary);
    }

    .prediction-tab.active,
    .sub-tab.active {
        color: #ffffff;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
        font-weight: 600;
        box-shadow: var(--shadow-sm);
    }

}

/* Match Listings */
.intro-text {
    margin: 18px 0 24px;
}

.intro-text a,
.main-content p a {
    color: var(--green-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(16, 185, 129, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.intro-text a:hover,
.main-content p a:hover {
    color: var(--green-hover);
    border-bottom-color: var(--green-hover);
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-text-bottom {
    margin: 16px 0 28px;
}

.kickoff-timezone-note {
    margin: 0 0 16px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-secondary);
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.4;
}

.kickoff-timezone-name {
    color: var(--text-secondary);
    font-weight: 600;
}

.match-group {
    margin-bottom: 32px;
}

.match-group-empty {
    margin-bottom: 32px;
}

.fixtures-empty-state {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.fixtures-empty-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.fixtures-empty-state-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    background: var(--green-light);
    color: var(--green-hover);
    border: 1px solid rgba(16, 185, 129, 0.35);
    flex-shrink: 0;
}

.fixtures-empty-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    color: var(--text-primary);
    font-weight: 700;
}

.fixtures-empty-summary,
.fixtures-empty-filters {
    margin: 0 0 10px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.fixtures-empty-filters {
    color: var(--text-primary);
    font-weight: 500;
}

.fixtures-empty-reasons-title,
.fixtures-empty-actions-title {
    margin: 14px 0 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.fixtures-empty-reasons {
    margin: 0;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.fixtures-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.empty-action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: #ffffff;
    color: var(--green-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.empty-action-chip:hover {
    background-color: var(--green-light);
    color: var(--green-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.empty-action-chip:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.match-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px 80px 80px 80px 100px;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 2px solid var(--border-color);
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 5px 5px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Goals page - 2 columns instead of 3 */
.goals-page .match-header-row {
    grid-template-columns: minmax(0, 1fr) 100px 80px 80px 100px;
}

.goals-page .match-row {
    grid-template-columns: 100px minmax(0, 1fr) 80px 80px 100px;
}

.goals-page .match-header-row > div:nth-child(5),
.goals-page .match-row > .odds:nth-child(5) {
    display: none;
}

.btts-page .match-header-row > div:nth-child(5),
.btts-page .match-row > .odds:nth-child(5),
.htft-page .match-header-row > div:nth-child(5),
.htft-page .match-row > .odds:nth-child(5) {
    display: none;
}

.score-page .match-header-row > div:nth-child(5),
.score-page .match-row > .odds:nth-child(5),
.score-page .match-header-row > div:nth-child(6),
.score-page .match-row > .prediction {
    display: none;
}

/* Corners/Cards page - 4 columns (Corners/Cards, Over, Under, Prediction) */
.corners-page .match-header-row {
    grid-template-columns: minmax(0, 1fr) 100px 80px 80px 80px 100px;
}

.corners-page .match-row {
    grid-template-columns: 100px minmax(0, 1fr) 80px 80px 80px 100px;
}

/* BTTS page - 3 columns (Yes, No, Prediction) */
.btts-page .match-header-row {
    grid-template-columns: minmax(0, 1fr) 100px 80px 80px 100px;
}

.btts-page .match-row {
    grid-template-columns: 100px minmax(0, 1fr) 80px 80px 100px;
}

/* Score page - 2 columns (Prediction, Odds) */
.score-page .match-header-row {
    grid-template-columns: minmax(0, 1fr) 100px 100px 80px;
}

.score-page .match-row {
    grid-template-columns: 100px minmax(0, 1fr) 100px 80px;
}

/* HT/FT page - 3 columns (HT/FT Prediction, Odds, Prediction) */
.htft-page .match-header-row {
    grid-template-columns: minmax(0, 1fr) 100px 120px 80px 100px;
}

.htft-page .match-row {
    grid-template-columns: 100px minmax(0, 1fr) 120px 80px 100px;
}

.match-header-row .league-name {
    color: var(--text-primary);
    font-weight: 700;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
    font-size: 13px;
}

.match-header-row .odds-header {
    text-align: center;
    color: var(--text-primary);
}

.match-header-row .prediction-header {
    text-align: center;
    color: var(--text-primary);
}

.match-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 80px 80px 80px 100px;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    font-size: 13px;
    transition: all 0.2s ease;
    border-radius: 5px;
    border-left: 3px solid transparent;
}

.match-row:hover {
    background-color: var(--green-light);
    transform: translateX(4px);
    border-left-color: var(--green-accent);
}

.match-row:last-child {
    border-bottom: none;
}

.match-time {
    color: var(--text-light);
    font-weight: 500;
}

.match-teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-name {
    font-weight: 600;
    color: var(--text-primary);
}

.odds {
    text-align: center;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

.odds.highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, #a7f3d0 100%);
    color: var(--primary-hover);
    box-shadow: var(--shadow-sm);
}

.odds.highlight-green {
    background: linear-gradient(135deg, var(--green-light) 0%, #a7f3d0 100%);
    color: var(--green-hover);
    box-shadow: var(--shadow-sm);
}

.prediction {
    text-align: center;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

/* Right Sidebar */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-section {
    background-color: var(--bg-primary);
    border-radius: 5px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.sidebar-section-title {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 14px 16px;
    font-weight: 700;
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 16px;
    border-radius: 5px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    border: 1px solid var(--border-color);
    text-align: center;
}
.day-list {
    list-style: none;
    margin-left: 0;
}

.day-list li {
    margin-bottom: 4px;
    border-radius: 5px;
    overflow: hidden;
}

.day-list li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.day-list li:hover a {
    background-color: var(--green-light);
    color: var(--green-primary);
    transform: translateX(4px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #374151;
    margin-top: 60px;
    padding: 60px 24px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-disclaimer-box {
    padding: 28px;
    border-radius: 5px;
}

.footer-disclaimer-box p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-disclaimer-box p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer-box p strong {
    color: #1f2937;
    font-weight: 600;
}
.footer-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.footer-logos-grid img {
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.footer-logos-grid img:hover {
    opacity: 1;
    filter: brightness(1.1);
    transform: scale(1.1);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.footer-nav-column h3,
.footer-nav-column .footer-nav-title {
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}
.footer-nav-column ul {
    list-style: none;
    margin-left: 0;
}

.footer-nav-column ul li {
    margin-bottom: 12px;
}

.footer-nav-column ul li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-column ul li a:hover {
    color: var(--green-primary);
    transform: translateX(4px);
}
.footer-disclaimer {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-disclaimer .footer-logos-grid {
    margin-top: 32px;
}

.footer-disclaimer p {
    color: #6b7280;
    margin-bottom: 16px;
}

/* Mobile-only sections - hidden on desktop */
.mobile-sections {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 220px 1fr 280px;
        gap: 20px;
    }
}

@media (max-width: 968px) {
    /* Prevent horizontal scrolling on mobile */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    /* Breadcrumbs mobile */
    .breadcrumbs {
        padding: 10px 0;
    }

    .breadcrumbs-container {
        padding: 0 16px;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .breadcrumb-separator {
        margin: 0 2px;
    }

    .main-container {
        grid-template-columns: 1fr !important;
        padding: 24px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
        margin-left: 0;
        margin-right: 0;
    }
    
    .sidebar-left,
    .sidebar-right {
        display: none;
    }

    header {
        padding: 16px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        position: relative;
        z-index: 100;
        overflow: visible;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    /* Hide desktop nav on mobile */
    nav,
    .desktop-nav {
        display: none !important;
    }

    /* ============================================
       MOBILE MENU - FRESH IMPLEMENTATION
       ============================================ */

    /* Step 1: Show mobile menu toggle button - Mobile optimized */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 12px;
        min-width: 48px;
        min-height: 48px;
        z-index: 1001;
        position: relative;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: var(--text-secondary);
        transition: all 0.3s ease;
        border-radius: 5px;
    }

    .mobile-menu-toggle:hover span {
        background-color: var(--primary-color);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Step 2: Mobile menu overlay - Not needed for full screen menu */
    .mobile-menu-overlay {
        display: none !important;
    }

    .mobile-menu-overlay.active {
        display: none !important;
    }

    /* Step 3: Mobile navigation menu - Full screen */
    .mobile-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100vw !important;
        max-width: 100% !important;
        height: 100vh !important;
        background-color: var(--bg-primary) !important;
        box-shadow: var(--shadow-xl) !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transition: left 0.3s ease !important;
        padding-top: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    /* Lock body/html when menu is open */
    html.menu-open,
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none !important;
    }

    .mobile-nav.active {
        left: 0 !important;
    }

    /* Step 4: Mobile menu content - Mobile optimized */
    .mobile-nav-content {
        padding: 80px 20px 24px 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative;
    }

    /* Mobile menu close button */
    .mobile-nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
        padding: 0;
        border-radius: 50%;
        transition: background-color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-close:hover,
    .mobile-nav-close:active {
        background-color: var(--bg-secondary);
    }

    .mobile-nav-close-icon {
        width: 28px;
        height: 28px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-close-icon::before,
    .mobile-nav-close-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--text-secondary);
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .mobile-nav-close-icon::before {
        transform: rotate(45deg);
    }

    .mobile-nav-close-icon::after {
        transform: rotate(-45deg);
    }

    .mobile-nav-close:hover .mobile-nav-close-icon::before,
    .mobile-nav-close:hover .mobile-nav-close-icon::after,
    .mobile-nav-close:active .mobile-nav-close-icon::before,
    .mobile-nav-close:active .mobile-nav-close-icon::after {
        background-color: var(--primary-color);
    }

    .mobile-nav-content > a {
        display: block !important;
        padding: 18px 20px !important;
        color: var(--text-secondary) !important;
        text-decoration: none !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        border-radius: 5px !important;
        margin-bottom: 8px !important;
        transition: all 0.2s ease !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2);
    }

    .mobile-nav-content > a:hover,
    .mobile-nav-content > a.active {
        background-color: var(--bg-secondary) !important;
        color: var(--primary-color) !important;
    }

    .mobile-nav-content > a:active {
        background-color: var(--bg-secondary) !important;
        transform: scale(0.98);
    }

    /* Step 5: Mobile dropdowns - Mobile optimized */
    .mobile-nav-dropdown {
        margin-bottom: 8px;
    }

    .mobile-nav-dropdown-toggle {
        width: 100%;
        background: none;
        border: none;
        padding: 18px 20px;
        color: var(--text-secondary);
        text-align: left;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        border-radius: 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.2s ease;
        font-family: inherit;
        min-height: 48px;
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2);
    }

    .mobile-nav-dropdown-toggle::after {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s ease;
        color: var(--text-light);
        margin-left: 12px;
    }

    .mobile-nav-dropdown-toggle:active {
        transform: scale(0.98);
    }

    .mobile-nav-dropdown.open .mobile-nav-dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .mobile-nav-dropdown-toggle:hover,
    .mobile-nav-dropdown-toggle:active {
        background-color: var(--bg-secondary);
        color: var(--primary-color);
    }

    .mobile-nav-dropdown.open .mobile-nav-dropdown-toggle {
        background-color: var(--bg-secondary);
        color: var(--primary-color);
    }

    .mobile-nav-dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .mobile-nav-dropdown.open .mobile-nav-dropdown-menu {
        max-height: 400px;
        overflow: hidden;
        padding-top: 32px;
        padding-bottom: 24px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-nav-search {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 14px 16px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        background-color: var(--bg-secondary);
        color: var(--text-primary);
        font-size: 15px;
        margin-bottom: 12px;
        margin-top: 0;
        outline: none;
        box-sizing: border-box;
        display: block;
        -webkit-appearance: none;
        min-height: 48px;
    }

    .mobile-nav-search:focus {
        border-color: var(--primary-color);
    }

    .mobile-nav-search::placeholder {
        color: var(--text-light);
    }

    .mobile-nav-dropdown-list {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        padding-top: 8px;
        width: 100%;
        box-sizing: border-box;
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-dropdown.open.mobile-nav-dropdown-days .mobile-nav-dropdown-menu {
        max-height: 900px;
        overflow: visible;
    }

    .mobile-nav-dropdown-list-days {
        max-height: none;
        overflow-y: visible;
    }

    .mobile-nav-dropdown-list::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-nav-dropdown-list::-webkit-scrollbar-track {
        background: var(--bg-secondary);
    }

    .mobile-nav-dropdown-list::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 5px;
    }

    .mobile-nav-dropdown-list::-webkit-scrollbar-thumb:hover {
        background: var(--text-light);
    }

    .mobile-nav-dropdown-menu a,
    .mobile-nav-dropdown-list a {
        display: flex;
        padding: 14px 16px !important;
        color: var(--text-secondary) !important;
        text-decoration: none !important;
        font-size: 15px !important;
        border-radius: 5px !important;
        margin-bottom: 4px !important;
        transition: all 0.2s ease !important;
        min-height: 44px !important;
        align-items: center !important;
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2);
    }

    /* Allow JavaScript to hide items for search filtering */
    .mobile-nav-dropdown-list a.search-hidden {
        display: none !important;
    }

    .mobile-nav-dropdown-menu a:hover,
    .mobile-nav-dropdown-menu a:active,
    .mobile-nav-dropdown-list a:hover,
    .mobile-nav-dropdown-list a:active {
        background-color: var(--bg-secondary) !important;
        color: var(--primary-color) !important;
        padding-left: 20px !important;
    }

    .mobile-nav-dropdown-menu a:active,
    .mobile-nav-dropdown-list a:active {
        transform: scale(0.98);
    }

    .mobile-nav-dropdown-menu a.active-language,
    .mobile-nav-dropdown-list a.active-language {
        background-color: var(--bg-secondary) !important;
        color: var(--primary-color) !important;
        font-weight: 600;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .content-box {
        padding: 32px 24px;
    }

    .not-found-card {
        padding: 42px 28px 34px;
    }

    .not-found-path {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .not-found-link-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-nav-column {
        text-align: center;
    }

    .footer-nav-column .footer-nav-title {
        text-align: center;
    }

    .footer-nav-column ul {
        text-align: center;
    }

    .footer-nav-column ul li {
        text-align: center;
    }
    
    .content-box {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .not-found-card {
        padding: 34px 18px 26px;
    }

    .not-found-code {
        font-size: 66px;
    }

    .not-found-title {
        font-size: 28px;
    }

    .not-found-copy {
        font-size: 14px;
    }

    .not-found-actions {
        flex-direction: column;
    }

    .not-found-btn {
        width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
.footer-logos-grid {
        gap: 12px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    /* Mobile-specific content adjustments */
    .main-content {
        padding: 20px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .content-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Show wrapper on mobile */
    .date-navigation-wrapper {
        display: block !important;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
        box-sizing: border-box;
    }

    .date-navigation-wrapper > .date-navigation {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 6px;
        padding: 4px;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        scroll-behavior: smooth;
        margin-bottom: 0;
        background-color: var(--bg-secondary);
        border-radius: 5px;
    }

    .date-navigation::-webkit-scrollbar {
        display: none;
    }

    .date-navigation-scroll-indicator {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        pointer-events: none;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--bg-secondary);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .date-navigation-scroll-indicator {
        display: flex;
    }

    .date-navigation-scroll-left {
        left: 8px;
    }

    .date-navigation-scroll-right {
        right: 8px;
    }

    .date-navigation-scroll-indicator svg {
        width: 16px;
        height: 16px;
        color: var(--text-secondary);
    }

    .date-navigation-scroll-indicator.visible {
        opacity: 1;
    }

    .date-nav-item {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 8px 12px;
        font-size: 11px;
        white-space: nowrap;
        box-sizing: border-box;
    }

    /* Tabs wrapper for scrollable container */
    .tabs-wrapper {
        display: block !important;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px !important;
        box-sizing: border-box;
    }

    .main-content > .prediction-tabs:not(.tabs-wrapper .prediction-tabs),
    .main-content > .sub-tabs:not(.tabs-wrapper .sub-tabs) {
        display: none !important;
    }

    .tabs-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        padding: 6px;
        background-color: var(--bg-secondary);
        border-radius: 5px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .tabs-container::-webkit-scrollbar {
        display: none;
    }

    .tabs-container .prediction-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        flex-shrink: 0;
        margin-bottom: 0 !important;
        padding: 0 !important;
        width: auto;
        background-color: transparent !important;
    }

    .prediction-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        flex-shrink: 0;
        margin-bottom: 0 !important;
        padding: 0 !important;
        width: auto;
        background-color: transparent !important;
    }

    .prediction-tab {
        flex: 0 0 auto;
        min-width: 80px;
        padding: 10px 16px !important;
        font-size: 11px !important;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        background-color: transparent !important;
        border-radius: 5px !important;
        color: var(--text-secondary) !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap;
        font-weight: 500;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .prediction-tab:hover {
        background-color: var(--bg-primary) !important;
        color: var(--primary-color) !important;
    }

    .prediction-tab.active {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        box-shadow: var(--shadow-sm) !important;
    }

    .sub-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        flex-shrink: 0;
        margin-bottom: 0 !important;
        padding: 0 !important;
        width: auto;
        background-color: transparent !important;
    }

    .sub-tab {
        flex: 0 0 auto;
        min-width: 80px;
        padding: 10px 16px !important;
        font-size: 11px !important;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        background-color: transparent !important;
        border-radius: 5px !important;
        color: var(--text-secondary) !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        white-space: nowrap;
        font-weight: 500;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .sub-tab:hover {
        background-color: var(--bg-primary) !important;
        color: var(--primary-color) !important;
    }

    .sub-tab.active {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        box-shadow: var(--shadow-sm) !important;
    }

    /* Scroll indicators for tabs */
    .tabs-wrapper .tabs-scroll-indicator {
        display: flex;
        pointer-events: auto;
        cursor: pointer;
    }
    
    .tabs-scroll-indicator {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--bg-secondary);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .tabs-scroll-left {
        left: 8px;
    }

    .tabs-scroll-right {
        right: 8px;
    }

    .tabs-scroll-indicator svg {
        width: 16px;
        height: 16px;
        color: var(--text-secondary);
    }

    .tabs-scroll-indicator.visible {
        opacity: 1;
    }

    /* Match listings mobile layout */
    .match-group {
        margin-bottom: 24px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .fixtures-empty-state {
        padding: 18px 16px;
    }

    .fixtures-empty-title {
        font-size: 17px;
    }

    .fixtures-empty-summary,
    .fixtures-empty-filters,
    .fixtures-empty-reasons {
        font-size: 13px;
    }

    .fixtures-empty-actions {
        gap: 8px;
    }

    .empty-action-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .match-header-row {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) 50px 50px 50px;
        gap: 8px;
        padding: 12px 8px;
        border-bottom: 1px solid var(--border-color);
        border-radius: 5px 5px 0 0;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }

    /* Goals page mobile - 2 columns instead of 3 */
    .goals-page .match-header-row {
        grid-template-columns: minmax(90px, 1fr) 75px 75px;
        gap: 4px;
        padding: 12px 4px;
    }

    .goals-page .match-row {
        grid-template-columns: minmax(90px, 1fr) 75px 75px !important;
        gap: 4px !important;
        padding: 12px 4px !important;
    }

    /* Goals page headers - smaller font and adjust alignment */
    .goals-page .match-header-row > div:nth-child(3),
    .goals-page .match-header-row > div:nth-child(4) {
        font-size: 9px !important;
        padding: 0 1px;
        text-align: center;
        white-space: normal;
        line-height: 1.1;
        word-break: break-word;
    }

    .goals-page .match-header-row > div:nth-child(5),
    .goals-page .match-row > .odds:nth-child(5) {
        display: none !important;
    }

    /* Corners/Cards page mobile - 4 columns */
    .corners-page .match-header-row {
        grid-template-columns: minmax(80px, 1fr) 60px 60px 60px;
        gap: 4px;
        padding: 12px 4px;
    }

    .corners-page .match-row {
        grid-template-columns: minmax(80px, 1fr) 60px 60px 60px !important;
        gap: 4px !important;
        padding: 12px 4px !important;
    }

    .corners-page .match-header-row > div:nth-child(6),`r`n    .corners-page .match-row > .odds:nth-child(6) {
        display: none !important;
    }

    .corners-page .match-header-row > div:nth-child(3),`r`n    .corners-page .match-header-row > div:nth-child(4),`r`n    .corners-page .match-header-row > div:nth-child(5) {
        font-size: 9px !important;
        padding: 0 1px;
        text-align: center;
        white-space: normal;
        line-height: 1.1;
        word-break: break-word;
    }

    /* BTTS page mobile - 2 columns (Yes, No) */
    .btts-page .match-header-row {
        grid-template-columns: minmax(90px, 1fr) 75px 75px;
        gap: 4px;
        padding: 12px 4px;
    }

    .btts-page .match-row {
        grid-template-columns: minmax(90px, 1fr) 75px 75px !important;
        gap: 4px !important;
        padding: 12px 4px !important;
    }

    .btts-page .match-header-row > div:nth-child(5),
    .btts-page .match-row > .odds:nth-child(5) {
        display: none !important;
    }

    .btts-page .match-header-row > div:nth-child(3),
    .btts-page .match-header-row > div:nth-child(4) {
        font-size: 10px !important;
        padding: 0 1px;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }

    /* Score/HT/FT page mobile - 2 columns (Prediction, Odds) */
    .score-page .match-header-row,
    .htft-page .match-header-row {
        grid-template-columns: minmax(80px, 1fr) 100px 80px;
        gap: 4px;
        padding: 12px 4px;
    }

    .score-page .match-row,
    .htft-page .match-row {
        grid-template-columns: minmax(80px, 1fr) 100px 80px !important;
        gap: 4px !important;
        padding: 12px 4px !important;
    }

    .score-page .match-header-row > div:nth-child(5),
    .score-page .match-row > .odds:nth-child(5),
    .htft-page .match-header-row > div:nth-child(5),
    .htft-page .match-row > .odds:nth-child(5) {
        display: none !important;
    }

    .score-page .match-header-row > div:nth-child(3),
    .score-page .match-header-row > div:nth-child(4),
    .htft-page .match-header-row > div:nth-child(3),
    .htft-page .match-header-row > div:nth-child(4) {
        font-size: 9px !important;
        padding: 0 1px;
        text-align: center;
        white-space: normal;
        line-height: 1.1;
        word-break: break-word;
    }

    .match-header-row .league-name {
        grid-column: 1 !important;
        text-align: left;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
        word-wrap: break-word;
        white-space: normal;
        font-size: 12px !important;
        line-height: 1.4;
    }

    .match-header-row > div:nth-child(2),
    .match-header-row .prediction-header {
        display: none;
    }

    .match-header-row > div:nth-child(3),
    .match-header-row > div:nth-child(4),
    .match-header-row > div:nth-child(5) {
        display: block !important;
        text-align: center;
        font-weight: 700;
        color: var(--text-primary);
        font-size: 12px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
        word-wrap: break-word;
        white-space: nowrap;
        min-width: 0;
    }

    /* Goals page - only show 2 header columns */
    .goals-page .match-header-row > div:nth-child(5) {
        display: none !important;
    }

    .match-row {
        display: grid !important;
        grid-template-columns: minmax(120px, 1fr) 50px 50px 50px !important;
        gap: 8px !important;
        padding: 12px 8px !important;
        border-bottom: 1px solid var(--border-color);
        align-items: start;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
        margin-left: 0;
        margin-right: 0;
    }

    .match-row:last-child {
        border-bottom: none;
        border-radius: 0 0 5px 5px;
    }

    .match-row:hover {
        transform: none;
        background-color: var(--bg-secondary);
    }

    .match-row > .match-time {
        grid-column: 1 !important;
        grid-row: 1;
        font-size: 11px;
        color: var(--text-light);
        font-weight: 500;
        margin-bottom: 4px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        word-wrap: break-word;
    }

    .match-row > .match-teams {
        grid-column: 1 !important;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .match-row > .team-name {
        font-size: 12px !important;
        font-weight: 600;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: hidden;
    }

    /* Odds positioned in grid */
    .match-row > .odds:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 / 3;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px 2px !important;
        font-size: 11px !important;
        box-sizing: border-box;
        align-self: center;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        word-wrap: break-word;
    }

    .match-row > .odds:nth-child(4) {
        grid-column: 3 !important;
        grid-row: 1 / 3;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px 2px !important;
        font-size: 11px !important;
        box-sizing: border-box;
        align-self: center;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        word-wrap: break-word;
    }

    .match-row > .odds:nth-child(5) {
        grid-column: 4 !important;
        grid-row: 1 / 3;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px 2px !important;
        font-size: 11px !important;
        box-sizing: border-box;
        align-self: center;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        word-wrap: break-word;
    }

    /* Corners/Cards - 4th odds column */
    .corners-page .match-row > .odds:nth-child(5) {
        grid-column: 4 !important;
        grid-row: 1 / 3;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px 2px !important;
        font-size: 11px !important;
        box-sizing: border-box;
        align-self: center;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        word-wrap: break-word;
    }

    /* Hide prediction on mobile */
    .match-row > .prediction {
        display: none;
    }

    /* Mobile-only sections */
    .mobile-sections {
        display: block;
        margin-top: 32px;
        width: 100%;
    }

    .mobile-section {
        background-color: var(--bg-primary);
        border-radius: 5px;
        padding: 20px;
        margin-bottom: 24px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
    }

    .mobile-section-title {
        background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
        padding: 14px 16px;
        font-weight: 700;
        font-size: 13px;
        margin-top: 0;
        margin-bottom: 16px;
        border-radius: 5px;
        color: var(--text-primary);
        letter-spacing: -0.2px;
        border: 1px solid var(--border-color);
    }

    .mobile-country-search {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        font-size: 13px;
        outline: none;
        box-sizing: border-box;
        background-color: var(--bg-secondary);
        transition: all 0.3s ease;
        color: var(--text-primary);
        margin-bottom: 16px;
    }

    .mobile-country-search:focus {
        background-color: var(--bg-primary);
        border-color: var(--primary-color);
    }

    .mobile-country-search::placeholder {
        color: var(--text-light);
    }

    .mobile-international-search {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        font-size: 13px;
        outline: none;
        box-sizing: border-box;
        background-color: var(--bg-secondary);
        transition: all 0.3s ease;
        color: var(--text-primary);
        margin-bottom: 16px;
    }

    .mobile-international-search:focus {
        background-color: var(--bg-primary);
        border-color: var(--primary-color);
    }

    .mobile-international-search::placeholder {
        color: var(--text-light);
    }

    .mobile-day-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-day-list li {
        margin-bottom: 4px;
        border-radius: 5px;
        overflow: hidden;
    }

    .mobile-day-list li a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-day-list li:hover a {
        background-color: var(--bg-secondary);
        color: var(--primary-color);
        transform: translateX(4px);
    }

    .mobile-country-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-country-item {
        margin-bottom: 4px;
    }

    .mobile-country-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-radius: 5px;
        transition: all 0.2s ease;
    }

    .mobile-country-header:hover {
        background-color: var(--bg-secondary);
    }

    .mobile-country-link {
        flex: 1;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        transition: color 0.2s ease;
        font-family: inherit;
    }

    .mobile-country-link:hover {
        color: var(--primary-color);
    }

    .mobile-country-item.open .mobile-country-link {
        color: var(--primary-color);
    }

    .mobile-country-arrow-toggle {
        background: var(--bg-tertiary);
        border: 1px solid rgba(16, 185, 129, 0.35);
        border-radius: 5px;
        padding: 4px 6px;
        cursor: pointer;
        font-size: 10px;
        color: var(--primary-color);
        font-weight: 700;
        transition: all 0.3s ease;
        margin-left: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        min-height: 20px;
        font-family: inherit;
    }

    .mobile-country-arrow-toggle:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #ffffff;
    }

    .mobile-country-item.open .mobile-country-arrow-toggle {
        transform: rotate(180deg);
        color: #ffffff;
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    .mobile-league-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-country-item .mobile-league-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-country-item.open .mobile-league-list {
        max-height: 500px;
        overflow-y: auto;
    }

    .mobile-league-list li {
        margin-bottom: 2px;
        border-radius: 5px;
        overflow: hidden;
    }

    .mobile-league-list li a {
        display: block;
        width: 100%;
        padding: 10px 16px 10px 10px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-league-list li:hover a {
        background-color: var(--bg-secondary);
        color: var(--primary-color);
        transform: translateX(4px);
    }

    .mobile-league-list li.active {
        background-color: var(--bg-secondary);
        border-left: 3px solid var(--primary-color);
    }

    .mobile-league-list li.active a {
        color: var(--primary-color);
        padding-left: 13px;
    }

    .mobile-league-list li.active:hover a {
        transform: none;
    }

    .mobile-international-league-list {
        max-height: 280px;
        overflow-y: auto;
        padding-right: 4px;
    }
}

