:root {
  --bg: #f2f6f3;
  --bg-2: #e7efe9;
  --surface: #ffffff;
  --ink: #0c1f18;
  --muted: #5b7268;
  --line: #d5e2da;
  --brand: #08382b;
  --brand-2: #0d5240;
  --accent: #b6f23a;
  --accent-ink: #0a2e22;
  --danger: #d6453d;
  --warn: #c98512;
  --ok: #1f8a5b;
  --shadow: 0 18px 50px rgba(8, 56, 43, 0.10);
  --shadow-sm: 0 8px 24px rgba(8, 56, 43, 0.07);
  --radius: 20px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Sora", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 0% -10%, rgba(182, 242, 58, 0.22), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(8, 56, 43, 0.08), transparent 45%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ========== PUBLIC HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(242, 246, 243, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(213, 226, 218, 0.8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img {
  width: 44px; height: 44px; border-radius: 13px; object-fit: cover;
  box-shadow: 0 8px 20px rgba(8,56,43,0.18);
  background: #08382B;
}
.brand-title {
  font-family: var(--display); font-weight: 700; font-size: 1.18rem;
  color: var(--brand); letter-spacing: -0.03em; line-height: 1.05;
}
.brand-sub {
  display: block; margin-top: 3px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn) {
  padding: 10px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 650;
  color: #335248; transition: 0.18s ease;
}
.nav > a:not(.btn):hover { background: #dff0e4; color: var(--brand); }
.nav .btn { margin-left: 8px; }
.mobile-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: 10px 14px; font-weight: 700; color: var(--brand); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 750; font-size: 0.92rem;
  cursor: pointer; transition: 0.18s ease; white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--accent); box-shadow: 0 10px 24px rgba(8,56,43,0.22); }
.btn-primary:hover { background: #052820; }
.btn-lime { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px rgba(182,242,58,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-soft { background: #dff0e4; color: var(--brand); }
.btn-danger { background: rgba(214,69,61,0.1); color: var(--danger); }
.btn-sm { padding: 10px 16px; font-size: 0.84rem; }

/* ========== FULL-BLEED HERO ========== */
.hero-bleed {
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw;
  min-height: min(88vh, 720px);
  display: grid; align-items: end;
  overflow: hidden;
  background: #06261d;
}
.hero-bleed .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}
.hero-bleed .overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,24,18,0.35) 0%, rgba(4,24,18,0.55) 40%, rgba(4,24,18,0.88) 100%),
    linear-gradient(90deg, rgba(4,24,18,0.9) 0%, rgba(4,24,18,0.45) 55%, rgba(4,24,18,0.2) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0 72px;
  color: #f4faf6;
  animation: fadeUp 0.8s ease both;
}
.hero-inner h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  font-weight: 700;
  max-width: 11ch;
}
.hero-inner .lead {
  margin: 22px 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(244,250,246,0.84);
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.main { padding: 0 0 72px; }
.main > .container { padding-top: 28px; }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: -36px; position: relative; z-index: 3;
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(213,226,218,0.9);
  border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  animation: fadeUp 0.7s ease both;
}
.stat:nth-child(2) { animation-delay: 0.06s; }
.stat:nth-child(3) { animation-delay: 0.12s; }
.stat:nth-child(4) { animation-delay: 0.18s; }
.stat b {
  display: block; font-family: var(--display); font-size: 1.85rem;
  letter-spacing: -0.03em; color: var(--brand); line-height: 1;
}
.stat span {
  display: block; margin-top: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

.section { margin-top: 56px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.section-title {
  font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.035em; color: var(--brand); margin: 0; font-weight: 700;
}
.muted { color: var(--muted); font-size: 0.98rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 700; color: #2d4a3e;
  box-shadow: 0 4px 14px rgba(8,56,43,0.04);
  transition: 0.18s ease;
}
.chip:hover {
  border-color: var(--brand); background: var(--accent);
  color: var(--accent-ink); transform: translateY(-2px);
}
.chip.adult { color: var(--danger); border-color: rgba(214,69,61,0.3); }

.card, .panel, .card-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.panel { padding: 24px; }
.card-list { overflow: hidden; }

.listing {
  display: grid; gap: 16px; padding: 22px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.listing:last-child { border-bottom: 0; }
.listing:hover { background: #f7fbf8; }
@media (min-width: 760px) {
  .listing {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 4px 10px; font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: #e8f2ec; color: #2f5a48;
}
.badge.pin { background: var(--accent); color: var(--accent-ink); }
.badge.adult { background: rgba(214,69,61,0.12); color: var(--danger); }
.badge.ok { background: rgba(31,138,91,0.12); color: var(--ok); }
.badge.warn { background: rgba(201,133,18,0.14); color: var(--warn); }
.listing h3 {
  margin: 0; font-family: var(--display); font-size: 1.2rem;
  letter-spacing: -0.02em; color: var(--brand); font-weight: 700;
}
.listing h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.listing p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }
.tiny { margin-top: 10px; font-size: 12px; color: #7a9187; font-weight: 600; }

.empty-state { text-align: center; padding: 56px 24px; color: var(--muted); }
.empty-state strong { display: block; color: var(--brand); font-size: 1.15rem; margin-bottom: 8px; font-family: var(--display); }

label { display: block; font-size: 0.86rem; font-weight: 750; color: var(--brand); margin: 0 0 7px; }
.field {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 14px; background: #fff; color: var(--ink); outline: none;
  transition: 0.15s ease;
}
.field:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(182,242,58,0.35); }
.form-row { margin-bottom: 16px; }
.grid-2, .grid-3 { display: grid; gap: 14px; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.alert { border-radius: 14px; padding: 13px 15px; font-size: 0.92rem; margin: 12px 0; font-weight: 600; }
.alert-ok { background: rgba(31,138,91,0.12); color: var(--ok); }
.alert-err { background: rgba(214,69,61,0.1); color: var(--danger); }

.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.detail h1 {
  font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em; color: var(--brand); margin: 8px 0 0;
}
.hl-grid { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 700px) { .hl-grid { grid-template-columns: 1fr 1fr; } }
.hl {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.hl dt { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.hl dd { margin: 4px 0 0; font-weight: 750; color: var(--brand); word-break: break-word; }

.join-box, .cta-band {
  margin-top: 28px; border-radius: 28px; padding: 28px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(182,242,58,0.18), transparent 50%),
    linear-gradient(145deg, #06261d, #0d5240);
  color: #f4faf6; box-shadow: var(--shadow);
}
.join-box h2, .cta-band h2 {
  margin: 0; font-family: var(--display); letter-spacing: -0.03em; font-size: 1.55rem;
}
.join-box ol { margin: 14px 0 20px; padding-left: 18px; color: rgba(244,250,246,0.85); }
.cta-band p { margin: 12px 0 20px; color: rgba(244,250,246,0.82); max-width: 42rem; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; margin: 8px 0; box-shadow: var(--shadow-sm);
}
.faq summary { font-weight: 750; color: var(--brand); cursor: pointer; }
.age-box {
  max-width: 520px; margin: 48px auto; text-align: center; background: #fff;
  border: 1px solid rgba(214,69,61,0.25); border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 72px; background: #041912; color: #e8f2ec;
}
.footer-grid { display: grid; gap: 32px; padding: 56px 0 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr; } }
.site-footer h4 {
  margin: 0 0 14px; color: var(--accent); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800;
}
.site-footer a { color: rgba(232,242,236,0.78); display: block; margin: 8px 0; font-size: 0.95rem; font-weight: 600; }
.site-footer a:hover { color: var(--accent); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0 24px;
  text-align: center; font-size: 12px; color: rgba(232,242,236,0.45);
}

/* ========== ADMIN — PRODUCT UI ========== */
body.admin-body {
  background: #f4f7f5;
}
.admin-topbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-topbar .inner {
  width: min(1280px, calc(100% - 32px)); margin: 0 auto;
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.admin-layout {
  width: min(1280px, calc(100% - 32px)); margin: 0 auto;
  display: grid; gap: 20px; padding: 22px 0 56px;
}
@media (min-width: 980px) {
  .admin-layout { grid-template-columns: 250px minmax(0, 1fr); }
}
.admin-side {
  background: #06261d; color: #e8f2ec; border-radius: 24px;
  padding: 22px 16px; box-shadow: var(--shadow);
  height: fit-content; position: sticky; top: 86px;
}
.admin-side .logo {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.03em; padding: 0 8px;
}
.admin-side .sub {
  margin: 4px 0 18px; padding: 0 8px; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(232,242,236,0.45); font-weight: 700;
}
.admin-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px; border-radius: 14px; margin-bottom: 4px;
  color: rgba(232,242,236,0.78); font-weight: 650; font-size: 0.94rem;
  transition: 0.15s ease;
}
.admin-side a:hover, .admin-side a.active {
  background: rgba(182,242,58,0.14); color: var(--accent);
}
.admin-side .logout {
  margin-top: 16px; background: rgba(255,255,255,0.06); justify-content: center;
}
.admin-main { min-width: 0; }
.admin-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 18px;
}
.admin-kpis {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 900px) { .admin-kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow-sm);
}
.kpi b {
  display: block; font-family: var(--display); font-size: 1.8rem;
  letter-spacing: -0.03em; color: var(--brand); line-height: 1;
}
.kpi span {
  display: block; margin-top: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

.admin-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
table.admin-table th, table.admin-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.admin-table th {
  background: #eef6f1; color: var(--brand); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800;
}
table.admin-table tr:last-child td { border-bottom: 0; }
table.admin-table tr:hover td { background: #f8fcf9; }
table.admin-table .actions { display: flex; flex-wrap: wrap; gap: 6px; }

.login-wrap {
  min-height: calc(100vh - 120px);
  display: grid; place-items: center; padding: 32px 0;
}
.login-card {
  width: min(440px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: 32px; box-shadow: var(--shadow);
}
.login-card h1 { margin: 0; font-family: var(--display); letter-spacing: -0.03em; color: var(--brand); }
.ad-slot { overflow: hidden; margin: 14px 0; text-align: center; }

@media (max-width: 900px) {
  .mobile-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .nav .btn { margin-left: 0; width: 100%; }
  .admin-side { position: static; }
  .hero-inner { padding: 84px 0 56px; }
}
