:root {
    --primary: #7C3AED; /* Violet */
    --primary-dark: #6D28D9;
    --secondary: #FDE047; /* Yellow */
    --accent: #FBBF24; /* Darker Yellow */
    --dark: #0F172A;
    --light: #F8FAFC;
    --surface: #FFFFFF;
    --text-muted: #64748B;
    --border: #E2E8F0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .form-title, .submit-btn {
    font-family: 'Outfit', sans-serif;
}

.fw-black {
    font-weight: 800;
}

.fs-7 {
    font-size: 0.8rem;
}

/* Page Wrapper & Animated Background */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    background: #F1F5F9;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.7;
    animation: floatShape 20s ease-in-out infinite alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(124, 58, 237, 0.3); /* Violet */
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(253, 224, 71, 0.4); /* Yellow */
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: rgba(253, 224, 71, 0.3);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
    100% { transform: translate(-50px, 50px) scale(0.9); }
}

.container {
    position: relative;
    z-index: 10;
}

/* Card Styling */
.registration-card {
    background: var(--surface);
    border-radius: 30px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15), 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    max-width: 1100px;
    margin: auto;
}

/* Left Banner Section */
.theme-bg {
    background: linear-gradient(145deg, var(--primary) 0%, #5B21B6 100%); /* Violet gradient */
    position: relative;
    overflow: hidden;
}

/* Pattern overlay */
.theme-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.text-shadow {
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.backdrop-blur {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Decorative Icon */
.sports-icon-wrapper {
    position: absolute;
    right: 20px;
    bottom: 20px;
    opacity: 0.8;
}

.sports-icon {
    font-size: 140px;
    line-height: 1;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.bounce-animation {
    animation: floatingIcon 4s ease-in-out infinite;
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Form Styles */
.form-section {
    z-index: 5;
}

.form-title {
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 6px;
    background: var(--primary);
    border-radius: 10px;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.form-control, .form-select, .input-group-text {
    border: 2px solid var(--border);
    border-radius: 12px;
    background-color: #F8FAFC;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1) !important;
}

.input-group .form-control:focus {
    border-color: var(--primary);
}

.input-group:focus-within .input-group-text {
    border-color: var(--primary);
}

.input-group-text {
    background-color: #F8FAFC;
    color: var(--text-muted);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Custom UI inputs */
.form-custom-group {
    position: relative;
}

/* Submit Button */
.submit-btn {
    background: var(--dark);
    border: none;
    border-radius: 18px;
    color: white;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.6) !important;
}

.submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 10px 20px -10px rgba(124, 58, 237, 0.4) !important;
}

.price-tag {
    background: #FFFFFF;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Validation styling override for beautiful UX */
.was-validated .form-control:invalid, .was-validated .form-select:invalid {
    border-color: #EF4444;
    background-image: none;
}
.was-validated .form-control:valid, .was-validated .form-select:valid {
    border-color: #10B981;
    background-image: none;
}

/* Responsive considerations */
@media (max-width: 991.98px) {
    .registration-card {
        border-radius: 24px;
    }
    /* On mobile, Form displays first (top), Banner second (bottom) */
    .form-section {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
    }
    .theme-bg {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    .sports-icon-wrapper {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 2rem;
        display: flex !important;
        justify-content: center;
    }
    .sports-icon {
        font-size: 90px;
        filter: none;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: calc(2.2rem + 1.5vw) !important;
    }
}

@media (max-width: 576px) {
    .banner-section {
        padding: 2rem 1.5rem !important;
    }
    .form-section {
        padding: 2rem 1.5rem !important;
    }
    .submit-btn {
        flex-direction: column;
        gap: 12px;
    }
    .price-tag {
        width: 100%;
        font-size: 1.25rem !important;
    }
    .btn-text {
        align-items: center !important;
        width: 100%;
        text-align: center;
    }
    .btn-text .fs-5 {
        font-size: 1.15rem !important;
    }
    .display-3 {
        font-size: 2.2rem !important;
    }
    .form-title {
        font-size: 1.75rem;
    }
    .sports-icon {
        font-size: 70px;
    }
    .lead {
        font-size: 1.05rem;
    }
    .navbar-brand span {
        font-size: 1.25rem !important;
    }
    .navbar-brand img {
        height: 38px !important;
    }
    .contact-item {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .display-3 {
        font-size: 1.8rem !important;
    }
    .navbar-brand span {
        font-size: 1.15rem !important;
    }
    .navbar-brand img {
        height: 32px !important;
        margin-right: 8px !important;
    }
    .form-title {
        font-size: 1.5rem;
    }
    p, .form-label {
        font-size: 0.9rem !important;
    }
}

/* Footer Custom Styles */
.footer-custom {
    background: #0F172A;
    position: relative;
    z-index: 10;
    border-top: 5px solid var(--primary);
}

.footer-custom .text-accent {
    color: var(--secondary); /* Yellow */
}

.contact-item {
    font-size: 1.1rem;
    font-weight: 500;
}
#sportsSection {
    cursor: pointer;
}


.policy-link {
    
    color:#FFFFFF;
    
}

