:root {
  --bg: #1c1c1e;
  --surface: rgba(42, 42, 46, 0.88);
  --gold: #d4a017;
  --gold-light: #ffb300;
  --brass: #b8860b;
  --text: #f0e6d3;
  --muted: #b8a88a;
  --border: rgba(184, 134, 11, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../assets/leather_background.png") center / cover no-repeat;
  filter: brightness(0.72);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(28, 28, 30, 0.55) 50%,
    rgba(28, 28, 30, 0.92) 100%
  );
  pointer-events: none;
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.logo {
  width: min(420px, 88vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover {
  background: var(--gold-light);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: var(--gold);
}

main {
  position: relative;
  z-index: 1;
}

section {
  padding: 4rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

section h2 {
  color: var(--gold);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(4px);
}

.card h3 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.coming {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid var(--border);
}

.coming p {
  color: var(--muted);
  margin-top: 0.75rem;
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.35rem;
}

.lang-switch button {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
}

.lang-switch button.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.link-page {
  padding-top: 4rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
}

.link-page h2 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.link-page .muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.link-page .params {
  color: #666;
  font-size: 0.75rem;
  margin-top: 2rem;
  word-break: break-all;
}

[lang="uk"] .ru-only,
[lang="ru"] .uk-only {
  display: none;
}

@media (max-width: 600px) {
  .tagline {
    font-size: 1rem;
  }
}
