/* ===== Business MP Club — Front CSS ===== */
:root {
  --gold:    #d4af37;
  --gold-lt: #f0d060;
  --dark:    #0a0a0f;
  --dark2:   #12121a;
  --dark3:   #1c1c28;
  --card-bg: #161622;
  --border:  rgba(212,175,55,.18);
  --text:    #e8e8f0;
  --muted:   rgba(232,232,240,.5);
  --radius:  14px;
  --shadow:  0 8px 40px rgba(0,0,0,.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 800;
}
.brand-icon { font-size: 1.6rem; }
.brand em { color: var(--gold); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { font-size: .9rem; opacity: .75; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }

.btn-join {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #000 !important; font-weight: 700;
  padding: .5rem 1.25rem; border-radius: 8px;
  font-size: .85rem !important; opacity: 1 !important;
  transition: transform .2s, box-shadow .2s !important;
}
.btn-join:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,175,55,.4); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212,175,55,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 80%, rgba(212,175,55,.06) 0%, transparent 60%),
    linear-gradient(160deg, #0a0a0f 0%, #12121a 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: 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='%23d4af37' 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-content {
  position: relative; z-index: 1;
  padding: 6rem 1.25rem;
  max-width: 720px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--border);
  padding: .35rem 1rem; border-radius: 50px;
  font-size: .8rem; letter-spacing: .08em; color: var(--gold);
  margin-bottom: 1.5rem;
  background: rgba(212,175,55,.06);
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin-bottom: 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #000; font-weight: 700; font-family: 'Syne', sans-serif;
  padding: .85rem 2rem; border-radius: 10px;
  transition: transform .2s, box-shadow .2s;
  border: none; cursor: pointer; font-size: 1rem;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(212,175,55,.4); }

.btn-ghost {
  display: inline-block; padding: .85rem 2rem; border-radius: 10px;
  border: 1px solid var(--border); color: var(--text); font-weight: 500;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--gold); }

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; gap: .15rem; }
.hero-stats strong { font-family: 'Syne', sans-serif; font-size: 1.8rem; color: var(--gold); }
.hero-stats span { font-size: .8rem; color: var(--muted); }

/* ── Filters ── */
.filters-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.filters-form { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.search-wrap {
  display: flex; align-items: center;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; flex: 1; min-width: 200px;
}
.search-wrap input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); padding: .65rem 1rem; font-size: .9rem;
  font-family: 'DM Sans', sans-serif;
}
.search-wrap button {
  background: none; border: none; padding: .65rem 1rem;
  cursor: pointer; font-size: 1rem;
}
.cat-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill {
  padding: .45rem 1rem; border-radius: 50px; font-size: .82rem;
  border: 1px solid var(--border); color: var(--muted);
  transition: all .2s; white-space: nowrap;
}
.pill:hover, .pill.active {
  background: rgba(212,175,55,.12);
  border-color: var(--gold); color: var(--gold);
}

/* ── Properties Grid ── */
.properties-section { padding: 4rem 0; }
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.property-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.property-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.4);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.card-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--dark3);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.property-card:hover .card-img img { transform: scale(1.04); }
.card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.badge-featured {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(212,175,55,.9); color: #000;
  padding: .2rem .7rem; border-radius: 50px; font-size: .75rem; font-weight: 700;
}
.badge-cat {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(10,10,15,.85); backdrop-filter: blur(8px);
  padding: .2rem .7rem; border-radius: 50px; font-size: .75rem;
  border: 1px solid var(--border);
}
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.card-body h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.card-loc { font-size: .82rem; color: var(--muted); }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ticket-price, .draw-date { display: flex; flex-direction: column; gap: .1rem; }
.ticket-price .label, .draw-date .label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ticket-price strong { font-family: 'Syne', sans-serif; font-size: 1.1rem; color: var(--gold); }
.draw-date strong { font-size: .9rem; }
.ticket-bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 4px; transition: width .6s ease; }
.ticket-count { font-size: .77rem; color: var(--muted); }
.card-cta { margin-top: auto; font-size: .85rem; color: var(--gold); font-weight: 600; }

/* ── Empty State ── */
.empty-state {
  text-align: center; padding: 6rem 2rem;
  color: var(--muted);
}
.empty-state span { font-size: 4rem; display: block; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; margin-bottom: .5rem; color: var(--text); }

/* ── Pagination ── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border); font-size: .9rem;
  transition: all .2s;
}
.pagination a:hover, .pagination a.active {
  background: rgba(212,175,55,.12); border-color: var(--gold); color: var(--gold);
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-content { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-content h2 { font-family: 'Syne', sans-serif; font-size: 2.2rem; margin-bottom: 1rem; }
.cta-content p { color: var(--muted); margin-bottom: 2rem; }

/* ── Detail ── */
.breadcrumb { padding: 1rem 0; font-size: .85rem; color: var(--muted); background: var(--dark2); border-bottom: 1px solid var(--border); }
.breadcrumb span { margin: 0 .5rem; }
.breadcrumb a:hover { color: var(--gold); }
.detail-section { padding: 3rem 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--dark3); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 70px; height: 52px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { border-color: var(--gold); }
.detail-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.badge-status { padding: .2rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.badge-status.active { background: rgba(39,174,96,.15); color: #27ae60; border: 1px solid rgba(39,174,96,.3); }
.badge-status.draft  { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--border); }
.badge-status.closed { background: rgba(231,76,60,.12); color: #e74c3c; border: 1px solid rgba(231,76,60,.3); }
.badge-status.awarded{ background: rgba(212,175,55,.15); color: var(--gold); border: 1px solid var(--border); }
.detail-info h1 { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
.detail-loc { color: var(--muted); margin-bottom: 1rem; }
.detail-description { color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.ticket-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.ticket-price-big { margin-bottom: 1rem; }
.ticket-price-big span { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); display: block; }
.ticket-price-big strong { font-family: 'Syne', sans-serif; font-size: 2.2rem; color: var(--gold); }
.progress-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.progress-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 8px; }
.progress-pct { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.detail-dates { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.75rem; }
.date-item { display: flex; align-items: center; gap: 1rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: .85rem 1rem; }
.date-item.urgent { border-color: rgba(231,76,60,.4); background: rgba(231,76,60,.05); }
.date-icon { font-size: 1.4rem; }
.date-item strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.date-item span { font-weight: 600; }
.btn-lg { width: 100%; text-align: center; padding: 1.1rem 2rem; font-size: 1.05rem; border-radius: 12px; }
.cta-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .75rem; }
.detail-extra { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.detail-extra h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; margin-bottom: 1.25rem; }
.detail-extra-body { color: var(--muted); line-height: 1.9; white-space: pre-wrap; }

/* ── Footer ── */
.site-footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand .brand-icon { font-size: 2rem; }
.footer-brand .brand-text { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; }
.footer-brand p { font-size: .85rem; color: var(--muted); margin-top: .75rem; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links h4 { font-family: 'Syne', sans-serif; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.footer-links a { font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { text-align: center; padding: 1.5rem; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: 3rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,10,15,.97); padding: 1rem; border-bottom: 1px solid var(--border); gap: 1rem; z-index: 200; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .properties-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-content { padding: 4rem 1.25rem; }
}
