:root {
    --bg: #0b1220;
    --bg-soft: #111827;
    --card: rgba(255, 255, 255, 0.08);
    --card-solid: #121a2b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #38bdf8;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 20px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(
            circle at top left,
            rgba(34, 197, 94, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at top right,
            rgba(56, 189, 248, 0.15),
            transparent 30%
        ),
        linear-gradient(180deg, #08101d 0%, #0b1220 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section-title {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto 50px;
    color: var(--muted);
    text-align: center;
    font-size: 16px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(8, 16, 29, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    color: #dbeafe;
    font-size: 15px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(34, 197, 94, 0.35);
}

.btn-outline {
    border-color: var(--border);
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    padding: 70px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: #bbf7d0;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(34px, 7vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero p {
    font-size: 17px;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(10px);
}

.stat h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.stat p {
    font-size: 14px;
    margin: 0;
}

.calendar-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.calendar-widget {
    background: rgba(8, 16, 29, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 20px;
}

.calendar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.calendar-title-wrap h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.calendar-title-wrap p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
}

.calendar-nav button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.court-filter {
    margin-bottom: 18px;
}

.court-filter select {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    font-family: inherit;
}

.calendar-month {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding: 8px 0;
    font-weight: 600;
}

.calendar-day {
    min-height: 72px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 8px;
    position: relative;
    transition: 0.25s ease;
    cursor: pointer;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.calendar-day.empty {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.04);
    cursor: default;
}

.calendar-day.empty:hover {
    transform: none;
}

.calendar-day .day-number {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.calendar-day .day-status {
    font-size: 11px;
    line-height: 1.3;
    color: #cbd5e1;
}

.calendar-day.available {
    border-color: rgba(34, 197, 94, 0.25);
}

.calendar-day.available::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    top: 10px;
    right: 10px;
}

.calendar-day.partial {
    border-color: rgba(245, 158, 11, 0.25);
}

.calendar-day.partial::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning);
    position: absolute;
    top: 10px;
    right: 10px;
}

.calendar-day.full {
    border-color: rgba(239, 68, 68, 0.25);
    opacity: 0.9;
}

.calendar-day.full::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    position: absolute;
    top: 10px;
    right: 10px;
}

.calendar-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-available {
    background: var(--primary);
}

.dot-partial {
    background: var(--warning);
}

.dot-full {
    background: var(--danger);
}

.selected-info {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.selected-info h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.selected-info p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.feature-grid,
.court-grid,
.price-grid,
.testimonial-grid,
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card,
.court-card,
.price-card,
.testimonial-card,
.location-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.feature-card:hover,
.court-card:hover,
.price-card:hover,
.testimonial-card:hover,
.location-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 197, 94, 0.28);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.25),
        rgba(56, 189, 248, 0.22)
    );
    font-size: 24px;
    margin-bottom: 18px;
}

.feature-card h3,
.court-card h3,
.price-card h3,
.location-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p,
.court-card p,
.price-card p,
.testimonial-card p,
.location-card p {
    color: var(--muted);
    font-size: 15px;
}

.court-image {
    height: 220px;
    border-radius: 18px;
    margin-bottom: 18px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.court-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.court-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: #bbf7d0;
}

.price-card.featured {
    border: 1px solid rgba(34, 197, 94, 0.45);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.12);
    position: relative;
}

.price-tag {
    font-size: 36px;
    font-weight: 800;
    margin: 16px 0 10px;
}

.price-tag span {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
}

.price-list {
    list-style: none;
    margin: 18px 0 24px;
    display: grid;
    gap: 12px;
}

.price-list li {
    color: #dbeafe;
    font-size: 15px;
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.stars {
    color: #facc15;
    letter-spacing: 2px;
    font-size: 14px;
    margin-top: 4px;
}

.location-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: stretch;
}

.map-frame {
    width: 100%;
    min-height: 420px;
    border: none;
    border-radius: 22px;
    overflow: hidden;
}

.location-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.location-item {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-item strong {
    display: block;
    margin-bottom: 6px;
}

.cta-box {
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.18),
        rgba(56, 189, 248, 0.14)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 44px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 14px;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 24px;
    color: #dbeafe;
}

footer {
    padding: 34px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
    z-index: 1001;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero-grid,
    .feature-grid,
    .court-grid,
    .price-grid,
    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: rgba(8, 16, 29, 0.96);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .feature-grid,
    .court-grid,
    .price-grid,
    .testimonial-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .calendar-day {
        min-height: 64px;
        padding: 8px 6px;
    }

    .calendar-day .day-status {
        font-size: 10px;
    }

    .hero {
        padding-top: 40px;
    }

    .section {
        padding: 70px 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

.schedule-date-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    font-family: inherit;
}

.schedule-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--muted);
}

.court-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.court-tab {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.court-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.court-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
}

.court-tab-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
}

.court-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.court-panel-head h4 {
    font-size: 18px;
    margin: 0;
}

.court-panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-slot {
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.25s ease;
}

.time-slot:hover {
    transform: translateY(-2px);
}

.time-slot.available {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #bbf7d0;
}

.time-slot.partial {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

.time-slot.full {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

.time-slot small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.85;
    font-weight: 500;
}

@media (max-width: 768px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .court-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

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