:root {
  --bg: #09020f;
  --bg-soft: #160720;
  --panel: rgba(29, 10, 43, 0.78);
  --panel-border: rgba(241, 197, 91, 0.2);
  --text: #f8f2ff;
  --muted: #c8bbd2;
  --gold: #f1c55b;
  --gold-dark: #ad7723;
  --purple: #9f4cff;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 15%, rgba(111, 35, 173, .28), transparent 32rem),
    radial-gradient(circle at 15% 40%, rgba(82, 21, 115, .2), transparent 28rem),
    var(--bg);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle at 15% 20%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 30%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 45% 75%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 85%, #fff 0 1px, transparent 1.5px);
  background-size: 240px 240px, 310px 310px, 280px 280px, 360px 360px;
}

a { color: inherit; }

.site-header {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 14px;
  z-index: 50;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(9, 2, 15, .72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a:hover { color: var(--gold); }

.language-switcher {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

.lang-btn {
  border: 0;
  color: var(--muted);
  background: transparent;
  padding: 7px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  color: #1a0b00;
  background: linear-gradient(135deg, #ffe79d, var(--gold));
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 70px;
  padding: 90px 0 70px;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .78rem;
}

h1, h2, h3 {
  font-family: "Cinzel", serif;
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.3rem);
  margin: 20px 0 24px;
  max-width: 850px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  margin: 16px 0 20px;
}

.hero p,
.section-heading + p,
.about p,
.support p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-content > p {
  max-width: 650px;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-btn {
  color: #170a00;
  background: linear-gradient(135deg, #fff0b0, var(--gold));
  box-shadow: 0 16px 40px rgba(241,197,91,.18);
}

.secondary-btn {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}

.primary-btn:hover,
.secondary-btn:hover { transform: translateY(-2px); }

.primary-btn svg {
  width: 23px;
  fill: currentColor;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 430px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32%;
  position: relative;
  z-index: 2;
  box-shadow: 0 35px 90px rgba(0,0,0,.55);
}

.glow-ring {
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,76,255,.38), rgba(241,197,91,.08) 45%, transparent 70%);
  filter: blur(12px);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  50% { transform: scale(1.08); opacity: .82; }
}

.section { padding: 105px 0; }

.section-heading {
  max-width: 760px;
  margin-bottom: 45px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(43,15,62,.78), rgba(19,6,28,.78));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(241,197,91,.1);
  border: 1px solid rgba(241,197,91,.18);
  font-size: 1.35rem;
  margin-bottom: 28px;
}

.feature-card h3 { font-size: 1.45rem; }

.feature-card p {
  color: var(--muted);
  margin: 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.support-panel {
  padding: 55px;
  border: 1px solid var(--panel-border);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(75,24,104,.6), rgba(20,6,30,.9)),
    var(--panel);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-links a {
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.support-links a:hover { border-color: var(--gold); }

footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 35px 0 55px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
}

footer strong {
  color: var(--text);
  display: block;
  font-family: "Cinzel", serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a { text-decoration: none; }

.legal-page {
  width: min(calc(100% - 32px), 900px);
  margin: 70px auto;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: rgba(20,6,30,.85);
}

.legal-card h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-card h2 { font-size: 1.5rem; margin-top: 38px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--gold); }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--gold); text-decoration: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; text-align: center; padding-top: 75px; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(72vw, 350px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 600px) {
  .site-header { padding: 10px 12px; }
  .brand span { display: none; }
  .hero { padding-top: 55px; gap: 44px; }
  h1 { font-size: 2.65rem; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 75px 0; }
  .support-panel { padding: 30px 22px; }
  footer { flex-direction: column; }
}
