/* ===================================
   ASTUPADEL COLOR SCHEME (From Logo)
   =================================== */
:root {
    /* Primary Colors from Logo */
    --navy-blue: #1B3A5C;
    --navy-blue-dark: #0F2847;
    --navy-blue-light: #2A4D75;
    --bright-green: #4CAF50;
    --bright-green-dark: #388E3C;
    --bright-green-light: #66BB6A;
    --yellow-gold: #FDB927;
    --yellow-gold-dark: #F39C12;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E0E6ED;
    --dark-gray: #6B7280;
    --text-dark: #1F2937;
    
    /* Semantic Colors */
    --success: var(--bright-green);
    --warning: var(--yellow-gold);
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* ===================================
   LAYOUT COMPONENTS
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--navy-blue);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: transform var(--transition-base);
    overflow: visible;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    position: relative;
    z-index: 1001;
    height: 50px;
    width: 150px;
    flex-shrink: 0;
    overflow: visible;
}

.logo-container a {
    position: absolute;
    top: 75%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo {
    height: 100px;
    width: auto;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition-base);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:not(.btn-nav-cta):hover {
    color: var(--yellow-gold);
}

.nav-menu a:not(.btn-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow-gold);
    transition: var(--transition-base);
}

.nav-menu a:not(.btn-nav-cta):hover::after {
    width: 100%;
}

.nav-menu .btn-nav-cta {
    background-color: var(--yellow-gold);
    color: var(--navy-blue) !important;
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-block;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-nav-cta:hover {
    background-color: var(--yellow-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem var(--spacing-sm);
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background-color: var(--navy-blue-dark);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-md);
        padding: var(--spacing-xl);
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-blue-dark) 100%);
    color: var(--white);
    padding: 10rem var(--spacing-md) 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, var(--bright-green) 1px, transparent 1px),
        linear-gradient(-45deg, var(--bright-green) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
}

.hero--with-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero--with-bg::before {
    background-image: none;
    background: rgba(0, 10, 40, 0.62);
    background-size: unset;
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--bright-green);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--yellow-gold);
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--yellow-gold);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem var(--spacing-sm) 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Home Hero Enhancements — Explosive Edition */

.hero--home {
    padding: 13rem var(--spacing-md) 9rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #0a1f3d 0%, var(--navy-blue-dark) 50%, #061529 100%);
}

/* Radial spotlight glow behind the content */
.hero--home::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at center,
        rgba(76, 175, 80, 0.10) 0%,
        rgba(27, 58, 92, 0.05) 50%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content--home {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

/* Giant faint watermark word behind everything */
.hero-watermark {
    position: absolute;
    bottom: -0.05em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Eyebrow pill with pulsing dot */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--yellow-gold);
    background: rgba(253, 185, 39, 0.10);
    border: 1px solid rgba(253, 185, 39, 0.28);
    border-radius: 2rem;
    padding: 0.45rem 1.2rem;
    margin-bottom: var(--spacing-xl);
}

/* .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--yellow-gold);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2.2s ease-in-out infinite;
} */

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.6); }
}

/* Explosive title */
.hero-title--xl {
    font-size: 7rem;
    line-height: 0.96;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -3px;
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.3);
}

/* Animated shimmer on the highlight word */
.hero--home .highlight {
    background: linear-gradient(
        90deg,
        var(--bright-green) 0%,
        #8bffba 38%,
        var(--yellow-gold) 58%,
        var(--bright-green) 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
    display: inline-block;
}

@keyframes shimmer-text {
    0%   { background-position: 0% center; }
    100% { background-position: 250% center; }
}

/* Description */
.hero--home .hero-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-2xl);
}

.hero--home .hero-description strong {
    color: var(--white);
    font-weight: 700;
}

/* Hero CTA overrides — bigger, more imposing */
.btn--hero {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

.btn--hero.btn-primary {
    animation: pulse-glow 2.8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(253, 185, 39, 0.45),
            0 8px 30px rgba(253, 185, 39, 0.25);
    }
    50% {
        box-shadow:
            0 0 42px rgba(253, 185, 39, 0.68),
            0 12px 45px rgba(253, 185, 39, 0.42);
    }
}

.btn--hero.btn-primary:hover {
    animation: none;
    box-shadow:
        0 0 55px rgba(253, 185, 39, 0.75),
        0 14px 50px rgba(253, 185, 39, 0.45);
    transform: translateY(-5px) scale(1.03);
}

.btn--hero.btn-secondary:hover {
    transform: translateY(-5px) scale(1.03);
}

/* Trust bar */
.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-trust-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.hero-blob--1 {
    width: 40rem;
    height: 40rem;
    background: rgba(76, 175, 80, 0.13);
    top: -10rem;
    right: -12rem;
}

.hero-blob--2 {
    width: 30rem;
    height: 30rem;
    background: rgba(253, 185, 39, 0.09);
    bottom: -8rem;
    left: -10rem;
}

.hero-blob--3 {
    width: 18rem;
    height: 18rem;
    background: rgba(76, 175, 80, 0.07);
    bottom: 20%;
    right: 15%;
}

@media (max-width: 1024px) {
    .hero-title--xl {
        font-size: 5.5rem;
        letter-spacing: -2px;
    }
}

@media (max-width: 768px) {
    .hero--home {
        padding: 9rem var(--spacing-sm) 6rem;
        min-height: unset;
    }

    .hero-title--xl {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }

    .hero-watermark {
        font-size: 10rem;
    }

    .hero-trust {
        display:none;
    }

    .btn--hero {
        padding: 1rem 2rem;
    }
}

/* ===================================
   BUTTON STYLES
   =================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--yellow-gold);
    color: var(--navy-blue);
}

.btn-primary:hover {
    background-color: var(--yellow-gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-outline:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

.btn-cta-primary {
    background-color: var(--yellow-gold);
    color: var(--navy-blue);
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
}

.btn-cta-primary:hover {
    background-color: var(--yellow-gold-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-cta-secondary {
    background-color: var(--navy-blue);
    color: var(--white);
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
}

.btn-cta-secondary:hover {
    background-color: var(--navy-blue-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===================================
   SECTION STYLES
   =================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.section-title .highlight {
    background: linear-gradient(90deg, var(--yellow-gold) 0%, var(--yellow-gold-dark) 50%, var(--yellow-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
}
.section-subtitle .highlight {
    background: linear-gradient(90deg, var(--yellow-gold) 0%, var(--yellow-gold-dark) 50%, var(--yellow-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--spacing-xl);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.section-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.section-empty-title {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.75rem;
}

.section-empty-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.45);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--light-gray);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--bright-green), var(--bright-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

/* ===================================
   TOURNAMENTS SECTION
   =================================== */
.tournaments {
    padding: var(--spacing-2xl) 0;
    background: var(--navy-blue-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.tournaments::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.tournaments > * {
    position: relative;
    z-index: 1;
}

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

.tournaments .section-subtitle {
    color: rgba(255,255,255,0.72);
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-top: 1.25rem;
}

/* ===================================
   UNIFIED CARD COMPONENT
   =================================== */

/* Base card — dark glass panel used for all public cards
   (tournament listings, club listings, detail info blocks, etc.) */
.card {
    display: flex;
    
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-top: 3px solid var(--yellow-gold);
    backdrop-filter: blur(6px);
    overflow: visible;
    text-decoration: none;
    color: var(--white);
    position: relative;
    margin-bottom: var(--spacing-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow-gold), var(--yellow-gold-dark));
    border-radius: ;
    opacity: 0.6;
    transition: opacity var(--transition-base);
} */

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(253,185,39,0.35);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(253,185,39,0.15);
    color: var(--white);
}

.card:hover::before { opacity: 1; }

/* ── Tournament image area ── */
.card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-img img { transform: scale(1.05); }

.card-img--placeholder {
    background: linear-gradient(135deg, rgba(253,185,39,0.08), rgba(27,58,92,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon { font-size: 3rem; opacity: 0.5; }

/* ── Club logo area ── */
.card-logo-wrap {
    width: 100%;
    height: 130px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: rgba(27,58,92,0.5);
    padding: 0.5rem;
}

.card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-logo { transform: scale(1.05); }

.card-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-placeholder-icon { width: 56px; height: 56px; }

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* ── Status badge (top-centre overlay) ── */
.card-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    white-space: nowrap;
}

.card-badge--open        { background: var(--yellow-gold); color: var(--navy-blue); }
.card-badge--soon        { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.card-badge--closed      { background: rgba(239,68,68,0.2); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.card-badge--in-progress { background: rgba(76,175,80,0.25); color: #86efac; border: 1px solid rgba(76,175,80,0.4); }
.card-badge--finished    { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.15); }

/* ── Name banner (gold-tinted header strip) ── */
.card-name , .card-title {
    font-size: 1rem;
    color: var(--yellow-gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(253, 185, 39, 0.10);
    padding: 0.45rem;
}

/* ── Body ── */
.card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}
@media (max-width: 768px) {
    .card-body {
        padding: 1rem 1rem 1rem;
    }
}
/* ── Section title (detail/info cards — gold bottom separator) ── */
.card-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid rgba(253,185,39,0.28);
    letter-spacing: 0.01em;
}

/* ── Meta list ── */
.card-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.70);
}

.card-meta-icon {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--yellow-gold);
    flex-shrink: 0;
}

/* ── Registration status ── */
.card-reg--open   { color: var(--yellow-gold); font-weight: 600; }
.card-reg--soon   { color: rgba(255,255,255,0.85); font-weight: 600; }
.card-reg--closed { color: #fca5a5; }

/* ── Price badge ── */
.card-price {
    display: inline-block;
    margin-top: 0.35rem;
    background: rgba(253,185,39,0.15);
    color: var(--yellow-gold);
    border: 1px solid rgba(253,185,39,0.25);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    align-self: flex-start;
}

.card-price strong { color: var(--yellow-gold); }

/* ── Categories block ── */
.card-cats {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.card-cat-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.card-level {
    font-weight: 700;
    color: var(--yellow-gold);
    min-width: 72px;
    flex-shrink: 0;
}

.card-genders { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.card-gender {
    background: rgba(253,185,39,0.12);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(253,185,39,0.25);
    border-radius: 100px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ── CTA link (listing cards) ── */
.card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--yellow-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap var(--transition-fast), opacity var(--transition-fast);
}

.card-cta:hover { gap: 0.6rem; opacity: 0.85; }

/* ── Arrow footer (club listing cards) ── */
.card-arrow {
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
    color: var(--yellow-gold);
    font-weight: 700;
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: padding-left var(--transition-fast);
}

.card:hover .card-arrow { padding-left: 1.6rem; }

/* ── Sub-description text (detail cards) ── */
.card-desc {
    color: rgba(255,255,255,0.60);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ── About text block ── */
.card--about p      { color: rgba(255,255,255,0.75); line-height: 1.7; }
.card--about strong { color: var(--white); }

/* ── Stats inside a card ── */
.card .hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 0;
}

/* ── Modifiers ── */

/* Identity layout: logo + info side by side */
.card--identity {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .card--identity {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Featured card — stronger top bar */
.card--featured { border-top: 3px solid var(--yellow-gold); }

/* Nav card — transparent, no padding */
.card--nav {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card--nav::before { display: none; }

/* Poster card */
.card--poster { padding: 1.25rem; }

/* Feature card (how-it-works section — light background) */
.card--feature {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: none;
    backdrop-filter: none;
    color: var(--text-dark);
    transition: var(--transition-base);
}

.card--feature::before { display: none; }

.card--feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.card--feature h3 { color: var(--navy-blue); margin-bottom: var(--spacing-sm); }
.card--feature p  { color: var(--dark-gray); line-height: 1.7; }

/* Legacy — keep for admin/detail pages that may still use old classes */
.tournament-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    color: var(--white);
}

.tournament-card:hover {
    border-color: rgba(253,185,39,0.35);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

.tournament-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: rgba(255,255,255,0.12);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.tournament-badge.featured {
    background-color: var(--yellow-gold);
    color: var(--navy-blue);
}

.tournament-card h3 {
    color: var(--white);
    margin: var(--spacing-md) 0;
    font-size: 1.1rem;
}

.tournament-info {
    margin: var(--spacing-sm) 0;
}

.tournament-info p {
    margin-bottom: var(--spacing-xs);
    color: rgba(255,255,255,0.70);
    font-size: 0.9rem;
}

.tournament-card .btn {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* ===================================
   CLUBS SECTION
   =================================== */
.clubs {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(150deg, var(--navy-blue) 0%, var(--navy-blue-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.clubs::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.clubs > * {
    position: relative;
    z-index: 1;
}

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

.clubs .section-subtitle {
    color: rgba(255,255,255,0.72);
}

.clubs-council-group {
    margin-bottom: 3rem;
}

.clubs-council-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--yellow-gold);
}

.clubs-council-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: inline;
    border: none;
    padding: 0;
}

.clubs-council-count {
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--yellow-gold);
    color: var(--navy-blue);
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* ── Club / Council card elements — all styled via unified .card above ── */





.clubs-empty {
    text-align: center;
    padding: var(--spacing-2xl);
    color: rgba(255,255,255,0.65);
}

/* ===================================
   CLUB DETAIL PAGE
   =================================== */
.club-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .club-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* .detail-card → use .card instead */
/* .detail-card-title → use .card-title instead */
/* .club-hero-card → use .card--identity instead */

.club-detail-logo-wrap {
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.club-detail-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.club-detail-logo-placeholder {
    font-size: 3.5rem;
    opacity: 0.6;
}

.club-quick-facts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.club-quick-facts p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.70);
}

.club-quick-facts a {
    color: var(--yellow-gold);
    text-decoration: none;
}

.club-quick-facts a:hover { color: var(--yellow-gold-dark); }

.club-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

/* Courts list */
.courts-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.court-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
}

.court-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.court-type-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
}

.court-type-badge.court-type-indoor         { background: rgba(59,130,246,0.18);  color: #93c5fd; border: 1px solid rgba(59,130,246,0.25); }
.court-type-badge.court-type-outdoor        { background: rgba(253,185,39,0.12);  color: var(--yellow-gold); border: 1px solid rgba(253,185,39,0.25); }
.court-type-badge.court-type-outdoor_roofed { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.12); }

/* Opening times */
.opening-times-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.opening-times-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.92rem;
}

.opening-times-row:last-child { border-bottom: none; }

.opening-day {
    font-weight: 600;
    color: var(--white);
    min-width: 90px;
}

.opening-slots { color: rgba(255,255,255,0.65); }

/* Reservation info */
.reservation-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reservation-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.92rem;
}

.reservation-info-list li:last-child { border-bottom: none; }

.ri-label { color: rgba(255,255,255,0.60); }
.ri-value { font-weight: 700; color: var(--yellow-gold); }

/* Back link */
.btn-back {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--yellow-gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.btn-back:hover { color: var(--yellow-gold-dark); }

/* ===================================
   PAGE HERO (inner pages)
   =================================== */
.page-hero {
    background: linear-gradient(150deg, #0a1f3d 0%, var(--navy-blue-dark) 50%, #061529 100%);
    padding: 8rem 1.5rem 4.5rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Subtle grid tick overlay — same as home hero */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, var(--bright-green) 1px, transparent 1px),
        linear-gradient(-45deg, var(--bright-green) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
    pointer-events: none;
}
/* When a tournament image is set, keep it with a strong overlay */
.page-hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

/* Radial spotlight */
.page-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center,
        rgba(253, 185, 39, 0.07) 0%,
        rgba(27, 58, 92, 0.04) 45%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.page-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Eyebrow label reused from home hero */
.page-hero .hero-eyebrow {
    margin-bottom: 1.25rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
}

.breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: var(--yellow-gold); }

.breadcrumb-sep {
    color: rgba(255,255,255,0.4);
    margin: 0 0.15rem;
}

.page-hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

.page-hero-title .highlight {
    background: linear-gradient(90deg, var(--bright-green) 0%, #8bffba 45%, var(--yellow-gold) 65%, var(--bright-green) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
    display: inline;
}

.page-hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.page-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.page-hero-stat .stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--yellow-gold);
    line-height: 1;
}

.page-hero-stat .stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.6);
}

/* ===================================
   TOURNAMENT DETAIL HERO (td-hero)
   =================================== */



/* ── Page hero overlay (dark tint when background-image is set) ── */
.page-hero-overlay {
    position: relative;
    z-index: 1;
    background: rgba(6, 21, 41, 0.65);
    margin: -8rem -1.5rem -4rem;
    padding: 8rem 1.5rem 4rem;
}

/* No image: overlay is transparent */
.page-hero:not([style*="background-image"]) .page-hero-overlay {
    background: transparent;
}

/* ===================================
   TOURNAMENT DETAIL — BODY & LAYOUT
   (use .page-section for the wrapper)
   =================================== */
.td-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.75rem;
    align-items: start;
}

@media (max-width: 800px) {
    .td-grid { grid-template-columns: 1fr; }
    .td-col-side { order: -1; }
}

/* .td-card → use .card | .td-card-title → use .card-title */

.td-description {
    margin: 0;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}

/* ===================================
   TOURNAMENT DETAIL — DETAILS LIST
   =================================== */
.td-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.td-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}

.td-details-list li strong { color: var(--white); }
.td-details-list li:last-child { border-bottom: none; }
.td-detail-icon { flex-shrink: 0; }

/* ===================================
   TOURNAMENT DETAIL — CATEGORIES
   =================================== */
.td-categories { display: flex; flex-direction: column; gap: 0.6rem; }

.td-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
}

.td-category--full { opacity: 0.60; }
.td-category-name { font-weight: 600; font-size: 0.95rem; color: var(--white); }
.td-category-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.60); }
.td-badge { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 20px; }
.td-badge--full       { background: rgba(239,68,68,0.20);  color: #fca5a5;           border: 1px solid rgba(239,68,68,0.30); }
.td-badge--open       { background: rgba(253,185,39,0.15); color: var(--yellow-gold); border: 1px solid rgba(253,185,39,0.30); }
.td-badge--subscribed { background: rgba(59,130,246,0.18); color: #93c5fd;           border: 1px solid rgba(59,130,246,0.30); }
.td-category--subscribed { border-left: 3px solid var(--yellow-gold); }

/* ===================================
   TOURNAMENT DETAIL — SCHEDULES
   =================================== */
.td-schedules { display: flex; flex-direction: column; gap: 0.6rem; }

.td-schedule {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(253,185,39,0.20);
    border-left: 3px solid var(--yellow-gold);
    border-radius: 8px;
    background: rgba(253,185,39,0.05);
}

.td-schedule--optional {
    border-left-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

.td-schedule-date {
    min-width: 80px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    text-align: center;
    line-height: 1.3;
}

.td-schedule-date span { font-weight: 400; font-size: 0.8rem; color: rgba(255,255,255,0.55); }

.td-schedule-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.td-optional-tag {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.55);
    border-radius: 20px;
    padding: 0.15rem 0.5rem;
}

/* ===================================
   TOURNAMENT DETAIL — REGISTRATION CARD
   =================================== */


.td-status {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.td-status--open       { background: rgba(253,185,39,0.15); color: var(--yellow-gold); border: 1px solid rgba(253,185,39,0.30); }
.td-status--upcoming   { background: rgba(59,130,246,0.12); color: #93c5fd;            border: 1px solid rgba(59,130,246,0.25); }
.td-status--closed     { background: rgba(239,68,68,0.12);  color: #fca5a5;            border: 1px solid rgba(239,68,68,0.25); }
.td-status--na         { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.10); }
.td-status--subscribed { background: rgba(59,130,246,0.18); color: #93c5fd; border: 1px solid rgba(59,130,246,0.30); border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 600; }

.td-reg-meta { font-size: 0.875rem; color: rgba(255,255,255,0.60); margin: 0.25rem 0; }
.td-register-btn { display: block; width: 100%; text-align: center; margin-top: 1rem; }

/* ===================================
   TOURNAMENT DETAIL — PRICES
   =================================== */
.td-prices-list { list-style: none; padding: 0; margin: 0; }

.td-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.95rem;
}

.td-price-row:last-child { border-bottom: none; }
.td-price-label  { color: rgba(255,255,255,0.65); }
.td-price-amount { font-weight: 700; color: var(--yellow-gold); white-space: nowrap; }

/* ===================================
   TOURNAMENT DETAIL — POSTER
   =================================== */
.td-poster-card { padding: 1.25rem; }

.td-poster-link {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.td-poster-img {
    width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    max-height: 400px;
    transition: opacity 0.2s;
}

.td-poster-link:hover .td-poster-img { opacity: 0.85; }

.td-poster-hint {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

/* ===================================
   TOURNAMENT QUADROS — inner components
   =================================== */
.qo-wrap { max-width: 1100px; margin: 0 auto; }

.qo-empty {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.60);
}

.qo-cat-section { margin-bottom: 2.5rem; }

.qo-cat-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem;
}

.qo-cat-title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin: 0; }

.qo-cat-link {
    font-size: 0.875rem; font-weight: 600;
    color: var(--yellow-gold); text-decoration: none;
    background: rgba(253,185,39,0.12); padding: 0.3rem 0.75rem;
    border-radius: 20px; border: 1px solid rgba(253,185,39,0.25);
}
.qo-cat-link:hover { background: rgba(253,185,39,0.20); }

.qo-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.qo-grp-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px; padding: 1.25rem; display: flex;
    flex-direction: column; gap: 0.75rem;
}

.qo-grp-name {
    font-weight: 700; font-size: 0.95rem; color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 0.4rem;
}

.qo-grp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }

.qo-grp-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: rgba(255,255,255,0.70);
    padding: 0.3rem 0.4rem; border-radius: 6px;
}

.qo-grp-item.qo-pos-1       { background: rgba(253,185,39,0.10); }
.qo-grp-item.qo-pos-2       { background: rgba(74,222,128,0.08); }
.qo-grp-item.qo-pos-qualify { border-left: 3px solid var(--yellow-gold); }

.qo-pos {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(255,255,255,0.12); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.75rem; flex-shrink: 0;
}

.qo-team { flex: 1; font-weight: 500; color: var(--white); }
.qo-pts  { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

.qo-grp-btn {
    display: block; text-align: center; font-size: 0.8rem; font-weight: 600;
    color: var(--yellow-gold); text-decoration: none;
    background: rgba(255,255,255,0.06); padding: 0.4rem;
    border-radius: 6px; margin-top: auto;
    border: 1px solid rgba(255,255,255,0.08);
}
.qo-grp-btn:hover { background: rgba(253,185,39,0.12); border-color: rgba(253,185,39,0.20); }

/* "Mis categorías" card */
.qo-my-cats-card {
    background: rgba(253,185,39,0.07);
    border: 1px solid rgba(253,185,39,0.20);
    border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.75rem;
}

.qo-my-cats-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.qo-my-cats-icon  { font-size: 1.2rem; }
.qo-my-cats-title { font-size: 1rem; font-weight: 700; color: var(--yellow-gold); margin: 0; }
.qo-my-cats-list  { display: flex; flex-direction: column; gap: 0.6rem; }

.qo-my-cat-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px; padding: 0.75rem 1rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}

.qo-my-cat-name    { font-weight: 700; font-size: 0.95rem; color: var(--white); flex: 1 0 auto; }
.qo-my-cat-partner { font-size: 0.85rem; color: rgba(255,255,255,0.60); }
.qo-my-cat-status  { font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 20px; }
.qo-my-cat-status--confirmed { background: rgba(74,222,128,0.15); color: #86efac; }
.qo-my-cat-status--pending   { background: rgba(253,185,39,0.15); color: var(--yellow-gold); }
.qo-my-cat-link { font-size: 0.82rem; color: var(--yellow-gold); text-decoration: none; margin-left: auto; white-space: nowrap; }
.qo-my-cat-link:hover { text-decoration: underline; }

/* Phase blocks */
.qo-phase-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px; padding: 1.25rem 1.25rem 1rem; margin-bottom: 1rem;
}

.qo-phase-block--final { border-top: 3px solid var(--yellow-gold); }

.qo-phase-header {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1rem; padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.qo-phase-icon  { font-size: 1rem; }
.qo-phase-label { font-weight: 700; font-size: 0.95rem; color: var(--white); flex: 1; }
.qo-phase-badge { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 20px; background: rgba(74,222,128,0.15); color: #86efac; }
.qo-phase-badge--final { background: rgba(253,185,39,0.15); color: var(--yellow-gold); }

.qo-round-block  { margin-bottom: 1rem; }
.qo-round-header { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.38); margin-bottom: 0.5rem; }

/* ===================================
   TOURNAMENT QUADROS CATEGORY (qc-*)
   =================================== */
.qc-wrap { max-width: 1000px; margin: 0 auto; }

.qc-info-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.qc-info-pill {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 0.3rem 0.8rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 500;
}

.qc-grp-section {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
}

.qc-grp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.qc-grp-title  { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 0; }

.qc-matches-link {
    font-size: 0.85rem; font-weight: 600;
    color: var(--yellow-gold); text-decoration: none;
    background: rgba(253,185,39,0.12); padding: 0.3rem 0.75rem;
    border-radius: 20px; border: 1px solid rgba(253,185,39,0.25);
}
.qc-matches-link:hover { background: rgba(253,185,39,0.20); }

.qc-empty {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px; padding: 3rem 2rem;
    text-align: center; color: rgba(255,255,255,0.60);
}

.qc-table-wrap { overflow-x: auto; }

.qc-standings-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.qc-standings-table th,
.qc-standings-table td { padding: 0.5rem 0.6rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.06); }

.qc-standings-table th {
    background: rgba(255,255,255,0.05); font-weight: 600;
    font-size: 0.78rem; color: rgba(255,255,255,0.45); white-space: nowrap;
}

.qc-standings-table td { color: rgba(255,255,255,0.80); }

.qc-standings-table .q-grp-rr-label { text-align: left; color: var(--white); }
.qc-standings-table .q-grp-sub  { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.38); font-weight: 400; }
.qc-standings-table .q-st-first  { background: rgba(253,185,39,0.10); }
.qc-standings-table .q-st-second { background: rgba(74,222,128,0.08); }
.qc-standings-table .q-st-diff--pos { color: #86efac; font-weight: 700; }
.qc-standings-table .q-st-diff--neg { color: #fca5a5; font-weight: 700; }
.qc-standings-table .q-st-won  { color: #86efac; }
.qc-standings-table .q-st-lost { color: #fca5a5; }
.qc-standings-table .q-grp-seed { color: rgba(255,255,255,0.38); font-weight: 600; }

.qc-matches-btn {
    display: inline-block; font-size: 0.85rem; font-weight: 700;
    color: var(--navy-blue); text-decoration: none;
    background: var(--yellow-gold); padding: 0.4rem 1rem; border-radius: 8px;
}
.qc-matches-btn:hover { background: var(--yellow-gold-dark); }

/* "Tu inscripción" card */
.qc-my-reg-card {
    background: rgba(253,185,39,0.07); border: 1px solid rgba(253,185,39,0.20);
    border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}

.qc-my-reg-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; color: var(--yellow-gold); }
.qc-my-reg-status  { font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 20px; }
.qc-my-reg-status--confirmed { background: rgba(74,222,128,0.15); color: #86efac; }
.qc-my-reg-status--pending   { background: rgba(253,185,39,0.15); color: var(--yellow-gold); }
.qc-my-reg-body   { font-size: 0.9rem; color: rgba(255,255,255,0.70); }
.qc-my-reg-pair   { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.qc-my-reg-player { font-weight: 600; color: var(--white); }
.qc-my-reg-sep    { color: rgba(255,255,255,0.30); }

/* ===================================
   TOURNAMENT GROUP MATCHES (qm-*)
   =================================== */
.qm-wrap { max-width: 900px; margin: 0 auto; }

.qm-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
}

.qm-section-title {
    font-size: 1.05rem; font-weight: 700; color: var(--white);
    margin: 0 0 1rem; padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.qm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.qm-standings-table { min-width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.qm-standings-table th,
.qm-standings-table td { padding: 0.5rem 0.6rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }

.qm-standings-table th { background: rgba(255,255,255,0.05); font-weight: 600; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.qm-standings-table td { color: rgba(255,255,255,0.78); }

.qm-team-col { text-align: left !important; white-space: normal; min-width: 100px; color: var(--white) !important; }
.qm-sub     { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.40); }
.qm-pos-col { color: rgba(255,255,255,0.50) !important; font-weight: 600; width: 2rem; }
.qm-won  { color: #86efac !important; font-weight: 600; }
.qm-lost { color: #fca5a5 !important; font-weight: 600; }
.qm-diff { font-weight: 600; }
.qm-pos  { color: #86efac; }
.qm-neg  { color: #fca5a5; }
.qm-st-first  { background: rgba(253,185,39,0.10) !important; }
.qm-st-second { background: rgba(74,222,128,0.08) !important; }

/* Match cards (previously in match_card_styles.html.twig) */
.qm-no-matches  { color: rgba(255,255,255,0.55); font-size: 0.95rem; }
.qm-matches-list { display: flex; flex-direction: column; gap: 0.75rem; }

.qm-match {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px; padding: 1rem 1.1rem;
}

.qm-match--done { background: rgba(255,255,255,0.03); }
.qm-match--live { border-color: rgba(74,222,128,0.40); background: rgba(74,222,128,0.06); }

.qm-match-state { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }

.qm-badge { font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 20px; }
.qm-badge--done    { background: rgba(74,222,128,0.15); color: #86efac; }
.qm-badge--live    { background: rgba(74,222,128,0.25); color: #86efac; }
.qm-badge--pending { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.50); }

.qm-match-name { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

.qm-match-body {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem; align-items: center;
}

.qm-team-block { display: flex; flex-direction: column; min-width: 0; }
.qm-team-a { text-align: right; }
.qm-team-b { text-align: left; }
.qm-team-name { font-weight: 600; font-size: 0.9rem; color: var(--white); overflow-wrap: break-word; word-break: break-word; }
.qm-team-sub  { font-size: 0.75rem; color: rgba(255,255,255,0.38); overflow-wrap: break-word; }

.qm-score-block { text-align: center; flex-shrink: 0; }
.qm-score-vs    { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.28); }
.qm-sets { display: flex; flex-direction: column; gap: 0.2rem; align-items: center; }
.qm-set  { font-size: 0.9rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 4px; white-space: nowrap; }
.qm-set--a   { background: rgba(74,222,128,0.18); color: #86efac; }
.qm-set--b   { background: rgba(239,68,68,0.18);  color: #fca5a5; }
.qm-set--tie { background: rgba(253,185,39,0.18); color: var(--yellow-gold); }

.qm-match-meta { margin-top: 0.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.32); display: flex; gap: 0.75rem; flex-wrap: wrap; }

@media (max-width: 480px) {
    .qm-match-body { grid-template-columns: 1fr; grid-template-rows: auto auto auto; text-align: center; gap: 0.35rem; }
    .qm-team-a, .qm-team-b { text-align: center; }
    .qm-score-block { order: 2; }
    .qm-team-block:first-child { order: 1; }
    .qm-team-block:last-child  { order: 3; }
    .qm-sets { flex-direction: row; justify-content: center; }
    .qm-team-name { font-size: 0.95rem; }
}

/* ===================================
   TOURNAMENT CONFIRMATION PAGE
   (use .page-section for the outer wrapper)
   =================================== */

.conf-banner {
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 12px; padding: 1.75rem;
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 2.5rem;
}

.conf-banner.status-pending { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.25); }
.conf-banner.status-reserved { background: rgba(253,185,39,0.10); border-color: rgba(253,185,39,0.25); }


.conf-banner-icon  { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.conf-banner-title { color: #86efac; font-weight: 700; font-size: 1.1rem; }
.status-pending .conf-banner-title { color: #86efac; }
.status-reserved .conf-banner-title { color: var(--yellow-gold); }
.conf-banner-body  { margin: 0.4rem 0 0; color: rgba(255,255,255,0.65); font-size: 0.95rem; }

.conf-card { overflow: hidden; }
.conf-card-header { background: rgba(253,185,39,0.10); padding: 1.25rem 2rem; border-bottom: 1px solid rgba(253,185,39,0.18); }
.conf-card-title  { color: var(--white); margin: 0; font-size: 1.1rem; font-weight: 700; }
.conf-card-body   { padding: 2rem; }

.conf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .conf-grid { grid-template-columns: 1fr; } }

.conf-field-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.40); display: block; margin-bottom: 0.3rem; }
.conf-field-value { font-weight: 600; color: var(--white); margin: 0; }
.conf-info-row { margin-bottom: 1.25rem; }
.conf-contact-notice { padding: 0.9rem 1.1rem; background: rgba(253,185,39,0.07); border-left: 3px solid var(--yellow-gold); border-radius: 4px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.conf-contact-notice strong { color: var(--white); display: block; margin-bottom: 0.35rem; }
.conf-contact-notice p { margin: 0; line-height: 1.7; }
.conf-contact-notice a { color: var(--yellow-gold); }

.conf-status-pill {
    display: inline-block; padding: 0.2rem 0.75rem; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    background: rgba(253,185,39,0.15); color: var(--yellow-gold);
    border: 1px solid rgba(253,185,39,0.30);
}

.conf-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 1rem 0; }

.conf-players-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .conf-players-grid { grid-template-columns: 1fr; } }

.conf-player-block {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px; padding: 1rem 1.25rem;
}

.conf-player-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.38); margin: 0 0 0.5rem; }
.conf-player-name  { font-weight: 700; color: var(--white); margin: 0; }
.conf-player-email { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin: 0.2rem 0 0; }

.conf-slot-pills   { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.conf-slot-pill {
    display: inline-block; padding: 0.2rem 0.65rem;
    background: rgba(253,185,39,0.12); border: 1px solid rgba(253,185,39,0.25);
    border-radius: 20px; font-size: 0.8rem; color: var(--yellow-gold);
}

.conf-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ===================================
   TOURNAMENT REGISTRATION FORM
   =================================== */
.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block; margin-bottom: 0.5rem;
    font-weight: 600; color: rgba(255,255,255,0.85);
}

.form-input,
.form-select {
    width: 100%; padding: 0.75rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px; color: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.form-input::placeholder { color: rgba(255,255,255,0.35); }

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--yellow-gold);
    background: rgba(255,255,255,0.10);
    box-shadow: 0 0 0 3px rgba(253,185,39,0.15);
}

.form-select option { background: var(--navy-blue); color: var(--white); }
.form-select option:disabled { color: rgba(255,255,255,0.35); }

.invalid-feedback {
    display: block; margin-top: 0.35rem; padding: 0.4rem 0.75rem;
    background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25);
    border-radius: 6px; color: #fca5a5; font-size: 0.82rem; font-weight: 500; line-height: 1.4;
}

.invalid-feedback::before { content: '⚠ '; }

.form-input.is-invalid,
.form-select.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid { border-color: rgba(239,68,68,0.60); }

.form-input.is-invalid:focus,
.form-select.is-invalid:focus,
input.is-invalid:focus,
select.is-invalid:focus { border-color: rgba(220,38,38,0.80); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }

@media (max-width: 768px) {
    .form-group > div { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* Optional schedule slot picker */
.opt-schedule-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.opt-day   { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.opt-date  { color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.opt-range { background: rgba(255,255,255,0.07); border-radius: 20px; padding: 0.15rem 0.65rem; font-size: 0.8rem; color: rgba(255,255,255,0.50); border: 1px solid rgba(255,255,255,0.10); }
.opt-slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.opt-slot-btn {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.4rem 0.9rem; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.70);
    font-size: 0.875rem; font-weight: 500; cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s; user-select: none;
}

.opt-slot-btn:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.28); color: var(--white); }

.opt-slot-btn.selected {
    background: rgba(239,68,68,0.18);
    border-color: rgba(239,68,68,0.45);
    color: #fca5a5; font-weight: 700;
}

.opt-slot-btn.selected::before { content: '✕ '; }
.opt-slot-arrow { font-size: 0.7rem; opacity: 0.4; }

/* Reg info cards */
.reg-card { margin-bottom: 2rem; }

.reg-field-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.40); display: block; margin-bottom: 0.25rem; }
.reg-field-value { font-weight: 600; color: var(--white); margin: 0; }

.reg-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 0.95rem; margin-bottom: 1rem; }

.reg-player-info { background: rgba(253,185,39,0.07); border: 1px solid rgba(253,185,39,0.20); }

.reg-flash-success {
    padding: 1rem; margin-bottom: 2rem;
    background: rgba(74,222,128,0.10); border: 1px solid rgba(74,222,128,0.25);
    border-radius: 8px; color: #86efac;
}

.reg-flash-error {
    padding: 1rem; margin-bottom: 2rem;
    background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.25);
    border-radius: 8px; color: #fca5a5;
}

.reg-tournament-info { margin-bottom: 3rem; }
.reg-tournament-info .td-card-title { margin-bottom: 1rem; }
.reg-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.reg-info-grid strong { color: var(--white); }
.reg-payment-info { margin-top: 0.85rem; padding: 0.6rem 0.9rem; background: rgba(255,255,255,0.08); border-left: 3px solid var(--yellow-gold); border-radius: 4px; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.reg-payment-info strong { color: var(--white); }
.reg-contact-info { margin-top: 0.75rem; padding: 0.6rem 0.9rem; background: rgba(255,255,255,0.06); border-left: 3px solid rgba(255,255,255,0.3); border-radius: 4px; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.reg-contact-info strong { color: var(--white); }
.reg-contact-info a { color: var(--yellow-gold); }

.reg-player-num {
    background: var(--yellow-gold); color: var(--navy-blue);
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 0.5rem; font-weight: 700; font-size: 0.9rem;
}

.reg-phone-note { color: rgba(253,185,39,0.85); font-size: 0.875rem; }

/* WhatsApp link button — keep brand green but subtly dark-adapted */
.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #25d366; color: #fff;
    border-radius: 8px; font-weight: 600; font-size: 0.875rem;
    text-decoration: none; transition: background var(--transition-fast);
}
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-whatsapp--block { display: block; width: 100%; text-align: center; margin-top: 0.6rem; padding: 0.65rem 1rem; font-size: 0.95rem; }

/* ===================================
   PAGE SECTION (content area)
   =================================== */
.page-section {
    padding: 3rem 1.5rem 4rem;
    background: linear-gradient(150deg, var(--navy-blue-dark) 0%, var(--navy-blue) 100%);
    color: var(--white);
}

@media (max-width: 768px) {
    .page-section {
        padding: 2rem 0.75rem 3rem;
    }
}

.page-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-section-lead {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.page-section-intro {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* .detail-card-about → use .card--about | .detail-card-featured → use .card--featured
   .detail-card-nav → use .card--nav | .detail-card-desc → use .card-desc */

/* ===================================
   CLUB IDENTITY CARD
   =================================== */
.club-quick-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.club-badge-green {
    background: rgba(253,185,39,0.15);
    color: var(--yellow-gold);
    border: 1px solid rgba(253,185,39,0.30);
}

.club-quick-address {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 0.4rem;
}

.club-quick-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 0.3rem;
}

.club-quick-link a {
    color: var(--yellow-gold);
    text-decoration: none;
}

.club-quick-link a:hover { color: var(--yellow-gold-dark); text-decoration: underline; }

/* ===================================
   COURT ITEM
   =================================== */
.court-item-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.court-icon { font-size: 1.15rem; }

/* ===================================
   OPENING TIME SLOT PILLS
   =================================== */
.opening-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.opening-slot-pill {
    background: rgba(253,185,39,0.10);
    border: 1px solid rgba(253,185,39,0.22);
    border-radius: 100px;
    padding: 0.15rem 0.65rem;
    font-size: 0.8rem;
    color: var(--yellow-gold);
    font-weight: 600;
    white-space: nowrap;
}

/* ===================================
   SIDEBAR ACTIONS
   =================================== */
.sidebar-cta-btn {
    display: block;
    text-align: center;
    background: var(--yellow-gold);
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 0.95rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.sidebar-cta-btn span {
    display: inline-block;
    line-height:22px;
    vertical-align: top;
}

.sidebar-cta-btn:hover {
    background: var(--yellow-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253,185,39,0.30);
}

.sidebar-map-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--yellow-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar-map-link:hover { color: var(--yellow-gold-dark); }

.club-address-block {
    font-style: normal;
    color: rgba(255,255,255,0.70);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

/* ===================================
   CLUBS EMPTY STATE
   =================================== */
.clubs-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.clubs-empty h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.clubs-empty p { color: var(--dark-gray); }

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-blue-dark));
    color: var(--white);
    padding: var(--spacing-2xl) var(--spacing-md);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--navy-blue-dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    color: var(--yellow-gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-col ul li {
    color: var(--white);
    vertical-align: middle;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    vertical-align: top;
}
.footer-col a span {
    line-height: 22px;
    vertical-align: top;
}
.footer-col a:hover {
    color: var(--yellow-gold);
    
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    transition: var(--transition-base);
}

.social-links a:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #0a0f1e;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ===================================
   AUTH PAGES
   =================================== */
.auth-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(150deg, #0a1f3d 0%, var(--navy-blue-dark) 50%, #061529 100%);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.auth-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(253,185,39,0.07) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 680px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07);
    padding: var(--spacing-xl);
    border-top: 4px solid var(--yellow-gold);
}

.auth-title {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: -0.5px;
}

.auth-title .highlight {
    background: linear-gradient(90deg, var(--yellow-gold) 0%, var(--yellow-gold-dark) 50%, var(--yellow-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
}

.auth-subtitle {
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--spacing-lg);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.auth-block {
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    padding: var(--spacing-md);
    border-left: 3px solid var(--yellow-gold);
}

.auth-block-title {
    font-size: 0.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--yellow-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    align-items: start;
}

.auth-field {
    margin-bottom: 0.2rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.2;
}

.auth-block > .auth-field + .auth-field {
    margin-top: var(--spacing-sm);
}

.auth-grid > .auth-field + .auth-field {
    margin-top: 0;
}

.auth-input,
.auth-field input:not([type="checkbox"]):not([type="radio"]),
.auth-field select,
.auth-field textarea {
    display: block;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    font: inherit;
    color: rgba(255,255,255,0.9);
    background-color: rgba(255,255,255,0.07);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-password-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.auth-password-wrap {
    flex: 1;
    min-width: 0;
}

.auth-password-wrap .auth-input {
    padding-right: 1rem;
    width: 100%;
}

.auth-toggle-password {
    flex: 0 0 auto;
    width: 1.4rem;
    height: 1.4rem;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.auth-toggle-password:hover {
    color: var(--yellow-gold);
}

.auth-toggle-password:focus-visible {
    outline: 2px solid var(--navy-blue-light);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.auth-toggle-password svg {
    width: 1rem;
    height: 1rem;
}

.auth-toggle-password .icon-eye,
.auth-toggle-password .icon-eye-off {
    width: 1rem;
    height: 1rem;
    display: none;
}

.auth-toggle-password .icon-eye {
    display: inline-flex;
}

.auth-toggle-password .icon-eye-off {
    display: none;
}

.auth-toggle-password.is-visible .icon-eye {
    display: none;
}

.auth-toggle-password.is-visible .icon-eye-off {
    display: inline-flex;
}

.auth-inline-error {
    margin-top: 0.55rem;
    border: 1px solid rgba(248, 113, 113, 0.4);
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.auth-field select {
    min-height: 3rem;
    color-scheme: dark;
}

/* Admin: multiselect on white background */
.admin-content .auth-field select[multiple],
.admin-content .form-select[multiple] {
    background: #fff !important;
    color: #1e293b !important;
    color-scheme: light;
    border-color: #d1d5db !important;
}

.admin-content .auth-field select[multiple] option,
.admin-content .form-select[multiple] option {
    color: #1e293b;
    background: transparent;
}

.auth-input:focus,
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: var(--yellow-gold);
    box-shadow: 0 0 0 3px rgba(253, 185, 39, 0.20);
}

.auth-terms {
    margin: 0.25rem 0;
}

.auth-terms .auth-checkbox {
    margin-right: 0.45rem;
}

.auth-terms label {
    display: inline;
    margin-left: 0.35rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.auth-terms input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--yellow-gold);
    vertical-align: middle;
}

.auth-btn,
.auth-form button[type="submit"] {
    border: 0;
    border-radius: var(--radius-md);
    background: var(--yellow-gold);
    color: var(--navy-blue);
    font-weight: 700;
    cursor: pointer;
    padding: 0.9rem 1.25rem;
    width: 100%;
    margin-top: var(--spacing-xs);
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    letter-spacing: 0.02em;
}

.auth-btn:hover,
.auth-form button[type="submit"]:hover {
    background: var(--yellow-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253,185,39,0.35);
}

.auth-switch {
    margin-top: var(--spacing-md);
    color: rgba(255,255,255,0.5);
}

.auth-switch a {
    color: var(--yellow-gold);
    font-weight: 700;
}

.auth-switch a:hover {
    color: var(--yellow-gold-dark);
}

.auth-alert {
    border-radius: var(--radius-md);
    padding: 0.75rem 0.9rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.auth-alert-success {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.auth-field ul {
    margin-top: 0.55rem;
    padding: 0;
    list-style: none;
}

.auth-field ul li {
    border: 1px solid rgba(248, 113, 113, 0.4);
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.auth-field .invalid-feedback,
.auth-field .form-error-message {
    display: block;
    margin-top: 0.55rem;
    border: 1px solid rgba(248, 113, 113, 0.4);
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.auth-sex-options {
    display: flex;
    gap: var(--spacing-sm);
}

.auth-sex-option {
    flex: 1;
}

.auth-sex-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-sex-option label {
    display: block;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-sex-option label:hover {
    border-color: rgba(253,185,39,0.5);
    color: var(--yellow-gold);
}

.auth-sex-option input[type="radio"]:checked + label {
    background: rgba(253,185,39,0.15);
    border-color: var(--yellow-gold);
    color: var(--yellow-gold);
    box-shadow: 0 0 0 1px rgba(253,185,39,0.3);
}

.auth-sex-option input[type="radio"]:focus + label {
    box-shadow: 0 0 0 3px rgba(253,185,39,0.25);
}

.auth-slider-field {
    display: flex;
    flex-direction: column;
}

.auth-slider {
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow-gold) 0%, rgba(255,255,255,0.12) 0%);
    outline: none;
    margin-top: 0.35rem;
}

.auth-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--navy-blue-dark);
    background: var(--yellow-gold);
    box-shadow: 0 0 0 3px rgba(253,185,39,0.25);
    cursor: pointer;
}

.auth-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--navy-blue-dark);
    background: var(--yellow-gold);
    box-shadow: 0 0 0 3px rgba(253,185,39,0.25);
    cursor: pointer;
}

.auth-skill-meta {
    margin-top: 0.45rem;
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}

.auth-skill-description {
    margin-top: 0.55rem;
    padding: 0.65rem 0.8rem;
    background: rgba(253,185,39,0.08);
    border-left: 3px solid var(--yellow-gold);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .auth-section {
        padding: 7rem 0 3rem;
    }

    .auth-card {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-sm);
    }

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

    .auth-sex-options {
        flex-direction: column;
    }
}

/* ===================================
   PLAYER DASHBOARD
   =================================== */
.dashboard-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.dashboard-container {
    display: flex;
    justify-content: center;
}

.dashboard-card {
    width: 100%;
    max-width: 980px;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
}

.dashboard-title {
    color: var(--navy-blue);
    margin-bottom: var(--spacing-xs);
}

.dashboard-subtitle {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.dashboard-item {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    background: var(--light-gray);
    padding: var(--spacing-md);
}

.dashboard-item h2 {
    color: var(--navy-blue);
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.dashboard-item p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-md);
    background: var(--navy-blue);
    color: var(--white);
    font-weight: 700;
    padding: 0.55rem 0.9rem;
}

.dashboard-link:hover {
    background: var(--navy-blue-light);
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
 
/* ===================================
   PLAYER DASHBOARD — DARK THEME
   =================================== */
.player-dashboard {
    background: linear-gradient(150deg, var(--navy-blue-dark) 0%, var(--navy-blue) 100%);
    min-height: 100vh;
    padding-top: 80px;
}

/* Welcome Banner */
.welcome-banner {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--yellow-gold);
    border-radius: 16px 16px 0 0;
}

.welcome-content {
    text-align: center;
    position: relative;
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* Dashboard Section Card */
.player-dashboard .dashboard-section {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
    min-height: auto;
    padding: 0;
}

.player-dashboard .dashboard-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--yellow-gold);
}

.player-dashboard .section-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: transparent;
}

.player-dashboard .section-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    color: var(--white);
    margin: 0;
}

.player-dashboard .section-actions {
    display: flex;
    gap: 0.5rem;
}

.player-dashboard .section-content {
    padding: 1.25rem;
}

/* Grids */
.tournaments-grid {
    display: grid;
    gap: 1rem;
}

.matches-grid {
    display: grid;
    gap: 1rem;
}

/* Tournament Cards (dashboard dark override) */
.player-dashboard .tournament-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
    padding: 0;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    color: var(--white);
}

.player-dashboard .tournament-card:hover {
    border-color: rgba(253,185,39,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}

.player-dashboard .tournament-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
}

.player-dashboard .tournament-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player-dashboard .tournament-card-img--placeholder {
    background: linear-gradient(135deg, rgba(15,40,71,0.9), rgba(42,77,117,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.player-dashboard .tournament-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.player-dashboard .tournament-card-body h3 {
    margin: 0.5rem 0 0.6rem;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--white);
    font-weight: 600;
}

.player-dashboard .tournament-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

.player-dashboard .tournament-badge.featured {
    background: var(--yellow-gold);
    color: var(--navy-blue-dark);
}

.player-dashboard .tournament-info {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.player-dashboard .tournament-info p {
    margin: 0.2rem 0;
    color: rgba(255,255,255,0.6);
}

.player-dashboard .tournament-info strong {
    display: inline-block;
    width: 20px;
}

/* Registration Info Box */
.tc-categories {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
}

.tc-category-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.tc-level-label {
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    min-width: 90px;
    flex-shrink: 0;
}

.tc-gender-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tc-gender-pill {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.82);
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.tc-gender-pill.tc-status-confirmed {
    background: rgba(21,128,61,0.25);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.3);
}

.tc-gender-pill.tc-status-pending {
    background: rgba(133,77,14,0.25);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.3);
}

.tc-gender-pill.tc-status-rejected {
    background: rgba(185,28,28,0.25);
    color: #f87171;
    border: 1px solid rgba(248,113,113,0.3);
}

.tc-gender-pill.tc-partner {
    background: rgba(253,185,39,0.12);
    color: var(--yellow-gold);
    border: 1px solid rgba(253,185,39,0.25);
}

.tc-multi-category-header {
    background: rgba(253,185,39,0.08);
    margin: -0.6rem -0.75rem 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tc-multi-badge {
    background: var(--yellow-gold) !important;
    color: var(--navy-blue-dark) !important;
    font-weight: 600;
}

.tc-registration-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tc-registration-group.tc-multiple {
    padding: 0.5rem 0;
}

.tc-category-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    margin: 0.25rem 0;
}

.player-dashboard .tournament-card-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* btn-outline override for dark dashboard */
.player-dashboard .btn-outline {
    border-color: var(--yellow-gold);
    color: var(--yellow-gold);
}

.player-dashboard .btn-outline:hover {
    background: var(--yellow-gold);
    color: var(--navy-blue-dark);
}

/* btn-sm */
.btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
}

/* Empty State */
.player-dashboard .empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.player-dashboard .empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.player-dashboard .empty-state h5,
.player-dashboard .empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    margin: 0 0 0.25rem;
}

.player-dashboard .empty-state p,
.player-dashboard .empty-state-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin: 0 0 1rem;
}

/* ── Create Match Modal (cm-*) — dark theme ── */
.cm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0,0,0,0.65);
    overflow-y: auto;
    padding: 1.5rem 1rem;
}

.cm-overlay.cm-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

body.cm-modal-open {
    overflow: hidden;
}

.cm-dialog {
    background: var(--navy-blue-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto 0;
}

.cm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #0a1f3d 0%, var(--navy-blue) 100%);
    border-bottom: 2px solid var(--yellow-gold);
    color: white;
}

.cm-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.cm-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cm-close:hover {
    background: rgba(253,185,39,0.25);
}

.cm-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    background: var(--navy-blue-dark);
}

.cm-body .auth-block {
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    padding: 1rem 1.1rem;
    margin: 0;
}

.cm-body .auth-block-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--yellow-gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cm-body .auth-field {
    margin-bottom: 0;
}

.cm-body .auth-block > .auth-field + .auth-field {
    margin-top: 0.75rem;
}

.cm-body .auth-field label {
    display: block;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.cm-body .auth-field input:not([type="radio"]):not([type="range"]),
.cm-body .auth-field select {
    display: block;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font: inherit;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.cm-body .auth-field select option {
    background: var(--navy-blue-dark);
    color: rgba(255,255,255,0.9);
}

.cm-body .auth-field input:focus,
.cm-body .auth-field select:focus {
    outline: none;
    border-color: var(--yellow-gold);
    box-shadow: 0 0 0 3px rgba(253,185,39,0.15);
}

.cm-body .auth-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.5);
}

.cm-required {
    color: #f87171;
    margin-left: 0.2rem;
}

.cm-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* No-reservation notice */
.cm-no-res-notice {
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(246,200,75,0.1);
    border: 1px solid rgba(246,200,75,0.35);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Acknowledgment container */
.cm-ack-container {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(74,222,128,0.07);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 8px;
}

.cm-ack-container label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    line-height: 1.5;
}

.cm-ack-container input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #4ade80;
    width: 16px;
    height: 16px;
}

/* Timeslots */
.cm-timeslots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 0.5rem;
    max-height: 220px;
    overflow-y: auto;
}

.cm-timeslots-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
    padding: 1rem 0 0.5rem;
    margin: 0;
}

.cm-slot {
    padding: 0.65rem 0.4rem;
    border: 2px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: rgba(255,255,255,0.75);
    transition: border-color 0.18s, background 0.18s, transform 0.15s;
    line-height: 1.3;
}

.cm-slot:hover:not(:disabled) {
    border-color: var(--yellow-gold);
    background: rgba(253,185,39,0.1);
    transform: translateY(-2px);
    color: var(--yellow-gold);
}

.cm-slot.cm-slot-selected {
    background: var(--yellow-gold);
    border-color: var(--yellow-gold);
    color: var(--navy-blue-dark);
}

.cm-slot:disabled {
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.2);
    cursor: not-allowed;
    opacity: 0.6;
}

.cm-slot-avail {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    margin-top: 0.2rem;
    opacity: 0.7;
}

.cm-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.5rem 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Gender selector */
.cm-gender-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

.cm-gender-btn {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 0.6rem 0.75rem;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.cm-gender-group input[type="radio"]:checked + .cm-gender-btn {
    border-color: var(--yellow-gold);
    background: rgba(253,185,39,0.12);
    color: var(--yellow-gold);
}

.cm-gender-btn:hover {
    border-color: var(--yellow-gold);
    color: var(--yellow-gold);
}

/* Dual range skill slider */
.cm-dual-range {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.cm-range-bg {
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    pointer-events: none;
}

.cm-range-fill {
    position: absolute;
    height: 100%;
    background: var(--yellow-gold);
    border-radius: 3px;
}

.cm-dual-range input[type="range"] {
    position: absolute;
    width: 100%;
    height: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.cm-dual-range input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
    height: 5px;
}

.cm-dual-range input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--yellow-gold);
    border: 2px solid var(--navy-blue-dark);
    box-shadow: 0 1px 4px rgba(253,185,39,0.4);
    cursor: pointer;
    margin-top: -8.5px;
}

.cm-dual-range input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--yellow-gold);
    border: 2px solid var(--navy-blue-dark);
    box-shadow: 0 1px 4px rgba(253,185,39,0.4);
    cursor: pointer;
}

.cm-dual-range input[type="range"]::-moz-range-track {
    background: transparent;
    height: 5px;
}

.cm-skill-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.cm-skill-end {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.cm-skill-end--right {
    align-items: flex-end;
}

.cm-slider-val {
    display: inline-block;
    background: var(--yellow-gold);
    color: var(--navy-blue-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    min-width: 2.5rem;
    text-align: center;
}

.cm-skill-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
}

.cm-skill-description {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.45;
    font-style: italic;
}

/* Modal Footer */
.cm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}

.cm-btn-cancel {
    border: 2px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cm-btn-cancel:hover {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.3);
}

.cm-btn-submit {
    border: 0;
    background: var(--yellow-gold);
    color: var(--navy-blue-dark);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.cm-btn-submit:hover:not(:disabled) {
    background: var(--yellow-gold-dark);
    transform: translateY(-1px);
}

.cm-btn-submit:disabled {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.35);
    cursor: not-allowed;
}

/* Dashboard responsive */
@media (min-width: 768px) {
    .welcome-banner { padding: 2.5rem 2rem; }
    .welcome-title { font-size: 2.25rem; }
    .welcome-subtitle { font-size: 1.125rem; }
    .matches-grid { grid-template-columns: repeat(2, 1fr); }
    .tournaments-grid { grid-template-columns: repeat(2, 1fr); }
    .player-dashboard .section-header { flex-wrap: nowrap; }
}

@media (min-width: 1200px) {
    .welcome-banner { padding: 3rem; }
    .welcome-title { font-size: 2.5rem; }
    .matches-grid { grid-template-columns: repeat(3, 1fr); }
    .tournaments-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
    .player-dashboard .section-actions .btn { padding: 0.375rem 0.75rem; }
}
