:root {
  --bg: #0c0a09;
  --bg-alt: #14100d;
  --card: rgba(24, 19, 15, 0.88);
  --border: rgba(206, 162, 78, 0.34);
  --border-strong: rgba(240, 198, 108, 0.72);
  --gold: #f0c96e;
  --gold-dim: #b99346;
  --text: #efe5d1;
  --muted: #b6a68d;
  --green: #58df88;
  --red: #f06558;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
code {
  background: rgba(240, 201, 110, 0.12);
  color: var(--gold);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.92em;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 10, 9, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-crest {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, #3b2a12, #17120d);
  display: grid; place-items: center;
  color: var(--gold); font-size: 20px;
}
.brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.brand-sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.12em; }
.nav-links { display: flex; gap: 22px; font-size: 0.94rem; color: var(--muted); }
.nav-links a:hover { color: var(--gold); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(24, 19, 15, 0.9);
  font-size: 0.82rem; font-weight: 600;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.status-pill.online .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-pill.offline .dot { background: var(--red); }

.btn-lang {
  background: transparent; color: var(--gold);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; font-weight: 700; cursor: pointer;
}
.btn-lang:hover { border-color: var(--border-strong); background: rgba(240, 201, 110, 0.08); }

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/assets/hero_bg.jpg') center/cover no-repeat;
  transform: scale(1.03);
  filter: brightness(0.55) contrast(1.06);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.64) 55%, rgba(10, 8, 7, 0.82) 100%),
    linear-gradient(180deg, rgba(10, 8, 7, 0.45) 0%, rgba(12, 10, 9, 0.98) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  color: #fff6e0;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.75);
  margin-bottom: 18px;
}
.hero-desc {
  color: #ddd0ba;
  font-size: 1.04rem;
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 14px 22px; border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 700; cursor: pointer; transition: 0.18s ease;
}
.btn-main { font-size: 1.02rem; }
.btn-sub { font-size: 0.77rem; font-weight: 500; opacity: 0.86; margin-top: 2px; }
.btn-gold {
  background: linear-gradient(180deg, #cf9328 0%, #8e5d14 100%);
  border-color: var(--border-strong);
  color: #fffaf0;
  box-shadow: 0 8px 24px rgba(182, 122, 26, 0.32);
}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-dark {
  background: rgba(28, 22, 17, 0.92);
  border-color: var(--border-strong);
  color: var(--gold);
}
.btn-dark:hover { background: rgba(46, 36, 26, 0.96); transform: translateY(-1px); }
.btn-outline {
  flex-direction: row; align-items: center;
  background: transparent; border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; align-items: center; padding: 14px; font-size: 1rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.stat {
  background: rgba(18, 14, 11, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}
.stat strong { display: block; color: var(--gold); font-size: 1.12rem; }
.stat span { font-size: 0.82rem; color: var(--muted); }

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 34px; }
.section-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  color: #fff4da;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.card-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 8px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; color: #fff4da; }
.card p { font-size: 0.92rem; color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.shot {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #14100d;
}
.shot img { width: 100%; height: 195px; object-fit: cover; display: block; }
.shot figcaption { padding: 10px 14px; font-size: 0.86rem; color: var(--muted); }

.register-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.section-lead { color: #d9cbb3; margin: 14px 0 20px; }
.checklist { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 0.94rem; }
.checklist li::before { content: "✦ "; color: var(--gold); }

.register-card {
  background: rgba(20, 16, 13, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 26px;
  display: grid; gap: 14px;
}
.register-card h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 4px; }
.field { display: grid; gap: 6px; font-size: 0.88rem; color: #dfd2bc; }
.field input {
  background: #0f0c0a;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 13px;
  color: #fff6e2;
  font-size: 0.96rem;
}
.field input:focus { outline: none; border-color: var(--gold); }
.form-feedback { font-size: 0.9rem; min-height: 22px; }
.form-feedback.ok { color: var(--green); }
.form-feedback.err { color: var(--red); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.news-meta { font-size: 0.78rem; color: var(--gold-dim); font-weight: 700; margin-bottom: 6px; }
.news-card h3 { font-size: 1.02rem; color: #fff4da; margin-bottom: 8px; }
.news-card p { font-size: 0.9rem; color: var(--muted); }

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .register-grid { grid-template-columns: 1fr; }
}
