/* ========================================
   Canakkale Cup - Main Stylesheet
   Design Tokens from .pen mockup
   ======================================== */

:root {
    --primary-dark: #0D0B3E;
    --secondary-dark: #08062B;
    --darkest: #060420;
    --orange: #F5A623;
    --red: #E63946;
    --teal: #2D8B8B;
    --card-bg: #15124A;
    --card-border: #2A2770;
    --text-white: #FFFFFF;
    --text-secondary: #B8B5D9;
    --text-muted: #7B78A8;
    --gradient-primary: linear-gradient(180deg, #F5A623, #E63946);
    --font-family: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --content-padding: 120px;
    --section-padding: 64px;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background-color: var(--primary-dark);
    padding: 8px var(--content-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-left a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: var(--orange);
}

.top-bar-left i {
    color: var(--orange);
    width: 14px;
    height: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-right a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: var(--orange);
}

/* ========================================
   Main Navigation
   ======================================== */
.main-nav {
    background-color: rgba(8, 6, 43, 0.8);
    backdrop-filter: blur(10px);
    padding: 14px var(--content-padding);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.main-nav.scrolled {
    background-color: rgba(8, 6, 43, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.main-nav .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    color: var(--orange);
    width: 28px;
    height: 28px;
}

.nav-logo span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    display: inline-block;
}

.nav-cta:hover {
    opacity: 0.9;
    color: var(--text-white) !important;
}

.nav-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary-gradient {
    background: var(--gradient-primary);
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}

.btn-primary-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--text-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    border-color: rgba(255,255,255,0.4);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0D0B3Eee 0%, #0D0B3E88 50%, #0D0B3Ecc 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 60px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.125);
    border: 1px solid rgba(245, 166, 35, 0.375);
    border-radius: 100px;
    padding: 8px 20px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
}

.hero-badge i {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-white);
    text-align: center;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    background-color: var(--secondary-dark);
    padding: 32px var(--content-padding);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
}

.stat-number.orange { color: var(--orange); }
.stat-number.teal { color: var(--teal); }
.stat-number.red { color: var(--red); }

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========================================
   Section Headers
   ======================================== */
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--orange);
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-white);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* ========================================
   Feature Cards
   ======================================== */
.features-section {
    padding: var(--section-padding) var(--content-padding);
}

.features-section > .row,
.news-section > .row,
.content-section > .row {
    margin-left: 0;
    margin-right: 0;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.orange { background: rgba(245, 166, 35, 0.125); }
.feature-icon.teal { background: rgba(45, 139, 139, 0.125); }
.feature-icon.red { background: rgba(230, 57, 70, 0.125); }

.feature-icon i {
    width: 24px;
    height: 24px;
}

.feature-icon.orange i { color: var(--orange); }
.feature-icon.teal i { color: var(--teal); }
.feature-icon.red i { color: var(--red); }

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    background-color: var(--secondary-dark);
    padding: var(--section-padding) var(--content-padding);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.news-header-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.news-view-all:hover {
    color: var(--orange);
    border-color: var(--orange);
    background: rgba(245, 166, 35, 0.1);
}

/* ========================================
   News Cards
   ======================================== */
.news-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.news-card-image-link {
    display: block;
    text-decoration: none;
}

.news-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--card-border);
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.news-card-date i {
    color: var(--orange);
    width: 14px;
    height: 14px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
}

.news-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.news-card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.3s;
}

.news-card-link:hover {
    color: var(--orange);
    gap: 10px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0D0B3Ecc, #08062Bee);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 80px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
}

.cta-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 550px;
}

/* ========================================
   Page Banner
   ======================================== */
.page-banner {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 11, 62, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px var(--content-padding);
}

.page-banner h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
}

.breadcrumb-nav a:hover {
    color: var(--orange);
}

.breadcrumb-nav span {
    color: var(--text-muted);
}

.breadcrumb-nav .current {
    color: var(--orange);
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    padding: var(--section-padding) var(--content-padding);
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-left .section-line {
    background: var(--teal);
}

.about-left h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.about-left p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-image {
    width: 480px;
    min-width: 480px;
    height: 400px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
}

/* Vision/Mission/Values */
.vmv-section {
    background-color: var(--secondary-dark);
    padding: var(--section-padding) var(--content-padding);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vmv-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vmv-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vmv-icon.orange { background: rgba(245, 166, 35, 0.125); }
.vmv-icon.teal { background: rgba(45, 139, 139, 0.125); }
.vmv-icon.red { background: rgba(230, 57, 70, 0.125); }

.vmv-icon i {
    width: 28px;
    height: 28px;
}

.vmv-card h3 {
    font-size: 22px;
    font-weight: 700;
}

.vmv-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Tournaments
   ======================================== */
.featured-tournament {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    height: 400px;
}

.featured-tournament-image {
    width: 560px;
    min-width: 560px;
    background-size: cover;
    background-position: center;
}

.featured-tournament-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.tournament-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.125);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #22C55E;
    width: fit-content;
}

.tournament-badge.completed {
    background: rgba(107, 114, 128, 0.2);
    color: #9CA3AF;
}

.featured-tournament h2 {
    font-size: 32px;
    font-weight: 800;
}

.tournament-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tournament-meta i {
    width: 16px;
    height: 16px;
    color: var(--orange);
}

.tournament-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tag {
    background: rgba(245, 166, 35, 0.15);
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

/* Past Tournaments */
.past-tournament-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s;
}

.past-tournament-card:hover {
    transform: translateY(-4px);
}

.past-tournament-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.past-tournament-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.past-tournament-body h3 {
    font-size: 18px;
    font-weight: 700;
}

/* ========================================
   Venues
   ======================================== */
.venue-section {
    padding: var(--section-padding) var(--content-padding);
}

.venue-block {
    margin-bottom: 48px;
}

.venue-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.venue-header-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-header-icon.orange { background: rgba(245, 166, 35, 0.125); }
.venue-header-icon.teal { background: rgba(45, 139, 139, 0.125); }

.venue-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.venue-img {
    border-radius: var(--radius-lg);
    height: 260px;
    background-size: cover;
    background-position: center;
}

.venue-info {
    display: flex;
    gap: 24px;
}

.venue-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.venue-info-item i {
    color: var(--orange);
    width: 16px;
    height: 16px;
}

/* ========================================
   Contact
   ======================================== */
.contact-content {
    padding: var(--section-padding) var(--content-padding);
    display: flex;
    gap: 40px;
}

.contact-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-area h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-input {
    width: 100%;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--orange);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    height: 140px;
    resize: vertical;
}

.contact-cards {
    width: 380px;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon.orange { background: rgba(245, 166, 35, 0.125); }
.contact-card-icon.teal { background: rgba(45, 139, 139, 0.125); }
.contact-card-icon.red { background: rgba(230, 57, 70, 0.125); }

.contact-card-icon i {
    width: 22px;
    height: 22px;
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}

/* ========================================
   Media Gallery
   ======================================== */
.media-section {
    padding: var(--section-padding) var(--content-padding);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.media-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.media-item:hover {
    transform: scale(1.02);
}

.media-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.media-item:hover .media-item-overlay {
    opacity: 1;
}

.media-item-overlay i {
    color: white;
    width: 32px;
    height: 32px;
}

/* Media Lightbox */
.media-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.media-lightbox.active {
    display: flex;
}

.media-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    object-fit: contain;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.media-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.media-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Album Cards */
.album-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.album-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
}

.album-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.album-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: flex-end;
}

.album-card-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
}

.album-card-body {
    padding: 16px;
}

.album-card-body h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.album-card-body p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ========================================
   News Detail
   ======================================== */
.news-detail {
    padding: var(--section-padding) var(--content-padding);
    max-width: 900px;
    margin: 0 auto;
}

.news-detail h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 14px;
}

.news-detail-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    margin-bottom: 32px;
}

.news-detail-content {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.news-detail-content p {
    margin-bottom: 16px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--secondary-dark);
}

.footer-main {
    padding: 48px var(--content-padding);
    display: grid;
    grid-template-columns: 320px 1fr 1fr 260px;
    gap: 60px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--orange);
    color: var(--text-white);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-col-line {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}

.footer-contact-item i {
    color: var(--orange);
    width: 16px;
    height: 16px;
}

.footer-sponsors {
    border-top: 1px solid var(--card-border);
    padding: 32px var(--content-padding);
    text-align: center;
}

.footer-sponsors-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-sponsor-logo {
    display: inline-block;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-sponsor-logo:hover {
    opacity: 1;
}

.footer-sponsor-logo img {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    background-color: var(--darkest);
    padding: 16px var(--content-padding);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   Alert Messages
   ======================================== */
.alert-custom {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
}

.site-flash-alert {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 320px;
    max-width: calc(100vw - 24px);
    text-align: center;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.alert-error {
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--red);
}

/* ========================================
   Pagination
   ======================================== */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-custom a,
.pagination-custom span {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination-custom a {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.pagination-custom a:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.pagination-custom .active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
}

/* ========================================
   Utilities
   ======================================== */
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.bg-section { background-color: var(--secondary-dark); }
.content-section { padding: var(--section-padding) var(--content-padding); }

/* Image lazy loading */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.lazy-load.loaded {
    opacity: 1;
}

/* ========================================
   Hero Variant Shared Styles
   ======================================== */

/* Stat Cards (shared by A, C, D) */
.hero-stats-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat-card {
    background: rgba(21, 18, 74, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 120px;
    backdrop-filter: blur(8px);
}

.hero-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--orange);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Email Form (shared by B, D) */
.hero-email-form {
    width: 100%;
    max-width: 480px;
}

.hero-email-input-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.hero-email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 14px;
    outline: none;
}

.hero-email-input::placeholder {
    color: var(--text-muted);
}

.hero-email-btn {
    white-space: nowrap;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
}

.hero-email-form-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
}

.hero-email-form-vertical .hero-email-input {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}

.hero-email-form-vertical .hero-email-btn {
    border-radius: var(--radius-md) !important;
}

/* Social Proof (shared by B, D) */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-social-proof i {
    width: 16px;
    height: 16px;
    color: var(--teal);
}

.hero-sp-count {
    color: var(--text-muted);
    font-size: 12px;
}

/* Badge Variants */
.hero-badge-red {
    background: rgba(230, 57, 70, 0.125) !important;
    border-color: rgba(230, 57, 70, 0.375) !important;
    color: var(--red) !important;
}

.hero-badge-teal {
    background: rgba(45, 139, 139, 0.125) !important;
    border-color: rgba(45, 139, 139, 0.375) !important;
    color: var(--teal) !important;
}

/* ========================================
   Hero Variant B: Email Subscription
   ======================================== */
.hero-variant-b {
    background: radial-gradient(ellipse at 50% 0%, #1a1660 0%, var(--primary-dark) 60%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-decorative {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-deco-icon {
    position: absolute;
    opacity: 0.06;
    color: var(--text-white);
}

.hero-deco-icon.deco-1 { top: 15%; left: 8%; width: 64px; height: 64px; }
.hero-deco-icon.deco-2 { top: 25%; right: 10%; width: 48px; height: 48px; }
.hero-deco-icon.deco-3 { bottom: 20%; left: 15%; width: 40px; height: 40px; }
.hero-deco-icon.deco-4 { bottom: 30%; right: 12%; width: 56px; height: 56px; }

/* ========================================
   Hero Variant C: Tournament Archive
   ======================================== */
.hero-variant-c {
    background: radial-gradient(ellipse at 30% 50%, #162050 0%, var(--primary-dark) 50%, var(--secondary-dark) 100%);
}

.hero-variant-c .hero-overlay {
    background: transparent;
}

.hero-variant-c-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    width: 100%;
    height: 100%;
    padding: 0 var(--content-padding);
    position: relative;
    z-index: 1;
}

.hero-c-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-c-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

/* ========================================
   Hero Variant D: Split Combination
   ======================================== */
.hero-variant-d {
    display: flex;
    height: 620px;
}

.hero-d-left {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-d-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13,11,62,0.85) 0%, rgba(13,11,62,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    gap: 16px;
}

.hero-d-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-d-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-d-mini-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.hero-d-mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-d-mini-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--orange);
}

.hero-d-mini-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-d-right {
    flex: 1;
    background: var(--secondary-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    gap: 16px;
}

.hero-d-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-d-divider {
    width: 100%;
    height: 1px;
    background: var(--card-border);
    margin: 4px 0;
}

.hero-d-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-d-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-d-feature i {
    width: 18px;
    height: 18px;
    color: var(--teal);
}

/* ==========================================
   Tournament v2 - Age Categories & Knockout
   ========================================== */

/* Age Category Pills */
.age-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 12px;
    margin-bottom: 24px;
}
.age-category-tabs::-webkit-scrollbar { display: none; }
.age-cat-pill {
    background: var(--card-bg, #15124A);
    border: 1px solid var(--card-border, rgba(42,39,112,0.4));
    color: var(--text-secondary, #9B98C5);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}
.age-cat-pill:hover {
    border-color: var(--orange, #F5A623);
    color: #fff;
}
.age-cat-pill.active {
    background: var(--orange, #F5A623);
    border-color: var(--orange, #F5A623);
    color: #fff;
}

/* Age Category Content Panels */
.age-cat-content { display: none; }
.age-cat-content.active { display: block; }

/* Sub-tabs within age category */
.sub-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--card-border, rgba(42,39,112,0.4));
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.sub-tab-link {
    color: var(--text-muted, #7B78A8);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.sub-tab-link:hover { color: #fff; }
.sub-tab-link.active {
    color: var(--orange, #F5A623);
    border-bottom-color: var(--orange, #F5A623);
}
.sub-tab-content { display: none; }
.sub-tab-content.active { display: block; }

/* Knockout Section */
.knockout-section { margin-bottom: 32px; }
.knockout-round-title {
    color: var(--orange, #F5A623);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.knockout-round-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--orange, #F5A623);
    border-radius: 2px;
}
.knockout-matches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

/* Knockout Match Card */
.knockout-match-card {
    background: var(--card-bg, #15124A);
    border: 1px solid var(--card-border, rgba(42,39,112,0.4));
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.knockout-match-card:hover {
    border-color: var(--orange, #F5A623);
}
.knockout-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(42,39,112,0.3);
}
.knockout-team:last-of-type { border-bottom: none; }
.knockout-team .team-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}
.knockout-team .team-score {
    font-weight: 800;
    font-size: 18px;
    color: var(--text-muted, #7B78A8);
    min-width: 30px;
    text-align: center;
}
.knockout-team.winner .team-name,
.knockout-team.winner .team-score {
    color: var(--orange, #F5A623);
}
.knockout-meta {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-muted, #7B78A8);
    background: rgba(42,39,112,0.2);
    text-align: center;
}

/* Match Detail Page (Public) */
.match-detail-header {
    background: var(--card-bg, #15124A);
    border: 1px solid var(--card-border, rgba(42,39,112,0.4));
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 32px;
}
.match-detail-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
}
.match-detail-team {
    text-align: center;
    flex: 1;
}
.match-detail-team .name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.match-detail-team .country {
    font-size: 13px;
    color: var(--text-muted, #7B78A8);
    margin-top: 4px;
}
.match-detail-vs {
    font-size: 40px;
    font-weight: 800;
    color: var(--orange, #F5A623);
    background: rgba(13,11,62,0.8);
    border: 1px solid rgba(42,39,112,0.6);
    border-radius: 12px;
    padding: 8px 24px;
    min-width: 100px;
}
.match-detail-meta {
    color: var(--text-muted, #7B78A8);
    font-size: 14px;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Match Events Timeline */
.match-events-timeline {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.match-event-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--card-bg, #15124A);
    border: 1px solid var(--card-border, rgba(42,39,112,0.4));
    border-radius: 8px;
    gap: 12px;
}
.match-event-row.home { flex-direction: row; }
.match-event-row.away { flex-direction: row-reverse; text-align: right; }
.event-minute {
    font-weight: 700;
    color: var(--orange, #F5A623);
    min-width: 40px;
    font-size: 15px;
}
.event-icon {
    font-size: 16px;
    min-width: 24px;
    text-align: center;
}
.event-player {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
.event-team-label {
    font-size: 12px;
    color: var(--text-muted, #7B78A8);
}

/* Fixture match card (clickable) */
.fixture-match-card {
    background: var(--card-bg, #15124A);
    border: 1px solid var(--card-border, rgba(42,39,112,0.4));
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s;
}
.fixture-match-card:hover {
    border-color: var(--orange, #F5A623);
    color: inherit;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .knockout-matches { grid-template-columns: 1fr; }
    .age-cat-pill { padding: 6px 14px; font-size: 13px; }
    .sub-tab-link { padding: 8px 12px; font-size: 13px; }
    .match-detail-score { flex-direction: column; gap: 12px; }
    .match-detail-vs { font-size: 28px; padding: 8px 20px; }
    .match-detail-team .name { font-size: 16px; }
    .match-event-row { padding: 8px 12px; }
    .fixture-match-card { padding: 12px; gap: 8px; }
}

@media (max-width: 480px) {
    .age-cat-pill { padding: 5px 12px; font-size: 12px; }
    .match-detail-vs { font-size: 24px; min-width: 80px; }
}
