@font-face {
  font-family: "Luckiest Guy";
  src: url("/assets/luckiest-guy.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #050914;
  --ink-soft: #091223;
  --panel: #0c172a;
  --panel-2: #101d33;
  --line: rgba(133, 195, 255, 0.16);
  --line-strong: rgba(78, 207, 255, 0.4);
  --text: #f4f8ff;
  --muted: #95a7c3;
  --cyan: #44d8ff;
  --blue: #3189ff;
  --violet: #9b5cff;
  --gold: #ffc34a;
  --orange: #ff7a25;
  --green: #53f3a0;
  --max: 1240px;
  --radius: 24px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 4%, rgba(45, 122, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 12% 40%, rgba(143, 64, 255, 0.08), transparent 34rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--gold), var(--orange));
}

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

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

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  color: #07101f;
  background: var(--cyan);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.1;
}

.ambient-one {
  top: 18vh;
  right: -20rem;
  background: var(--cyan);
}

.ambient-two {
  bottom: 8vh;
  left: -24rem;
  background: var(--violet);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 3px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 18px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  border: 1px solid rgba(149, 184, 235, 0.16);
  border-radius: 20px;
  background: rgba(5, 11, 23, 0.7);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(130%);
}

.site-header.scrolled {
  border-color: rgba(68, 216, 255, 0.24);
  background: rgba(5, 10, 21, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
}

.brand img {
  width: 49px;
  height: 49px;
  border: 1px solid rgba(88, 220, 255, 0.25);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(68, 216, 255, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 1.03rem;
  letter-spacing: -0.03em;
}

.brand-copy em {
  color: var(--cyan);
  font-style: normal;
}

.brand-copy small {
  margin-top: 5px;
  color: #7e91af;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

.main-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  color: #9dabc0;
  font-size: 0.85rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease;
  border-radius: 12px;
}

.main-nav > a:not(.network-link)::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  content: "";
  transition: transform 180ms ease;
  transform: scaleX(0);
  border-radius: 999px;
  background: var(--cyan);
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--text);
  background: rgba(90, 155, 230, 0.08);
}

.main-nav > a.active::after {
  transform: scaleX(1);
}

.main-nav .network-link {
  gap: 8px;
  margin-left: 6px;
  padding: 0 17px;
  color: #06121e;
  background: linear-gradient(105deg, var(--cyan), #6fb4ff);
  box-shadow: 0 8px 24px rgba(51, 166, 255, 0.18);
}

.network-link svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  transition: transform 160ms ease, opacity 160ms ease;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  min-height: 900px;
  padding: 150px max(30px, calc((100vw - var(--max)) / 2)) 94px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -8%;
  right: -8%;
  width: 66%;
  height: 90%;
  content: "";
  background: radial-gradient(ellipse, rgba(41, 133, 255, 0.22), transparent 66%);
  filter: blur(24px);
}

.hero-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(126, 183, 245, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 183, 245, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 5%, transparent 92%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.eyebrow span {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.hero h1.hero-title-image {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(100%, 540px);
  aspect-ratio: 1.25;
  margin: 18px 0 34px;
  padding: 0;
  border: 1px solid rgba(99, 203, 255, 0.22);
  border-radius: 30px 8px 30px 8px;
  background: #081426;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 38px rgba(46, 164, 255, 0.09);
  transform: none;
}

.hero h1.hero-title-image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.38), transparent 11%, transparent 89%, rgba(5, 12, 24, 0.34)),
    linear-gradient(to bottom, rgba(5, 12, 24, 0.18), transparent 14%, transparent 84%, rgba(5, 12, 24, 0.42));
  box-shadow: inset 0 0 46px rgba(4, 10, 20, 0.2);
}

.hero-title-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.025);
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #b5c3d8;
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.78;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  border-radius: 14px;
}

.primary-action {
  gap: 12px;
  padding: 8px 20px 8px 10px;
  text-align: left;
  color: #05111c;
  border: 0;
  background: linear-gradient(105deg, #4de0fa, #3996ff);
  box-shadow: 0 16px 40px rgba(37, 161, 255, 0.22);
}

.action-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: rgba(4, 22, 40, 0.12);
}

.action-icon svg {
  width: 21px;
  height: 21px;
}

.primary-action > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.primary-action small {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-action strong {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.secondary-action {
  gap: 10px;
  padding: 0 22px;
  color: #d7e4f5;
  border: 1px solid rgba(96, 203, 255, 0.38);
  background: rgba(8, 19, 36, 0.68);
}

.secondary-action svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.secondary-action,
.curse-button,
.community-inner > a {
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-3px);
}

.primary-action:hover {
  box-shadow: 0 20px 54px rgba(37, 161, 255, 0.34);
}

.secondary-action:hover {
  border-color: var(--cyan);
}

.server-facts {
  display: flex;
  gap: 0;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.server-facts li {
  position: relative;
  display: grid;
  min-width: 132px;
  padding: 0 24px;
  line-height: 1.35;
}

.server-facts li:first-child {
  padding-left: 16px;
}

.server-facts li + li {
  border-left: 1px solid var(--line);
}

.server-facts strong {
  color: #dce9f8;
  font-size: 0.85rem;
}

.server-facts small {
  margin-top: 2px;
  color: #70819c;
  font-size: 0.7rem;
}

.live-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 730px;
  justify-self: end;
}

.visual-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.02;
  border: 1px solid rgba(92, 205, 255, 0.3);
  border-radius: 36px 8px 36px 8px;
  background: #0a1527;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48), 0 0 80px rgba(45, 146, 255, 0.1);
}

.visual-frame::before,
.visual-frame::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.visual-frame::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 9, 20, 0.42), transparent 32%), linear-gradient(to top, rgba(4, 8, 18, 0.45), transparent 40%);
}

.visual-frame::after {
  top: 19px;
  right: 19px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  opacity: 0.7;
}

.visual-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
}

.image-glow {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: -20%;
  width: 58%;
  height: 34%;
  border-radius: 50%;
  background: rgba(61, 206, 255, 0.34);
  filter: blur(60px);
}

.visual-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 145px;
  padding: 10px 14px;
  border: 1px solid rgba(164, 207, 255, 0.28);
  border-radius: 12px;
  background: rgba(4, 11, 24, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.visual-badge i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.visual-badge span {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.visual-badge small {
  margin-bottom: 3px;
  color: #7f91ad;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.badge-tech {
  right: 5%;
  bottom: 8%;
  color: var(--cyan);
}

.badge-magic {
  bottom: 23%;
  left: 5%;
  color: #b778ff;
}

.scroll-cue {
  position: absolute;
  bottom: 33px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #71839f;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  animation: bob 1.8s ease-in-out infinite;
}

.world-strip {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(68, 216, 255, 0.24);
  border-bottom: 1px solid rgba(68, 216, 255, 0.24);
  background: linear-gradient(90deg, rgba(10, 28, 50, 0.95), rgba(18, 16, 47, 0.95), rgba(10, 28, 50, 0.95));
}

.world-strip div {
  min-width: max-content;
  color: #8095b3;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  word-spacing: 1.2em;
}

.world-strip b {
  color: var(--cyan);
  font-size: 0.6rem;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding: 125px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
}

.section h2,
.journey-content h2,
.community-inner h2 {
  margin: 13px 0 0;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section h2 em,
.journey-content h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), #7c8cff, #bf65ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.section-heading > p,
.connect-copy > p,
.shop-panel p,
.community-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding: 32px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 52%),
    rgba(9, 20, 38, 0.78);
}

.feature-card::before {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  content: "";
  transition: opacity 220ms ease;
  border-radius: 50%;
  opacity: 0.12;
  background: currentColor;
  filter: blur(80px);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: currentColor;
}

.feature-tech { color: var(--cyan); }
.feature-magic { color: #b376ff; }
.feature-adventure { color: var(--gold); }

.feature-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(204, 226, 255, 0.25);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.feature-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 58px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.025);
}

.feature-icon svg {
  width: 29px;
  height: 29px;
}

.feature-label {
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.feature-card h3 {
  margin: 10px 0 14px;
  color: var(--text);
  font-size: 1.62rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: #8fa1ba;
  font-size: 0.95rem;
  line-height: 1.75;
}

.journey-section {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  isolation: isolate;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #07101d;
}

.journey-art,
.journey-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.journey-art img {
  width: 100%;
  height: 100%;
  opacity: 0.45;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08);
}

.journey-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 9, 18, 0.98) 0%, rgba(4, 9, 18, 0.88) 44%, rgba(4, 9, 18, 0.28) 100%),
    linear-gradient(to top, rgba(4, 9, 18, 0.8), transparent 40%);
}

.journey-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 48px), var(--max));
  min-height: 760px;
  margin: auto;
  padding: 80px 0;
}

.journey-content h2 {
  max-width: 700px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(100%, 930px);
  margin-top: 60px;
  border-top: 1px solid rgba(121, 189, 242, 0.28);
}

.journey-steps article {
  position: relative;
  display: flex;
  gap: 15px;
  padding: 27px 18px 0 0;
}

.journey-steps article::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.journey-steps b {
  color: var(--cyan);
  font-size: 0.72rem;
}

.journey-steps span {
  display: flex;
  flex-direction: column;
}

.journey-steps strong {
  font-size: 0.98rem;
}

.journey-steps small {
  margin-top: 7px;
  color: #8fa0b9;
  font-size: 0.77rem;
  line-height: 1.55;
}

.connect-section {
  padding-bottom: 70px;
}

.connect-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(370px, 0.7fr);
  gap: clamp(45px, 8vw, 110px);
  overflow: hidden;
  padding: clamp(36px, 6vw, 78px);
  border: 1px solid rgba(80, 190, 255, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 20%, rgba(60, 139, 255, 0.14), transparent 29rem),
    linear-gradient(145deg, rgba(15, 31, 55, 0.95), rgba(7, 15, 29, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.25);
}

.connect-card::before {
  position: absolute;
  top: -110px;
  left: 36%;
  width: 270px;
  height: 270px;
  content: "";
  border: 1px solid rgba(120, 78, 255, 0.2);
  transform: rotate(45deg);
}

.connect-copy {
  position: relative;
  z-index: 1;
}

.connect-copy h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
}

.connect-copy > p {
  max-width: 620px;
  margin-top: 23px;
}

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

.quick-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-steps b {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--cyan);
  font-size: 0.76rem;
  border: 1px solid rgba(68, 216, 255, 0.34);
  border-radius: 10px;
  background: rgba(68, 216, 255, 0.05);
}

.quick-steps span {
  display: flex;
  flex-direction: column;
}

.quick-steps strong {
  font-size: 0.94rem;
}

.quick-steps small {
  color: #8496b0;
  font-size: 0.79rem;
}

.server-card {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 27px;
  border: 1px solid rgba(111, 195, 255, 0.25);
  border-radius: 24px;
  background: rgba(5, 13, 27, 0.82);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.server-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.server-orbit {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(68, 216, 255, 0.38);
  border-radius: 50%;
}

.server-orbit::before,
.server-orbit::after {
  position: absolute;
  width: 31px;
  height: 31px;
  content: "";
  border: 1px solid rgba(68, 216, 255, 0.24);
  border-radius: 50%;
}

.server-orbit::after {
  transform: rotate(65deg) scaleY(0.45);
}

.server-orbit i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.server-card-top > span:last-child {
  display: flex;
  flex-direction: column;
}

.server-card-top small,
.address-box > small {
  color: #7488a8;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.server-card-top strong {
  font-size: 1.05rem;
}

.address-box {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 22px 0;
  padding: 16px 54px 16px 17px;
  border: 1px solid rgba(68, 216, 255, 0.24);
  border-radius: 13px;
  background: rgba(37, 111, 178, 0.08);
}

.address-box strong {
  overflow: hidden;
  margin-top: 5px;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-box button {
  position: absolute;
  top: 50%;
  right: 9px;
  display: grid;
  width: 38px;
  height: 38px;
  cursor: pointer;
  place-items: center;
  color: var(--cyan);
  border: 0;
  border-radius: 10px;
  background: rgba(68, 216, 255, 0.1);
  transform: translateY(-50%);
}

.address-box button svg {
  width: 18px;
  height: 18px;
}

.address-box button span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.server-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 20px;
}

.server-specs div {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  text-align: center;
}

.server-specs div:first-child { padding-left: 0; }
.server-specs div:last-child { padding-right: 0; }
.server-specs div + div { border-left: 1px solid var(--line); }

.server-specs dt {
  color: #71829b;
  font-size: 0.63rem;
  text-transform: uppercase;
}

.server-specs dd {
  margin: 3px 0 0;
  color: #e1eaff;
  font-size: 0.83rem;
  font-weight: 800;
}

.curse-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  color: #06111c;
  border-radius: 12px;
  background: linear-gradient(105deg, var(--gold), var(--orange));
  box-shadow: 0 13px 30px rgba(255, 126, 33, 0.15);
}

.curse-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 126, 33, 0.25);
}

.curse-button svg {
  width: 20px;
  height: 20px;
}

.rank-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  border-block: 1px solid rgba(106, 164, 232, 0.13);
  background: #07101f;
}

.rank-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background:
    radial-gradient(circle at 18% 45%, rgba(42, 135, 255, 0.2), transparent 35%),
    radial-gradient(circle at 88% 45%, rgba(132, 69, 255, 0.13), transparent 33%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px;
}

.rank-layout {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 54px;
}

.rank-visual {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  border: 1px solid rgba(89, 184, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.52);
  clip-path: polygon(0 0, 94% 0, 100% 7%, 100% 100%, 7% 100%, 0 93%);
}

.rank-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(3, 9, 20, 0.93), transparent 52%);
}

.rank-visual img {
  width: 100%;
  height: 100%;
  min-height: 550px;
  object-fit: cover;
}

.rank-visual-label {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.rank-visual-label small {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.rank-visual-label strong {
  margin-top: 7px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.rank-board {
  min-width: 0;
  padding: 6px 0;
}

.rank-heading h2 {
  margin: 13px 0 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.rank-tabs {
  display: inline-flex;
  margin: 26px 0 20px;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 10, 21, 0.7);
}

.rank-tabs button {
  min-width: 106px;
  padding: 11px 15px;
  cursor: pointer;
  color: #8fa7c3;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank-tabs button.active {
  color: #06111e;
  background: linear-gradient(135deg, var(--cyan), #5791ff);
  box-shadow: 0 5px 20px rgba(49, 216, 255, 0.18);
}

.rank-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.rank-row {
  display: grid;
  min-height: 76px;
  padding: 12px 15px;
  align-items: center;
  border: 1px solid rgba(103, 162, 226, 0.16);
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(16, 33, 58, 0.9), rgba(8, 18, 34, 0.7));
  grid-template-columns: 36px 46px minmax(0, 1fr) auto;
  gap: 12px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.rank-row:hover {
  border-color: rgba(49, 216, 255, 0.36);
  transform: translateX(4px);
}

.rank-position {
  color: #708aa9;
  font-family: Impact, sans-serif;
  font-size: 1.45rem;
  text-align: center;
}

.rank-row:first-child .rank-position {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255, 200, 87, 0.36);
}

.rank-avatar {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  overflow: hidden;
  place-items: center;
  color: #07101f;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--cyan), #647cff);
  font-size: 0.78rem;
  font-weight: 1000;
  box-shadow: 0 5px 18px rgba(39, 144, 255, 0.2);
}

.rank-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.rank-row:nth-child(2) .rank-avatar {
  background: linear-gradient(145deg, #d9eeff, #6795b8);
}

.rank-row:nth-child(3) .rank-avatar {
  background: linear-gradient(145deg, #f5aa69, #a85c4b);
}

.rank-player {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.rank-player strong {
  overflow: hidden;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-player small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #708aa9;
  font-size: 0.74rem;
}

.rank-status {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #607790;
}

.rank-status.online {
  background: #57f0a2;
  box-shadow: 0 0 9px rgba(87, 240, 162, 0.65);
}

.rank-score {
  padding-left: 9px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 900;
}

.rank-note {
  margin: 15px 0 0;
  color: #7189a5;
  font-size: 0.8rem;
}

.rank-state {
  display: grid;
  min-height: 90px;
  padding: 24px;
  place-items: center;
  color: #8fa7c3;
  border: 1px solid rgba(103, 162, 226, 0.16);
  border-radius: 11px;
  background: rgba(8, 18, 34, 0.72);
  font-size: 0.9rem;
  text-align: center;
}

.rank-state.loading {
  color: var(--cyan);
}

.rank-state.error {
  color: #ff9b9b;
}

.shop-section {
  padding-top: 88px;
}

.shop-promo {
  position: relative;
  display: grid;
  min-height: 510px;
  overflow: hidden;
  align-items: stretch;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  border: 1px solid rgba(255, 190, 67, 0.24);
  border-radius: 28px;
  background: #0a1425;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.shop-promo-art {
  position: relative;
  min-height: 510px;
  overflow: hidden;
}

.shop-promo-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 48%, #0a1425 100%);
}

.shop-promo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-promo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 58px 58px 58px 35px;
  justify-content: center;
  flex-direction: column;
}

.shop-promo-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.shop-promo-copy h2 em {
  color: var(--gold);
  font-style: normal;
}

.shop-promo-copy p {
  max-width: 570px;
  margin: 0;
}

.shop-promo-copy ul {
  display: flex;
  margin: 25px 0 30px;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.shop-promo-copy li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c4d2e5;
  font-size: 0.78rem;
  font-weight: 700;
}

.shop-promo-copy li span {
  color: var(--green);
  font-weight: 1000;
}

.shop-promo-button,
.store-primary-button,
.store-ghost-button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 13px;
  font-size: 0.84rem;
  font-weight: 1000;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.shop-promo-button,
.store-primary-button {
  width: fit-content;
  color: #06111b;
  background: linear-gradient(105deg, var(--gold), var(--orange));
  box-shadow: 0 15px 34px rgba(255, 126, 33, 0.18);
}

.shop-promo-button:hover,
.store-primary-button:hover,
.store-ghost-button:hover {
  transform: translateY(-2px);
}

.shop-promo-button:hover,
.store-primary-button:hover {
  box-shadow: 0 20px 42px rgba(255, 126, 33, 0.28);
}

.shop-promo-button svg {
  width: 20px;
  height: 20px;
}

.store-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  align-items: center;
  padding: 140px max(24px, calc((100vw - var(--max)) / 2)) 90px;
  border-bottom: 1px solid rgba(106, 164, 232, 0.15);
}

.store-hero-art,
.store-hero-shade,
.store-hero-grid {
  position: absolute;
  inset: 0;
}

.store-hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.store-hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 9, 18, 0.98) 0%, rgba(4, 9, 18, 0.82) 38%, rgba(4, 9, 18, 0.25) 78%),
    linear-gradient(0deg, #050914 0%, transparent 38%);
}

.store-hero-grid {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(94, 177, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 177, 255, 0.12) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.store-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.store-hero h1 {
  margin: 14px 0 22px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.5rem, 9vw, 8.5rem);
  font-style: italic;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-shadow: 0 9px 0 rgba(2, 8, 20, 0.55);
}

.store-hero h1 em {
  color: var(--gold);
  font-style: inherit;
}

.store-hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: #c3d2e5;
  font-size: 1.05rem;
}

.store-hero-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.store-ghost-button {
  color: #d7e4f4;
  border: 1px solid rgba(150, 195, 240, 0.28);
  background: rgba(6, 14, 28, 0.58);
  backdrop-filter: blur(10px);
}

.store-ghost-button:hover {
  border-color: rgba(68, 216, 255, 0.55);
}

.store-content {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 105px 0 115px;
}

.shop-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.shop-heading h2 {
  margin-top: 10px;
  font-size: clamp(2.5rem, 4.7vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.shop-heading h2 em {
  color: var(--gold);
  font-style: normal;
}

.shop-heading p {
  margin: 0 0 8px;
}

.payment-status {
  display: flex;
  margin-bottom: 22px;
  padding: 17px 20px;
  align-items: flex-start;
  gap: 8px;
  flex-direction: column;
  border: 1px solid rgba(83, 243, 160, 0.35);
  border-radius: 14px;
  background: rgba(83, 243, 160, 0.08);
}

.payment-status[hidden] {
  display: none;
}

.payment-status strong {
  color: var(--green);
  font-size: 1rem;
}

.payment-status span {
  color: #b7c8dc;
  font-size: 0.85rem;
}

.payment-status.pending {
  border-color: rgba(255, 195, 74, 0.35);
  background: rgba(255, 195, 74, 0.08);
}

.payment-status.pending strong {
  color: var(--gold);
}

.payment-status.error {
  border-color: rgba(255, 112, 112, 0.35);
  background: rgba(255, 112, 112, 0.08);
}

.payment-status.error strong {
  color: #ff9090;
}

.vip-checkout {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(330px, 0.83fr) minmax(410px, 1.17fr);
  border: 1px solid rgba(126, 180, 235, 0.19);
  border-radius: 28px;
  background: rgba(8, 18, 34, 0.82);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.34);
}

.vip-checkout::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 195, 74, 0.13), transparent 24rem),
    radial-gradient(circle at 90% 80%, rgba(68, 216, 255, 0.08), transparent 25rem);
}

.vip-product,
.checkout-panel {
  position: relative;
  z-index: 1;
}

.vip-product {
  display: flex;
  min-height: 600px;
  padding: 42px;
  flex-direction: column;
  border-right: 1px solid rgba(126, 180, 235, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 192, 69, 0.075), transparent 45%),
    rgba(6, 14, 28, 0.55);
}

.vip-product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vip-product-topline span,
.vip-product-topline strong {
  padding: 8px 11px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  border-radius: 999px;
}

.vip-product-topline span {
  color: #06111b;
  background: linear-gradient(105deg, var(--gold), var(--orange));
}

.vip-product-topline strong {
  color: var(--gold);
  border: 1px solid rgba(255, 195, 74, 0.25);
  background: rgba(255, 195, 74, 0.06);
}

.vip-product-icon {
  display: grid;
  width: 94px;
  height: 94px;
  margin: 55px 0 26px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(255, 195, 74, 0.3);
  border-radius: 27px;
  background: rgba(255, 195, 74, 0.06);
  box-shadow: 0 0 55px rgba(255, 164, 43, 0.12);
}

.vip-product-icon svg {
  width: 43px;
  height: 43px;
}

.vip-product-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.vip-product h3 {
  margin: 5px 0 9px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.vip-product > p {
  margin: 0;
  color: #93a8c2;
  font-size: 0.9rem;
}

.vip-benefits {
  display: grid;
  margin: 27px 0 32px;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.vip-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5d2e4;
  font-size: 0.84rem;
}

.vip-benefits span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  color: #06111b;
  border-radius: 50%;
  background: var(--green);
  font-size: 0.7rem;
  font-weight: 1000;
}

.vip-benefits code {
  color: var(--gold);
  font-family: inherit;
  font-weight: 900;
}

.vip-product-price {
  display: flex;
  margin-top: auto;
  flex-direction: column;
}

.vip-product-price small {
  color: #7187a3;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.vip-product-price strong {
  margin-top: 2px;
  color: var(--gold);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.vip-product-price sup {
  font-size: 0.95rem;
  vertical-align: 1.55rem;
}

.vip-product-price em {
  font-size: 1.2rem;
  font-style: normal;
}

.checkout-panel {
  padding: 52px 56px;
}

.checkout-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.checkout-step {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: #06111b;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), #6f8cff);
  font-weight: 1000;
}

.checkout-title small {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.checkout-title h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: flex;
  margin-top: 8px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dce8f8;
  font-size: 0.82rem;
  font-weight: 800;
}

.field-hint {
  color: #6f849f;
  font-size: 0.68rem;
  font-weight: 500;
}

.checkout-field {
  position: relative;
}

.checkout-field svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  color: #6f8ba8;
  transform: translateY(-50%);
}

.checkout-field input {
  width: 100%;
  height: 58px;
  padding: 0 18px 0 51px;
  outline: none;
  color: #f3f8ff;
  border: 1px solid rgba(124, 175, 231, 0.2);
  border-radius: 13px;
  background: rgba(5, 13, 26, 0.76);
  font: inherit;
  font-size: 0.91rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-field input::placeholder {
  color: #53677f;
}

.checkout-field input:focus {
  border-color: rgba(68, 216, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(68, 216, 255, 0.09);
}

.checkout-error {
  margin: 5px 0 0;
  padding: 11px 13px;
  color: #ffabab;
  border: 1px solid rgba(255, 112, 112, 0.25);
  border-radius: 10px;
  background: rgba(255, 112, 112, 0.07);
  font-size: 0.78rem;
}

.checkout-error[hidden] {
  display: none;
}

.checkout-button {
  display: flex;
  width: 100%;
  min-height: 60px;
  margin-top: 14px;
  padding: 0 21px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #06111b;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(105deg, var(--gold), var(--orange));
  box-shadow: 0 16px 34px rgba(255, 126, 33, 0.18);
  font-size: 0.88rem;
  font-weight: 1000;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.checkout-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(255, 126, 33, 0.28);
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.checkout-button svg {
  width: 20px;
  height: 20px;
}

.checkout-button.loading svg {
  animation: checkoutPulse 900ms ease-in-out infinite alternate;
}

.checkout-security {
  display: flex;
  margin-top: 23px;
  padding-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-top: 1px solid rgba(126, 180, 235, 0.12);
}

.checkout-security svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.checkout-security span {
  display: flex;
  flex-direction: column;
}

.checkout-security strong {
  color: #cbd9e9;
  font-size: 0.75rem;
}

.checkout-security small {
  color: #6f849f;
  font-size: 0.66rem;
}

.store-steps {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.store-steps article {
  display: flex;
  min-height: 130px;
  padding: 22px;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid rgba(126, 180, 235, 0.14);
  border-radius: 15px;
  background: rgba(9, 20, 37, 0.72);
}

.store-steps b {
  color: var(--cyan);
  font-size: 1.18rem;
}

.store-steps span {
  display: flex;
  flex-direction: column;
}

.store-steps strong {
  color: #e5edf8;
  font-size: 0.9rem;
}

.store-steps small {
  margin-top: 5px;
  color: #768ba5;
  font-size: 0.74rem;
  line-height: 1.5;
}

@keyframes checkoutPulse {
  from { transform: translateX(0); }
  to { transform: translateX(5px); }
}

.community-section {
  padding: 80px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 50%, rgba(54, 173, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 50%, rgba(157, 83, 255, 0.1), transparent 28rem),
    #081221;
}

.community-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: min(100%, var(--max));
  margin: auto;
}

.community-inner h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
}

.community-inner p {
  max-width: 650px;
  margin-top: 17px;
}

.community-inner > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 14px;
  min-height: 58px;
  padding: 0 25px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  color: #07111d;
  border-radius: 14px;
  background: linear-gradient(105deg, var(--cyan), #758cff);
  box-shadow: 0 15px 34px rgba(59, 151, 255, 0.19);
}

.community-inner > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(59, 151, 255, 0.29);
}

.community-inner > a svg {
  width: 21px;
  height: 21px;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 35px 0;
  color: #71829b;
  font-size: 0.75rem;
}

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

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand strong {
  color: #dce7f7;
  font-size: 0.87rem;
}

.footer-brand small {
  color: #71829b;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > small {
  text-align: right;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  max-width: calc(100vw - 44px);
  padding: 13px 17px;
  pointer-events: none;
  color: #06111b;
  font-size: 0.83rem;
  font-weight: 800;
  opacity: 0;
  border-radius: 12px;
  background: var(--cyan);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 1120px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .main-nav > a {
    padding-inline: 9px;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
    gap: 30px;
    padding-inline: 30px;
  }

  .feature-card {
    min-height: 380px;
    padding: 27px;
  }

  .connect-card {
    grid-template-columns: 1fr 360px;
    gap: 42px;
  }
}

@media (max-width: 880px) {
  .site-header {
    min-height: 68px;
    padding: 8px 10px 8px 14px;
  }

  .brand img {
    width: 45px;
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    display: grid;
    overflow: hidden;
    max-height: 0;
    padding: 0 9px;
    transition: max-height 200ms ease, padding 200ms ease, border-color 200ms ease;
    border: 1px solid transparent;
    border-radius: 17px;
    background: rgba(5, 11, 23, 0.97);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .main-nav.open {
    max-height: 430px;
    padding-block: 9px;
    border-color: var(--line);
  }

  .main-nav > a {
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 14px;
  }

  .main-nav > a:not(.network-link)::after {
    display: none;
  }

  .main-nav .network-link {
    justify-content: center;
    margin: 6px 0 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 130px 24px 95px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    max-width: 700px;
    justify-self: center;
  }

  .visual-frame {
    aspect-ratio: 1.35;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading > p {
    max-width: 620px;
  }

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

  .feature-card {
    min-height: 320px;
  }

  .feature-icon {
    margin-bottom: 38px;
  }

  .journey-shade {
    background: linear-gradient(90deg, rgba(4, 9, 18, 0.96), rgba(4, 9, 18, 0.64));
  }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
    border-top: 0;
  }

  .journey-steps article {
    padding-top: 20px;
    border-top: 1px solid rgba(121, 189, 242, 0.28);
  }

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

  .server-card {
    width: min(100%, 500px);
  }

  .shop-promo {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .shop-promo-art {
    min-height: 340px;
  }

  .shop-promo-art::after {
    background: linear-gradient(0deg, #0a1425 0%, transparent 70%);
  }

  .shop-promo-copy {
    padding: 8px 38px 42px;
  }

  .store-hero {
    min-height: 650px;
  }

  .store-hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 9, 18, 0.94), rgba(4, 9, 18, 0.5)),
      linear-gradient(0deg, #050914 0%, transparent 42%);
  }

  .shop-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vip-checkout {
    grid-template-columns: 1fr;
  }

  .vip-product {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(126, 180, 235, 0.16);
  }

  .vip-product-icon {
    margin-top: 38px;
  }

  .vip-product-price {
    margin-top: 15px;
  }

  .store-steps {
    grid-template-columns: 1fr;
  }

  .community-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer > small {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 8px;
  }

  .brand-copy strong {
    font-size: 0.93rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
  }

  .hero {
    padding: 112px 18px 72px;
  }

  .eyebrow {
    font-size: 0.65rem;
  }

  .hero h1.hero-title-image {
    width: min(100%, 355px);
    margin-block: 16px 30px;
    border-radius: 24px 7px 24px 7px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .primary-action {
    justify-content: flex-start;
  }

  .server-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .server-facts li {
    min-width: 0;
    padding: 0 10px;
  }

  .server-facts li:first-child {
    padding-left: 12px;
  }

  .server-facts strong {
    font-size: 0.72rem;
  }

  .server-facts small {
    font-size: 0.6rem;
  }

  .visual-frame {
    aspect-ratio: 0.95;
    border-radius: 24px 7px 24px 7px;
  }

  .visual-badge {
    min-width: 126px;
    padding: 9px 11px;
  }

  .badge-tech { right: 3%; bottom: 4%; }
  .badge-magic { bottom: 17%; left: 3%; }

  .world-strip div {
    transform: translateX(-12%);
  }

  .section {
    width: min(calc(100% - 36px), var(--max));
    padding: 90px 0;
  }

  .section h2,
  .journey-content h2,
  .community-inner h2 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .feature-grid {
    margin-top: 42px;
  }

  .feature-card {
    min-height: 340px;
    padding: 25px;
  }

  .journey-content {
    width: calc(100% - 36px);
    min-height: 760px;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .connect-card {
    padding: 29px 20px;
    border-radius: 23px;
  }

  .connect-copy h2 {
    font-size: 2.5rem;
  }

  .server-card {
    padding: 20px;
  }

  .address-box strong {
    font-size: 0.75rem;
  }

  .server-specs div {
    padding-inline: 8px;
  }

  .shop-section {
    padding-top: 50px;
  }

  .shop-promo {
    border-radius: 20px;
  }

  .shop-promo-art {
    min-height: 250px;
  }

  .shop-promo-copy {
    padding: 4px 22px 29px;
  }

  .shop-promo-copy h2 {
    font-size: 2.5rem;
  }

  .shop-promo-copy ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-promo-button {
    width: 100%;
  }

  .store-hero {
    min-height: 610px;
    padding: 125px 18px 70px;
  }

  .store-hero h1 {
    font-size: clamp(4rem, 20vw, 5.5rem);
  }

  .store-hero-copy > p {
    font-size: 0.95rem;
  }

  .store-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-primary-button,
  .store-ghost-button {
    width: 100%;
  }

  .store-content {
    width: calc(100% - 28px);
    padding: 75px 0 85px;
  }

  .shop-heading {
    margin-bottom: 28px;
  }

  .shop-heading h2 {
    font-size: 2.55rem;
  }

  .vip-checkout {
    border-radius: 20px;
  }

  .vip-product,
  .checkout-panel {
    padding: 28px 22px;
  }

  .vip-product-icon {
    width: 78px;
    height: 78px;
    margin: 32px 0 22px;
    border-radius: 22px;
  }

  .vip-product-icon svg {
    width: 36px;
    height: 36px;
  }

  .vip-product h3 {
    font-size: 2.8rem;
  }

  .checkout-title {
    margin-bottom: 25px;
  }

  .checkout-form label {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .checkout-field input {
    height: 56px;
  }

  .payment-status {
    padding: 15px 16px;
  }

  .community-section {
    padding: 65px 18px;
  }

  .community-inner > a {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .rank-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    gap: 34px;
  }

  .rank-visual,
  .rank-visual img {
    min-height: 500px;
  }
}

@media (max-width: 880px) {
  .rank-section {
    padding: 82px 0;
  }

  .rank-layout {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), 700px);
  }

  .rank-visual,
  .rank-visual img {
    min-height: 430px;
  }
}

@media (max-width: 600px) {
  .rank-section {
    padding: 68px 0;
  }

  .rank-layout {
    width: calc(100% - 28px);
    gap: 28px;
  }

  .rank-visual,
  .rank-visual img {
    min-height: 350px;
  }

  .rank-visual-label {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .rank-heading h2 {
    font-size: 2.45rem;
  }

  .rank-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .rank-tabs button {
    min-width: 0;
  }

  .rank-row {
    min-height: 70px;
    padding: 10px;
    grid-template-columns: 28px 42px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .rank-avatar {
    width: 42px;
    height: 42px;
  }

  .rank-score {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
