/* CSS Variables for consistent theming */
:root {
    --primary-blue: #0e56ae;
    --primary-blue-hover: #0a4490;
    --accent-yellow: #fab306;
    --accent-yellow-hover: #e0a005;
    --dark-bg: #0a032d;
    --darker-blue: #092e5c;
    --light-blue: #a0b1c5;
    --lighter-blue: #c9d4e0;
    --text-dark: #162c46;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-color: #cbcacb;
    --hover-bg: #1b181a;
    --disabled-bg: #939293;
    --error-red: #ff6b6b;
    --success-green: #2e7d32;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 16px;
    --transition-speed: 0.3s;
    --container-max-width: 1200px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8f9fa;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: var(--text-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.header__logo .logo {
    height: 40px;
    width: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 12px var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    min-height: 44px;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary-blue);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.btn--primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--large {
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 16px;
    min-height: 56px;
}

.btn--submit {
    width: 100%;
    margin-top: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--darker-blue) 100%);
    box-shadow: 0 4px 14px rgba(14, 86, 174, 0.4);
}

.btn--submit:hover {
    background: linear-gradient(135deg, var(--primary-blue-hover) 0%, var(--dark-bg) 100%);
    box-shadow: 0 6px 20px rgba(14, 86, 174, 0.5);
    transform: translateY(-2px);
}

.btn--submit svg {
    transition: transform var(--transition-speed) ease;
}

.btn--submit:hover svg {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

.hero__title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Section */
.video-section {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Full width section */
.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: var(--spacing-xxl) 0;
}

.sports-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================= */
/* CATEGORIES SECTION (NEW)                       */
/* ============================================= */

.categories-section {
    background: linear-gradient(135deg, #0a032d 0%, #0e56ae 100%);
    color: white;
}

.categories-subtitle {
    text-align: center;
    color: var(--accent-yellow);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.category-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 179, 6, 0.3);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    transition: all var(--transition-speed) ease;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.category-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--accent-yellow);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(250, 179, 6, 0.3);
}

.category-card p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    padding-top: 6px;
}

.categories-note {
    text-align: center;
    color: var(--lighter-blue);
    font-style: italic;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-left: 3px solid var(--accent-yellow);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-sm);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================= */
/* COMPETITION PROGRAM                            */
/* ============================================= */

.competition-program {
    background: var(--dark-bg);
    color: white;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-sm);
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-subtitle {
    text-align: center;
    color: var(--lighter-blue);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.sport-card {
    background: rgba(14, 86, 174, 0.15);
    border: 2px solid var(--primary-blue);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 179, 6, 0.1), transparent);
    transition: left 0.6s ease;
}

.sport-card:hover::before {
    left: 100%;
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-yellow);
    background: rgba(14, 86, 174, 0.3);
}

.sport-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(250, 179, 6, 0.3);
    line-height: 1;
}

.sport-icon {
    margin-bottom: var(--spacing-md);
}

.sport-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.sport-title {
    color: white;
    font-size: 1.2rem;
    margin: var(--spacing-sm) 0;
    font-weight: 600;
    line-height: 1.3;
}

.sport-meta {
    color: var(--accent-yellow);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

/* ============================================= */
/* MODAL STYLES                                   */
/* ============================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--spacing-md);
}

.modal-overlay.--visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-blue) 100%);
    border: 2px solid var(--accent-yellow);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.modal__btn-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.modal__btn-close:hover {
    background: var(--accent-yellow);
    color: var(--dark-bg);
    transform: rotate(90deg);
}

.modal-title {
    color: var(--accent-yellow);
    margin-bottom: var(--spacing-md);
    text-align: center;
    font-size: 1.4rem;
    padding-right: var(--spacing-lg);
}

.modal-content {
    color: white;
    line-height: 1.7;
}

.modal-content p {
    margin-bottom: var(--spacing-sm);
}

.modal-content ul {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-xs) 0 var(--spacing-sm);
}

.modal-content ul li {
    padding: 6px 0 6px 24px;
    position: relative;
}

.modal-content ul li::before {
    content: '▸';
    color: var(--accent-yellow);
    position: absolute;
    left: 8px;
}

.modal-content strong {
    color: var(--accent-yellow);
}

/* ============================================= */
/* PHOTO SLIDER                                   */
/* ============================================= */

.photo-slider {
    background-color: var(--dark-bg);
    padding: 0;
    overflow: hidden;
    position: relative;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 70vh;
    min-height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.slide-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: var(--spacing-md);
    background: rgba(10, 3, 45, 0.6);
    border-left: 4px solid var(--accent-yellow);
}

.slide-caption h3 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-yellow);
    text-transform: uppercase;
}

.slide-caption p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: var(--spacing-md); }
.next-btn { right: var(--spacing-md); }

.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-yellow);
    transform: scale(1.2);
}

/* ============================================= */
/* REGISTRATION FORM (REDESIGNED)                 */
/* ============================================= */

.registration {
    background: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xxl) var(--spacing-xl);
    margin: var(--spacing-xxl) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-yellow), var(--primary-blue));
}

.registration__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.registration__title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.registration__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.registration__info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4fa;
    color: var(--primary-blue);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #d6e0ee;
}

.info-pill--warning {
    background: #fff4e0;
    color: #b8860b;
    border-color: #f0d9a8;
}

.info-pill svg {
    flex-shrink: 0;
}

/* Form Layout */
.registration-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    grid-column: span 2;
}

.form-group--checkbox {
    grid-column: span 2;
    margin-top: var(--spacing-sm);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.required {
    color: #d63535;
    font-weight: 700;
}

/* Form Inputs - REDESIGNED */
.form-input-wrapper {
    position: relative;
    width: 100%;
}

.form-input-icon {
    position: absolute;
    left: 16px;
    top: 26px; /* Half of input height (52px / 2) — stays aligned with input regardless of error/helper text below */
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .form-input-icon {
        top: 25px; /* Half of mobile input height (50px / 2) */
    }
}

@media screen and (max-width: 480px) {
    .form-input-icon {
        top: 24px; /* Half of small mobile input height (48px / 2) */
    }
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 0 var(--spacing-sm) 0 46px;
    background: #f8f9fb !important;
    border: 2px solid #e0e6ee !important;
    border-radius: var(--border-radius);
    color: var(--text-dark) !important;
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
}

.form-input:hover {
    border-color: var(--primary-blue) !important;
    background: white !important;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue) !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(14, 86, 174, 0.1) !important;
}

.form-input::placeholder {
    color: #9ba6b3 !important;
    opacity: 1;
}

/* Dropdown - REDESIGNED */
.dropdown {
    position: relative;
    width: 100%;
}

.dropdown__button {
    width: 100%;
    height: 52px;
    background: #f8f9fb !important;
    border: 2px solid #e0e6ee !important;
    border-radius: var(--border-radius);
    color: var(--text-dark) !important;
    text-align: left;
    font-size: 15px;
    font-family: inherit;
    padding: 0 44px 0 var(--spacing-sm);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown__button:hover {
    border-color: var(--primary-blue) !important;
    background: white !important;
}

.dropdown__button:focus {
    outline: none;
    border-color: var(--primary-blue) !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(14, 86, 174, 0.1) !important;
}

.dropdown__button::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    border: solid var(--primary-blue);
    border-width: 0 2px 2px 0;
    padding: 4px;
    transition: transform var(--transition-speed) ease;
}

.dropdown.--visible .dropdown__button {
    border-color: var(--primary-blue) !important;
    background: white !important;
}

.dropdown.--visible .dropdown__button::after {
    transform: translateY(-35%) rotate(225deg);
}

.dropdown__list {
    list-style: none;
    padding: 6px;
    margin: 4px 0 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white !important;
    border: 1px solid #e0e6ee !important;
    border-radius: var(--border-radius);
    z-index: 10;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.dropdown.--visible .dropdown__list {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown__list li {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark) !important;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border-radius: 6px;
    margin-bottom: 2px;
}

.dropdown__list li:last-child {
    margin-bottom: 0;
}

.dropdown__list li:hover {
    background: #f0f4fa !important;
    color: var(--primary-blue) !important;
}

.dropdown__list li.--active,
.dropdown__list li.selected {
    background: var(--primary-blue) !important;
    color: white !important;
    font-weight: 600;
}

.dropdown__list li.--disabled {
    pointer-events: none;
    background-color: #f0f0f0 !important;
    color: #adb5bd !important;
    cursor: default;
    opacity: 0.6;
}

/* Custom scrollbar for dropdowns */
.dropdown__list::-webkit-scrollbar {
    width: 6px;
}

.dropdown__list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.dropdown__list::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

/* Custom Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: var(--spacing-sm);
    background: #f8f9fb;
    border-radius: var(--border-radius);
    border: 2px solid #e0e6ee;
    transition: all var(--transition-speed) ease;
}

.checkbox-label:hover {
    border-color: var(--primary-blue);
    background: white;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: white;
    border: 2px solid #cbd2dc;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
    position: relative;
    margin-top: 1px;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-input:focus + .checkbox-custom {
    box-shadow: 0 0 0 4px rgba(14, 86, 174, 0.15);
}

.checkbox-text {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.checkbox-text a:hover {
    color: var(--primary-blue-hover);
}

/* ============================================= */
/* FOOTER                                         */
/* ============================================= */

.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: var(--spacing-xxl) 0 0;
    position: relative;
    border-top: 3px solid var(--accent-yellow);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xxl);
}

.footer__logo .logo {
    height: 60px;
    width: auto;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--accent-yellow);
    letter-spacing: 0.5px;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: var(--spacing-xs);
}

.footer__link {
    color: var(--lighter-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    font-size: 15px;
}

.footer__link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer__copyright {
    color: var(--light-blue);
    font-size: 14px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.scroll-top.--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-3px);
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.--animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* RESPONSIVE - TABLET (≤1024px)                  */
/* ============================================= */

@media screen and (max-width: 1024px) {
    .slider-track {
        height: 60vh;
        min-height: 400px;
    }

    .slide-caption {
        bottom: 15%;
        left: 5%;
    }

    .slide-caption h3 {
        font-size: 2rem;
    }

    .slide-caption p {
        font-size: 1rem;
    }

    .registration {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
}

/* ============================================= */
/* RESPONSIVE - MOBILE (≤768px)                   */
/* ============================================= */

@media screen and (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    /* Slider */
    .slider-track {
        height: 50vh;
        min-height: 300px;
    }

    .slide-caption {
        bottom: 8%;
        left: var(--spacing-sm);
        right: var(--spacing-sm);
        max-width: calc(100% - 32px);
        padding: var(--spacing-sm);
    }

    .slide-caption h3 {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn { left: 8px; }
    .next-btn { right: 8px; }

    .slider-dots {
        bottom: 12px;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .category-card {
        padding: var(--spacing-md);
    }

    .category-badge {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    /* Sports cards */
    .sports-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .sport-card {
        min-height: 180px;
        padding: var(--spacing-lg);
    }

    .sport-title {
        font-size: 1.05rem;
    }

    /* Modal */
    .modal {
        padding: var(--spacing-lg);
        max-height: 85vh;
    }

    .modal-title {
        font-size: 1.2rem;
        padding-right: var(--spacing-md);
    }

    /* Registration Form - MOBILE OPTIMIZED */
    .registration {
        padding: var(--spacing-lg) var(--spacing-md);
        margin: var(--spacing-lg) 0;
        border-radius: var(--border-radius);
    }

    .registration__title {
        font-size: 1.5rem;
    }

    .registration__info {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .info-pill {
        justify-content: center;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .form-group--full,
    .form-group--checkbox {
        grid-column: span 1;
    }

    .form-input,
    .dropdown__button {
        height: 50px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .form-input {
        padding-left: 44px;
    }

    .checkbox-label {
        padding: 14px;
    }

    .checkbox-text {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0 0;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
        padding-bottom: var(--spacing-xl);
    }

    .footer__links {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    .footer__logo {
        display: flex;
        justify-content: center;
    }

    /* Scroll-top */
    .scroll-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================= */
/* RESPONSIVE - SMALL MOBILE (≤480px)             */
/* ============================================= */

@media screen and (max-width: 480px) {
    .header__content {
        padding: 12px 0;
    }

    .header__logo .logo {
        height: 32px;
    }

    .btn {
        padding: 10px var(--spacing-sm);
        font-size: 13px;
        min-height: 40px;
    }

    .btn--large {
        padding: 14px var(--spacing-lg);
        font-size: 15px;
        min-height: 50px;
    }

    .slider-track {
        height: 40vh;
        min-height: 250px;
    }

    .slide-caption h3 {
        font-size: 1.1rem;
    }

    .slide-caption p {
        font-size: 0.8rem;
    }

    .registration {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .registration__title {
        font-size: 1.3rem;
    }

    .form-input,
    .dropdown__button {
        height: 48px;
    }

    .modal {
        padding: var(--spacing-md);
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .footer__links {
        grid-template-columns: 1fr;
    }

    .sport-card {
        padding: var(--spacing-md);
        min-height: 160px;
    }

    .sport-number {
        font-size: 1.5rem;
        top: 8px;
        right: 12px;
    }
}

/* ============================================= */
/* ACCESSIBILITY                                  */
/* ============================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.form-input:focus-visible,
.dropdown__button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}