:root {
  --theme-bg: #080f1d;
  --theme-surface: #0d1a2b;
  --theme-surface-raised: #11243b;
  --theme-surface-soft: #142a45;
  --theme-blue: #38bdf8;
  --theme-blue-light: #7dd3fc;
  --theme-text: #e8f3ff;
  --theme-muted: #b7c8db;
  --theme-border: rgba(125, 190, 255, 0.2);
  --theme-shadow: rgba(1, 8, 18, 0.3);
}

html,
body {
  background:
    radial-gradient(ellipse at 50% -20%, rgba(37, 99, 235, 0.16), transparent 58%),
    linear-gradient(180deg, #080f1d 0%, #0a1627 100%);
  color: var(--theme-text);
}

.features,
.reviews-section,
.plans {
  width: min(94%, 1200px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.announcement-banner {
  background: linear-gradient(90deg, #0d1a2b, #10243d);
  color: var(--theme-text);
  border-bottom-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 4px 16px var(--theme-shadow);
}

nav.navbar {
  background: linear-gradient(110deg, #091424, #0f233b);
  border-bottom-color: var(--theme-border);
  box-shadow: 0 8px 24px var(--theme-shadow);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

nav.navbar.is-scrolled {
  background: linear-gradient(110deg, rgba(9, 20, 36, 0.88), rgba(15, 35, 59, 0.86));
  box-shadow: 0 8px 24px rgba(1, 8, 18, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

nav.navbar a.logo-link,
nav.navbar a.nav-btn,
nav.navbar .nav-login summary.nav-btn,
nav.navbar .nav-login-menu a {
  color: var(--theme-text);
}

nav.navbar a.logo-link:hover,
nav.navbar .nav-login-menu a:hover,
nav.navbar .nav-login-menu a:focus-visible {
  color: var(--theme-blue-light);
}

nav.navbar .nav-links {
  background: rgba(5, 14, 26, 0.52);
  border-color: rgba(148, 197, 250, 0.12);
}

nav.navbar .nav-login-menu {
  background: #0d1a2b;
  border-color: var(--theme-border);
  box-shadow: 0 16px 36px var(--theme-shadow);
}

nav.navbar a.nav-btn:hover,
nav.navbar .nav-login summary.nav-btn:hover,
nav.navbar a.nav-btn[aria-current="page"],
nav.navbar a.nav-btn.active,
nav.navbar .nav-login-menu a:hover,
nav.navbar .nav-login-menu a:focus-visible {
  background: rgba(56, 189, 248, 0.12);
}

nav.navbar a.logo-link:focus-visible,
nav.navbar a.nav-btn:focus-visible,
nav.navbar .nav-login summary.nav-btn:focus-visible,
.contact-btn:focus-visible,
.btn:focus-visible,
footer a:focus-visible {
  outline-color: var(--theme-blue-light);
}

.discord-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.62);
  border-radius: 50%;
  background: linear-gradient(110deg, #10243b, #17385c);
  box-shadow: 0 8px 22px var(--theme-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.discord-float img {
  display: block;
  width: 24px;
  height: 24px;
}

.discord-float:hover {
  border-color: var(--theme-blue-light);
  box-shadow: 0 10px 24px rgba(1, 8, 18, 0.42);
  transform: translateY(-2px);
}

.discord-float:focus-visible {
  outline: 2px solid var(--theme-blue-light);
  outline-offset: 3px;
}

header {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.14), transparent 62%),
    linear-gradient(135deg, #10223a, #0b1728 72%, #102b46);
  color: var(--theme-text);
  box-shadow: 0 12px 36px var(--theme-shadow);
}

header > div {
  background: linear-gradient(145deg, rgba(16, 36, 60, 0.92), rgba(8, 18, 32, 0.96));
  border-color: rgba(125, 190, 255, 0.22);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

header h1,
.features-heading h2,
.features-heading p,
.feature h3,
.location-card strong,
.location-region,
.plan h3,
.plan-price strong,
.plan-specs li::before,
h2,
.reviews-title,
.review-author,
.contact-header h1,
.contact-card h2,
.contact-email a,
.about-section > h2,
.about-section h3,
.about-section li::before,
.faq-section > h2,
.faq-section h3,
.about-section a,
.policy-section h1,
.policy-section h2,
.policy-section a,
.terms-section h1,
.terms-section h2,
.terms-section a,
.sla-table th {
  color: var(--theme-blue-light);
}

header p {
  color: var(--theme-muted);
}

header p.hero-description,
header p.hero-trust,
.features-heading p,
.feature p,
.plan-for,
.plan-price span,
.locations h3,
.reviews-intro,
.about-section p,
.about-section li,
.faq-section p,
.contact-header p,
.contact-card p,
.contact-card li,
.policy-section ul,
.terms-section ul,
.footer-copyright {
  color: var(--theme-muted);
}

.locations h3 {
  font-size: 1rem;
  font-weight: 400;
}

.btn,
.contact-btn {
  background: linear-gradient(110deg, #38bdf8, #3478ed);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.24);
}

.btn:hover,
.contact-btn:hover,
.contact-btn:focus-visible {
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.32);
}

.features,
.reviews-section,
.contact-section,
.about-section,
.faq-section {
  background: linear-gradient(145deg, rgba(15, 31, 51, 0.96), rgba(10, 22, 38, 0.98));
  border-color: var(--theme-border);
  box-shadow: 0 18px 44px var(--theme-shadow);
}

.feature,
.review-card,
.contact-card,
.about-section > div,
.faq-section > div {
  background: linear-gradient(150deg, rgba(18, 38, 62, 0.98), rgba(13, 29, 49, 0.98));
  border-color: rgba(125, 190, 255, 0.16);
  color: var(--theme-text);
  box-shadow: 0 8px 22px rgba(1, 8, 18, 0.22);
}

.feature:hover,
.review-card:hover,
.review-card:focus-within {
  border-color: rgba(56, 189, 248, 0.62);
  box-shadow: 0 14px 30px rgba(1, 8, 18, 0.32);
}

.plans {
  background: linear-gradient(145deg, #0d1a2b, #0a1626);
  border-color: rgba(56, 189, 248, 0.44);
  box-shadow: 0 14px 36px var(--theme-shadow);
}

.location-card,
.plan {
  background: linear-gradient(150deg, #142a45, #0f2036);
  border-color: rgba(125, 190, 255, 0.2);
  color: var(--theme-text);
}

.plan {
  box-shadow: 0 8px 22px rgba(1, 8, 18, 0.22);
}

.plan:hover {
  border-color: rgba(56, 189, 248, 0.68);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.plan-price {
  border-bottom-color: rgba(183, 200, 219, 0.16);
}

.terms-section,
.policy-section {
  background: linear-gradient(145deg, #10243b, #0b192a);
  border-color: rgba(125, 190, 255, 0.24);
  color: var(--theme-text);
  box-shadow: 0 18px 44px var(--theme-shadow);
}

.terms-section li,
.policy-section li {
  color: var(--theme-text);
}

.terms-section hr,
.policy-section hr {
  background: rgba(125, 190, 255, 0.22);
}

.sla-table-wrap {
  border-color: var(--theme-border);
}

.sla-table th {
  background: #142a45;
}

.sla-table th,
.sla-table td {
  border-bottom-color: rgba(125, 190, 255, 0.16);
}

footer {
  background: linear-gradient(135deg, #091523, #0d1e32);
  color: var(--theme-muted);
  border-top-color: rgba(56, 189, 248, 0.32);
}

.footer-brand {
  color: var(--theme-text);
}

footer a {
  color: var(--theme-muted);
}

footer a:hover,
footer a:focus-visible {
  color: var(--theme-blue-light);
}

.footer-socials a {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(125, 190, 255, 0.2);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.58);
}

.footer-copyright {
  border-top-color: rgba(183, 200, 219, 0.14);
}

#cookie-modal-overlay {
  background: rgba(3, 10, 20, 0.82);
}

#cookie-modal {
  background: linear-gradient(145deg, #122742, #0b192a);
  color: var(--theme-text);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 18px 48px var(--theme-shadow);
}

.site-hero {
  display: block;
  min-height: 0;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
}

.site-hero > .hero-copy {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-hero > .hero-copy::before {
  content: none;
}

.hero-copy-content {
  max-width: 680px;
  margin: 0;
  padding-top: clamp(1.4rem, 2.5vw, 2rem);
  text-align: left;
}

.site-hero h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
  line-height: 1.08;
}

.site-hero h1 span {
  display: block;
}

.site-hero p.hero-description {
  max-width: 34rem;
  margin: 1.25rem 0 0;
}

.site-hero p.hero-trust {
  max-width: 34rem;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.site-hero .trustpilot-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 36, 59, 0.92), rgba(13, 26, 43, 0.88));
  box-shadow: 0 8px 20px var(--theme-shadow);
  color: var(--theme-text);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-hero .trustpilot-rating:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 24px rgba(1, 8, 18, 0.42);
  transform: translateY(-1px);
}

.site-hero .trustpilot-rating:focus-visible {
  outline: 2px solid var(--theme-blue-light);
  outline-offset: 3px;
}

.trustpilot-rating-star {
  color: #00b67a;
  font-size: 1.15rem;
}

.trustpilot-rating > span:last-child {
  color: var(--theme-muted);
  font-weight: 600;
}

.server-configurator {
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--theme-text);
  text-align: left;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(56, 189, 248, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(15, 31, 51, 0.98), rgba(10, 22, 38, 0.99));
  border: 1px solid var(--theme-border);
  border-top-color: rgba(56, 189, 248, 0.58);
  border-radius: 20px;
  box-shadow: 0 18px 44px var(--theme-shadow);
  justify-self: start;
}

.configurator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.server-configurator h2 {
  margin: 0;
  color: var(--theme-blue-light);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.server-configurator h2::before {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.55rem;
  background: var(--theme-blue);
  border-radius: 50%;
  content: "";
  vertical-align: 0.08em;
}

.configurator-summary,
.configurator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.configurator-game {
  flex: none;
  padding: 0.5rem 0.9rem;
  color: var(--theme-blue-light);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.configurator-location-label {
  display: block;
  margin: 1.15rem 0 0.45rem;
  color: var(--theme-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.configurator-location-select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 2.5rem 0.65rem 0.8rem;
  color: var(--theme-text);
  background-color: rgba(5, 15, 29, 0.72);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.configurator-location-select:focus-visible {
  outline: 2px solid var(--theme-blue-light);
  outline-offset: 3px;
}

.configurator-location-select option {
  color: var(--theme-text);
  background: #0a1626;
}

.configurator-location {
  margin: 0.65rem 0 0;
  color: var(--theme-muted);
  font-size: 0.88rem;
}

.configurator-selection {
  margin-top: 0.85rem;
}

.configurator-ram,
.configurator-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
}

.configurator-ram {
  color: var(--theme-text);
  font-size: clamp(2.4rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
}

.configurator-ram span:last-child {
  color: var(--theme-muted);
  font-size: 1rem;
  font-weight: 600;
}

.configurator-price strong {
  color: var(--theme-blue-light);
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
}

.configurator-price span {
  color: var(--theme-muted);
  font-size: 0.9rem;
}

.configurator-memory-label {
  display: block;
  margin-top: 0.85rem;
  color: var(--theme-blue-light);
  font-size: 0.88rem;
  font-weight: 600;
}

.configurator-slider {
  display: block;
  width: 100%;
  height: 8px;
  margin: 0.45rem 0 0.75rem;
  appearance: none;
  background: linear-gradient(
    90deg,
    var(--theme-blue) 0%,
    var(--theme-blue) var(--slider-progress, 20%),
    rgba(183, 200, 219, 0.2) var(--slider-progress, 20%),
    rgba(183, 200, 219, 0.2) 100%
  );
  border-radius: 999px;
  cursor: pointer;
}

.configurator-slider::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  appearance: none;
  background: var(--theme-blue-light);
  border: 4px solid var(--theme-surface);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--theme-blue), 0 0 16px rgba(56, 189, 248, 0.5);
}

.configurator-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--theme-blue-light);
  border: 4px solid var(--theme-surface);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--theme-blue), 0 0 16px rgba(56, 189, 248, 0.5);
}

.configurator-slider:focus-visible {
  outline: 2px solid var(--theme-blue-light);
  outline-offset: 7px;
}

.configurator-range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--theme-muted);
  font-size: 0.75rem;
}

.configurator-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1rem 0;
  padding: 0;
  color: var(--theme-text);
  font-size: 0.78rem;
  list-style: none;
}

.configurator-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.configurator-features li::before {
  color: var(--theme-blue-light);
  content: "◆";
  font-size: 0.58rem;
}

.configurator-footer {
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(183, 200, 219, 0.16);
}

.configurator-period {
  color: var(--theme-muted);
  font-size: 0.88rem;
}

.configurator-button.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  color: var(--theme-blue-light);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.88rem;
  white-space: nowrap;
}

.configurator-button.btn::after {
  content: none;
}

.configurator-button.btn:hover {
  color: var(--theme-blue);
  box-shadow: none;
  transform: none;
}

.configurator-button:focus-visible {
  outline: 2px solid var(--theme-blue-light);
  outline-offset: 3px;
}

@media (max-width: 840px) {
  .site-hero {
    padding: 2rem 1rem;
  }

  .site-hero > .hero-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero-copy-content {
    margin: 0 auto;
    padding-top: 0;
    text-align: center;
  }

  .site-hero h1 {
    margin: 0 auto;
  }

  .site-hero p.hero-description,
  .site-hero p.hero-trust {
    margin-right: auto;
    margin-left: auto;
  }

  .site-hero .server-configurator {
    width: min(100%, 640px);
    max-width: none;
    margin: 0 auto;
    padding: 1.4rem;
    justify-self: stretch;
  }
}

@media (min-width: 841px) and (max-width: 1100px) {
  .site-hero h1 {
    max-width: 22ch;
    font-size: clamp(2rem, 3.6vw, 2.4rem);
  }
}

@media (max-width: 600px) {
  .site-hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
  }

  .configurator-location,
  .configurator-location-label {
    font-size: 0.85rem;
  }

  .configurator-footer {
    padding-right: 3rem;
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    translate: 0 12px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.hero-copy-content {
  animation: soft-rise 550ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.server-configurator {
  animation: soft-rise 600ms 100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.features,
.reviews-section,
.plans {
  animation: soft-rise 600ms 180ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.location-card,
.configurator-location-select {
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.location-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 20px rgba(1, 8, 18, 0.22);
}

.configurator-location-select:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

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

  .btn:hover,
  .feature:hover,
  .location-card:hover,
  .plan:hover,
  .review-card:hover,
  .review-card:focus-within {
    transform: none;
  }
}
