@font-face {
  font-family: "Akarys Cinzel";
  src: url("Cinzel-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #020607;
  --ink-soft: #071014;
  --panel: rgba(4, 12, 15, 0.88);
  --panel-strong: rgba(3, 9, 12, 0.96);
  --line: rgba(126, 188, 178, 0.2);
  --line-strong: rgba(90, 238, 204, 0.48);
  --green: #28f2c3;
  --green-soft: #79ffe0;
  --purple: #ab51ff;
  --purple-soft: #d09bff;
  --gold: #c4a567;
  --text: #edf7f5;
  --muted: #8fa4a6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --shell: min(1240px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #020607;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #020607 url("akarys-web-hero-v1.png") center top / max(1680px, 100vw) auto no-repeat;
}

.site-header {
  position: relative;
  z-index: 30;
}

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

.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 8, 9, 0.04), rgba(2, 7, 11, 0.25) 42%, rgba(2, 4, 10, 0.08)),
    linear-gradient(180deg, transparent 26%, rgba(2, 6, 8, 0.65) 70%, #020607 100%);
}

.ambient__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 28% 18%, rgba(27, 238, 196, 0.12), transparent 28%),
    radial-gradient(circle at 78% 28%, rgba(154, 55, 255, 0.14), transparent 30%);
  animation: veil-breathe 8s ease-in-out infinite alternate;
}

.ambient__dragon-scales {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent url("akarys-web-hero-v1.png") center top / max(1680px, 100vw) auto no-repeat;
  filter: saturate(1.65) brightness(1.18);
  mix-blend-mode: screen;
  opacity: 0.08;
  -webkit-mask-image: radial-gradient(ellipse 30% 72% at 8% 43%, #000 0%, rgba(0, 0, 0, 0.88) 46%, transparent 82%);
  mask-image: radial-gradient(ellipse 30% 72% at 8% 43%, #000 0%, rgba(0, 0, 0, 0.88) 46%, transparent 82%);
  animation: dragon-scales-breathe 7.5s ease-in-out infinite;
}

.ambient__dragon-energy {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: max(1680px, 100vw);
  aspect-ratio: 1680 / 941;
  transform: translateX(-50%);
}

.ambient__dragon-eye {
  position: absolute;
  top: 33.05%;
  left: 24.25%;
  width: 1.65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(198, 255, 238, 0.92) 0 5%,
    rgba(44, 255, 202, 0.72) 11%,
    rgba(10, 227, 171, 0.34) 28%,
    rgba(0, 200, 146, 0.1) 46%,
    transparent 68%
  );
  filter: blur(0.35px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0.38;
  animation: dragon-eye-pulse 3.2s ease-in-out infinite;
}

.ambient__particles {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.ambient__particles i {
  position: absolute;
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: 0 0 7px currentColor, 0 0 16px currentColor;
  color: var(--green);
  opacity: 0;
  animation: particle-rise var(--duration, 9s) linear var(--delay, 0s) infinite;
}

.ambient__particles i:nth-child(3n) {
  color: var(--purple);
  background: var(--purple-soft);
}

.status-strip {
  border-bottom: 1px solid rgba(131, 223, 205, 0.12);
  background: rgba(1, 5, 7, 0.78);
  backdrop-filter: blur(10px);
}

.status-strip__inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aadaf;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.server-state {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #c7e3de;
}

.server-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green), 0 0 24px rgba(40, 242, 195, 0.6);
}

.status-strip__links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.status-strip__links span {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.15);
}

.status-strip__links a:hover {
  color: var(--green-soft);
}

.brand-row {
  height: 220px;
  display: grid;
  place-items: center;
}

.wordmark {
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.72));
}

.wordmark__logo {
  display: block;
  width: auto;
  max-width: min(720px, 92vw);
  height: 218px;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 11px rgba(65, 224, 211, 0.2));
}

.nav-wrap {
  position: relative;
  z-index: 20;
  border-block: 1px solid rgba(113, 204, 188, 0.22);
  background:
    linear-gradient(90deg, rgba(12, 40, 37, 0.78), rgba(3, 10, 13, 0.94) 42%, rgba(22, 9, 42, 0.82)),
    rgba(2, 7, 9, 0.9);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.nav-wrap::before,
.nav-wrap::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 25%;
  height: 1px;
}

.nav-wrap::before {
  left: 0;
  background: linear-gradient(90deg, transparent, var(--green));
}

.nav-wrap::after {
  right: 0;
  background: linear-gradient(90deg, var(--purple), transparent);
}

.main-nav {
  min-height: 72px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.main-nav a {
  position: relative;
  min-width: 126px;
  padding: 0 20px;
  display: grid;
  place-items: center;
  color: #aebdbc;
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: -1px;
  height: 2px;
  opacity: 0;
  transform: scaleX(0.4);
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #f5fffd;
  background: rgba(34, 230, 194, 0.045);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a:nth-child(n+5)::after {
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}

.main-nav__download {
  color: #fff !important;
  background: linear-gradient(100deg, rgba(17, 105, 88, 0.54), rgba(81, 37, 130, 0.58)) !important;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero__inner {
  position: relative;
  min-height: 430px;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__copy {
  width: min(600px, 54vw);
  margin-left: clamp(80px, 11vw, 150px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 28px;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.hero h1 {
  margin: 14px 0 17px;
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: clamp(45px, 5.3vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 7px 28px rgba(0, 0, 0, 0.85);
}

.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #baffef, #28dab9 35%, #b56aff 82%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(64, 217, 192, 0.2));
}

.hero p {
  max-width: 520px;
  margin: 0 0 28px;
  color: #b3c4c3;
  font-size: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  color: #eafffa;
  background: rgba(8, 18, 21, 0.8);
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.button--primary {
  border-color: rgba(84, 255, 219, 0.55);
  background:
    linear-gradient(110deg, rgba(20, 157, 130, 0.84), rgba(44, 115, 113, 0.74) 48%, rgba(116, 42, 184, 0.78)),
    #0a2825;
  box-shadow: inset 0 0 22px rgba(41, 247, 204, 0.1), 0 0 25px rgba(31, 224, 186, 0.12);
}

.button--ghost {
  border-color: rgba(201, 173, 255, 0.28);
  background: rgba(5, 11, 15, 0.78);
}

.button--full {
  width: 100%;
}

.hero__signal {
  align-self: flex-end;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #b6c5c5;
}

.hero__signal small,
.panel-title small,
.quick-card small,
.footer-brand small {
  display: block;
  color: #75898b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__signal strong {
  display: block;
  color: #d8e8e5;
  font-size: 14px;
  font-weight: 400;
}

.signal-core {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(60, 242, 204, 0.36);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(40, 242, 195, 0.15);
}

.signal-core span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: signal 1.8s ease-in-out infinite;
}

.hero__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 242, 195, 0.4), rgba(196, 165, 103, 0.36), rgba(171, 81, 255, 0.42), transparent);
}

.content-section {
  position: relative;
  padding: 70px 0 85px;
  background:
    radial-gradient(circle at 20% 0, rgba(24, 109, 94, 0.1), transparent 27%),
    radial-gradient(circle at 85% 20%, rgba(86, 30, 143, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(2, 7, 9, 0.82), rgba(2, 6, 8, 0.98));
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.section-heading {
  margin: 0 0 23px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2,
.realm-panel h2 {
  margin: 3px 0 0;
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-heading > a {
  color: #94aaa8;
  font-size: 14px;
}

.section-heading > a span,
.text-link span,
.ranking-more span {
  color: var(--green);
}

.panel-cut {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(8, 20, 22, 0.96), rgba(3, 8, 11, 0.96)) padding-box,
    linear-gradient(120deg, rgba(77, 231, 201, 0.34), rgba(196, 165, 103, 0.16) 50%, rgba(156, 65, 241, 0.34)) border-box;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 270px;
  display: grid;
  grid-template-columns: 34% 1fr;
  overflow: hidden;
}

.feature-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 50%, rgba(51, 255, 212, 0.23), transparent 34%),
    linear-gradient(145deg, rgba(12, 70, 63, 0.85), rgba(5, 17, 20, 0.95) 60%, rgba(78, 26, 121, 0.7));
}

.feature-card__visual::before,
.feature-card__visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(70, 242, 208, 0.15);
  transform: rotate(45deg);
}

.feature-card__visual::after {
  width: 145px;
  height: 145px;
  border-color: rgba(180, 85, 255, 0.2);
  animation: rune-turn 18s linear infinite;
}

.feature-card__rune {
  position: relative;
  z-index: 1;
  font-family: "Akarys Cinzel", serif;
  font-size: 90px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(170, 255, 236, 0.46);
  text-shadow: 0 0 35px rgba(40, 242, 195, 0.35);
}

.feature-card__body {
  padding: 38px 40px;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #718587;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta span {
  color: var(--green-soft);
}

.feature-card h3,
.news-card h3 {
  margin: 18px 0 10px;
  font-family: "Akarys Cinzel", Georgia, serif;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 25px;
}

.feature-card p,
.news-card p,
.realm-panel p {
  color: #94a6a6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #d8e7e5;
  font-size: 14px;
}

.text-link:hover {
  color: var(--green-soft);
}

.news-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.news-card {
  position: relative;
  min-height: 235px;
  padding: 28px;
  overflow: hidden;
}

.news-card__accent {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -65px;
  top: -80px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.16;
}

.news-card__accent--green {
  background: var(--green);
}

.news-card__accent--purple {
  background: var(--purple);
}

.news-card h3 {
  font-size: 19px;
}

.news-card p {
  min-height: 50px;
  margin-bottom: 12px;
  font-size: 15px;
}

.realm-panel {
  position: relative;
  min-height: 150px;
  margin-top: 18px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
}

.realm-panel::after {
  content: "2";
  position: absolute;
  right: 210px;
  top: -54px;
  color: rgba(145, 74, 217, 0.08);
  font-family: "Akarys Cinzel", serif;
  font-size: 190px;
  line-height: 1;
}

.realm-panel h2 {
  font-size: 23px;
}

.realm-panel p {
  margin: 5px 0 0;
}

.realm-panel > * {
  position: relative;
  z-index: 1;
}

.sidebar {
  display: grid;
  gap: 18px;
}

.side-panel {
  padding: 27px;
}

.panel-title {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.panel-title--compact {
  margin-bottom: 18px;
}

.panel-title__icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(50, 244, 204, 0.35);
  background: rgba(30, 140, 119, 0.09);
  color: var(--green-soft);
  transform: rotate(45deg);
}

.panel-title__icon--purple {
  border-color: rgba(176, 84, 255, 0.38);
  background: rgba(113, 40, 174, 0.1);
  color: var(--purple-soft);
}

.panel-title__icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transform: rotate(-45deg);
}

.panel-title h2,
.ranking-head h2 {
  margin: 2px 0 0;
  font-family: "Akarys Cinzel", serif;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label span {
  display: block;
  margin-bottom: 6px;
  color: #75898b;
  font-size: 12px;
}

.login-form input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(118, 175, 166, 0.2);
  outline: 0;
  color: #e5f2ef;
  background: rgba(0, 5, 7, 0.78);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.login-form input:focus {
  border-color: rgba(49, 232, 196, 0.56);
  box-shadow: 0 0 0 3px rgba(40, 242, 195, 0.06), inset 0 0 16px rgba(40, 242, 195, 0.035);
}

.login-form input::placeholder {
  color: #4f6062;
}

.login-form__links {
  display: flex;
  justify-content: space-between;
  color: #839797;
  font-size: 12px;
}

.login-form__links a:hover {
  color: var(--green-soft);
}

.server-list {
  display: grid;
}

.server-list > div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #9aacab;
  font-size: 13px;
}

.server-list span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.server-list strong {
  color: #d9e7e5;
  font-weight: 400;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot--green {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.dot--purple {
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}

.ranking-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.ranking-tabs {
  display: flex;
  gap: 3px;
}

.ranking-tabs button {
  padding: 4px 7px;
  border: 0;
  color: #687b7d;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.ranking-tabs button.is-active {
  color: var(--green-soft);
}

.ranking-list {
  margin: 22px 0 15px;
  padding: 0;
  list-style: none;
}

.ranking-list li {
  min-height: 60px;
  display: grid;
  grid-template-columns: 32px 1fr 28px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.ranking-list li > b {
  color: var(--gold);
  font-family: "Akarys Cinzel", serif;
}

.ranking-list li span strong,
.ranking-list li span small {
  display: block;
}

.ranking-list li span strong {
  color: #dce9e7;
  font-size: 14px;
}

.ranking-list li span small {
  color: #667a7c;
  font-size: 11px;
}

.ranking-list li em {
  color: rgba(141, 84, 194, 0.6);
  font-family: "Akarys Cinzel", serif;
  font-size: 14px;
  font-style: normal;
}

.ranking-more {
  display: flex;
  justify-content: space-between;
  color: #8ca09f;
  font-size: 12px;
}

.quick-section {
  padding: 0 0 80px;
  background: #020607;
}

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

.quick-card {
  min-height: 98px;
  padding: 20px 23px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 15px;
  align-items: center;
  transition: transform 160ms ease, filter 160ms ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.quick-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(54, 237, 201, 0.32);
  color: var(--green-soft);
  background: rgba(29, 160, 132, 0.08);
}

.quick-card__icon--purple {
  border-color: rgba(172, 80, 255, 0.36);
  color: var(--purple-soft);
  background: rgba(102, 38, 158, 0.1);
}

.quick-card__icon--mixed {
  border-color: rgba(99, 183, 209, 0.36);
  color: #a9f9e9;
  background: linear-gradient(135deg, rgba(24, 123, 105, 0.12), rgba(106, 39, 159, 0.12));
}

.quick-card__icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-card strong {
  display: block;
  color: #dbe9e6;
  font-family: "Akarys Cinzel", serif;
  font-size: 14px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.quick-card > b {
  color: #778b8c;
  font-size: 18px;
  font-weight: 400;
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(103, 198, 183, 0.16);
  background:
    linear-gradient(90deg, rgba(12, 45, 39, 0.16), transparent 40%, rgba(62, 25, 94, 0.16)),
    #010405;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--purple), transparent);
  opacity: 0.55;
}

.footer-grid {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: "Akarys Cinzel", serif;
  font-size: 18px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: #708386;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--green-soft);
}

.footer-vote-backlink {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.footer-vote-backlink img {
  display: block;
  width: min(220px, 100%);
  height: auto;
}

.footer-grid > p {
  grid-column: 1 / -1;
  margin: -24px 0 0;
  color: #4f6062;
  font-size: 11px;
}

/* Pagini interioare */
.brand-row--inner {
  height: 168px;
}

.brand-row--inner .wordmark__logo {
  width: min(650px, 72vw);
  max-height: 158px;
}

.inner-main {
  min-height: 800px;
}

.inner-hero {
  position: relative;
  min-height: 292px;
  border-bottom: 1px solid rgba(98, 255, 221, 0.15);
  background:
    linear-gradient(90deg, rgba(1, 8, 9, 0.14), rgba(4, 6, 13, 0.72) 47%, rgba(3, 4, 10, 0.16)),
    linear-gradient(180deg, rgba(3, 8, 10, 0.05), rgba(2, 6, 8, 0.74));
}

.inner-hero__content {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 38px 58px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: #68797c;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: #8ca3a5;
}

.breadcrumbs a:hover,
.breadcrumbs strong {
  color: var(--green-soft);
}

.inner-hero h1 {
  margin: 10px 0 8px;
  color: #f3f7f4;
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-shadow: 0 0 28px rgba(43, 231, 192, 0.13);
}

.inner-hero p {
  margin: 0;
  color: #a3b2b4;
  font-size: 16px;
}

.inner-content {
  padding: 72px 0 104px;
  background: linear-gradient(180deg, rgba(2, 7, 9, 0.78), rgba(2, 6, 8, 0.94));
}

.inner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.form-panel {
  padding: 34px;
  background: linear-gradient(145deg, rgba(7, 19, 20, 0.94), rgba(5, 10, 15, 0.96));
  border: 1px solid rgba(71, 238, 202, 0.19);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.02);
}

.inner-panel-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(128, 220, 203, 0.1);
}

.inner-panel-heading small,
.inner-panel-heading h2 {
  display: block;
}

.inner-panel-heading small {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.inner-panel-heading h2 {
  margin: 0;
  color: #edf5f2;
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: 24px;
}

.akarys-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  color: #dbe8e5;
  font-size: 14px;
  font-weight: 700;
}

.field > small {
  color: #657779;
  font-size: 12px;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(109, 199, 183, 0.17);
  border-radius: 2px;
  outline: none;
  color: #edf7f4;
  background: rgba(1, 7, 10, 0.76);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.28);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input::placeholder {
  color: #536467;
}

.field input:focus {
  border-color: rgba(53, 244, 201, 0.62);
  background: rgba(3, 14, 16, 0.92);
  box-shadow: 0 0 0 3px rgba(32, 224, 182, 0.08), inset 0 0 20px rgba(20, 225, 180, 0.025);
}

.password-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 16px 18px;
  border: 1px solid rgba(139, 91, 241, 0.13);
  background: rgba(89, 43, 155, 0.055);
}

.password-rules span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #809092;
  font-size: 12px;
}

.password-rules i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(160, 79, 255, 0.58);
}

.captcha-preview {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(111, 190, 177, 0.22);
  color: #99aaa9;
  background: rgba(1, 7, 9, 0.48);
}

.captcha-preview__check {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(64, 234, 196, 0.4);
  box-shadow: inset 0 0 12px rgba(25, 209, 169, 0.06);
}

.captcha-preview strong,
.captcha-preview small {
  display: block;
}

.captcha-preview strong {
  color: #c8d6d3;
  font-size: 13px;
}

.captcha-preview small {
  margin-top: 3px;
  color: #627375;
  font-size: 11px;
}

.agreement {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #89999b;
  font-size: 13px;
}

.agreement input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.agreement a {
  color: var(--green-soft);
}

.inner-sidebar {
  display: grid;
  gap: 22px;
}

.account-steps {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.account-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(113, 200, 184, 0.09);
}

.account-steps b {
  color: rgba(101, 255, 220, 0.48);
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: 17px;
}

.account-steps strong,
.account-steps small {
  display: block;
}

.account-steps strong {
  color: #d5e1de;
  font-size: 13px;
}

.account-steps small {
  margin-top: 3px;
  color: #667779;
  font-size: 11px;
  line-height: 1.45;
}

.side-callout {
  overflow: hidden;
  position: relative;
  padding: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(151, 61, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(12, 17, 25, 0.96), rgba(5, 10, 14, 0.96));
}

.side-callout h2 {
  margin: 8px 0 10px;
  color: #edf4f2;
  font-family: "Akarys Cinzel", Georgia, serif;
  font-size: 24px;
}

.side-callout p {
  margin: 0 0 20px;
  color: #819092;
  font-size: 13px;
  line-height: 1.65;
}

@keyframes veil-breathe {
  to { opacity: 0.62; }
}

@keyframes particle-rise {
  0% { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.6); }
  16% { opacity: var(--peak-opacity, 0.7); }
  72% { opacity: calc(var(--peak-opacity, 0.7) * 0.36); }
  100% { opacity: 0; transform: translate3d(var(--drift, 20px), -130px, 0) scale(1.2); }
}

@keyframes dragon-scales-breathe {
  0%, 100% { opacity: 0.065; }
  50% { opacity: 0.2; }
}

@keyframes dragon-eye-pulse {
  0%, 100% { opacity: 0.32; transform: translate(-50%, -50%) scale(0.72); }
  50% { opacity: 0.82; transform: translate(-50%, -50%) scale(1); }
}

@keyframes signal {
  50% { transform: scale(0.7); opacity: 0.62; }
}

@keyframes rune-turn {
  to { transform: rotate(405deg); }
}

@media (max-width: 1140px) {
  .main-nav a {
    min-width: 0;
    padding-inline: 16px;
  }

  .hero__copy {
    margin-left: 70px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .brand-row {
    height: 178px;
  }

  .wordmark__logo {
    height: 176px;
    max-width: 94vw;
  }

  .nav-shell {
    position: relative;
  }

  .nav-toggle {
    width: 100%;
    min-height: 58px;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #d7e9e5;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 1px;
    background: var(--green);
  }

  .nav-toggle b {
    margin-left: 8px;
    font-family: "Akarys Cinzel", serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .main-nav {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    min-height: 0;
    padding: 8px;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(76, 217, 190, 0.24);
    background: rgb(2, 9, 12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 48px;
    justify-content: start;
  }

  .main-nav a::after {
    left: 0;
    right: auto;
    top: 25%;
    bottom: 25%;
    width: 2px;
    height: auto;
  }

  .hero {
    min-height: 530px;
  }

  .hero__inner {
    min-height: 470px;
    padding: 90px 0 45px;
    align-items: flex-end;
  }

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

  .hero__signal {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .inner-grid {
    grid-template-columns: 1fr;
  }

  .inner-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar .side-panel:last-child {
    grid-column: 1 / -1;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .status-strip__links a:first-child,
  .status-strip__links span {
    display: none;
  }

  .brand-row {
    height: 130px;
  }

  .brand-row--inner {
    height: 118px;
  }

  .wordmark__logo {
    width: 96vw;
    max-width: 96vw;
    height: auto;
    max-height: 128px;
  }

  .ambient {
    background-position: 34% top;
    background-size: auto 760px;
  }

  .ambient__dragon-scales,
  .ambient__dragon-energy {
    display: none;
  }

  .hero {
    min-height: 500px;
  }

  .inner-hero,
  .inner-hero__content {
    min-height: 250px;
  }

  .inner-hero__content {
    padding-block: 26px 48px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .inner-content {
    padding: 48px 0 72px;
  }

  .form-panel {
    padding: 24px 20px;
  }

  .form-row,
  .password-rules,
  .inner-sidebar {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: 445px;
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .content-section {
    padding-top: 55px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading > a {
    display: none;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card__visual {
    min-height: 150px;
  }

  .feature-card__body {
    padding: 28px 24px;
  }

  .news-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar .side-panel:last-child {
    grid-column: auto;
  }

  .realm-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .realm-panel .button {
    width: 100%;
  }

  .footer-grid {
    padding-block: 30px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-grid > p {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Local news editor: replaces the retired CKEditor 4 dependency. */
.akarys-editor {
  overflow: hidden;
  border: 1px solid rgba(84, 231, 195, 0.26);
  border-radius: 12px;
  background: rgba(3, 10, 13, 0.88);
  box-shadow: inset 0 0 26px rgba(25, 214, 176, 0.04);
}

.akarys-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px;
  border-bottom: 1px solid rgba(130, 93, 255, 0.2);
  background: linear-gradient(90deg, rgba(19, 185, 157, 0.1), rgba(105, 62, 211, 0.1));
}

.akarys-editor__button {
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(139, 116, 219, 0.25);
  border-radius: 7px;
  color: #dfe9e8;
  background: rgba(7, 15, 20, 0.92);
  font: 700 12px/1.2 Arial, sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.akarys-editor__button:hover,
.akarys-editor__button:focus-visible {
  border-color: rgba(64, 230, 193, 0.68);
  color: #80f5db;
  background: rgba(20, 46, 49, 0.92);
  outline: none;
}

.akarys-editor__content {
  min-height: 220px;
  padding: 16px;
  color: #e7efee;
  font: 400 15px/1.65 Arial, sans-serif;
  overflow-wrap: anywhere;
  outline: none;
}

.akarys-editor__content:focus {
  box-shadow: inset 0 0 0 1px rgba(62, 226, 192, 0.26);
}

.akarys-editor__source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
