html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

.bg-purple        { background-color: #6f42c1 !important; }
.text-purple      { color: #6f42c1 !important; }
.bg-purple-subtle { background-color: #e9d8fd !important; }

body {
    background-color: #f8f9fa;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 60%, #084298 100%);
    min-height: 320px;
    display: flex;
    align-items: center;
}

/* Court Cards */
.court-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}
.court-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.card-img-placeholder {
    height: 140px;
}

/* Sport-specific court placeholders */
.court-placeholder {
    height: 180px;
    border-radius: 0;
}
.court-placeholder-lg {
    height: 200px;
    border-radius: calc(var(--bs-card-inner-border-radius) - 1px) calc(var(--bs-card-inner-border-radius) - 1px) 0 0;
}
.court-placeholder .bi,
.court-placeholder-lg .bi {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

.court-bg-tennis    { background: linear-gradient(135deg, #0d6efd, #6ea8fe); }
.court-bg-badminton { background: linear-gradient(135deg, #198754, #75b798); }
.court-bg-basketball{ background: linear-gradient(135deg, #fd7e14, #ffc107); }
.court-bg-volleyball{ background: linear-gradient(135deg, #dc3545, #f1aeb5); }
.court-bg-football  { background: linear-gradient(135deg, #20c997, #0dcaf0); }
.court-bg-futsal    { background: linear-gradient(135deg, #6f42c1, #a98eda); }
.court-bg-other      { background: linear-gradient(135deg, #6c757d, #adb5bd); }
.court-bg-pickleball { background: linear-gradient(135deg, #d4a017, #f5c842); }

/* Time slot buttons */
.time-slot-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
}

/* Responsive table */
@media (max-width: 576px) {
    .table-responsive td, .table-responsive th {
        font-size: 0.8rem;
    }
}

/* Payment method buttons */
.pay-btn-gcash {
    background: linear-gradient(135deg, #0070f3, #00a8e8);
    border: none;
    color: #fff;
    transition: opacity 0.2s;
}
.pay-btn-gcash:hover { opacity: 0.9; color: #fff; }

.pay-btn-maya {
    background: linear-gradient(135deg, #00b14f, #00d46a);
    border: none;
    color: #fff;
    transition: opacity 0.2s;
}
.pay-btn-maya:hover { opacity: 0.9; color: #fff; }

/* Navbar active */
.navbar .nav-link:hover {
    opacity: 0.85;
}

/* ── Subscription Plan & Method Cards ────────────────────────────────── */
.sub-plan-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 1.1rem .85rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    background: #fff;
    user-select: none;
}
.sub-plan-card:hover    { border-color: #0d6efd; }
.sub-plan-active        { border-color: #0d6efd !important; background: #f0f6ff; box-shadow: 0 0 0 3px rgba(13,110,253,.12); }

.sub-method-card {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: .85rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    background: #fff;
    user-select: none;
}
.sub-method-card:hover  { border-color: #0d6efd; }
.sub-method-active      { border-color: #0d6efd !important; background: #f0f6ff; box-shadow: 0 0 0 3px rgba(13,110,253,.12); }

.sub-pay-detail {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

/* ── Role Selector Cards ──────────────────────────────────────────────── */
.role-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem .75rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    user-select: none;
    background: #fff;
}
.role-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.1);
}
.role-card-active {
    border-color: #0d6efd !important;
    background: #f0f6ff;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15) !important;
}
.role-card-disabled {
    opacity: .55;
    cursor: not-allowed;
    border-color: #dee2e6 !important;
}
.role-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}

/* ── Landing Page ─────────────────────────────────────────────────────── */
.landing-body {
    background-color: #fff;
}

.landing-nav {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #e9ecef;
    backdrop-filter: blur(8px);
}

.landing-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 55%, #6f42c1 100%);
    min-height: 88vh;
    padding: 60px 0;
}

.text-white-75  { color: rgba(255,255,255,.75) !important; }
.text-white-50  { color: rgba(255,255,255,.5)  !important; }

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* Hero mockup */
.hero-mockup { background: #1e1e2e; max-width: 460px; margin: 0 auto; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.mock-stat { transition: transform .2s; }

/* Feature cards */
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.feature-card { transition: transform .2s, box-shadow .2s; border-color: #e9ecef !important; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.10) !important; }

/* How it works steps */
.step-circle {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 700;
}

/* Pricing */
.pricing-card { transition: transform .2s, box-shadow .2s; }
.pricing-card:hover { transform: translateY(-4px); }

/* Landing footer */
.landing-footer { background: #1a1a2e; }

/* Landing CTA section */
.landing-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
}

/* ── Trial Banner ─────────────────────────────────────────────────────── */
.trial-banner {
    font-size: .875rem;
    font-weight: 500;
}
.trial-banner-active {
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    color: #fff;
}
.trial-banner-urgent {
    background: linear-gradient(90deg, #dc3545, #b02a37);
    color: #fff;
    animation: pulse-border .8s ease-in-out infinite alternate;
}
@keyframes pulse-border {
    from { opacity: .95; }
    to   { opacity: 1; }
}