  /* ===== RESET & BASE ===== */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --green:        #1a7a4a;
    --green-light:  #e8f5ee;
    --green-mid:    #2d9e61;
    --green-dark:   #0f5533;
    --orange:       #f97316;
    --orange-light: #fff7ed;
    --dark:         #111827;
    --gray-1:       #6b7280;
    --gray-2:       #f3f4f6;
    --gray-3:       #e5e7eb;
    --white:        #ffffff;
    --radius:       12px;
  }
  body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: var(--dark);
  }

  /* ===== NAVBAR ===== */
  nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-3);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .logo-icon {
    width: 38px; height: 38px;
    background: var(--green);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
  }
  .logo-text { font-size: 20px; font-weight: 700; color: var(--green); letter-spacing: -0.5px; }
  .logo-text span { color: var(--orange); }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a { text-decoration: none; color: var(--gray-1); font-size: 14px; font-weight: 500; transition: color .2s; }
  .nav-links a:hover, .nav-links a.active { color: var(--green); }
  .nav-btn {
    background: var(--green); color: var(--white); border: none;
    padding: 8px 20px; border-radius: 8px; font-size: 14px;
    font-weight: 600; cursor: pointer; transition: background .2s;
  }
  .nav-btn:hover { background: var(--green-mid); }

  /* ===== HERO ===== */
  .hero {
    background: linear-gradient(135deg, #0f4c2a 0%, #1a7a4a 50%, #2d9e61 100%);
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 5px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    margin-bottom: 1rem; letter-spacing: 1px;
    text-transform: uppercase;
  }
  .hero h1 { font-size: 2.8rem; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
  .hero h1 span { color: #7de8ac; }
  .hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

  /* ===== SEARCH BOX ===== */
  .search-box {
    background: var(--white); border-radius: 14px;
    padding: 1.2rem 1.4rem; max-width: 620px; margin: 0 auto;
    display: flex; gap: 12px; align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative; z-index: 1;
  }
  .search-select {
    border: 1.5px solid var(--gray-3); border-radius: 8px;
    padding: 9px 12px; font-size: 14px; color: var(--dark);
    background: var(--gray-2); outline: none; cursor: pointer;
  }
  .search-input {
    flex: 1; border: 1.5px solid var(--gray-3); border-radius: 8px;
    padding: 9px 14px; font-size: 14px; outline: none; transition: border-color .2s;
  }
  .search-input:focus { border-color: var(--green); }
  .search-btn {
    background: var(--orange); color: var(--white); border: none;
    padding: 9px 22px; border-radius: 8px; font-size: 14px;
    font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s;
  }
  .search-btn:hover { background: #ea6700; }

  /* ===== STATS ===== */
  .stats {
    display: flex; justify-content: center; gap: 3rem;
    padding: 1.5rem 2rem; background: var(--white);
    border-bottom: 1px solid var(--gray-3);
  }
  .stat-item { text-align: center; }
  .stat-num { font-size: 1.4rem; font-weight: 800; color: var(--green); }
  .stat-label { font-size: 12px; color: var(--gray-1); margin-top: 2px; }

  /* ===== TABS ===== */
  .tabs-section { padding: 2rem 2rem 0; }
  .tabs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
  .tabs-header h2 { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
  .tabs { display: flex; gap: 8px; }
  .tab-btn {
    padding: 8px 20px; border-radius: 8px; border: 1.5px solid var(--gray-3);
    background: var(--white); color: var(--gray-1); font-size: 14px;
    font-weight: 500; cursor: pointer; transition: all .2s;
    display: flex; align-items: center; gap: 6px;
  }
  .tab-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }
  .tab-btn:not(.active):hover { border-color: var(--green); color: var(--green); }

  /* ===== CONTROLS ROW ===== */
  .controls-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; margin-bottom: 1.2rem;
  }
  .result-count { font-size: 13px; color: var(--gray-1); }
  .result-count strong { color: var(--dark); }
  .sort-select {
    border: 1.5px solid var(--gray-3); border-radius: 8px;
    padding: 6px 12px; font-size: 13px; color: var(--gray-1);
    background: var(--white); outline: none; cursor: pointer;
  }

  /* ===== VENUE CARDS ===== */
  .venues {
    padding: 0 2rem 2rem;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  .venue-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--gray-3); overflow: hidden;
    transition: transform .2s, box-shadow .2s; cursor: pointer;
  }
  .venue-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .venue-img {
    width: 100%; height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; position: relative; overflow: hidden;
  }
  .venue-img.futsal { background: linear-gradient(135deg, #e8f5ee, #c6e8d6); }
  .venue-img.basket { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
  .venue-img img { width: 100%; height: 100%; object-fit: cover; }
  .venue-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 3px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  }
  .badge-futsal { background: var(--green); color: var(--white); }
  .badge-basket { background: var(--orange); color: var(--white); }
  .venue-body { padding: 1rem 1.1rem; }
  .venue-name { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; line-height: 1.3; }
  .venue-rating { font-size: 12px; color: #f59e0b; font-weight: 600; }
  .venue-rating span { color: var(--gray-1); font-weight: 400; }
  .venue-price-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--gray-3);
  }
  .venue-price { font-size: 15px; font-weight: 700; color: var(--green); }
  .venue-price span { font-size: 11px; font-weight: 400; color: var(--gray-1); }
  .book-btn {
    background: var(--green); color: var(--white); border: none;
    padding: 6px 14px; border-radius: 7px; font-size: 12px;
    font-weight: 600; cursor: pointer; transition: background .2s;
  }
  .book-btn:hover { background: var(--green-dark); }

  /* ===== HOW IT WORKS ===== */
  .how-section { background: var(--green-light); padding: 2.5rem 2rem; }
  .how-section h2 { font-size: 1.3rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; color: var(--dark); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 700px; margin: 0 auto; }
  .step-card { background: var(--white); border-radius: var(--radius); padding: 1.2rem; text-align: center; border: 1px solid var(--gray-3); }
  .step-num {
    width: 36px; height: 36px; background: var(--green); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; margin: 0 auto 10px;
  }
  .step-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .step-title { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
  .step-desc { font-size: 12px; color: var(--gray-1); line-height: 1.5; }

  /* ===== FAQ ===== */
  .faq-section { padding: 2.5rem 2rem; }
  .faq-section h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--dark); }
  .faq-item { border: 1px solid var(--gray-3); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
  .faq-q {
    padding: 14px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--white); transition: background .2s; user-select: none;
  }
  .faq-q:hover { background: var(--gray-2); }
  .faq-a {
    padding: 0 16px; font-size: 13px; color: var(--gray-1); line-height: 1.6;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .faq-a.open { max-height: 200px; padding: 0 16px 14px; }
  .faq-arrow { transition: transform .3s; font-size: 16px; color: var(--gray-1); }
  .faq-arrow.open { transform: rotate(180deg); }

  /* ===== FOOTER ===== */
  footer { background: #111827; color: rgba(255,255,255,0.7); padding: 2rem 2rem 1.5rem; }
  .footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1.5rem; }
  .footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .footer-logo-icon { width: 34px; height: 34px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .footer-logo-text { font-size: 18px; font-weight: 700; color: var(--white); }
  .footer-logo-text span { color: #7de8ac; }
  .footer-desc { font-size: 12px; max-width: 200px; line-height: 1.6; }
  .footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
  .footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 12px; text-decoration: none; margin-bottom: 6px; transition: color .2s; }
  .footer-col a:hover { color: #7de8ac; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 12px; text-align: center; }

  /* ===== MODAL ===== */
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 200; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal {
    background: var(--white); border-radius: 16px; padding: 1.8rem;
    max-width: 420px; width: 90%; transform: scale(0.95);
    transition: transform .25s; max-height: 90vh; overflow-y: auto;
  }
  .modal-overlay.open .modal { transform: scale(1); }
  .modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
  .modal-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
  .modal-close {
    border: none; background: var(--gray-2); border-radius: 6px;
    width: 28px; height: 28px; cursor: pointer; font-size: 16px;
    display: flex; align-items: center; justify-content: center; transition: background .2s;
  }
  .modal-close:hover { background: var(--gray-3); }
  .modal-type-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; margin-bottom: 6px; color: var(--white); }
  .modal-price { font-size: 1.5rem; font-weight: 800; color: var(--green); margin: 6px 0 10px; }
  .modal-price span { font-size: 14px; font-weight: 400; color: var(--gray-1); }
  .modal-photos { margin-bottom: 1rem; }
  .modal-photo-main { width: 100%; height: 200px; border-radius: 10px; overflow: hidden; background: var(--gray-2); }
  .modal-photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .modal-photo-thumbs { display: flex; gap: 8px; margin-top: 8px; }
  .modal-photo-thumbs img {
    width: 64px; height: 48px; object-fit: cover; border-radius: 6px;
    cursor: pointer; border: 2px solid transparent; opacity: .7; transition: all .15s;
  }
  .modal-photo-thumbs img:hover, .modal-photo-thumbs img.active { opacity: 1; border-color: var(--green); }
  .modal-divider { border: none; border-top: 1px solid var(--gray-3); margin: 1rem 0; }
  .modal-form label { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 5px; }
  .modal-form input, .modal-form select {
    width: 100%; border: 1.5px solid var(--gray-3); border-radius: 8px;
    padding: 9px 12px; font-size: 14px; margin-bottom: 12px; outline: none;
    transition: border-color .2s; font-family: inherit; color: var(--dark); background: var(--white);
  }
  .modal-form input:focus, .modal-form select:focus { border-color: var(--green); }
  .modal-submit {
    width: 100%; background: var(--green); color: var(--white); border: none;
    padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 700;
    cursor: pointer; margin-top: 4px; transition: background .2s; font-family: inherit;
  }
  .modal-submit:hover { background: var(--green-dark); }
  .modal-submit.basket { background: var(--orange); }
  .modal-submit.basket:hover { background: #ea6700; }

  /* ===== TOAST ===== */
  .toast {
    position: fixed; bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #111827; color: var(--white);
    padding: 12px 24px; border-radius: 10px;
    font-size: 14px; font-weight: 500; z-index: 300;
    opacity: 0; transition: transform .35s, opacity .35s; white-space: nowrap;
  }
  .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

  /* ===== NAV AUTH BUTTONS ===== */
  .nav-btn-outline {
    background: transparent; color: var(--green);
    border: 1.5px solid var(--green);
    padding: 7px 18px; border-radius: 8px; font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all .2s;
  }
  .nav-btn-outline:hover { background: var(--green-light); }

  .nav-btn-user {
    background: var(--green-light); color: var(--green);
    border: 1.5px solid var(--green); border-radius: 8px;
    padding: 7px 14px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .2s; white-space: nowrap;
  }
  .nav-btn-user:hover { background: #d0f0df; }

  .user-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--green); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700;
  }

  .user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--white); border: 1px solid var(--gray-3);
    border-radius: 12px; padding: 8px; min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 300;
    display: none;
  }
  .user-dropdown.open { display: block; }
  .dropdown-info { padding: 8px 10px 6px; }
  .dropdown-item {
    display: block; padding: 9px 10px; border-radius: 8px;
    font-size: 13px; color: var(--dark); text-decoration: none;
    transition: background .15s;
  }
  .dropdown-item:hover { background: var(--gray-2); color: var(--dark); }

  /* ===== AUTH MODAL ===== */
  .auth-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    z-index: 400; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s;
    backdrop-filter: blur(3px);
  }
  .auth-overlay.open { opacity: 1; pointer-events: all; }

  .auth-modal {
    background: var(--white); border-radius: 18px; padding: 2rem;
    max-width: 400px; width: 90%; transform: scale(0.95);
    transition: transform .25s; max-height: 90vh; overflow-y: auto;
  }
  .auth-overlay.open .auth-modal { transform: scale(1); }

  .auth-logo {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 1.4rem;
  }
  .auth-logo-icon {
    width: 36px; height: 36px; background: var(--green);
    border-radius: 9px; display: flex; align-items: center;
    justify-content: center; font-size: 18px;
  }
  .auth-logo-text { font-size: 18px; font-weight: 800; color: var(--green); }
  .auth-logo-text span { color: var(--orange); }

  .auth-title { font-size: 1.25rem; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 4px; }
  .auth-sub { font-size: 13px; color: var(--gray-1); text-align: center; margin-bottom: 1.4rem; }

  .auth-tabs {
    display: flex; border: 1.5px solid var(--gray-3); border-radius: 10px;
    overflow: hidden; margin-bottom: 1.4rem;
  }
  .auth-tab {
    flex: 1; padding: 10px; border: none; background: transparent;
    font-size: 14px; font-weight: 600; cursor: pointer; color: var(--gray-1);
    transition: all .2s; font-family: inherit;
  }
  .auth-tab.active { background: var(--green); color: var(--white); }

  .auth-form label { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 5px; }
  .auth-form input {
    width: 100%; border: 1.5px solid var(--gray-3); border-radius: 8px;
    padding: 10px 12px; font-size: 14px; margin-bottom: 12px; outline: none;
    transition: border-color .2s; font-family: inherit; color: var(--dark);
  }
  .auth-form input:focus { border-color: var(--green); }

  .auth-btn {
    width: 100%; background: var(--green); color: var(--white); border: none;
    padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 700;
    cursor: pointer; margin-top: 4px; transition: background .2s; font-family: inherit;
  }
  .auth-btn:hover { background: var(--green-dark); }

  .auth-divider {
    display: flex; align-items: center; gap: 10px;
    margin: 14px 0; color: var(--gray-1); font-size: 12px;
  }
  .auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--gray-3);
  }

  .auth-error {
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
    padding: 9px 12px; font-size: 13px; color: #dc2626;
    margin-bottom: 12px; display: none;
  }
  .auth-error.show { display: block; }

  .auth-success {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px;
    padding: 9px 12px; font-size: 13px; color: #16a34a;
    margin-bottom: 12px; display: none;
  }
  .auth-success.show { display: block; }

  /* Riwayat Booking */
  .riwayat-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
  .riwayat-item {
    background: var(--gray-2); border-radius: 10px; padding: 12px 14px;
    font-size: 13px; color: var(--dark); line-height: 1.7;
  }
  .riwayat-item .rv-name { font-weight: 700; font-size: 14px; }
  .riwayat-badge {
    display: inline-block; padding: 2px 9px; border-radius: 6px;
    font-size: 11px; font-weight: 700; margin-left: 6px;
  }
  .rv-futsal { background: #d1fae5; color: #065f46; }
  .rv-basket { background: #fff3e0; color: #c2410c; }

  /* ===== INFO MODAL (Tentang, Privasi, Syarat) ===== */
  .info-modal-body { font-size: 14px; color: #374151; line-height: 1.8; }
  .info-modal-body h3 { font-size: 15px; font-weight: 700; color: #111827; margin: 16px 0 6px; }
  .info-modal-body h3:first-child { margin-top: 0; }
  .info-modal-body p { margin-bottom: 10px; }
  .info-modal-body ul { padding-left: 18px; margin-bottom: 10px; }
  .info-modal-body ul li { margin-bottom: 5px; }
  .info-contact-box {
    background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px;
    padding: 12px 14px; margin-top: 14px; font-size: 13px; color: #166534; line-height: 1.9;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    nav { padding: 0 1rem; }
    .nav-links { display: none; }
    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 2rem; }
    .search-box { flex-direction: column; padding: 1rem; }
    .search-select, .search-input, .search-btn { width: 100%; }
    .stats { gap: 1.5rem; padding: 1rem; flex-wrap: wrap; }
    .tabs-section { padding: 1.2rem 1rem 0; }
    .tabs-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .controls-row { padding: 0 1rem; }
    .venues { padding: 0 1rem 1.5rem; grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .how-section { padding: 2rem 1rem; }
    .faq-section { padding: 2rem 1rem; }
    footer { padding: 1.5rem 1rem; }
    .footer-top { flex-direction: column; }
  }
