/* --- DESIGN SYSTEM TOKENS --- */
:root {
    /* Colors */
    --color-navy-dark: #080C16;
    --color-navy: #0B1426;
    --color-navy-light: #121E36;
    --color-navy-tint: #1C2D4A;
    --color-red: #E61A37;
    --color-red-hover: #C50F28;
    --color-white: #FFFFFF;
    --color-off-white: #F4F6F8;
    --color-gray-light: #D0D5DD;
    --color-gray: #667085;
    
    /* Typography */
    --font-headings: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition Speed */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing & Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --max-width: 1200px;
    --header-height: 80px;
}

/* --- RESET & GENERAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-white);
    line-height: 1.1;
}

p {
    font-size: 1rem;
    color: var(--color-gray-light);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* --- REUSABLE UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--color-red-hover);
    border-color: var(--color-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 26, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-navy-dark);
    transform: translateY(-2px);
}

.section-tag {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    margin-top: 10px;
}

.section-title.center::after {
    margin: 10px auto 0 auto;
}

/* --- HEADER / NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(8, 12, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(3deg);
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-text span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-red);
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-light);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* dvh = dynamic viewport height: shrinks with mobile browser chrome, prevents CLS */
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 12, 22, 0.95) 0%, rgba(11, 20, 38, 0.8) 50%, rgba(8, 12, 22, 0.95) 100%);
    z-index: -1;
}

/* Subtle chevron overlay for athletic vibe */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top right, var(--color-navy-dark) 49.5%, transparent 50.5%);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp var(--transition-slow) forwards;
    padding-top: 20px;
}

.hero-badge {
    background-color: rgba(230, 26, 55, 0.1);
    border: 1px solid var(--color-red);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-red);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-title span {
    color: var(--color-red);
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--color-navy-dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.about-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.about-content.active {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-gray-light);
}

.about-text a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-text a:hover {
    color: var(--color-red);
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: rgba(230, 26, 55, 0.1);
    border: 1px solid var(--color-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.about-feature-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--color-red);
}

.about-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    aspect-ratio: 4/3;
    opacity: 0;
    transform: scale(0.95);
    transition: all var(--transition-slow);
}

.about-visual.active {
    opacity: 1;
    transform: scale(1);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.about-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 12, 22, 0.9), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.about-stat {
    display: flex;
    gap: 32px;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* --- VALUES SECTION --- */
.values {
    background-color: var(--color-navy);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.value-card.active {
    opacity: 1;
    transform: translateY(0);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-red);
    transition: transform var(--transition-normal);
    transform: scaleY(0);
    transform-origin: bottom;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 26, 55, 0.3);
    background-color: var(--color-navy-tint);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.value-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-card:hover .value-icon {
    background-color: var(--color-red);
    border-color: var(--color-red);
    transform: scale(1.1);
}

.value-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
    transition: transform var(--transition-normal);
}

.value-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.value-description {
    font-size: 0.95rem;
    color: var(--color-gray-light);
}

/* --- CTA/NEWSLETTER SECTION --- */
.register {
    background-color: var(--color-navy-dark);
    position: relative;
    overflow: hidden;
}

/* Red accent stripe behind form */
.register::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-red) 0%, #a80f24 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
    opacity: 0.85;
}

.register .container {
    position: relative;
    z-index: 2;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.register-info {
    max-width: 500px;
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--transition-slow);
}

.register-info.active {
    opacity: 1;
    transform: translateX(0);
}

.register-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.register-info p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.info-bullets {
    display: grid;
    gap: 16px;
}

.info-bullet {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
}

.info-bullet span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(230, 26, 55, 0.1);
    border: 1px solid var(--color-red);
    color: var(--color-red);
    font-family: var(--font-headings);
    font-weight: 700;
}

.register-form-container {
    background-color: rgba(18, 30, 54, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.register-form-container.active {
    opacity: 1;
    transform: translateY(0);
}

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

.form-label {
    display: block;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--color-white);
}

.form-input {
    width: 100%;
    background-color: var(--color-navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 26, 55, 0.15);
    background-color: rgba(8, 12, 22, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 24px;
    padding-right: 48px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.form-success-msg {
    display: none;
    background-color: rgba(26, 230, 107, 0.1);
    border: 1px solid #1ae66b;
    color: #1ae66b;
    border-radius: var(--border-radius-sm);
    padding: 16px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    animation: fadeIn var(--transition-normal) forwards;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-info p {
    margin: 20px 0 28px 0;
    max-width: 360px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

.footer-col-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-red);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-link {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-link:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.footer-copy a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.footer-legal-link:hover {
    color: var(--color-white);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .values-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .register::before {
        display: none;
    }
    
    .register-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .register-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Navigation Hamburger */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-navy-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px;
        gap: 32px;
        z-index: 1000;
        transition: right var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-cta {
        margin-top: 16px;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    /* Hamburger Active State */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .value-card {
        padding: 30px 24px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .register-form-container {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   --- PLAYER INTEREST FORM STYLES ---
   ========================================================================== */

.interest-hero {
    position: relative;
    padding: 140px 0 80px 0;
    text-align: center;
    background-color: var(--color-navy-dark);
}

.interest-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero_soccer_action.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
    filter: grayscale(30%);
}

.interest-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.4) 0%, var(--color-navy-dark) 100%);
    z-index: 2;
}

.interest-hero .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.interest-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.interest-desc {
    font-size: 1.15rem;
    color: var(--color-gray-light);
    line-height: 1.6;
}

.interest-form-wrapper {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.form-section-card {
    background-color: rgba(18, 30, 54, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.form-section-card:hover {
    border-color: rgba(230, 26, 55, 0.2);
}

.section-card-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.section-card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-red);
    margin-top: 8px;
}

.form-row-three {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Gender Cards Layout */
.gender-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.gender-card {
    cursor: pointer;
    position: relative;
}

.gender-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-card-content {
    background-color: var(--color-navy-dark);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-normal);
    color: var(--color-gray-light);
}

.gender-card-content span {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gender-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-gray);
    transition: fill var(--transition-normal), transform var(--transition-normal);
}

.gender-card:hover .gender-card-content {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Checked state */
.gender-card input[type="radio"]:checked + .gender-card-content {
    border-color: var(--color-red);
    background-color: rgba(230, 26, 55, 0.08);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(230, 26, 55, 0.2);
}

.gender-card input[type="radio"]:checked + .gender-card-content .gender-icon {
    fill: var(--color-red);
    transform: scale(1.1);
}

/* Focused State for accessibility */
.gender-card input[type="radio"]:focus-visible + .gender-card-content {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 26, 55, 0.3);
}

/* Age Groups Grid */
.age-groups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.age-group-btn {
    cursor: pointer;
    position: relative;
}

.age-group-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.age-group-btn-content {
    background-color: var(--color-navy-dark);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all var(--transition-fast);
}

.age-group-btn-content .age-label {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
}

.age-group-btn-content .age-dates {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.age-group-btn:hover .age-group-btn-content {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.age-group-btn input[type="radio"]:checked + .age-group-btn-content {
    border-color: var(--color-red);
    background-color: rgba(230, 26, 55, 0.08);
    box-shadow: 0 4px 10px rgba(230, 26, 55, 0.15);
}

.age-group-btn input[type="radio"]:checked + .age-group-btn-content .age-label {
    color: var(--color-red);
}

.age-group-btn input[type="radio"]:checked + .age-group-btn-content .age-dates {
    color: var(--color-gray-light);
}

.age-group-btn input[type="radio"]:focus-visible + .age-group-btn-content {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 26, 55, 0.3);
}

/* Custom Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 6px 0;
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    height: 22px;
    width: 22px;
    background-color: var(--color-navy-dark);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-item:hover .checkbox-box {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

.checkbox-box::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2px;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-box {
    background-color: var(--color-red);
    border-color: var(--color-red);
    box-shadow: 0 0 10px rgba(230, 26, 55, 0.3);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-box::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-item input[type="checkbox"]:focus-visible + .checkbox-box {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 26, 55, 0.3);
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--color-off-white);
    transition: color var(--transition-fast);
}

.checkbox-item input[type="checkbox"]:checked ~ .checkbox-label {
    color: var(--color-white);
    font-weight: 500;
}

/* Sub-inputs */
.sub-input-wrap {
    margin-top: 16px;
    padding: 20px;
    background-color: rgba(8, 12, 22, 0.3);
    border-left: 3px solid var(--color-red);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    animation: slideDown var(--transition-fast) ease-out forwards;
}

.input-sub-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 8px;
    margin-top: -4px;
}

/* Error Typography */
.error-text {
    display: block;
    color: var(--color-red);
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
}

.form-input.error {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 26, 55, 0.1);
}

/* Actions block */
.interest-form-actions {
    text-align: center;
    margin-top: 40px;
}

#interest-submit-btn {
    padding: 16px 40px;
    font-size: 1.2rem;
    min-width: 250px;
}

/* Success Card */
.interest-success-card {
    background-color: rgba(18, 30, 54, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(26, 230, 107, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 230, 107, 0.1);
    border: 2px solid #1ae66b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    box-shadow: 0 0 20px rgba(26, 230, 107, 0.2);
}

.success-icon {
    width: 40px;
    height: 40px;
    fill: #1ae66b;
}

.success-title {
    font-size: 2.5rem;
    color: #1ae66b;
    margin-bottom: 20px;
}

.success-desc {
    font-size: 1.15rem;
    color: var(--color-off-white);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .interest-title {
        font-size: 2.8rem;
    }
    
    .form-section-card {
        padding: 24px;
    }
    
    .form-row-three {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .age-groups-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gender-cards {
        grid-template-columns: 1fr;
    }
}

/* --- TEAMS & STAFF PAGES STYLES --- */
.teams-hero {
    position: relative;
    padding: 120px 0 60px 0;
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.teams-hero-title {
    font-size: 3.5rem;
    margin-bottom: 12px;
}
.teams-hero-desc {
    font-size: 1.15rem;
    color: var(--color-gray-light);
    max-width: 700px;
    margin: 0 auto;
}
.team-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-red);
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}
.team-back-link:hover {
    color: var(--color-white);
}

.directory-section-header {
    margin-bottom: 40px;
}
.directory-section-desc {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-top: -10px;
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.team-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
}
.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 26, 55, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.team-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.team-card-badge.boys {
    background-color: rgba(26, 115, 230, 0.15);
    border: 1px solid rgba(26, 115, 230, 0.5);
    color: #4da3ff;
}
.team-card-badge.girls {
    background-color: rgba(230, 26, 115, 0.15);
    border: 1px solid rgba(230, 26, 115, 0.5);
    color: #ff4da6;
}
.team-crest-placeholder {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-crest-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
.team-card-title {
    font-size: 1.6rem;
    margin-bottom: 4px;
    line-height: 1.2;
}
.team-card-division {
    font-size: 0.9rem;
    color: var(--color-gray);
    font-weight: 500;
    margin-bottom: 24px;
    display: block;
}
.team-card-body {
    flex-grow: 1;
    margin-bottom: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}
.team-coach-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}
.coach-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: var(--color-navy-dark);
}
.coach-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coach-mini-details {
    display: flex;
    flex-direction: column;
}
.coach-mini-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.coach-mini-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color var(--transition-fast);
}
.coach-mini-name:hover {
    color: var(--color-red);
}
.team-card-footer {
    display: flex;
}
.card-action-btn {
    width: 100%;
}

.directory-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 40px 0;
}

/* Coaches Grid */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.coach-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}
.coach-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230,26,55,0.2);
}
.coach-card-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--color-navy-dark);
}
.coach-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.coach-card:hover .coach-card-image img {
    transform: scale(1.05);
}
.coach-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 12, 22, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.coach-card-image:hover .coach-card-overlay {
    opacity: 1;
}
.coach-card-info {
    padding: 20px;
}
.coach-card-name {
    font-size: 1.4rem;
    margin-bottom: 2px;
}
.coach-card-role {
    font-size: 0.85rem;
    color: var(--color-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}
.coach-card-email {
    font-size: 0.85rem;
    color: var(--color-gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}
.coach-card-email:hover {
    color: var(--color-white);
}

.no-records-card {
    grid-column: 1 / -1;
    background-color: rgba(255,255,255,0.02);
    border: 2px dashed rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 60px 20px;
    text-align: center;
}

/* Team Details Page */
.team-details-crest-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
}
.team-details-crest {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.team-details-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.details-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.details-badge.gender {
    background-color: var(--color-red);
    color: var(--color-white);
}
.details-badge.age {
    background-color: var(--color-navy-tint);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-white);
}
.details-badge.division {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-gray-light);
}

.team-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}
.team-description-box {
    margin-bottom: 40px;
}
.team-desc-text {
    font-size: 1.15rem;
    line-height: 1.7;
}
.team-quick-specs {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 30px;
}
.spec-section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}
.spec-grid {
    display: grid;
    gap: 16px;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.spec-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-gray);
    letter-spacing: 0.05em;
}
.spec-val {
    font-size: 1rem;
    color: var(--color-white);
    font-weight: 500;
    text-align: right;
}

.roster-subtext {
    color: var(--color-gray);
    margin-top: -10px;
    margin-bottom: 30px;
}
.team-staff-roster-list {
    display: grid;
    gap: 20px;
}
.roster-staff-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}
.roster-staff-card:hover {
    border-color: rgba(230,26,55,0.2);
    transform: translateX(4px);
}
.roster-staff-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: var(--color-navy-dark);
}
.roster-staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.roster-staff-info {
    flex-grow: 1;
}
.roster-staff-name {
    font-size: 1.15rem;
    margin-bottom: 2px;
    color: var(--color-white);
}
.roster-staff-role {
    font-size: 0.8rem;
    color: var(--color-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}
.roster-staff-email {
    font-size: 0.8rem;
    color: var(--color-gray);
    transition: color var(--transition-fast);
}
.roster-staff-email:hover {
    color: var(--color-white);
}
.roster-staff-action {
    display: flex;
    align-items: center;
}
.roster-arrow-btn {
    color: var(--color-gray);
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.roster-staff-card:hover .roster-arrow-btn {
    color: var(--color-red);
    transform: translateX(3px);
}

/* Staff Bio Details Page */
.profile-layout-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.profile-photo-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    aspect-ratio: 1/1;
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255,255,255,0.05);
}
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-contact-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 30px;
}
.contact-card-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}
.contact-info-list {
    display: grid;
    gap: 20px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-icon {
    color: var(--color-red);
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-text {
    display: flex;
    flex-direction: column;
}
.contact-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.contact-val {
    font-size: 0.95rem;
    color: var(--color-white);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.contact-val:hover {
    color: var(--color-red);
}

.profile-header-details {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 24px;
    margin-bottom: 30px;
}
.profile-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.profile-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.profile-badge.coach {
    background-color: rgba(230, 26, 55, 0.15);
    border: 1px solid rgba(230, 26, 55, 0.5);
    color: var(--color-red);
}
.profile-badge.board {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}
.profile-name {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 8px;
}
.profile-role {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    font-weight: 500;
}

.bio-section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.bio-paragraphs {
    display: grid;
    gap: 16px;
}
.bio-paragraph-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.profile-philosophy-card {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(230, 26, 55, 0.05) 0%, rgba(230, 26, 55, 0.02) 100%);
    border: 1px solid rgba(230, 26, 55, 0.15);
    padding: 30px;
    border-radius: var(--border-radius-md);
}
.philosophy-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-white);
}
.philosophy-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-light);
    font-style: italic;
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .profile-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .profile-sidebar {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    .team-details-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

.text-danger {
    color: var(--color-red) !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

