:root {
  --bg0: #0b0d13;
  --bg1: #0f1422;
  --card: rgba(255, 255, 255, 0.08);
  --card2: rgba(255, 255, 255, 0.06);
  --text: #eef0ff;
  --muted: rgba(238, 240, 255, 0.72);
  --line: rgba(238, 240, 255, 0.14);
  --accent: #ffb703;
  --accent2: #6c5ce7;
  --ok: #38b000;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);

  --radius: 18px;
  --radius2: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(108, 92, 231, 0.35), transparent 60%),
    radial-gradient(900px 540px at 85% 25%, rgba(255, 183, 3, 0.22), transparent 55%),
    radial-gradient(700px 520px at 40% 95%, rgba(56, 176, 0, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.h2 { font-size: 28px; margin: 0 0 10px; letter-spacing: 0.2px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 19, 0.55);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand { display: inline-flex; gap: 10px; align-items: center; }
.brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent2), #00b4d8);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.18);
  color: #fff;
  font-weight: 800;
}
.brand__mark svg { display: block; }
.brand__text { font-weight: 700; letter-spacing: 0.2px; }
.topbar__nav { display: flex; gap: 14px; }
.topbar__link {
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(238, 240, 255, 0.9);
}
.topbar__link:hover { background: rgba(255, 255, 255, 0.06); }

.hero { padding: 54px 0 24px; }
.hero__inner {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}
.hero__title {
  font-size: 46px;
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}
.hero__lead { margin: 0 0 18px; color: rgba(238, 240, 255, 0.86); font-size: 18px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin: 14px 0 0; color: rgba(238, 240, 255, 0.62); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.2px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.btn:active { transform: translateY(0px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #ff5d8f);
  border: 0;
  color: #1b0c12;
  box-shadow: 0 18px 45px rgba(255, 93, 143, 0.20);
}
.btn--primary:hover { background: linear-gradient(135deg, #ffca3a, #ff5d8f); }
.btn--ghost { background: transparent; }
.btn--wide { padding-left: 18px; padding-right: 18px; }

.panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel__head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(900px 260px at 20% -30%, rgba(108, 92, 231, 0.42), transparent 55%),
    radial-gradient(900px 260px at 85% -30%, rgba(255, 183, 3, 0.26), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
.panel__title { font-weight: 800; letter-spacing: 0.2px; }
.panel__sub { color: rgba(238, 240, 255, 0.65); font-size: 13px; margin-top: 2px; }
.panel__body { padding: 12px; display: grid; gap: 12px; }
.widget iframe { border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.widget--secondary iframe { opacity: 0.98; }

.profiles { display: grid; gap: 10px; }
.profiles__label {
  font-size: 13px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  color: rgba(238, 240, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profiles__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.profiles__note { font-size: 13px; padding-top: 4px; }

.pcard {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  min-width: 0;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.pcard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 183, 3, 0.30);
  background: rgba(255, 255, 255, 0.045);
}
.pcard__media { position: relative; aspect-ratio: 3 / 4; background: rgba(0, 0, 0, 0.16); }
.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.pcard__img--empty {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(900px 240px at 10% 20%, rgba(108, 92, 231, 0.30), transparent 55%),
    radial-gradient(900px 240px at 90% 10%, rgba(255, 183, 3, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.pcard__body { padding: 10px 10px 11px; }
.pcard__name {
  font-weight: 780;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(238, 240, 255, 0.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard--skeleton { pointer-events: none; }
.pcard--skeleton .pcard__name,
.pcard--skeleton .pcard__meta {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  background-size: 200% 100%;
  animation: shimmer 1.25s linear infinite;
  color: transparent;
}
.pcard--skeleton .pcard__name { height: 14px; width: 70%; }
.pcard--skeleton .pcard__meta { height: 12px; width: 90%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.search { padding: 22px 0 10px; }
.search__card {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-form { padding: 16px; }
.lp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.lp-form__row:last-child { margin-bottom: 0; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; color: rgba(238, 240, 255, 0.72); }
.field__control {
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 13, 19, 0.55);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}
.field__control:focus { border-color: rgba(255, 183, 3, 0.55); box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.12); }
.lp-form__fineprint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.26);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.stories { padding: 22px 0; }
.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.story {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}
.story__title { margin: 0 0 8px; font-size: 16px; letter-spacing: 0.1px; }
.story__text { margin: 0; color: rgba(238, 240, 255, 0.78); }

.about { padding: 6px 0 28px; }
.about__card {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 28px;
  background: rgba(11, 13, 19, 0.35);
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.footer__brand { font-weight: 800; letter-spacing: 0.2px; }
.footer__muted { color: rgba(238, 240, 255, 0.6); font-size: 13px; }
.footer__right { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.footer__link { color: rgba(238, 240, 255, 0.82); padding: 6px 10px; border-radius: 12px; }
.footer__link:hover { background: rgba(255, 255, 255, 0.06); }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .stories__grid { grid-template-columns: 1fr; }
  .profiles__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .topbar__nav { display: none; }
  .hero__title { font-size: 34px; }
  .lp-form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
  .profiles__grid { grid-template-columns: repeat(2, 1fr); }
}
