<style>
    :root {
        --tennis-green:  #2ecc71;
        --tennis-blue:   #3498db;
        --tennis-orange: #e67e22;
        --tennis-dark:   #2c3e50;
        --tennis-light:  #ecf0f1;
    }

    /* ── Hero ── */
    .club-hero {
        position: relative;
        height: 340px;
        background: linear-gradient(rgba(44,62,80,0.75), rgba(44,62,80,0.75))
                    center/cover no-repeat;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
    }
    .club-hero-content {
        padding: 32px 0 28px;
        color: #fff;
        width: 100%;
    }
    .club-hero-title {
        font-size: 2.4rem;
        font-weight: 800;
        text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
    }

    /* ── Gallery dots ── */
    .gallery-dot {
        width: 10px; height: 10px; border-radius: 50%;
        background: rgba(255,255,255,0.5); border: none; padding: 0; cursor: pointer;
        transition: background .2s;
    }
    .gallery-dot.active { background: #fff; }

    /* ── Sections ── */
    .club-section { padding: 48px 0; }
    .club-section + .club-section { border-top: 1px solid #e9ecef; }

    .section-title {
        font-size: 1.45rem;
        font-weight: 700;
        color: var(--tennis-dark);
        margin-bottom: 24px;
    }

    /* ── Contact card ── */
    .contact-card {
        border-radius: 14px;
        border: 1.5px solid #e9ecef;
        padding: 20px 22px;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        font-size: 0.95rem;
    }
    .contact-item + .contact-item { border-top: 1px solid #f0f2f4; }
    .contact-icon {
        width: 36px; height: 36px; border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1rem; flex-shrink: 0;
    }

    /* ── Court card ── */
    .court-card {
        border-radius: 14px;
        overflow: hidden;
        border: 1.5px solid #e9ecef;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        transition: transform .25s, box-shadow .25s;
    }
    .court-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
    .court-img { height: 180px; object-fit: cover; width: 100%; }
    .court-cover-badge {
        font-size: 0.75rem; font-weight: 600;
        padding: 3px 10px; border-radius: 20px;
        background: rgba(44,62,80,0.1); color: var(--tennis-dark);
    }
    .court-book-btn {
        background: var(--tennis-green); color: #fff; border: none;
        border-radius: 8px; padding: 8px 18px;
        font-weight: 600; font-size: 0.875rem;
        transition: background .2s; width: 100%;
    }
    .court-book-btn:hover { background: #27ae60; color: #fff; }

    /* ── Event card ── */
    .ev-card {
        border-radius: 12px;
        border: 1.5px solid #e9ecef;
        background: #fff;
        padding: 16px;
        box-shadow: 0 1px 8px rgba(0,0,0,0.05);
        transition: box-shadow .2s;
    }
    .ev-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
    .ev-type-badge {
        font-size: 0.72rem; font-weight: 700;
        padding: 3px 9px; border-radius: 20px;
        letter-spacing: .02em;
    }

    /* ── Booking modal ── */
    .booking-time-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
    .time-slot-btn {
        border: 1.5px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        padding: 6px 4px;
        font-size: 0.82rem;
        text-align: center;
        cursor: pointer;
        transition: all .15s;
    }
    .time-slot-btn:hover { border-color: var(--tennis-green); color: var(--tennis-green); }
    .time-slot-btn.selected {
        background: var(--tennis-green); color: #fff;
        border-color: var(--tennis-green);
    }

    .duration-btn {
        border: 1.5px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        padding: 6px 12px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all .15s;
    }
    .duration-btn:hover { border-color: var(--tennis-green); color: var(--tennis-green); }
    .duration-btn.selected {
        background: var(--tennis-green); color: #fff;
        border-color: var(--tennis-green);
    }

    @media (max-width: 767px) {
        .club-hero {
            height: 220px;
        }
        .club-hero-title {
            font-size: 1.6rem;
        }
        .club-section {
            padding: 28px 0;
        }
        .section-title {
            font-size: 1.15rem;
        }
        .booking-time-grid {
            grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        }
    }
</style>

<!-- ── Hero ── -->
<div id="club-hero" class="club-hero">
    <div class="container club-hero-content">
        <div id="club-hero-inner">
            <div class="text-center py-5">
                <div class="spinner-border text-light" role="status"></div>
            </div>
        </div>
    </div>
</div>

<!-- ── Body ── -->
<div class="container" id="club-body">
    <div class="text-center py-5">
        <div class="spinner-border text-success" role="status"></div>
    </div>
</div>

<script type="module" src="/js/site/pages/club/club.js"></script>
