/* ========================================
   ELECTRIC SPORT LUXURY - PADEL TOURNAMENTS
   ======================================== */

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

:root {
    /* Bold Color Palette */
    --navy: #0a1628;
    --navy-light: #1a2d4a;
    --electric-lime: #FFE000;
    --electric-coral: #ff6b6b;
    --gold: #ffd700;
    --white: #ffffff;
    --gray-light: #f1f3f5;
    --gray: #8b95a5;
    --gray-dark: #2d3748;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--electric-lime) 0%, #ccaa00 100%);
    --gradient-coral: linear-gradient(135deg, var(--electric-coral) 0%, #ee5a5a 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, #ffaa00 100%);

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 80px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(204, 255, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background: var(--gray-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* ========================================
   HERO SECTION - HIGH IMPACT
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(26, 45, 74, 0.88) 50%,
        rgba(10, 22, 40, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: var(--space-md);
    max-width: 900px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--electric-coral);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    margin-bottom: var(--space-md);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
}

.hero-logo {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    margin-bottom: var(--space-lg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    animation: slideUp 0.8s ease-out 0.6s both;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-top: var(--space-xs);
}

.hero-stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 215, 0, 0.3),
        transparent
    );
}

/* ========================================
   TOURNAMENTS SECTION - MODERN GRID
   ======================================== */

.tournaments-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--gray-light);
    position: relative;
}

.tournaments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(204, 255, 0, 0.3),
        transparent
    );
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--navy);
    color: var(--electric-lime);
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--navy);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl);
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    color: var(--gray);
    background: var(--white);
    border-radius: 16px;
}

/* ========================================
   TOURNAMENT CARD - DYNAMIC DESIGN
   ======================================== */

.tournament-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tournament-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: rgba(204, 255, 0, 0.2);
}

.tournament-card:hover::before {
    transform: scaleX(1);
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.tournament-name {
    font-size: 1.8rem;
    color: var(--navy);
    flex: 1;
}

.tournament-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-accent);
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
}

.tournament-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-family: 'Manrope', sans-serif;
    color: var(--gray);
    font-size: 0.95rem;
}

.tournament-info svg {
    width: 18px;
    height: 18px;
    color: var(--navy);
    flex-shrink: 0;
}

.tournament-info strong {
    color: var(--navy);
    font-weight: 700;
}

.tournament-meta {
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.03) 0%,
        rgba(26, 45, 74, 0.05) 100%
    );
    border-radius: 12px;
    border: 1px solid rgba(10, 22, 40, 0.08);
}

.participants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.participants-count {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
}

.participants-count span {
    color: var(--electric-coral);
}

.participants-remaining {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    background: rgba(255, 107, 107, 0.15);
    color: var(--electric-coral);
    border-radius: 100px;
}

/* Progress Bar - Enhanced */
.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(10, 22, 40, 0.1);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Register Button - Bold */
.register-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--space-md);
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.register-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3);
}

.register-btn:hover:not(:disabled)::before {
    left: 100%;
}

.register-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ========================================
   MODAL - REFINED DESIGN
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: var(--space-xl);
    max-width: 640px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--electric-coral);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: var(--space-sm);
    text-align: center;
    padding-right: 44px;
}

.modal-description {
    text-align: center;
    color: var(--gray);
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    padding-right: 44px;
}

/* Form - Enhanced */
.player-section {
    margin-bottom: var(--space-lg);
    position: relative;
    padding-left: 20px;
}

.player-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.player-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(10, 22, 40, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 18px 16px 52px;
    border: 2px solid rgba(10, 22, 40, 0.15);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--navy);
    background: var(--white);
    transition: all 0.3s ease;
    min-height: 56px;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--electric-lime);
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.1);
}

.input-wrapper input:focus + .input-icon {
    color: var(--electric-lime);
}

.input-wrapper input::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.submit-btn {
    width: 100%;
    padding: 20px 32px;
    background: var(--gradient-accent);
    color: var(--navy);
    border: none;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 255, 0, 0.4);
}

.submit-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled .btn-icon {
    transform: none;
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */

.toast {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    padding: 20px 28px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateY(0);
}

.toast.success {
    background: var(--gradient-accent);
    color: var(--navy);
}

.toast.error {
    background: var(--gradient-coral);
    color: var(--white);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ========================================
   HERO - ADDITIONAL ELEMENTS
   ======================================== */

.hero-cta-badge {
    display: inline-block;
    padding: 10px 28px;
    background: var(--electric-coral);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
    animation: badgePulse 2s ease-in-out infinite;
}

.hero-description {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    font-weight: 500;
    opacity: 0.75;
    margin-bottom: var(--space-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.8s both;
}

/* ========================================
   CHAMPIONSHIPS SECTION
   ======================================== */

.championships-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--navy);
    position: relative;
}

.championships-section .section-title {
    color: var(--white);
}

.championships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.championship-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(204, 255, 0, 0.2);
    border-radius: 20px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
}

.championship-card:hover {
    background: rgba(204, 255, 0, 0.08);
    border-color: rgba(204, 255, 0, 0.5);
    transform: translateY(-4px);
}

.championship-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.championship-name {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--electric-lime);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.championship-age {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.championship-age strong {
    color: var(--white);
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--gray-light);
}

.pricing-card {
    background: var(--navy);
    border-radius: 24px;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.pricing-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(204, 255, 0, 0.15);
    color: var(--electric-lime);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 100px;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(204, 255, 0, 0.3);
}

.pricing-amount {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 12vw, 7rem);
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.pricing-currency {
    font-size: 0.5em;
    vertical-align: top;
    margin-top: 0.3em;
    display: inline-block;
}

.pricing-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.pricing-features {
    list-style: none;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

.pricing-features li {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--electric-lime);
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.contact-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy);
    opacity: 0.85;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.contact-text strong {
    opacity: 1;
    font-weight: 800;
}

.contact-btn {
    display: inline-block;
    padding: 18px 48px;
    background: var(--navy);
    color: var(--electric-lime);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3);
}

/* ========================================
   FORM - RADIO, SELECT, CONSENTS
   ======================================== */

.radio-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-xs);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    padding: 10px 16px;
    border: 2px solid rgba(10, 22, 40, 0.15);
    border-radius: 10px;
    transition: all 0.2s ease;
    user-select: none;
}

.radio-option input[type="radio"] {
    accent-color: var(--navy);
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-option:has(input:checked) {
    border-color: var(--navy);
    background: rgba(10, 22, 40, 0.05);
}

.form-select {
    width: 100%;
    padding: 16px 48px 16px 18px;
    border: 2px solid rgba(10, 22, 40, 0.15);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    background: var(--white);
    min-height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--electric-lime);
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.1);
}

.select-wrapper {
    display: block;
}

.consents-section {
    margin-bottom: var(--space-lg);
    position: relative;
    padding-left: 20px;
}

.consents-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-coral);
    border-radius: 2px;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(10, 22, 40, 0.07);
    cursor: pointer;
}

.consent-item:last-of-type {
    border-bottom: none;
}

.consent-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--navy);
    cursor: pointer;
    margin-top: 2px;
}

.consent-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-dark);
    line-height: 1.5;
}

.consent-text strong {
    color: var(--navy);
    font-weight: 700;
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        max-width: 700px;
    }

    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-md);
    }

    .modal-content {
        max-width: 580px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --space-lg: 32px;
        --space-xl: 60px;
    }

    .hero {
        min-height: 600px;
        padding: var(--space-sm);
    }

    .hero-content {
        padding: var(--space-sm);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        width: 60px;
        height: 2px;
    }

    .tournaments-section {
        padding: var(--space-xl) var(--space-sm);
    }

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

    .tournament-card {
        padding: var(--space-md);
    }

    .tournament-header {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .tournament-name {
        font-size: 1.5rem;
    }

    .tournament-badge {
        align-self: flex-start;
    }

    .register-btn {
        min-height: 52px;
        font-size: 1rem;
    }

    .modal-content {
        padding: var(--space-lg) var(--space-md);
        max-height: 95vh;
        width: 95%;
    }

    .modal-title {
        font-size: 1.6rem;
        padding-right: 0;
        margin-bottom: var(--space-sm);
    }

    .modal-description {
        font-size: 0.9rem;
        padding-right: 0;
        margin-bottom: var(--space-md);
    }

    .modal-close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .player-title {
        font-size: 1.2rem;
    }

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

    .form-group label {
        font-size: 0.8rem;
    }

    .input-wrapper input {
        padding: 16px 18px 16px 48px;
        min-height: 52px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-btn {
        min-height: 56px;
        font-size: 1rem;
    }

    .toast {
        bottom: var(--space-md);
        right: var(--space-md);
        left: var(--space-md);
        max-width: none;
        font-size: 0.95rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --space-md: 20px;
        --space-lg: 24px;
        --space-xl: 48px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title-line {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .hero-stat-number {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-stat-divider {
        width: 40px;
        height: 2px;
    }

    .tournament-card {
        padding: var(--space-sm);
    }

    .tournament-name {
        font-size: 1.3rem;
    }

    .tournament-info {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .tournament-meta {
        padding: var(--space-sm);
    }

    .participants-count {
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .modal-content {
        padding: var(--space-md) var(--space-sm);
        border-radius: 20px;
    }

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

    .modal-description {
        font-size: 0.85rem;
        margin-bottom: var(--space-sm);
    }

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

    .form-row {
        gap: var(--space-sm);
    }

    .form-group {
        margin-bottom: var(--space-sm);
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .input-wrapper input {
        padding: 14px 16px 14px 44px;
    }

    .input-icon {
        left: 14px;
    }

    .input-icon svg {
        width: 18px;
        height: 18px;
    }

    .toast {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
}

/* Large Desktop (min-width: 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-content {
        max-width: 1100px;
    }

    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .modal-content {
        max-width: 700px;
    }
}
