:root {
  --bg: #050407;
  --bg-2: #0b0710;
  --panel: rgba(12, 8, 16, 0.78);
  --panel-2: rgba(24, 13, 28, 0.72);
  --line: rgba(214, 50, 97, 0.34);
  --line-soft: rgba(184, 95, 255, 0.22);
  --text: #f6efff;
  --muted: #b5a7c7;
  --rose: #d92b65;
  --rose-2: #ff477a;
  --violet: #8a3cff;
  --violet-2: #d054ff;
  --metal: #c8c4cf;
  --gold: #dfb77a;
  --shadow: 0 28px 80px rgba(0, 0, 0, .55);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Trajan Pro", "Cinzel", "Times New Roman", Georgia, serif;
  background:
    radial-gradient(circle at 50% -20%, rgba(116, 36, 156, .35), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(220, 43, 101, .16), transparent 30rem),
    radial-gradient(circle at 12% 55%, rgba(96, 31, 134, .16), transparent 28rem),
    linear-gradient(180deg, #050407 0%, #08050d 48%, #030305 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 44, 120, .11), transparent 22rem),
    radial-gradient(circle at 80% 74%, rgba(154, 64, 255, .1), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(0,0,0,.74));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(5,4,7,.92), rgba(5,4,7,.72));
  border-bottom: 1px solid rgba(196, 67, 119, .22);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}

.brand__logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(178, 63, 255, .42));
}

.brand__text { display: grid; line-height: 1; }
.brand__title {
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 16px;
  text-shadow: 0 0 14px rgba(255, 78, 133, .5);
}
.brand__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(203, 65, 124, .45);
  background: rgba(12, 8, 16, .8);
  border-radius: 10px;
  color: white;
  font-size: 22px;
}

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

.nav-link {
  position: relative;
  padding: 14px 18px;
  color: #e8dff3;
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: .22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-2), var(--rose), transparent);
  transform: scaleX(0);
  transition: .22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-shadow: 0 0 12px rgba(211, 73, 255, .8);
  border-color: rgba(196, 67, 119, .25);
  background: rgba(145, 48, 118, .08);
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.hero {
  min-height: calc(100vh - 82px);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 90px 0 80px;
  background:
    linear-gradient(90deg, rgba(3, 2, 5, .9), rgba(3, 2, 5, .28) 36%, rgba(3, 2, 5, .30) 68%, rgba(3, 2, 5, .88)),
    linear-gradient(180deg, rgba(3,2,5,.2), rgba(3,2,5,.7) 72%, #050407 100%),
    url("../img/hero-blackrose-pw.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 70, 128, .22), transparent 24rem),
    radial-gradient(circle at 50% 54%, rgba(129, 50, 255, .2), transparent 24rem);
}

.hero__content {
  width: min(560px, 100%);
  margin-left: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e6b2ff;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  margin: 0 0 16px;
}

.kicker::before,
.kicker::after {
  content: "✦";
  color: var(--violet-2);
  text-shadow: 0 0 18px var(--violet-2);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .96;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(212, 50, 112, .45), 0 8px 28px rgba(0,0,0,.75);
}

.hero p {
  width: min(520px, 100%);
  color: #ded1ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  margin: 22px 0 28px;
}

.hero__actions,
.page-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-rose,
.btn-ghost {
  --btn-glow: rgba(255, 48, 120, .42);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 166px;
  padding: 0 28px;
  border: 1px solid rgba(214, 71, 133, .68);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 34%),
    linear-gradient(90deg, rgba(39, 17, 30, .96), rgba(84, 20, 49, .9), rgba(35, 14, 32, .96));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.1),
    inset 0 0 22px rgba(139, 35, 80, .4),
    0 0 0 1px rgba(104, 45, 132, .22),
    0 0 34px var(--btn-glow),
    0 14px 32px rgba(0,0,0,.42);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  transition: .22s ease;
}

.btn-rose::before,
.btn-rose::after,
.btn-ghost::before,
.btn-ghost::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.btn-rose::before,
.btn-ghost::before {
  inset: 5px 12px;
  border-top: 1px solid rgba(232, 179, 255, .28);
  border-bottom: 1px solid rgba(255, 82, 131, .28);
}

.btn-rose::after,
.btn-ghost::after {
  display: none;
}

.btn-rose:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 112, 170, .86);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.16),
    inset 0 0 30px rgba(194, 38, 103, .58),
    0 0 0 1px rgba(166, 69, 193, .36),
    0 0 48px rgba(234, 50, 134, .66),
    0 18px 42px rgba(0,0,0,.5);
}

.btn-ghost {
  min-width: auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent),
    rgba(10, 7, 14, .62);
  border-color: rgba(151, 89, 194, .42);
  color: #efe5ff;
  box-shadow: inset 0 0 22px rgba(118, 51, 151, .22), 0 14px 32px rgba(0,0,0,.36);
}

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 58px 0; }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.section-title p {
  margin: 12px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(620px, 100%);
  margin: 0 auto 28px;
  color: var(--violet-2);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(219, 67, 135, .55));
}
.divider::after { background: linear-gradient(90deg, rgba(219, 67, 135, .55), transparent); }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card,
.news-card,
.download-card,
.form-card,
.account-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 60, 117, .26);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 38%),
    radial-gradient(circle at 50% 0%, rgba(119, 48, 185, .22), transparent 22rem),
    rgba(12, 8, 16, .76);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04);
}

.card::before,
.news-card::before,
.download-card::before,
.form-card::before,
.account-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 75, 142, .24), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(151, 78, 255, .22), transparent) bottom / 100% 1px no-repeat;
}

.card { padding: 28px; min-height: 210px; }
.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(203, 78, 255, .42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 70, 255, .28), rgba(60, 20, 80, .16));
  color: #e8c7ff;
  font-size: 24px;
  box-shadow: 0 0 22px rgba(176, 64, 255, .25);
}
.card h3,
.news-card h3,
.download-card h3,
.account-card h3 {
  margin: 0 0 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card p,
.news-card p,
.download-card p,
.account-card p {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}

.server-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(220, 75, 133, .24);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.stat {
  padding: 26px 20px;
  background: rgba(12, 8, 16, .74);
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 28px;
  color: #fff;
  letter-spacing: .08em;
  text-shadow: 0 0 20px rgba(237, 58, 134, .48);
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.class-card {
  min-height: 230px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(196, 67, 119, .24);
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.82)),
    radial-gradient(circle at 50% 20%, rgba(171, 50, 255, .22), transparent 12rem),
    rgba(16, 10, 21, .82);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.class-card::before {
  content: attr(data-mark);
  position: absolute;
  right: 16px;
  top: 0;
  font-size: 112px;
  line-height: 1;
  color: rgba(255,255,255,.035);
}
.class-card h3 { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.class-race {
  display: inline-block;
  margin-bottom: 10px;
  color: #e7b8ff;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.class-card p { margin: 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; }

.news-card { padding: 26px; }
.news-meta {
  display: inline-flex;
  color: #e9b5ff;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    linear-gradient(90deg, rgba(5,4,7,.94), rgba(5,4,7,.56), rgba(5,4,7,.94)),
    linear-gradient(180deg, rgba(5,4,7,.24), #050407 100%),
    url("../img/hero-blackrose-pw.png") center 36% / cover no-repeat;
  border-bottom: 1px solid rgba(214, 64, 124, .23);
}
.page-hero p {
  max-width: 650px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.download-card { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.download-card__top {
  display: flex;
  align-items: start;
  gap: 16px;
}
.download-card__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224, 73, 139, .42);
  background: radial-gradient(circle, rgba(226, 55, 128, .22), rgba(126, 54, 255, .12));
  font-size: 25px;
}
.download-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}
.download-card li::before { content: "✦"; color: var(--violet-2); margin-right: 9px; }

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: stretch;
}
.form-card { padding: 30px; }
.form-card h2 { margin-top: 0; letter-spacing: .1em; text-transform: uppercase; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #e9d9f5;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .14em;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(164, 82, 203, .34);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 4, 8, .72);
  padding: 0 14px;
  outline: none;
  font: 15px Arial, sans-serif;
  box-shadow: inset 0 0 18px rgba(119, 42, 146, .16);
}
.textarea { padding: 14px; min-height: 110px; resize: vertical; }
.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(238, 80, 151, .72);
  box-shadow: inset 0 0 20px rgba(181, 43, 119, .2), 0 0 0 4px rgba(174, 67, 255, .11);
}
.form-help {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}
.checkline { display: flex; gap: 10px; align-items: start; color: var(--muted); font-family: Georgia, "Times New Roman", serif; }
.checkline input { margin-top: 5px; }
.alert {
  display: none;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(214, 74, 138, .42);
  background: rgba(144, 30, 78, .18);
  color: #ffd8e6;
  font-family: Arial, sans-serif;
}
.alert.show { display: block; }
.alert.success {
  border-color: rgba(130, 255, 186, .32);
  background: rgba(44, 142, 84, .14);
  color: #d8ffe8;
}

.panel-list { display: grid; gap: 14px; margin-top: 18px; }
.panel-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(151, 78, 255, .18);
  border-radius: 14px;
  background: rgba(0,0,0,.22);
}
.panel-item span { color: var(--muted); }
.panel-item strong { color: #fff; }

.account-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
}
.account-card { padding: 28px; }
.avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid rgba(211, 84, 255, .42);
  background: radial-gradient(circle, rgba(190, 62, 255, .28), rgba(255, 44, 112, .10));
  font-size: 42px;
  box-shadow: 0 0 40px rgba(168, 72, 255, .22);
}
.status-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #f2e7ff;
  background: rgba(145, 58, 201, .16);
  border: 1px solid rgba(188, 92, 255, .26);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(214, 71, 133, .22);
  background: rgba(3,2,5,.64);
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #e5d9f0; }

.small-note {
  margin-top: 20px;
  color: #937fa6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(9, 6, 12, .96);
    border: 1px solid rgba(214, 71, 133, .28);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .nav-link { text-align: center; }
  .grid--4, .grid--3, .grid--2, .server-strip, .form-shell, .account-grid { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; min-height: 720px; background-position: center top; }
  .hero__content { padding-top: 360px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand__text { display: none; }
  .brand { min-width: auto; }
  .brand__logo { width: 60px; height: 60px; }
  .nav-wrap { height: 74px; }
  .hero { min-height: 650px; padding: 60px 0; }
  .hero__content { padding-top: 330px; }
  .hero p, .page-hero p { font-size: 15px; }
  .section { padding: 64px 0; }
  .btn-rose, .btn-ghost { width: 100%; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
