/* ==========================================================================
   Vientiane Marathon Laos - Race Results System
   Professional Stylesheet - Matching EFG Laos Brand
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0e2b5c;
    --primary-dark: #0b224a;
    --primary-light: #1a3d6e;
    --accent-red: #fc5546;
    --accent-red-dark: #e04438;
    --accent-cyan: #3ea9f5;
    --accent-cyan-light: #5cb8f7;
    --accent-orange: #f59e0b;
    --accent-teal: #1eb1a1;
    --text-color: #333333;
    --text-dark: #222222;
    --text-light: #627792;
    --text-muted: #8a9bae;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f2f5;
    --border-color: #e5e9ef;
    --border-light: #eef1f5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
    --font-primary: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 90px;
    --container-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-primary); font-size: 1rem; line-height: 1.6; color: var(--text-color); background: var(--bg-color); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 600; color: var(--primary-color); line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; } h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--accent-cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-red); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   HEADER - Professional Marathon Style
   ========================================================================== */
.site-header { background: white; box-shadow: 0 2px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-main { padding: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 20px; }

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 70px; width: auto; max-width: 200px; object-fit: contain; }

/* Header Center - Tagline & Nav */
.header-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; }
.tagline { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary-color); margin-bottom: 8px; white-space: nowrap; }

/* Navigation */
.main-nav { width: 100%; }
.nav-menu { display: flex; justify-content: center; align-items: center; gap: 0; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 12px 14px; font-size: 0.8rem; font-weight: 600; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.3px; transition: var(--transition); position: relative; white-space: nowrap; }
.nav-menu > li > a::after { content: ''; position: absolute; bottom: 8px; left: 14px; right: 14px; height: 2px; background: var(--accent-red); transform: scaleX(0); transition: transform 0.3s ease; }
.nav-menu > li:hover > a::after, .nav-menu > li.active > a::after { transform: scaleX(1); }
.nav-menu > li:hover > a, .nav-menu > li.active > a { color: var(--accent-red); }

/* Dropdown Arrow */
.has-dropdown > a::before { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-left: 5px; vertical-align: middle; transition: transform 0.3s ease; }
.has-dropdown:hover > a::before { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: white; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border-radius: 0 0 var(--radius-md) var(--radius-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 100; border-top: 3px solid var(--accent-red); }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { border-bottom: 1px solid var(--border-light); }
.dropdown li:last-child { border-bottom: none; }
.dropdown li a { display: block; padding: 12px 20px; color: var(--text-color); font-size: 0.85rem; font-weight: 500; text-transform: none; transition: var(--transition); }
.dropdown li a:hover { background: var(--bg-light); color: var(--accent-red); padding-left: 25px; }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.header-contact { text-align: right; font-size: 0.75rem; line-height: 1.4; }
.header-contact span { display: block; color: var(--text-muted); font-weight: 500; }
.header-contact a { color: var(--accent-cyan); font-weight: 600; }
.header-contact a:hover { color: var(--accent-red); }
.header-social { display: flex; gap: 6px; }
.header-social a { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--primary-color); border-radius: 50%; color: white; font-size: 0.85rem; transition: var(--transition); }
.header-social a:hover { background: var(--accent-red); transform: translateY(-2px); }
.search-toggle { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--accent-cyan); border: none; border-radius: 50%; color: white; font-size: 0.95rem; cursor: pointer; transition: var(--transition); }
.search-toggle:hover { background: var(--accent-red); transform: scale(1.05); }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 25px; height: 2px; background: var(--primary-color); transition: var(--transition); }

/* Search Overlay */
.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(14, 43, 92, 0.95); display: none; align-items: center; justify-content: center; z-index: 2000; }
.search-overlay.active { display: flex; }
.search-container { width: 100%; max-width: 600px; padding: 20px; position: relative; }
.search-container form { display: flex; }
.search-container input { flex: 1; padding: 20px 25px; font-size: 1.25rem; border: none; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.search-container button { padding: 20px 30px; background: var(--accent-red); border: none; color: white; font-size: 1.25rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; cursor: pointer; }
.search-close { position: absolute; top: -50px; right: 0; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider { position: relative; width: 100%; height: 600px; overflow: hidden; }
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; background-size: cover; background-position: center; background-color: var(--primary-color); }
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(14,43,92,0.8) 0%, rgba(11,34,74,0.7) 100%); }
.slide-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; }
.hero-text { max-width: 700px; color: white; }
.hero-text h1 { font-size: 3.5rem; font-weight: 700; color: white; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-text p { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* Slider Navigation */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.2); color: white; border: none; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: var(--transition); backdrop-filter: blur(5px); }
.slider-arrow:hover { background: var(--accent-red); }
.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }
.slider-dots { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.dot.active, .dot:hover { background: white; transform: scale(1.2); }

/* Countdown Bar */
.countdown-bar { position: absolute; bottom: 0; left: 0; right: 0; background: var(--accent-red); padding: 15px 0; z-index: 10; }
.countdown-wrapper { display: flex; align-items: center; justify-content: center; gap: 30px; }
.countdown-label { color: white; font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.countdown-timer { display: flex; align-items: center; gap: 5px; }
.countdown-item { text-align: center; min-width: 60px; }
.countdown-number { display: block; font-size: 2rem; font-weight: 700; color: white; line-height: 1; }
.countdown-text { font-size: 0.7rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }
.countdown-separator { font-size: 2rem; font-weight: 700; color: white; line-height: 1; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; font-family: var(--font-primary); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.btn-register { background: var(--accent-red); color: white; border-color: var(--accent-red); }
.btn-register:hover { background: var(--accent-red-dark); border-color: var(--accent-red-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--accent-red); color: white; border-color: var(--accent-red); }
.btn-primary:hover { background: var(--accent-red-dark); border-color: var(--accent-red-dark); color: white; }
.btn-secondary { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.btn-secondary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--primary-color); }
.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,0.8); color: white; }
.btn-outline-light:hover { background: white; color: var(--primary-color); border-color: white; }
.btn-outline-primary { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline-primary:hover { background: var(--primary-color); color: white; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-register-card { background: var(--accent-red); color: white; border: none; padding: 12px 25px; font-size: 0.85rem; width: 100%; }
.btn-register-card:hover { background: var(--accent-red-dark); color: white; }

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 15px; color: var(--primary-color); }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ==========================================================================
   RACE CATEGORIES SECTION
   ========================================================================== */
.race-categories-section { padding: 80px 0; background: var(--bg-light); }
.race-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.race-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.race-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.race-card.featured { border: 3px solid var(--accent-cyan); }
.race-card-image { position: relative; height: 200px; overflow: hidden; }
.race-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.race-card:hover .race-card-image img { transform: scale(1.1); }

/* Race Image Placeholder */
.race-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
.race-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}
.race-image-placeholder span {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.race-distance-badge { position: absolute; top: 15px; left: 15px; background: var(--primary-color); color: white; padding: 8px 15px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem; }
.race-distance-badge.orange { background: var(--accent-orange); }
.race-distance-badge.cyan { background: var(--accent-cyan); }
.featured-badge { position: absolute; top: 15px; right: -30px; background: var(--accent-red); color: white; padding: 5px 40px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; transform: rotate(45deg); }
.race-card-content { padding: 25px; }
.race-card-content h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--primary-color); }
.race-info-list { margin-bottom: 20px; }
.race-info-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text-light); border-bottom: 1px solid var(--border-light); }
.race-info-list li:last-child { border-bottom: none; }
.race-info-list i { color: var(--accent-cyan); width: 16px; }

/* ==========================================================================
   REGISTRATION SECTION
   ========================================================================== */
.registration-section { padding: 80px 0; background: white; }
.registration-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.registration-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Race Kit Placeholder */
.race-kit-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-cyan) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
.race-kit-placeholder i {
    font-size: 5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}
.race-kit-placeholder span {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.registration-content h2 { font-size: 2rem; margin-bottom: 20px; }
.registration-content > p { color: var(--text-muted); margin-bottom: 30px; }
.price-table { margin-bottom: 20px; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.price-header { display: grid; grid-template-columns: 2fr 1fr 1fr; background: var(--primary-color); color: white; }
.price-header .price-col { padding: 15px 20px; font-weight: 600; font-size: 0.9rem; }
.price-row { display: grid; grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid var(--border-light); }
.price-row:last-child { border-bottom: none; }
.price-row .price-col { padding: 15px 20px; font-size: 0.95rem; color: var(--text-color); }
.price-row .price-col.highlight { color: var(--accent-red); font-weight: 700; }
.price-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 25px; }
.price-note i { color: var(--accent-cyan); margin-right: 5px; }

/* ==========================================================================
   UNIQUE SECTION (What Makes VIM Unique)
   ========================================================================== */
.unique-section { padding: 80px 0; background: var(--bg-light); }
.unique-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.unique-features { display: flex; flex-direction: column; gap: 25px; }
.unique-feature { display: flex; gap: 20px; padding: 20px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); }
.unique-feature:hover { transform: translateX(10px); box-shadow: var(--shadow-md); }
.unique-feature .feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.unique-feature .feature-icon i { font-size: 1.5rem; color: white; }
.unique-feature .feature-content h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary-color); }
.unique-feature .feature-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   SPONSORS SECTION - PROFESSIONAL DESIGN
   ========================================================================== */
.sponsors-section-pro {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.sponsors-section-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan), var(--accent-orange));
}

/* Sponsor Tiers */
.sponsor-tier {
    margin-bottom: 70px;
}

.sponsor-tier:last-of-type {
    margin-bottom: 50px;
}

.tier-label {
    text-align: center;
    margin-bottom: 40px;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tier-badge.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #333;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.tier-badge.gold-tier {
    background: linear-gradient(135deg, #f5c842 0%, #d4a520 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(245, 200, 66, 0.3);
}

.tier-badge.silver-tier {
    background: linear-gradient(135deg, #e8e8e8 0%, #b8b8b8 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tier-badge.partner-tier {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 43, 92, 0.3);
}

.tier-badge i {
    font-size: 1rem;
}

/* Sponsor Grid Layouts */
.sponsor-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
}

.sponsor-grid.single {
    gap: 50px;
}

.sponsor-grid.gold {
    gap: 35px;
}

.sponsor-grid.silver {
    gap: 30px;
}

.sponsor-grid.partners {
    gap: 25px;
}

/* Sponsor Cards */
.sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 50px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 2px solid transparent;
    min-width: 280px;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.sponsor-card.featured {
    padding: 50px 70px;
    border: 3px solid #ffd700;
    background: linear-gradient(180deg, #fffef5 0%, #ffffff 100%);
    min-width: 350px;
}

.sponsor-card.featured:hover {
    border-color: #ffb800;
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.3);
}

.sponsor-card.gold {
    padding: 35px 45px;
    border: 2px solid #f5c842;
    min-width: 260px;
}

.sponsor-card.gold:hover {
    border-color: #d4a520;
    box-shadow: 0 20px 50px rgba(245, 200, 66, 0.25);
}

.sponsor-card.silver {
    padding: 30px 40px;
    border: 2px solid #d0d0d0;
    min-width: 220px;
}

.sponsor-card.silver:hover {
    border-color: #b0b0b0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sponsor-card.partner {
    padding: 25px 35px;
    border: 1px solid var(--border-light);
    min-width: 180px;
}

.sponsor-card.partner:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 35px rgba(62, 169, 245, 0.15);
}

/* Sponsor Logo Wrapper */
.sponsor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
}

.sponsor-card.featured .sponsor-logo-wrap {
    min-height: 160px;
}

.sponsor-card.gold .sponsor-logo-wrap {
    min-height: 120px;
}

.sponsor-card.silver .sponsor-logo-wrap {
    min-height: 100px;
}

.sponsor-card.partner .sponsor-logo-wrap {
    min-height: 80px;
}

.sponsor-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(10%);
    transition: all 0.3s ease;
}

.sponsor-card.featured .sponsor-logo-wrap img {
    max-width: 300px;
    max-height: 160px;
    filter: none;
}

.sponsor-card.gold .sponsor-logo-wrap img {
    max-width: 240px;
    max-height: 120px;
}

.sponsor-card.silver .sponsor-logo-wrap img {
    max-width: 200px;
    max-height: 100px;
}

.sponsor-card.partner .sponsor-logo-wrap img {
    max-width: 160px;
    max-height: 80px;
    filter: grayscale(30%);
    opacity: 0.9;
}

.sponsor-card:hover .sponsor-logo-wrap img {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

/* Sponsor Name */
.sponsor-name {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 0.5px;
}

.sponsor-card.featured .sponsor-name {
    font-size: 1.3rem;
    margin-top: 25px;
}

.sponsor-card.gold .sponsor-name {
    font-size: 1.1rem;
}

.sponsor-card.silver .sponsor-name {
    font-size: 1rem;
}

.sponsor-card.partner .sponsor-name {
    display: block;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* Sponsor Placeholder (no logo uploaded) */
.sponsor-placeholder {
    width: 100%;
    min-width: 180px;
    min-height: 100px;
    padding: 30px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
.sponsor-placeholder.small {
    min-width: 140px;
    min-height: 70px;
    padding: 20px 25px;
    font-size: 1rem;
}

/* No Sponsors Placeholder */
.no-sponsors {
    text-align: center;
    padding: 60px 20px;
}

.placeholder-box {
    display: inline-block;
    padding: 50px 80px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px dashed var(--border-color);
}

.placeholder-box i {
    font-size: 4rem;
    color: var(--accent-cyan);
    opacity: 0.5;
    margin-bottom: 20px;
}

.placeholder-box h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.placeholder-box p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Sponsor CTA */
.sponsor-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    margin-top: 20px;
}

.sponsor-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Responsive Sponsors */
@media (max-width: 1024px) {
    .sponsor-card.featured {
        padding: 25px 35px;
    }
    .sponsor-card.featured .sponsor-logo-wrap img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .sponsors-section-pro {
        padding: 60px 0;
    }
    .sponsor-tier {
        margin-bottom: 40px;
    }
    .sponsor-grid {
        gap: 15px;
    }
    .sponsor-card {
        padding: 20px;
    }
    .sponsor-card.featured {
        padding: 20px 30px;
    }
    .tier-badge {
        font-size: 0.75rem;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .sponsor-grid.partners {
        gap: 10px;
    }
    .sponsor-card.partner {
        padding: 15px;
    }
    .sponsor-card.partner .sponsor-logo-wrap img {
        max-width: 100px;
    }
}

/* ==========================================================================
   RESULTS CTA SECTION
   ========================================================================== */
.results-cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); position: relative; overflow: hidden; }
.results-cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat; background-size: 80px; }
.results-cta-content { position: relative; text-align: center; z-index: 1; }
.results-cta-content h2 { font-size: 2.25rem; color: white; margin-bottom: 15px; }
.results-cta-content p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--primary-dark); color: white; }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand .footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-brand .footer-logo img { height: 60px; }
.footer-brand .logo-text { font-size: 2rem; font-weight: 700; color: white; }
.footer-contact-info { margin-bottom: 20px; }
.footer-contact-info p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact-info i { color: var(--accent-cyan); width: 16px; }
.footer-contact-info a { color: rgba(255,255,255,0.7); }
.footer-contact-info a:hover { color: white; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; color: white; font-size: 1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--accent-cyan); transform: translateY(-3px); }
.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; color: white; text-transform: uppercase; letter-spacing: 1px; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.footer-links li a:hover { color: white; padding-left: 5px; }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 20px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
.footer-bottom a { color: var(--accent-cyan); }
.footer-bottom a:hover { color: white; }

/* Back to Top Button */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary-color); color: white; border: none; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); z-index: 999; box-shadow: var(--shadow-lg); }
.back-to-top:hover { background: var(--accent-red); transform: translateY(-3px); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */
.page-header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); color: white; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat; background-size: 100px; }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 2.5rem; font-weight: 600; color: white; margin-bottom: 15px; }
.page-header h1 i { margin-right: 15px; opacity: 0.8; }
.page-header .subtitle { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; color: white; }
.breadcrumb { display: flex; justify-content: center; gap: 12px; margin-top: 25px; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ==========================================================================
   RESULTS SECTION
   ========================================================================== */
.results-section { padding: 60px 0; background: var(--bg-light); }
.event-selector { background: white; padding: 30px; border-radius: var(--radius-lg); margin-bottom: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.event-selector h2 { font-size: 1.25rem; margin-bottom: 20px; color: var(--primary-color); display: flex; align-items: center; gap: 10px; }
.event-selector h2 i { color: var(--accent-cyan); }
.event-tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.event-tab { padding: 14px 28px; background: var(--bg-light); border: 2px solid var(--border-color); border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.event-tab .event-date { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }
.event-tab:hover { border-color: var(--accent-cyan); background: white; }
.event-tab.active { background: var(--primary-color); border-color: var(--primary-color); color: white; }
.event-tab.active .event-date { color: rgba(255,255,255,0.8); }

/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.stat-card { background: white; border-radius: var(--radius-lg); padding: 25px; display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: var(--transition); }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon i { font-size: 1.5rem; color: white; }
.stat-icon.male { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.stat-icon.female { background: linear-gradient(135deg, #ec4899, #be185d); }
.stat-icon.globe { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); }
.stat-content { flex: 1; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary-color); line-height: 1; margin-bottom: 5px; display: block; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Winners Cards */
.top-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 40px; }
.winners-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.winners-card-header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); color: white; padding: 20px 25px; display: flex; align-items: center; gap: 15px; }
.winners-card-header.women { background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%); }
.winners-card-header i { font-size: 1.5rem; opacity: 0.9; }
.winners-card-header h3 { font-size: 1.1rem; font-weight: 600; margin: 0; color: white; }
.winners-list { padding: 0; }
.winner-item { display: flex; align-items: center; padding: 18px 25px; border-bottom: 1px solid var(--border-light); gap: 15px; transition: var(--transition); }
.winner-item:last-child { border-bottom: none; }
.winner-item:hover { background: var(--bg-light); }
.winner-rank { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.winner-rank.gold { background: linear-gradient(135deg, #ffd700, #ffb800); color: #333; box-shadow: 0 4px 15px rgba(255,215,0,0.4); }
.winner-rank.silver { background: linear-gradient(135deg, #e8e8e8, #c0c0c0); color: #333; }
.winner-rank.bronze { background: linear-gradient(135deg, #cd7f32, #b87333); color: white; }
.winner-info { flex: 1; }
.winner-name { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; margin-bottom: 2px; }
.winner-country { font-size: 0.8rem; color: var(--text-muted); }
.winner-time { font-size: 1.1rem; font-weight: 700; color: var(--primary-color); }

/* Filters */
.filters-container { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 25px; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.filters-header h3 { font-size: 1rem; font-weight: 600; color: var(--primary-color); margin: 0; display: flex; align-items: center; gap: 10px; }
.filters-header h3 i { color: var(--accent-cyan); }
.filters-toggle { display: none; background: var(--bg-light); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: var(--radius-sm); color: var(--primary-color); font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.filters-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 15px; }
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.filter-group select, .filter-group input { padding: 12px 15px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-color); background: white; transition: var(--transition); width: 100%; }
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(62,169,245,0.15); }
.search-box { position: relative; }
.search-box input { padding-left: 45px; }
.search-box i { position: absolute; left: 15px; bottom: 14px; color: var(--text-muted); }
.filter-actions { display: flex; gap: 12px; margin-top: 15px; }

/* Results Table */
.results-table-container { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.results-table-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid var(--border-light); background: var(--bg-light); flex-wrap: wrap; gap: 15px; }
.results-count { font-size: 0.9rem; color: var(--text-muted); }
.results-count strong { color: var(--primary-color); font-weight: 600; }
.export-buttons { display: flex; gap: 10px; }
.table-wrapper { overflow-x: auto; }
.results-table { width: 100%; border-collapse: collapse; }
.results-table th, .results-table td { padding: 14px 16px; text-align: left; white-space: nowrap; }
.results-table th { background: var(--bg-light); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid var(--border-color); cursor: pointer; letter-spacing: 0.5px; transition: var(--transition); }
.results-table th:hover { background: #eef1f5; color: var(--primary-color); }
.results-table th i { margin-left: 6px; opacity: 0.4; font-size: 0.7rem; }
.results-table th.sorted i { opacity: 1; color: var(--accent-cyan); }
.results-table tbody tr { border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.results-table tbody tr:hover { background: var(--bg-light); }
.rank-cell { font-weight: 700; color: var(--primary-color); }
.rank-medal { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.75rem; font-weight: 700; }
.rank-medal.gold { background: linear-gradient(135deg, #ffd700, #ffb800); color: #333; }
.rank-medal.silver { background: linear-gradient(135deg, #e8e8e8, #c0c0c0); color: #333; }
.rank-medal.bronze { background: linear-gradient(135deg, #cd7f32, #b87333); color: white; }
.bib-cell { font-family: 'Courier New', monospace; font-weight: 700; }
.name-cell { font-weight: 600; }
.name-cell a { color: var(--text-dark); }
.name-cell a:hover { color: var(--accent-cyan); }
.country-cell { display: flex; align-items: center; gap: 10px; }
.country-flag { width: 24px; height: 16px; border-radius: 2px; object-fit: cover; }
.time-cell { font-family: 'Courier New', monospace; font-weight: 700; color: var(--primary-color); }
.pace-cell { color: var(--text-muted); font-size: 0.9rem; }
.gender-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 0.8rem; }
.gender-badge.male { background: #e3f2fd; color: #1976d2; }
.gender-badge.female { background: #fce4ec; color: #c2185b; }
.view-details-btn { background: var(--bg-light); border: 1px solid var(--border-color); padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.8rem; color: var(--text-light); transition: var(--transition); }
.view-details-btn:hover { background: var(--accent-cyan); border-color: var(--accent-cyan); color: white; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 25px; border-top: 1px solid var(--border-light); background: var(--bg-light); }
.pagination button { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); background: white; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); color: var(--text-color); }
.pagination button:hover:not(:disabled) { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.pagination button.active { background: var(--primary-color); border-color: var(--primary-color); color: white; }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(14,43,92,0.85); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; backdrop-filter: blur(5px); }
.modal-overlay.active { display: flex; }
.modal { background: white; border-radius: var(--radius-lg); width: 100%; max-width: 650px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); animation: modalSlide 0.3s ease; }
@keyframes modalSlide { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid var(--border-light); background: var(--bg-light); }
.modal-header h2 { font-size: 1.2rem; font-weight: 600; color: var(--primary-color); margin: 0; }
.modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: white; border: 1px solid var(--border-color); border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--text-muted); transition: var(--transition); }
.modal-close:hover { background: var(--accent-red); border-color: var(--accent-red); color: white; }
.modal-body { padding: 25px; }
.result-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.detail-item { display: flex; flex-direction: column; gap: 5px; }
.detail-item label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; }
.detail-item span { font-weight: 600; color: var(--text-dark); font-size: 1rem; }
.detail-item.highlight span { font-size: 1.75rem; font-weight: 700; color: var(--primary-color); }

/* Loading & No Results */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; color: var(--text-muted); }
.loading-spinner { width: 45px; height: 45px; border: 3px solid var(--border-color); border-top-color: var(--accent-cyan); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-results { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.no-results i { font-size: 4rem; margin-bottom: 20px; opacity: 0.3; }
.no-results h4 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-color); }

/* Toast Notifications */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--primary-dark); color: white; padding: 15px 25px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); z-index: 9999; opacity: 0; transition: all 0.3s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { font-size: 1.2rem; }
.toast-success { background: #059669; }
.toast-warning { background: #d97706; }
.toast-error { background: #dc2626; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-section { padding: 60px 0; background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info-card, .contact-form-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.contact-info-card h2, .contact-form-card h2 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); }
.contact-info-card > p { color: var(--text-muted); margin-bottom: 30px; }
.contact-methods { margin-bottom: 30px; }
.contact-method { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.contact-method:last-child { border-bottom: none; }
.method-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.method-icon i { color: white; font-size: 1.1rem; }
.method-details h4 { font-size: 0.9rem; font-weight: 600; color: var(--primary-color); margin-bottom: 5px; }
.method-details a, .method-details span { color: var(--text-light); font-size: 0.95rem; }
.method-details a:hover { color: var(--accent-cyan); }
.social-connect { padding-top: 20px; border-top: 1px solid var(--border-light); }
.social-connect h4 { font-size: 0.9rem; font-weight: 600; color: var(--primary-color); margin-bottom: 15px; }
.social-icons { display: flex; gap: 12px; }
.social-icon { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; transition: var(--transition); }
.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.youtube { background: #ff0000; }
.social-icon.twitter { background: #1da1f2; }
.social-icon:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-form { margin-top: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--primary-color); margin-bottom: 8px; }
.form-group label .required { color: var(--accent-red); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-primary); transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(62,169,245,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* FAQ Section */
.faq-section { padding: 80px 0; background: white; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.faq-item { background: var(--bg-light); padding: 25px; border-radius: var(--radius-md); transition: var(--transition); border-left: 4px solid var(--accent-cyan); }
.faq-item:hover { background: white; box-shadow: var(--shadow-md); }
.faq-item h4 { font-size: 1rem; color: var(--primary-color); margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.faq-item h4 i { color: var(--accent-cyan); margin-top: 3px; }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.7; }
.faq-item p a { color: var(--accent-cyan); }

/* ==========================================================================
   REGISTRATION PAGE
   ========================================================================== */
.registration-page-section { padding: 60px 0; background: var(--bg-light); }
.reg-categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 50px; }
.reg-category-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); position: relative; display: flex; flex-direction: column; }
.reg-category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.reg-category-card.featured { border: 3px solid var(--accent-cyan); }
.reg-category-card.featured .card-header { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-light)); }
.card-badge { position: absolute; top: 15px; right: -35px; background: var(--accent-red); color: white; padding: 5px 40px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; transform: rotate(45deg); }
.card-header { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); color: white; padding: 30px 25px; text-align: center; }
.reg-category-card .category-icon { width: 70px; height: 70px; background: rgba(255,255,255,0.2); border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; }
.reg-category-card .category-icon i { font-size: 1.75rem; color: white; }
.card-header h3 { font-size: 1.25rem; color: white; margin-bottom: 5px; }
.card-header .distance { font-size: 0.9rem; opacity: 0.8; }
.card-body { padding: 30px 25px; flex: 1; display: flex; flex-direction: column; }
.price-section { text-align: center; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.current-price { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); line-height: 1; }
.original-price { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; margin-top: 5px; }
.price-note-small { font-size: 0.8rem; color: var(--accent-cyan); font-weight: 600; margin-top: 8px; }
.features-list { flex: 1; margin-bottom: 25px; }
.features-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text-light); }
.features-list li i { color: var(--success-color); font-size: 0.8rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.reg-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.info-card { background: white; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.info-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.info-icon i { font-size: 1.5rem; color: white; }
.info-card h4 { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 15px; }
.info-card ul { margin: 0; padding: 0; }
.info-card ul li { padding: 8px 0; color: var(--text-light); font-size: 0.9rem; border-bottom: 1px solid var(--border-light); }
.info-card ul li:last-child { border-bottom: none; }
.info-card ul li strong { color: var(--primary-color); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1400px) {
    .nav-menu > li > a { padding: 12px 10px; font-size: 0.75rem; }
    .header-contact { display: none; }
}

@media (max-width: 1200px) {
    .container { padding: 0 25px; }
    .header-inner { flex-wrap: wrap; }
    .header-center { padding: 0 15px; }
    .nav-menu > li > a { padding: 10px 8px; font-size: 0.7rem; }
    .tagline { font-size: 0.6rem; letter-spacing: 1.5px; }
    .race-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .reg-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .header-inner { min-height: auto; padding: 15px 0; }
    .header-center { display: none; }
    .header-right { display: none; }
    .mobile-menu-toggle { display: flex; }
    .main-nav { position: fixed; top: 0; left: 0; width: 300px; height: 100vh; background: white; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; box-shadow: var(--shadow-xl); }
    .main-nav.active { transform: translateX(0); }
    .nav-menu { flex-direction: column; padding: 80px 20px 20px; gap: 0; }
    .nav-menu > li > a { padding: 15px 0; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; }
    .nav-menu > li > a::after { display: none; }
    .has-dropdown > a::before { position: absolute; right: 0; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; background: var(--bg-light); margin: 0; padding: 10px 20px; border-top: none; border-radius: 0; }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { padding: 10px 15px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .top-winners { grid-template-columns: 1fr; }
    .unique-wrapper { grid-template-columns: 1fr; }
    .registration-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .filters-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; } h2 { font-size: 1.75rem; }
    .hero-slider { height: 500px; }
    .hero-text h1 { font-size: 2.25rem; }
    .hero-text p { font-size: 1rem; }
    .countdown-wrapper { flex-direction: column; gap: 15px; }
    .countdown-number { font-size: 1.5rem; }
    .slider-dots { bottom: 80px; }
    .race-cards-grid { grid-template-columns: 1fr; }
    .reg-categories-grid { grid-template-columns: 1fr; }
    .reg-info-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .filters-toggle { display: block; }
    .filters-grid { display: none; grid-template-columns: 1fr; }
    .filters-grid.active { display: grid; margin-top: 15px; }
    .page-header { padding: 60px 0; }
    .page-header h1 { font-size: 2rem; }
    .result-detail-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; text-align: center; gap: 10px; }
    .sponsors-wrapper { flex-direction: column; gap: 40px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero-slider { height: 450px; }
    .hero-text h1 { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .countdown-item { min-width: 50px; }
    .countdown-number { font-size: 1.25rem; }
    .slider-arrow { width: 40px; height: 40px; }
    .slider-arrow.prev { left: 15px; }
    .slider-arrow.next { right: 15px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .filters-container, .pagination, .export-buttons, .btn, .back-to-top, .slider-arrow, .slider-dots, .countdown-bar { display: none !important; }
    .hero-slider { height: auto; }
    .page-header { padding: 30px 0; }
}
