@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: #7a6030;
  --dark: #0A0A0F;
  --dark-card: #14141e;
  --dark-border: #1e1e2e;
  --crimson: #8B1A2F;
  --crimson-glow: #c0263e;
  --text: #ddd5c0;
  --text-muted: #8a8070;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(139,26,47,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── LANG BAR ── */
.lang-bar {
  position: fixed;
  top: 1.2rem; right: 1.5rem;
  z-index: 100;
  display: flex; gap: 0.4rem;
}

.lang-btn {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  background: rgba(10,10,15,0.92);
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border-radius: 3px;
  transition: all 0.25s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lang-btn:hover {
  border-color: var(--gold-dim);
  color: var(--gold-light);
}

.lang-btn.active {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(139,26,47,0.12));
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 14px rgba(201,168,76,0.18);
}

.lang-flag { font-size: 0.95rem; }

/* ── HEADER ── */
header {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding: 4rem 2rem 2.5rem;
  border-bottom: 1px solid var(--dark-border);
}

header::after {
  content: '';
  position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.logo-wrap {
  display: flex; align-items: center; gap: 1.6rem;
  margin-bottom: 0.8rem;
}

/* Real logo image */
.logo-img {
  width: 80px; height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.35));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: 2.6rem; letter-spacing: 0.2em; line-height: 1;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dim) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.logo-game {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--crimson-glow); margin-top: 0.3rem;
}

.page-subtitle {
  font-family: 'Cinzel', serif; font-size: 0.82rem;
  letter-spacing: 0.28em; color: var(--text-muted);
  margin-top: 1.4rem; text-transform: uppercase;
}

/* ── MAIN ── */
main {
  position: relative; z-index: 5;
  max-width: 860px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* ── INTRO ── */
.intro-block {
  text-align: center; margin-bottom: 3.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 70%);
  border: 1px solid rgba(201,168,76,0.12); border-radius: 2px;
  position: relative;
  animation: fadeUp 0.5s ease both;
}

.intro-block::before, .intro-block::after {
  content: '◆'; position: absolute;
  color: var(--gold-dim); font-size: 0.55rem;
}

.intro-block::before { top: 0.8rem; left: 0.8rem; }
.intro-block::after { bottom: 0.8rem; right: 0.8rem; }
.intro-block p { font-size: 0.95rem; line-height: 1.9; color: var(--text-muted); }

/* ── SECTIONS ── */
.section {
  margin-bottom: 1.6rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border); border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: fadeUp 0.55s ease both;
}

.section:hover {
  border-color: rgba(201,168,76,0.22);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section:nth-child(1) { animation-delay: 0.08s; }
.section:nth-child(2) { animation-delay: 0.14s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.26s; }
.section:nth-child(5) { animation-delay: 0.32s; }
.section:nth-child(6) { animation-delay: 0.38s; }

.section-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 2rem;
  border-bottom: 1px solid var(--dark-border);
  background: linear-gradient(90deg, rgba(201,168,76,0.05) 0%, transparent 70%);
  cursor: pointer;
  user-select: none;
}

.section-num {
  width: 30px; height: 30px;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  color: var(--gold); flex-shrink: 0;
}

.section-icon { font-size: 1.05rem; opacity: 0.85; }

.section-title {
  font-family: 'Cinzel', serif; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold-light); text-transform: uppercase;
  flex: 1;
}

.section-chevron {
  color: var(--gold-dim);
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.section.open .section-chevron {
  transform: rotate(180deg);
}

.section-body {
  padding: 1.7rem 2rem;
  overflow: hidden;
  max-height: 600px;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.section-body.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.section-body p {
  font-size: 0.9rem; line-height: 1.95;
  color: var(--text); font-weight: 300;
}

.section-body a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  transition: color 0.2s;
}

.section-body a:hover { color: var(--gold-light); border-color: var(--gold); }

.highlight {
  margin-top: 1.1rem; padding: 0.9rem 1.2rem;
  background: rgba(139,26,47,0.08);
  border-left: 2px solid var(--crimson-glow);
  border-radius: 0 2px 2px 0;
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.75;
}

.highlight a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
}

/* ── ORNAMENT ── */
.ornament {
  text-align: center; margin: 3rem 0 1rem;
  color: var(--gold-dim); font-size: 0.65rem; letter-spacing: 0.6em;
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 5;
  border-top: 1px solid var(--dark-border);
  padding: 3rem 2rem; text-align: center;
}

footer::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.footer-logo {
  font-family: 'Cinzel', serif; font-size: 1rem; letter-spacing: 0.32em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dim));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.8rem;
}

.footer-meta {
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.08em; line-height: 2;
}

.footer-meta a { color: var(--gold-dim); text-decoration: none; }
.footer-meta a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .lang-bar {
    top: auto; bottom: 1.2rem; right: 50%; transform: translateX(50%);
    background: rgba(10,10,15,0.9); padding: 0.4rem;
    border-radius: 4px; border: 1px solid var(--dark-border);
  }
  .logo-name { font-size: 1.7rem; }
  .logo-img { width: 56px; height: 56px; }
  main { padding: 2.5rem 1rem 8rem; }
  .section-header { padding: 1rem 1.2rem; }
  .section-body { padding: 1.2rem 1.1rem; }
}
