* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg-dark: rgba(8, 4, 4, 0.68);
  --panel: rgba(20, 8, 8, 0.88);
  --panel-soft: rgba(28, 12, 12, 0.82);
  --panel-border: rgba(255, 93, 48, 0.35);
  --text-main: #f4d7c2;
  --text-dim: #bfa59a;
  --text-soft: #d8b9aa;
  --accent: #ff734d;
  --accent-2: #ff9b72;
  --danger: #ff5f67;
  --success: #8ae0a1;
  --shadow: 0 0 20px rgba(255, 70, 25, .22), inset 0 0 20px rgba(255, 90, 45, .08);
}
body {
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.80)),
    url("optimized/bg.webp") center/cover no-repeat;
  min-height: 100vh;
}
.wrap { width: min(1380px, 94vw); margin: 0 auto; padding: 24px 0 60px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand img { width: min(280px, 48vw); height: auto; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255, 75, 0, .22)); }
.brand-text { font-size: 14px; color: var(--text-dim); }
.top-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn, .btn-outline, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; text-decoration: none;
  font-weight: 900; font-size: 16px; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.28), inset 0 0 14px rgba(255,255,255,.05);
  transition: transform .18s ease, box-shadow .18s ease; cursor: pointer;
}
.btn:hover, .btn-outline:hover, .btn-danger:hover { transform: translateY(-2px); }
.btn { background: linear-gradient(180deg, #7d1206, #3c0903); color: #ffe5cf; border-color: rgba(255, 111, 56, .35); }
.btn-outline { background: rgba(255,255,255,.03); color: #f7dfd2; }
.btn-danger { background: linear-gradient(180deg, #7c1016, #42070b); color: #ffe8ea; border-color: rgba(255, 95, 103, .34); }
.hero, .panel {
  border-radius: 24px; background: radial-gradient(circle at top center, rgba(255,80,20,.16), rgba(0,0,0,.18) 36%, rgba(0,0,0,.55) 78%), rgba(8,4,4,.30);
  border: 1px solid rgba(255, 87, 34, .16); box-shadow: 0 0 35px rgba(255, 64, 0, .18); backdrop-filter: blur(2px);
}
.hero { padding: 34px; }
.panel { background: var(--panel); padding: 24px; }
.eyebrow { color: #ffb08a; font-size: 18px; font-weight: 800; margin-bottom: 10px; }
h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: .95; letter-spacing: -2px; color: #f8e3d5; text-shadow: 0 3px 0 #672117, 0 0 24px rgba(255, 88, 35, .18); }
.hero-desc { margin-top: 14px; max-width: 840px; font-size: 19px; line-height: 1.6; color: var(--text-soft); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.stat-box { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.stat-label { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.stat-value { font-size: 28px; font-weight: 900; color: var(--accent); }
.layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 22px; margin-top: 24px; }
.section-title { margin: 0 0 16px; font-size: 24px; color: #ffe4d7; }
.helper-text { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.notice-list { display: grid; gap: 12px; margin-top: 12px; }
.notice-item { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); color: var(--text-soft); line-height: 1.55; }
.search-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.search-input, .form-input, .form-textarea, .form-select {
  width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035); color: #fff2ea; padding: 0 16px; font-size: 15px; outline: none;
}
.search-input { flex: 1 1 260px; }
.form-textarea { min-height: 240px; resize: vertical; padding: 16px; }
.form-input::placeholder, .form-textarea::placeholder { color: #b99484; }
.review-list { display: grid; gap: 14px; }
.review-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 18px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.review-card:hover { border-color: rgba(255, 120, 72, .28); box-shadow: 0 0 20px rgba(255, 70, 25, .12); }
.rating-badge {
  min-width: 86px; height: 86px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(136,16,7,.85), rgba(72,8,3,.95)); color: #ffd3c3; font-size: 28px; font-weight: 900;
  border: 1px solid rgba(255, 97, 59, .28);
}
.review-title { margin: 0 0 8px; font-size: 22px; color: #ffe0d1; }
.review-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-dim); font-size: 14px; }
.review-snippet { margin-top: 10px; color: var(--text-soft); line-height: 1.6; }
.review-link { color: inherit; text-decoration: none; display: block; }
.empty-box { padding: 28px 20px; border-radius: 18px; text-align: center; color: var(--text-dim); background: rgba(255,255,255,.025); border: 1px dashed rgba(255,255,255,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row { display: grid; gap: 8px; }
.form-label { color: #ffd6c5; font-weight: 700; font-size: 15px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.message { margin-top: 14px; padding: 14px 16px; border-radius: 14px; display: none; }
.message.show { display: block; }
.message.success { background: rgba(40, 150, 70, .16); border: 1px solid rgba(138, 224, 161, .25); color: var(--success); }
.message.error { background: rgba(160, 45, 54, .18); border: 1px solid rgba(255, 95, 103, .25); color: #ffb8bc; }
.detail-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.detail-title { margin: 0; font-size: clamp(28px, 5vw, 46px); color: #ffe7db; }
.detail-content { margin-top: 20px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); line-height: 1.75; color: #f2ddd0; white-space: pre-wrap; }
.inline-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.password-box { margin-top: 18px; display: grid; gap: 10px; max-width: 420px; }
.small-text { color: var(--text-dim); font-size: 13px; }
@media (max-width: 980px) {
  .stats, .layout, .form-grid, .review-card { grid-template-columns: 1fr; }
  .review-card { align-items: start; }
}
@media (max-width: 560px) {
  .wrap { width: min(95vw, 95vw); }
  .hero, .panel { padding: 22px; }
  .top-actions, .form-actions, .inline-actions { width: 100%; }
  .btn, .btn-outline, .btn-danger { width: 100%; }
}


@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }
}
