:root{
  --bg:#0b0c0f;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --line:rgba(255,255,255,.12);
  --gold:#c8aa6a;
  --shadow:0 25px 80px rgba(0,0,0,.55);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(200,170,106,.12), transparent 60%),
              radial-gradient(900px 700px at 80% 20%, rgba(255,255,255,.06), transparent 55%),
              var(--bg);
  color:var(--text);
}

/* Top bar */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(10,12,16,.55);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; flex-direction:column; gap:2px;
  text-decoration:none; color:var(--text);
}
.brand strong{font-size:14px; letter-spacing:.2px}
.brand span{font-size:12px; color:var(--muted)}
.nav-links{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav-links a{
  text-decoration:none;
  color:var(--muted);
  font-size:13px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav-links a:hover{
  color:var(--text);
  border-color:var(--line);
  background:rgba(255,255,255,.04);
}
.menu-btn{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
}

/* Mobile menu */
.mobile{
  display:none;
  border-top:1px solid var(--line);
}
.mobile a{
  display:block;
  padding:14px 16px;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.mobile a:hover{color:var(--text); background:rgba(255,255,255,.04)}

/* Hero */
.hero{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 16px 18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-left{
  padding:28px;
  position:relative;
  overflow:hidden;
}
.hero-left:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 400px at 20% 10%, rgba(200,170,106,.22), transparent 60%),
              radial-gradient(700px 400px at 70% 20%, rgba(255,255,255,.08), transparent 60%);
  opacity:.55;
  pointer-events:none;
}
.hero-left > *{position:relative; z-index:1}
.h-title{
  font-size:42px;
  line-height:1.05;
  margin:0 0 10px;
  letter-spacing:.2px;
}
.h-sub{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
  max-width:60ch;
}
.actions{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:10px;
}
.btn{
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn:hover{background:rgba(255,255,255,.10)}
.btn-gold{
  background:rgba(200,170,106,.16);
  border-color:rgba(200,170,106,.35);
}
.btn-gold:hover{background:rgba(200,170,106,.22)}
.lang-row{
  margin-top:16px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.pill{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  padding:10px 12px;
  border-radius:999px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
}
.pill:hover{color:var(--text); background:rgba(255,255,255,.07)}
.badge{
  width:34px; height:26px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(202,168,106,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.6px;
  color: rgba(255,255,255,.90);
}

/* right gallery */
.hero-right{
  padding:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.tile{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  position:relative;
}
.tile img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.05);
}
.tile.big{grid-column:1 / span 2; aspect-ratio:16/9}
.tile.sm{aspect-ratio:1/1}

/* Sections */
.section{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 16px 36px;
}
.section h2{
  margin:10px 0 10px;
  font-size:18px;
  color:rgba(255,255,255,.88);
}
.section p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

/* Menu selection page (3 books) */
.menu-page{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 16px 36px;
}
.menu-head{
  margin:10px 0 14px;
  color:var(--muted);
  line-height:1.6;
}
.books{
  display:grid;
  gap:12px;
}
.book{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  text-decoration:none;
  color:var(--text);
}
.book:hover{background:rgba(255,255,255,.08)}
.book-left{
  display:flex;
  align-items:center;
  gap:14px;
}
.book-mark{
  width:54px; height:54px;
  border-radius:18px;
  border:1px solid rgba(200,170,106,.35);
  background:rgba(200,170,106,.14);
  display:flex; align-items:center; justify-content:center;
  font-weight:900; letter-spacing:.6px;
}
.book-title{
  display:flex; flex-direction:column; gap:4px;
}
.book-title strong{font-size:14px}
.book-title span{font-size:12px; color:var(--muted)}
.book-right{
  color:rgba(255,255,255,.75);
  font-size:14px;
}

/* Menu viewer */
.viewer-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 16px 36px;
}
.viewer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.viewer-top h1{
  margin:0;
  font-size:16px;
  color:rgba(255,255,255,.88);
}
.back{
  text-decoration:none;
  color:var(--muted);
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  padding:10px 12px;
  border-radius:14px;
}
.back:hover{color:var(--text); background:rgba(255,255,255,.07)}
.viewer{
  position:relative;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.viewer-stage{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:70vh;
  padding:18px;
}
.viewer img{
  width:min(950px, 92vw);
  height:auto;
  max-height:80vh;
  object-fit:contain;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.20);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
}
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px; height:54px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
  font-size:26px;
}
.arrow:hover{background:rgba(0,0,0,.50)}
.arrow.left{left:14px}
.arrow.right{right:14px}
.viewer-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px 16px;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-size:13px;
}
.counter{
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.04);
}

/* pages */
.page-card{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 16px 36px;
}
.page-card .card{
  padding:18px;
}
.form{
  display:grid;
  gap:10px;
  max-width:520px;
}
.input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
}
textarea.input{min-height:120px; resize:vertical}

.footer{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 16px 34px;
  color:rgba(255,255,255,.55);
  font-size:12px;
  border-top:1px solid rgba(255,255,255,.08);
}

/* Responsive */
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
  .h-title{font-size:34px}
  .nav-links{display:none}
  .menu-btn{display:inline-flex; align-items:center; justify-content:center}
  .mobile.show{display:block}
  .viewer-stage{min-height:62vh}
}