:root {
  --bg: #0d0e12;
  --bg-alt: #12141b;
  --card: rgba(17, 19, 25, 0.92);
  --line: rgba(255,255,255,0.08);
  --text: #f7f2ea;
  --muted: rgba(247,242,234,0.7);
  --gold: #d4af37;
  --rose: #c97fa5;
  --green: #1d5b4b;
  --danger: #c85e5e;
  --shadow: 0 18px 40px rgba(0,0,0,0.28);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212,175,55,0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(201,127,165,0.11), transparent 26%),
    linear-gradient(180deg, #090a0d 0%, var(--bg) 35%, #0f1016 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.glass { background: rgba(8,10,15,0.78); }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(201,127,165,.18));
  border: 1px solid rgba(212,175,55,.3);
  color: var(--gold); font-weight: 800; letter-spacing: 0.08em;
}
.brand-name, h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
.brand-name { font-size: 1.6rem; line-height: 1; }
.brand-sub, .muted { color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover, .nav-admin { color: var(--text); }
.nav-admin { padding: 10px 14px; border: 1px solid rgba(212,175,55,.28); border-radius: 999px; }
.section { padding: 72px 0; }
.compact-top { padding-top: 36px; }
.section-dark { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-section { padding: 38px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.editorial-card {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(212,175,55,.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(201,127,165,.12), transparent 28%),
    linear-gradient(180deg, rgba(19,22,28,.96), rgba(11,12,16,.98));
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 700;
}
.hero-copy h1 { margin: 0 0 14px; font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 0.95; }
.hero-text { max-width: 56ch; color: var(--muted); font-size: 1.04rem; }
.hero-actions, .form-actions, .filter-row, .split-head, .admin-actions-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-actions { margin-top: 22px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-badges span, .chip {
  border: 1px solid rgba(212,175,55,.22);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-visual-card { overflow: hidden; padding: 0; }
.hero-image {
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.35)),
    url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=1200&q=80') center/cover;
}
.hero-stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
}
.hero-stat-strip div { background: rgba(10,11,16,.96); padding: 18px; }
.hero-stat-strip strong { display: block; color: var(--gold); margin-bottom: 6px; }
.stats-grid, .listing-grid, .how-grid, .admin-grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(3, 1fr); }
.stat-card { text-align: center; }
.stat-card span { display: block; font-size: clamp(1.7rem, 4vw, 3rem); color: var(--gold); font-weight: 800; margin-bottom: 10px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head h2, .section-head h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.section-copy { max-width: 54ch; color: var(--muted); }
.listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-card {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.listing-thumb {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #12141b;
}
.listing-thumb img, .listing-thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-pill-row {
  position: absolute; left: 14px; top: 14px; right: 14px;
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 999px; background: rgba(10,11,16,.78); border: 1px solid rgba(255,255,255,.1); font-size: 0.84rem;
}
.pill.gold { border-color: rgba(212,175,55,.32); color: var(--gold); }
.card-body { padding: 18px; display: grid; gap: 10px; }
.card-body h3 { margin: 0; font-size: 2rem; }
.meta-row, .price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.meta-row { color: var(--muted); font-size: 0.95rem; }
.price-main { font-size: 1.28rem; font-weight: 800; }
.price-secondary { color: var(--muted); font-size: 0.93rem; }
.btn {
  border: 0; cursor: pointer; border-radius: 999px; padding: 12px 18px; font-weight: 700;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #e3c15a, var(--gold)); color: #111; }
.btn-secondary { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid rgba(255,255,255,.09); }
.btn-danger { background: rgba(200,94,94,.12); color: #ffb6b6; border: 1px solid rgba(200,94,94,.35); }
.info-card { min-height: 220px; }
.info-number { color: var(--gold); font-size: 0.9rem; letter-spacing: .18em; font-weight: 800; margin-bottom: 18px; }
.contact-shell { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.contact-links { display: grid; gap: 12px; }
.contact-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 18px; padding: 16px;
}
.status-bar {
  padding: 12px 14px; border-radius: 16px; margin-bottom: 18px;
  border: 1px solid rgba(212,175,55,.18); background: rgba(255,255,255,.03); color: var(--muted);
}
.empty-state { text-align: center; padding: 32px; border: 1px dashed rgba(255,255,255,.18); border-radius: var(--radius); }
.hidden { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.modal-panel {
  position: relative; z-index: 2; width: min(calc(100% - 24px), 760px);
  max-height: calc(100vh - 24px); overflow: auto;
  background: #0d0f14; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.modal-wide { width: min(calc(100% - 24px), 1080px); }
.modal-close {
  position: sticky; top: 16px; margin-left: auto; margin-right: 16px; z-index: 3;
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(12,13,17,.88); color: var(--text); cursor: pointer;
}
.modal-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; padding: 0 20px 24px; }
.gallery-main { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #101219; }
.gallery-main img, .gallery-main video { width: 100%; height: 600px; object-fit: cover; }
.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb-btn {
  border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 16px; overflow: hidden; padding: 0; cursor: pointer;
}
.thumb-btn.active { border-color: rgba(212,175,55,.42); }
.thumb-btn img, .thumb-btn video { width: 100%; height: 88px; object-fit: cover; }
.detail-meta { display: grid; gap: 16px; }
.detail-meta h2 { margin: 0; font-size: 3rem; }
.detail-price { display: grid; gap: 8px; }
.price-hero { font-size: 1.7rem; font-weight: 800; }
.detail-box { border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 18px; padding: 16px; }
.detail-box p { margin: 0; color: var(--muted); line-height: 1.6; }
.inline-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.form-grid { display: grid; gap: 16px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.single-column { grid-template-columns: 1fr; }
label { display: grid; gap: 8px; }
label span { color: var(--muted); font-size: 0.92rem; }
.input {
  width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); color: var(--text); padding: 14px 15px;
}
.input.compact { min-width: 180px; }
textarea.input { resize: vertical; }
.full-span { grid-column: 1 / -1; }
.admin-main { padding-bottom: 80px; }
.auth-card { max-width: 720px; }
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-tab {
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted);
  border-radius: 999px; padding: 11px 16px; font-weight: 700; cursor: pointer;
}
.admin-tab.active { color: var(--text); border-color: rgba(212,175,55,.4); background: rgba(212,175,55,.12); }
.admin-grid { grid-template-columns: 1.15fr .85fr; }
.card-head { margin-bottom: 18px; }
.card-head h2 { margin: 4px 0 0; font-size: 2.2rem; }
.split-head { justify-content: space-between; }
.small-gap { align-items: end; }
.uploader-shell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.uploader-card {
  border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 22px; padding: 16px;
}
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.preview-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.03);
}
.preview-card img, .preview-card video { width: 100%; height: 160px; object-fit: cover; }
.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; }
.remove-btn {
  border: 1px solid rgba(200,94,94,.35); background: rgba(200,94,94,.12); color: #ffc9c9;
  border-radius: 999px; padding: 6px 10px; cursor: pointer; font-size: 0.86rem; font-weight: 700;
}
.description-tools { display: flex; justify-content: flex-start; }
.file-btn { position: relative; overflow: hidden; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.order-pill { display: inline-flex; padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); }
.toast {
  position: fixed; right: 16px; bottom: 16px; z-index: 100; max-width: 340px;
  background: #12141b; color: var(--text); border: 1px solid rgba(212,175,55,.35);
  padding: 14px 16px; border-radius: 18px; box-shadow: var(--shadow);
}
.admin-user { color: var(--muted); }
@media (max-width: 980px) {
  .hero-grid, .listing-grid, .how-grid, .contact-shell, .modal-layout, .admin-grid, .uploader-shell, .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar { align-items: start; }
  .nav-links { gap: 12px; }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main img, .gallery-main video { height: 380px; }
  .preview-grid, .two-col, .inline-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 3.3rem; }
  .section { padding: 56px 0; }
}
