:root {
  --bg: #15051d;
  --bg2: #1c1f60;
  --card: rgba(87, 21, 38, 0.52);
  --stroke: rgba(247, 249, 223, 0.12);
  --text: #f7f9df;
  --muted: rgba(247, 249, 223, 0.72);
  --accent: #fbe8a4;
  --accent2: #dd5c26;
  --accent3: #1758a0;
  --hot: #992123;
  --magenta: #571855;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1000px 600px at 18% 10%, rgba(221, 92, 38, 0.25), transparent 60%),
              radial-gradient(900px 700px at 80% 30%, rgba(23, 88, 160, 0.25), transparent 55%),
              radial-gradient(800px 520px at 50% 95%, rgba(87, 24, 85, 0.25), transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, #0c0213 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.6; }

.bg-glow {
  position: fixed;
  inset: -40vh -20vw -40vh -20vw;
  background: radial-gradient(circle at 30% 20%, rgba(251, 232, 164, 0.18), transparent 45%),
              radial-gradient(circle at 65% 35%, rgba(238, 155, 94, 0.16), transparent 46%),
              radial-gradient(circle at 55% 80%, rgba(153, 33, 35, 0.12), transparent 55%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(21, 5, 29, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(247, 249, 223, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 249, 223, 0.12);
  background: rgba(87, 24, 85, 0.15);
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.brand__name {
  font-weight: 750;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.nav a:hover {
  background: rgba(247, 249, 223, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(247, 249, 223, 0.14);
  background: rgba(87, 21, 38, 0.24);
  color: var(--text);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: rgba(247, 249, 223, 0.85);
  border-radius: 999px;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 44px 18px 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 249, 223, 0.14);
  background: rgba(23, 88, 160, 0.14);
  color: rgba(247, 249, 223, 0.88);
  width: fit-content;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 249, 223, 0.14);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.btn--primary {
  background: linear-gradient(135deg, rgba(251, 232, 164, 0.95), rgba(221, 92, 38, 0.95));
  border-color: rgba(251, 232, 164, 0.55);
  color: #1a061f;
}
.btn--ghost {
  background: rgba(87, 21, 38, 0.20);
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.stat {
  border-radius: var(--radius);
  border: 1px solid rgba(247, 249, 223, 0.10);
  background: rgba(87, 21, 38, 0.22);
  padding: 14px;
}
.stat__k { color: rgba(247, 249, 223, 0.72); font-size: .85rem; }
.stat__v { font-weight: 800; margin-top: 4px; }

.hero__art {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(247, 249, 223, 0.12);
  background: rgba(87, 21, 38, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}
.hero__shine {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 35%, rgba(251, 232, 164, 0.22), transparent 55%),
              radial-gradient(circle at 65% 55%, rgba(23, 88, 160, 0.18), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.section {
  padding: 28px 18px;
  max-width: 1120px;
  margin: 0 auto;
}
.section--alt {
  border-top: 1px solid rgba(247, 249, 223, 0.06);
  border-bottom: 1px solid rgba(247, 249, 223, 0.06);
  background: rgba(28, 31, 96, 0.08);
}
.section__head {
  max-width: 820px;
  margin-bottom: 18px;
}
.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
}
.section__head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid--links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(247, 249, 223, 0.10);
  background: rgba(87, 21, 38, 0.20);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.card h3 {
  margin: 0 0 10px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.embed {
  padding: 16px;
}
.embed__actions {
  display: flex;
  gap: 12px;
  padding-top: 14px;
}

.linkcard {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 249, 223, 0.10);
  background: rgba(87, 24, 85, 0.14);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.linkcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background: rgba(87, 24, 85, 0.20);
}
.linkcard__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(251, 232, 164, 0.12);
  border: 1px solid rgba(251, 232, 164, 0.18);
  font-size: 20px;
}
.linkcard__title { font-weight: 850; }
.linkcard__text { color: var(--muted); font-size: .95rem; }
.linkcard__go { margin-left: auto; color: rgba(247, 249, 223, 0.65); font-size: 18px; }

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(247, 249, 223, 0.88);
  font-weight: 650;
}
input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(247, 249, 223, 0.12);
  background: rgba(21, 5, 29, 0.35);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus {
  border-color: rgba(251, 232, 164, 0.45);
  box-shadow: 0 0 0 4px rgba(251, 232, 164, 0.10);
}
.hint {
  margin: 10px 0 0;
  color: rgba(247, 249, 223, 0.62);
  font-size: .92rem;
}

.pre {
  white-space: pre-wrap;
  background: rgba(21, 5, 29, 0.35);
  border: 1px dashed rgba(247, 249, 223, 0.16);
  padding: 12px;
  border-radius: 14px;
  color: rgba(247, 249, 223, 0.85);
}

.divider {
  height: 1px;
  background: rgba(247, 249, 223, 0.10);
  margin: 16px 0;
}

.footer {
  padding: 24px 18px 40px;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: rgba(247, 249, 223, 0.68);
}
.footer__inner a {
  color: rgba(247, 249, 223, 0.85);
}
.dot { opacity: 0.6; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__art {
    min-height: 360px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid--links {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    flex-direction: column;
    padding: 12px;
    background: rgba(21, 5, 29, 0.92);
    border: 1px solid rgba(247, 249, 223, 0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav a {
    width: 100%;
    text-align: center;
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav--open {
    display: flex;
  }
}
