:root {
    --primary-color: #002366;
    /* İzmirspor Lacivert */
    --secondary-color: #e31e24;
    /* Red Accent */
    --accent-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
/* Header */
header {
    background-color: var(--primary-color);
    border-bottom: 4px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background-color: rgba(13, 30, 76, 0.95);
    /* Slight transparency */
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 90px;
    flex-wrap: nowrap;
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled .navbar {
    height: 70px;
    /* Increased slightly from 60 to prevent broken layout */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    /* Reduced from 70 for better balance */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
    display: block;
}

header.scrolled .logo-img {
    height: 45px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    line-height: 1.1;
    transition: all 0.4s ease;
}

header.scrolled .logo-text {
    font-size: 1.1rem;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

header.scrolled .logo-text span {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 1rem;
    /* Slightly reduced from 1.5rem */
    height: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-title);
    color: var(--text-light);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    /* Slightly smaller for better fit */
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

header.scrolled .nav-links a {
    font-size: 0.8rem;
}

/* Modern Hover Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: transparent;
    /* Remove old block hover */
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--secondary-color);
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    z-index: 1100;
    border-radius: 0 0 8px 8px;
    animation: fadeIn 0.3s ease;
}

.nav-links li:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    height: auto;
    display: block;
    width: 100%;
}

.dropdown-menu a {
    font-family: var(--font-title);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    background: none;
    border-radius: 0;
    width: 100%;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--secondary-color);
    padding-left: 2rem;
}

/* Presidents Page Styles */
.page-header {
    background: linear-gradient(rgba(13, 30, 76, 0.9), rgba(13, 30, 76, 0.8)), url('https://images.unsplash.com/photo-1577416412292-76719d2eb746?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.presidents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
}

.president-card {
    background: white;
    border-radius: 16px;
    overflow: visible;
    /* Changed to visible for img popping out effect if needed, or keep hidden */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.president-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #081230 100%);
    z-index: 1;
}

.president-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 30, 76, 0.15);
    /* Navy shadow tint */
    border-color: var(--primary-color);
    /* Navy Blue Border */
}

.president-img-wrapper {
    width: 140px;
    height: 140px;
    margin-top: 30px;
    /* Push down to overlap header */
    margin-bottom: 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: white;
    border: 3px solid #eee;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.president-card:hover .president-img-wrapper {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.president-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: none;
    /* Removed grayscale for more vibrancy */
}

.president-info {
    padding: 0 1.5rem 2rem;
    z-index: 2;
    width: 100%;
}

.president-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.president-card:hover .president-name {
    color: var(--primary-color);
}

.president-years {
    display: inline-block;
    background: rgba(13, 30, 76, 0.05);
    /* Light Navy bg */
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(13, 30, 76, 0.1);
    transition: all 0.3s;
}

.president-card:hover .president-years {
    background: var(--primary-color);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.btn-primary,
.btn-fan {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-fan-full {
    width: 100%;
}

.btn-primary:hover,
.btn-fan:hover {
    background-color: #0d1e4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 30, 76, 0.2);
}

/* Hero Section Modernized */
.hero {
    height: 85vh;
    min-height: 600px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1574629810360-7efbbe436cd7?auto=format&fit=crop&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Sophisticated multi-layer gradient */
    background:
        radial-gradient(circle at 20% 50%, rgba(13, 30, 76, 0.85) 0%, transparent 50%),
        linear-gradient(to right, rgba(13, 30, 76, 0.9) 0%, rgba(13, 30, 76, 0.2) 100%),
        linear-gradient(to top, rgba(13, 30, 76, 0.4) 0%, transparent 30%);
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Subtle dot pattern for premium texture */
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 4rem;
    color: white;
    position: relative;
    z-index: 5;
}

.hero-tag {
    background: var(--secondary-color);
    padding: 0.5rem 1.2rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    max-width: 800px;
    color: white;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    background: var(--secondary-color);
    color: white;
    padding: 1.2rem 3rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.4);
}

.btn-hero:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Modern Stats / Widgets Area */
.stats-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    /* Ensure cards stretch to same height */
}

@media (max-width: 968px) {
    .stats-container {
        grid-template-columns: 1fr;
        /* Stack on smaller screens */
        gap: 2rem;
    }

    .stats-section {
        margin-top: 0;
        padding-top: 2rem;
    }
}

.card {
    background: white;
    border-radius: 16px;
    /* More rounded */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Sophisticated shadow */
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smooth hover */
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 30, 76, 0.15);
    /* Navy tint shadow */
}

/* Glassmorphism Header */
.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3c7a 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    /* Thin light gray/transparent white */
    /* Brand Accent */
    flex-shrink: 0;
}

.card-title {
    font-size: 1rem;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    /* Bold font */
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.card-title::before {
    display: none;
    /* Remove side bar, using bottom border */
}

.card-header i {
    color: rgba(255, 255, 255, 0.3);
    /* Transparent white icon */
    font-size: 1.4rem;
}

.card-body {
    padding: 1.5rem;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Helper to push button to bottom */
.widget-footer {
    margin-top: auto;
    text-align: center;
    padding: 1.5rem 1rem 0.5rem;
    background: white;
}

/* Match Card Modern Layout */
.match-card-display {
    padding: 0;
    overflow: hidden;
}

.match-body-wrapper {
    padding: 1.5rem;
    flex: 1;
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
}

.match-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.match-team img {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 0.8rem;
    display: block;
}

.match-team strong {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.5px;
}

.match-vs {
    flex: 0 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 25px;
    /* Alignment with logo bottoms */
}

.match-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ddd;
    font-family: var(--font-title);
}

.match-vs-badge {
    background: var(--secondary-color);
    color: white;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 6px;
    transform: rotate(-10deg);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

/* Modern Match Countdown */
.match-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.cd-item {
    background: #ffffff;
    padding: 0.8rem 0.6rem;
    border-radius: 10px;
    min-width: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.cd-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.cd-item span {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.cd-item small {
    font-size: 0.65rem;
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Meta Icons Grid */
.match-meta-modern {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
}

.match-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-box {
    width: 38px;
    height: 38px;
    background: rgba(13, 30, 76, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.match-meta-item:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.meta-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.meta-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Standings Table Modern */
/* Standings Table Modern - Vibrant & Separated */
.standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    /* Distinct row separation */
    font-size: 0.95rem;
    margin-top: -10px;
}

.standings-table th {
    text-align: left;
    color: #aaa;
    font-weight: 700;
    padding: 1rem 1.5rem 0 1.5rem;
    /* Increased side padding */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transform: translateY(4px);
    /* Shift down more */
}

.standings-table tbody tr {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.standings-table tbody tr:hover {
    transform: scale(1.02);
    /* Pop effect */
    position: relative;
    z-index: 5;
}

.standings-table td {
    padding: 0.8rem 1.5rem;
    /* Increased side padding */
    background: #fbfbfb;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-dark);
    font-weight: 600;
    vertical-align: middle;
}

/* Rounded corners for row illusion */
.standings-table td:first-child {
    border-left: 1px solid #f0f0f0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    position: relative;
    /* For stripe */
    overflow: hidden;
    display: flex;
    /* Restore flex */
    align-items: center;
}

.standings-table td:last-child {
    border-right: 1px solid #f0f0f0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.standings-table tbody tr:hover td {
    background-color: #fff;
    border-color: transparent;
    /* Remove sticky border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.standings-table tbody tr:hover td:first-child::before {
    content: '';
    position: absolute;
    left: 6px;
    /* Side spacing */
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    /* Shorter line */
    width: 4px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.rank-circle {
    width: 26px;
    height: 26px;
    background: #e9ecef;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #495057;
    margin-right: 12px;
    font-weight: 800;
}

.standings-table tr:first-child .rank-circle {
    background: #ffd700;
    color: #fff;
}

.highlight-row td {
    background-color: rgba(13, 30, 76, 0.05) !important;
    color: var(--primary-color) !important;
}

.highlight-row .rank-circle {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(13, 30, 76, 0.2);
}

/* Fixture List Modern */
.fixture-list {
    display: grid;
    gap: 0.8rem;
    padding-top: 1rem;
}

.fixture-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    /* Matched Standings Padding */
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fbfbfb;
    /* Match standings */
    position: relative;
    overflow: hidden;
}

.fixture-item:hover {
    border-color: transparent;
    transform: scale(1.02);
    /* Match standings pop */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
    z-index: 5;
}

.fixture-item:hover::before {
    content: '';
    position: absolute;
    left: 6px;
    /* Side spacing */
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    /* Shorter line */
    width: 4px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.fixture-date {
    font-size: 0.8rem;
    color: #888;
    width: 50px;
    text-align: center;
    line-height: 1.2;
    padding-right: 15px;
    /* Slightly more space */
    border-right: 1px solid #eee;
}

.fixture-match {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    padding: 0 1.5rem;
    /* Explicit alignment */
    color: var(--text-dark);
    font-size: 0.95rem;
    /* Match standings */
}

/* News Grid */
.news-section {
    padding: 4rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-thumb {
    height: 200px;
    background: #ccc;
    position: relative;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-info {
    padding: 1.5rem;
}

.news-date {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.news-heading {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* OLD FOOTER STYLES REMOVED in favor of New GB Footer Below */

/* --- Gençlerbirliği Inspired Footer Styles --- */

/* Sponsors Section */
.sponsors-section {
    background-color: #f9f9f9;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.sponsors-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.sponsors-container:hover {
    opacity: 1;
}

.sponsor-item {
    background: #e0e0e0;
    color: #555;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: default;
}

.sponsor-item:hover {
    background: #d0d0d0;
    color: #000;
}

/* GB Footer Main */
.gb-footer {
    background-color: #0d1e4c;
    /* Deep Navy */
    color: white;
    padding-top: 4rem;
    font-size: 0.9rem;
}

.footer-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top: Logo & Socials */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 70px;
}

.footer-club-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

.footer-club-name span {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-column p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-column strong {
    color: white;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #081230;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Queries Refinement */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 10001 !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: #0d1e4c;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        flex-direction: column;
        align-items: flex-start;
        padding: 8rem 2rem 2rem;
        gap: 1.5rem;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
        transform: translateX(100%);
        z-index: 10000 !important;
        overflow-y: auto;
        display: flex !important;
        visibility: hidden;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        position: relative;
        height: auto;
        align-items: flex-start;
        display: block;
    }
    
    .nav-links a {
        color: #ffffff !important;
        font-size: 1.1rem;
        font-weight: 700;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-links a::after {
        display: none !important;
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        background: transparent !important;
        display: none;
        width: 100% !important;
        border-left: 2px solid var(--secondary-color) !important;
    }
    
    .dropdown-menu.active {
        display: block !important;
    }
    
    .dropdown-menu a {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        border: none !important;
        padding: 0.5rem 0 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu a:hover {
        background-color: transparent !important;
        color: var(--secondary-color) !important;
        padding-left: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem !important;
        text-align: center !important;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* History Page Modern Styles */
.history-modern-section {
    padding: 4rem 0;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
}

.history-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 500;
}

.history-block {
    position: relative;
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.history-block:last-child {
    border-bottom: none;
}

.year-watermark {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(13, 30, 76, 0.03);
    line-height: 1;
    z-index: 0;
    font-family: var(--font-title);
    user-select: none;
    pointer-events: none;
}

.history-content-modern {
    position: relative;
    z-index: 1;
}

.history-title-modern {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.history-title-modern::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 30px;
    background: var(--secondary-color);
    margin-right: 15px;
    border-radius: 4px;
}

.history-text-modern {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.highlight-box-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.highlight-box-modern::after {
    content: '\f1e3';
    /* FontAwesome soccer ball */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.03);
    transform: rotate(-15deg);
}

.highlight-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.highlight-stat {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

/* Dropcap for first letter */
.dropcap::first-letter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    float: left;
    line-height: 0.8;
    margin-right: 10px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .history-title-modern {
        font-size: 1.5rem;
    }

    .year-watermark {
        font-size: 5rem;
    }
}

/* Corporate Presidents Page Styles */
.presidents-page-wrapper {
    background-color: #0d1e4c;
    padding-bottom: 5rem;
    min-height: 100vh;
}

/* Featured President Section */
.president-spotlight {
    max-width: 1200px;
    margin: -3rem auto 4rem;
    background: white;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.spotlight-image {
    flex: 1;
    min-height: 400px;
    background: #f0f0f0;
    position: relative;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.spotlight-content {
    flex: 1.2;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: white;
}

.spotlight-content::before {
    content: 'BAŞKAN';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(13, 30, 76, 0.05);
    font-family: var(--font-title);
    pointer-events: none;
}

.spotlight-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    align-self: flex-start;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotlight-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.spotlight-title {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 2rem;
    display: block;
}

.spotlight-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    border-left: 4px solid #c5a059;
    /* Gold accent */
    padding-left: 1.5rem;
}

/* Grid for Past Presidents */
.past-presidents-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.past-presidents-title strong {
    font-weight: 800;
    color: #c5a059;
    /* Gold */
}

.presidents-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.president-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.president-card-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: #c5a059;
}

.pcm-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    padding: 3px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    /* Gold tint */
}

.pcm-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pcm-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pcm-years {
    color: #c5a059;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .president-spotlight {
        flex-direction: column;
        margin: 0 1rem 3rem;
    }

    .spotlight-image {
        min-height: 300px;
    }

    .spotlight-content {
        padding: 2rem;
    }

    .spotlight-name {
        font-size: 2rem;
    }
}

/* Countdown Modern */
.match-countdown {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fcfcfc;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.cd-item span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cd-item small {
    font-size: 0.6rem;
    color: #888;
    margin-top: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Category Badge on News Thumb */
.news-thumb {
    position: relative;
}

.news-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
    letter-spacing: 0.5px;
}

/* Mission & Vision Page Styles */
.mission-vision-wrapper {
    background: #fdfdfd;
    padding-bottom: 5rem;
}

.mv-container {
    max-width: 1200px;
    margin: -3rem auto 4rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.mv-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    border-top: 5px solid transparent;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mission-card {
    border-top-color: var(--secondary-color);
}

.vision-card {
    border-top-color: var(--primary-color);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.mission-card .mv-icon {
    color: var(--primary-color);
    background: rgba(13, 30, 76, 0.1);
}

.vision-card .mv-icon {
    color: var(--primary-color);
    background: rgba(13, 30, 76, 0.1);
}

.mv-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.mv-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.mv-content ul {
    list-style: none;
    padding: 0;
}

.mv-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.mv-content li::before {
    content: "\f058";
    /* check-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #ccc;
    font-size: 0.9rem;
}

.mission-card .mv-content li::before {
    color: var(--primary-color);
}

.vision-card .mv-content li::before {
    color: var(--primary-color);
}

/* Core Values Section */
.core-values-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.values-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.values-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.value-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.v-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.value-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .mv-container {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Footballers Slider Section */
.players-slider-section {
    padding: 4rem 0;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    position: relative;
}

.slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(13, 30, 76, 0.3);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

@media (max-width: 1550px) {
    .prev-btn {
        left: 20px;
    }

    .next-btn {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .prev-btn {
        left: 10px;
        width: 40px;
        height: 40px;
    }

    .next-btn {
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

.section-header-simple {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-simple h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin: 0;
}

.section-header-simple h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.players-slider-container {
    width: 100%;
    overflow-x: auto;
    padding: 1rem 0 3rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
    /* scroll-snap-type: x mandatory; Disable for free drag feel */
    cursor: grab;
}

.players-slider-container:active {
    cursor: grabbing;
}

/* Hide scrollbar */
.players-slider-container::-webkit-scrollbar {
    display: none;
}

.players-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
}

.player-card {
    min-width: calc(20% - 1.2rem);
    /* 5 items visible */
    flex: 0 0 calc(20% - 1.2rem);
    height: 380px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Prevent selection */
    user-select: none;
    -webkit-user-select: none;
}

.player-card img {
    pointer-events: none;
    /* Prevent image drag behavior */
}

/* Responsive sizes */
@media (max-width: 1200px) {
    .player-card {
        min-width: 25%;
        flex: 0 0 25%;
    }

    /* 4 items */
}

@media (max-width: 900px) {
    .player-card {
        min-width: 33.33%;
        flex: 0 0 33.33%;
    }

    /* 3 items */
}

@media (max-width: 600px) {
    .player-card {
        min-width: 50%;
        flex: 0 0 50%;
    }

    /* 2 items */
}

@media (max-width: 400px) {
    .player-card {
        min-width: 85%;
        flex: 0 0 85%;
    }

    /* 1 item */
}

.player-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.player-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.1);
}

.player-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(13, 30, 76, 0.95) 0%, rgba(13, 30, 76, 0.6) 60%, transparent 100%);
    color: white;
    z-index: 2;
}

.player-number {
    position: absolute;
    top: -50px;
    right: 15px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.player-card:hover .player-number {
    transform: translateY(-10px);
    color: rgba(255, 255, 255, 0.2);
}

.player-name {
    font-size: 1.3rem;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.player-position {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   MODERN & PREMIUM HOME PAGE STYLES
   ========================================================================== */

/* Variables / Theme Overrides */
:root {
    --primary-gradient: linear-gradient(135deg, #001f5c 0%, #003399 100%);
    --accent-gradient: linear-gradient(135deg, #e31e24 0%, #ff4d52 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow-modern: 0 10px 40px rgba(0, 35, 102, 0.05);
    --card-hover-shadow-modern: 0 20px 50px rgba(0, 35, 102, 0.12);
}

/* Hero Section Updates */
.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    color: white;
    font-family: var(--font-main);
    line-height: 1.6;
}

.btn-hero-modern {
    background: var(--accent-gradient);
    color: white;
    padding: 1.2rem 3rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.4);
}

.btn-hero-modern:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.swiper-button-next-modern,
.swiper-button-prev-modern {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.swiper-button-next-modern { right: 2rem; }
.swiper-button-prev-modern { left: 2rem; }

.swiper-button-next-modern:hover,
.swiper-button-prev-modern:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Stats / Widgets Area Modernized */
.stats-section-modern {
    background-color: #f4f6fa;
    padding: 4rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-container-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1100px) {
    .stats-container-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats-section-modern {
        margin-top: 0;
        padding-top: 3rem;
    }
}

/* Premium Card Design */
.card-modern {
    background: white;
    border-radius: 24px;
    box-shadow: var(--card-shadow-modern);
    border: 1px solid rgba(0, 35, 102, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow-modern);
}

.card-header-modern {
    padding: 1.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #002366 0%, #001233 100%);
}

.card-header-badge {
    color: white;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
}

.card-header-icon {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.4);
}

.card-body-modern {
    padding: 2.2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Match Center Modern Layout */
.match-logos-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.match-team-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.match-team-modern .logo-wrapper {
    width: 90px;
    height: 90px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.03), 0 8px 20px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card-modern:hover .match-team-modern .logo-wrapper {
    transform: scale(1.08);
}

.match-team-modern img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.match-team-modern strong {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
}

.match-vs-modern {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.match-vs-modern .vs-text {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.4rem;
    color: #e2e8f0;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    white-space: nowrap; /* Skorun yan yana tek satırda yazılmasını sağlar */
}

/* Modern Countdown */
.match-countdown-modern {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.cd-item-modern {
    background: #f8fafc;
    padding: 0.8rem;
    border-radius: 16px;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.cd-item-modern span {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-title);
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 2px;
}

.cd-item-modern small {
    font-size: 0.65rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 1px;
}

.match-meta-modern {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px dashed #e2e8f0;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.match-meta-modern .meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
}

.match-meta-modern .meta-item i {
    color: var(--secondary-color);
    width: 20px;
}

.match-meta-modern .stadium-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.widget-footer-modern {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-widget-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 1rem;
    border-radius: 14px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-widget-modern:hover {
    background: var(--primary-gradient);
    color: white;
}

/* Standings Table Modern */
.standings-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: -8px;
}

.standings-table-modern th {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border: none;
}

.standings-table-modern tbody tr {
    transition: all 0.3s ease;
}

.standings-table-modern tbody tr:hover {
    transform: scale(1.02);
}

.standings-table-modern td {
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    vertical-align: middle;
}

.standings-table-modern td:first-child {
    border-left: 1px solid #f1f5f9;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    width: 50px;
}

.standings-table-modern td:last-child {
    border-right: 1px solid #f1f5f9;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.standings-table-modern .rank-badge {
    width: 24px;
    height: 24px;
    background: #cbd5e1;
    color: #475569;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.standings-table-modern .rank-badge.rank-top {
    background: var(--accent-gradient);
    color: white;
}

.standings-table-modern .team-name-td {
    font-weight: 700;
    color: var(--primary-color);
}

.standings-table-modern .txt-center { text-align: center; }
.standings-table-modern .font-bold { font-weight: 800; }
.standings-table-modern .font-medium { font-weight: 500; }
.standings-table-modern .text-primary { color: var(--secondary-color); }

.highlight-row-modern td {
    background-color: rgba(0, 35, 102, 0.06) !important;
    border-color: rgba(0, 35, 102, 0.08) !important;
}

/* Fixture List Modern */
.fixture-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.fixture-item-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.fixture-item-modern:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.05);
}

.fixture-date-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 12px;
    border-right: 1px solid #e2e8f0;
    min-width: 45px;
}

.fixture-date-modern .day {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.fixture-date-modern .month {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.fixture-match-modern {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.fixture-match-modern .team {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixture-match-modern .vs-badge {
    font-size: 0.65rem;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #64748b;
}

.fixture-arrow {
    color: #cbd5e1;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.fixture-item-modern:hover .fixture-arrow {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* News Section Modernized */
.news-section-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1.5rem;
}

.title-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.title-left .subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.title-left .section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #475569;
    padding: 10px 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.news-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 968px) {
    .news-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
@media (max-width: 650px) {
    .news-grid-modern {
        grid-template-columns: 1fr;
    }
    .section-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.news-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.1);
    border-color: rgba(0, 35, 102, 0.1);
}

.news-image-wrapper {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #cbd5e1;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card-modern:hover .news-image-wrapper img {
    transform: scale(1.08);
}

.news-badge-modern {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.2);
}

.news-content-modern {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-content-modern .news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.news-title-modern {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2rem;
}

.news-summary-modern {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-top: auto;
    transition: all 0.3s ease;
}

.news-card-modern:hover .news-link-modern {
    gap: 12px;
}

/* Players Section Modernized */
.players-section-modern {
    position: relative;
    background: linear-gradient(135deg, #001233 0%, #002366 100%);
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.players-section-modern .section-title {
    color: #ffffff !important;
}

.players-bg-shapes .shape {
    position: absolute;
    background: rgba(227, 30, 36, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.players-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.players-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.players-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.players-carousel-container {
    overflow-x: auto;
    width: 100%;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.players-carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.players-track-modern {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.player-card-modern {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 270px;
    height: 380px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.player-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(227, 30, 36, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(227, 30, 36, 0.2);
}

.card-inner-modern {
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.bg-number-modern {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-title);
    line-height: 1;
    user-select: none;
    transition: all 0.4s ease;
}

.player-card-modern:hover .bg-number-modern {
    color: rgba(227, 30, 36, 0.08);
    transform: scale(1.1) translateY(-10px);
}

.player-img-wrapper-modern {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.player-card-modern:hover .player-img-wrapper-modern {
    border-color: var(--secondary-color);
    transform: translateX(-50%) scale(1.05);
}

.player-img-wrapper-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.player-details-modern {
    text-align: center;
    position: relative;
    z-index: 5;
}

.player-num-badge {
    background: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 0.6rem;
    box-shadow: 0 3px 8px rgba(227, 30, 36, 0.3);
}

.player-name-modern {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.player-pos-badge {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.player-card-modern:hover .player-pos-badge {
    color: white;
}

.carousel-control-btn {
    position: absolute;
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-control-btn.prev-btn { left: -2.5rem; }
.carousel-control-btn.next-btn { right: -2.5rem; }

.carousel-control-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 1450px) {
    .carousel-control-btn.prev-btn { left: 0.5rem; }
    .carousel-control-btn.next-btn { right: 0.5rem; }
}

@media (max-width: 968px) {
    .player-card-modern {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 550px) {
    .player-card-modern {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   Modern Intro Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #112866 0%, #060e24 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999; /* Higher than headers and overlays */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 125px;
    height: 125px;
    object-fit: contain;
    z-index: 5;
    animation: preloaderPulseGlow 2.5s infinite ease-in-out;
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.preloader-ring.ring-1 {
    width: 180px;
    height: 180px;
    border-top-color: #ffffff; /* Beyaz */
    border-bottom-color: #ffffff;
    animation: preloaderRotateClockwise 3s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.preloader-ring.ring-2 {
    width: 155px;
    height: 155px;
    border-left-color: rgba(255, 255, 255, 0.6); /* Yarı Saydam Beyaz */
    border-right-color: rgba(255, 255, 255, 0.6);
    animation: preloaderRotateCounterClockwise 2s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.preloader-title {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    letter-spacing: 5px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(17, 40, 102, 0.8);
    animation: preloaderFadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}



.preloader-bar {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.2rem;
    animation: preloaderFadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s both;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: #ffffff; /* Beyaz */
    border-radius: 10px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes preloaderPulseGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes preloaderRotateClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderRotateCounterClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes preloaderFadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}