:root{
  --bg:#070d1c; --bg2:#0f1a33; --card:#111c38; --line:#223158;
  --blue:#2f7bff; --gold:#d4af37; --gold2:#f3d77a; --text:#e8ecf7; --muted:#8f9bbb;
  --radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:radial-gradient(1200px 600px at 50% -10%, #14234a 0%, var(--bg) 60%) fixed;
  color:var(--text); font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; line-height:1.6;
}
a{color:var(--gold2)}
.muted{color:var(--muted); font-size:.9rem}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif; letter-spacing:.04em}

.nav{
  position:sticky; top:0; z-index:10; display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:10px 20px; background:rgba(7,13,28,.88); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; font-family:Georgia,serif; font-weight:700; letter-spacing:.12em}
.nav nav{display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end}
.nav nav a{color:var(--text); text-decoration:none; padding:6px 10px; border-radius:8px; font-size:.92rem}
.nav nav a:hover{background:var(--bg2); color:var(--gold2)}

.hero{text-align:center; padding:56px 20px 40px; max-width:820px; margin:0 auto}
img{max-width:100%}
.brand img,.panel img{height:auto}
.hero-banner{
  display:block; width:100%; max-width:1000px; height:auto; margin:0 auto 22px;
  border:1px solid var(--gold); border-radius:var(--radius);
  box-shadow:0 18px 50px rgba(0,0,0,.5), 0 0 40px rgba(47,123,255,.18);
}
.login-logo{width:min(260px,70%)}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.hero h1{font-size:clamp(2.4rem,8vw,4.4rem); margin:14px 0 6px; color:#fff}
.blue{color:var(--blue)}
.gold-line{display:flex; align-items:center; justify-content:center; gap:12px; margin:6px auto; max-width:360px}
.gold-line span{flex:1; height:2px; background:linear-gradient(90deg,transparent,var(--gold))}
.gold-line span:last-child{background:linear-gradient(270deg,transparent,var(--gold))}
.gold-line i{width:10px; height:10px; background:var(--gold); transform:rotate(45deg)}
.roleplay{color:var(--gold); font-family:Georgia,serif; letter-spacing:.5em; font-weight:700; margin:6px 0 18px}
.tagline{font-size:1.1rem; color:var(--text); max-width:620px; margin:0 auto 24px}
.cta{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}

.btn{
  appearance:none; border:1px solid var(--gold); background:transparent; color:var(--gold2);
  padding:11px 20px; border-radius:10px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none;
}
.btn:hover{background:rgba(212,175,55,.12)}
.btn.primary{background:linear-gradient(135deg,var(--blue),#1c4fc4); border-color:var(--blue); color:#fff}
.btn.primary:hover{filter:brightness(1.1)}
.btn.danger{border-color:#c0392b; color:#ff8f82}
.btn.small{padding:6px 10px; font-size:.85rem}
.btn[disabled]{opacity:.5; cursor:not-allowed}

section.block{max-width:980px; margin:0 auto; padding:34px 20px}
section.block h2{font-size:1.7rem; color:#fff; margin:0 0 6px; text-align:center}
section.block .gold-line{max-width:200px; margin-bottom:22px}
.grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px}
.card{
  background:linear-gradient(180deg,var(--card),var(--bg2)); border:1px solid var(--line);
  border-radius:var(--radius); padding:18px;
}
.card h3{margin:0 0 6px; font-size:1.1rem; color:var(--gold2)}
.card p{margin:0; white-space:pre-line}
.card .date{color:var(--muted); font-size:.82rem; margin-bottom:4px}
.card .role{color:var(--blue); font-weight:600; font-size:.9rem}
.list{display:flex; flex-direction:column; gap:12px}
.num{display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--blue); color:#fff; font-weight:700; margin-right:8px}
.about{max-width:760px; margin:0 auto; text-align:center; white-space:pre-line}

.footer{text-align:center; padding:34px 20px 50px; border-top:1px solid var(--line); margin-top:30px}

/* ---------- admin ---------- */
.admin-wrap{max-width:900px; margin:0 auto; padding:24px 16px 80px}
.panel{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px; margin-bottom:18px}
.panel h2{margin:0 0 12px; font-size:1.2rem; color:var(--gold2)}
label{display:block; font-size:.85rem; color:var(--muted); margin:10px 0 4px}
input[type=text],input[type=password],input[type=url],textarea{
  width:100%; background:var(--bg); color:var(--text); border:1px solid var(--line);
  border-radius:8px; padding:9px 11px; font:inherit;
}
textarea{min-height:90px; resize:vertical}
input:focus,textarea:focus{outline:2px solid var(--blue); outline-offset:1px}
.item{border:1px dashed var(--line); border-radius:10px; padding:12px; margin-top:12px; background:rgba(255,255,255,.015)}
.item-head{display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap}
.item-head strong{color:var(--gold2)}
.row{display:flex; gap:6px; flex-wrap:wrap}
.savebar{
  position:fixed; left:0; right:0; bottom:0; display:flex; gap:12px; align-items:center; justify-content:center;
  padding:12px; background:rgba(7,13,28,.95); border-top:1px solid var(--line); z-index:20;
}
.status-ok{color:#6ee7a0}
.status-err{color:#ff8f82}
.login{max-width:380px; margin:12vh auto; padding:0 16px}
.user-box{display:flex; align-items:center; gap:8px; font-size:.9rem}
.user-box img{border-radius:50%}
.login-title{margin:8px 0 0; font-size:2rem}
.wl-wrap{max-width:720px; margin:0 auto; padding:34px 16px 60px}
.app-meta{color:var(--muted); font-size:.85rem}
.badge{display:inline-block; padding:2px 8px; border-radius:20px; font-size:.78rem; font-weight:700}
.badge.pending{background:#3a2f0a; color:var(--gold2)}
.badge.accepted{background:#0c3320; color:#6ee7a0}
.badge.rejected{background:#3a1410; color:#ff8f82}
.qa{margin:8px 0; white-space:pre-line}
.qa b{color:var(--gold2)}
.center{text-align:center}
.left{text-align:left}
.btn.full{width:100%}
.btn.add{margin-top:12px}
[hidden]{display:none !important}
