@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #1a1410;
  --card: #2a2218;
  --text: #e8dcc8;
  --muted: #a89b88;
  --accent: #c9a227;
  --accent-soft: #f5e6b8;
  --line: #3d3228;
  --max: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

header {
  background: rgba(26, 20, 16, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
}

.btn:hover {
  text-decoration: none;
  background: var(--line);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1410;
}

.btn.primary:hover {
  filter: brightness(1.08);
}

.btn-lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
}

.btn-nav {
  padding: 0.45rem 0.85rem;
}

.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.93rem;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn:hover {
  color: var(--text);
  background: var(--line);
}

.lang-arrow {
  font-size: 0.7rem;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 10rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}

.lang-dropdown[hidden] {
  display: none;
}

.lang-dropdown a {
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.lang-dropdown a:hover,
.lang-dropdown a[aria-current="page"] {
  background: var(--line);
  color: var(--text);
  text-decoration: none;
}

.hero-minimal {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.hero-logo {
  width: clamp(72px, 12vw, 120px);
  height: clamp(72px, 12vw, 120px);
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.kicker {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-minimal h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.hero-sub {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section {
  padding: 2rem 0 2.5rem;
}

.section h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}

.card h3 {
  font-family: "Source Serif 4", Georgia, serif;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 0.75rem;
}

.card-link {
  font-weight: 600;
  color: var(--accent);
}

.legal-intro h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.75rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.legal-body h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--accent-soft);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  font-size: 0.95rem;
}

.legal-body ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-body .meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.legal-doc-sub {
  font-weight: 700;
  color: var(--accent-soft);
}

.legal-back {
  margin: 0 0 2rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-play {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--accent) !important;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
}

.lang-pick a {
  color: var(--accent);
}

@media (max-width: 600px) {
  .hero-minimal {
    padding-top: 1.5rem;
  }
}
