:root {
  --bg: #070b12;
  --fg: #f8fafc;
  --muted: #94a3b8;
  --card: rgba(15, 23, 42, .55);
  --border: rgba(227, 198, 91, .35);
  --gold: #e3c65b;
  --ink: #020617;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(1200px 600px at 10% -10%, rgba(227, 198, 91, .18), transparent 55%), radial-gradient(900px 500px at 90% 0%, rgba(148, 163, 184, .12), transparent 50%), var(--bg); color: var(--fg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: rgba(7, 11, 18, .82); border-bottom: 1px solid rgba(227, 198, 91, .2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; transform: scale(1.55); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: white; border: 1px solid var(--border); }
.menu { display: flex; flex-wrap: wrap; gap: 14px; color: #cbd5e1; font-size: 14px; font-weight: 700; }
.btn, button, input[type=submit] { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 11px 18px; background: var(--ink); color: white; font-weight: 800; cursor: pointer; }
.btn.gold { background: linear-gradient(90deg, #e3c65b, #9a7b1c); color: #020617; }
.btn.light { background: rgba(255,255,255,.05); color: var(--fg); border: 1px solid rgba(227, 198, 91, .28); }
.hero { padding: 64px 0 48px; display: grid; gap: 36px; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; }
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .26em; font-weight: 900; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.05; margin: 0; font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(44px, 7vw, 72px); }
h2 { font-size: clamp(34px, 5vw, 54px); }
h3 { font-size: 26px; }
p { color: var(--muted); line-height: 1.75; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .glass { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.section { padding: 58px 0; }
.media { position: relative; overflow: hidden; border-radius: 30px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(215,160,59,.2), transparent); aspect-ratio: 16 / 10; }
.media.tall { aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.meta { color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.footer { margin-top: 70px; padding: 42px 0; border-top: 1px solid var(--border); color: var(--muted); }
.prose { font-size: 17px; line-height: 1.8; }
.prose img { border-radius: 24px; margin: 24px 0; }
.form { display: grid; gap: 14px; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: rgba(15,23,42,.86); color: var(--fg); font: inherit; }
textarea { min-height: 120px; }
.admin-shell { min-height: 100vh; background: #0b1120; color: white; }
.admin-shell .wrap { width: min(1180px, calc(100% - 32px)); }
.admin-shell > main > .grid.two:first-child {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.admin-shell h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  white-space: nowrap;
}
.admin-shell .card {
  background: rgba(15, 23, 42, .96);
  border-color: rgba(226, 232, 240, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}
.admin-shell p, .admin-shell .muted { color: #cbd5e1; }
.admin-shell label {
  display: grid;
  gap: 8px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}
.admin-shell input,
.admin-shell textarea,
.admin-shell select {
  background: #111827 !important;
  color: #f8fafc !important;
  border-color: rgba(226, 232, 240, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.admin-shell input::placeholder,
.admin-shell textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.admin-shell input:focus,
.admin-shell textarea:focus,
.admin-shell select:focus {
  border-color: #f7d880;
  box-shadow: 0 0 0 3px rgba(247, 216, 128, .18);
  outline: none;
}
.admin-shell textarea { min-height: 160px; }
.admin-shell option { color: #111827; background: white; }
.admin-shell table { background: rgba(15, 23, 42, .96); border-radius: 24px; }
.admin-shell th { color: #f8fafc; background: rgba(255, 255, 255, .06); }
.admin-shell td { color: #e2e8f0; }
.admin-thumb {
  width: 86px;
  height: 62px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, .18);
  background: rgba(255, 255, 255, .08);
}
.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-shell input[type=file] {
  padding: 8px;
  background: transparent !important;
  border: 1px dashed rgba(226, 232, 240, .35);
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.tabs a { border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 14px; }
.tabs a.active { background: linear-gradient(90deg, #d7a03b, #f7d880); color: #111827; }
table { width: 100%; border-collapse: collapse; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; vertical-align: top; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.danger { background: #b91c1c; }
.notice { padding: 12px 16px; border-radius: 16px; background: rgba(215,160,59,.16); border: 1px solid rgba(215,160,59,.35); }
@media (max-width: 820px) {
  .hero, .grid.two, .grid.three { grid-template-columns: 1fr; }
  .admin-shell h1 { white-space: normal; }
  .menu { display: none; }
}
