.server-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-height));
  min-height: min(92vh, 820px);
  padding: calc(var(--header-height) + 46px) 0 86px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 8, 13, 0.94) 0%, rgba(10, 14, 22, 0.7) 44%, rgba(12, 15, 21, 0.82) 100%),
    url("/assets/img/hero-home-bg.webp") center top / cover no-repeat;
}

.server-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(12, 15, 21, 0), rgba(12, 15, 21, 0.95));
  pointer-events: none;
}

.server-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 139, 77, 0.26), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(85, 216, 139, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.server-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 34px;
}

.server-hero-copy {
  max-width: 700px;
}

.server-hero-title {
  margin-bottom: 20px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #f4dcc1 42%, #cf864c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.62);
}

.server-hero-description {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(238, 242, 251, 0.84);
  font-size: 1.05rem;
}

.server-hero-actions,
.server-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.server-hero-actions {
  margin-bottom: 30px;
}

.server-hero-button {
  min-width: 224px;
}

.server-hero-button-secondary {
  min-width: 204px;
}

.btn-play-now {
  min-height: 64px;
  padding: 0 36px;
  font-size: 1.18rem;
  letter-spacing: 0.13em;
  border-radius: 17px;
  background: linear-gradient(135deg, #b46830 0%, #d88443 42%, #7e441f 100%);
  box-shadow:
    0 24px 54px rgba(110, 60, 26, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 42px rgba(200, 139, 77, 1);
  gap: 19px;
}

.btn-play-now::before,
.btn-start-adventure::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-play-now:hover,
.btn-start-adventure:hover {
  transform: translateY(-2px);
}

.btn-play-now:hover::before,
.btn-start-adventure:hover::before {
  left: 120%;
}

.btn-server-info {
  min-height: 58px;
  padding: 0 24px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(24, 29, 40, 0.72), rgba(10, 13, 21, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.5);
  gap: 10px;
}

.btn-server-info:hover {
  transform: translateY(-2px);
}

.btn-start-adventure {
  min-height: 72px;
  padding: 0 42px;
  gap: 15px;
  color: #ffffff;
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  border-radius: 20px;
  background: linear-gradient(135deg, #9c582b 0%, #cf8143 48%, #6d3e1d 100%);
  box-shadow:
    0 28px 62px rgba(115, 65, 30, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 46px rgba(200, 139, 77, 0.38);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.btn-icon-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.06em;
  height: 1.06em;
  font-size: 1.12rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.btn-icon-primary .icon {
  width: 34px;
  height: 34px;
}

.btn-start-adventure .btn-text {
  display: inline-flex;
  align-items: center;
  font-family: "Cinzel", serif;
  font-weight: 800;
}

.btn-start-adventure .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  font-size: 1.3rem;
}

.btn-start-adventure .btn-icon .icon {
  width: 20px;
  height: 20px;
}

.server-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.server-tag-list li {
  padding: 10px 14px;
  border: 1px solid rgba(200, 139, 77, 0.2);
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.64);
  color: rgba(238, 242, 251, 0.8);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.server-hero-panel,
.server-policy-card,
.server-cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 139, 77, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(200, 139, 77, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(14, 18, 28, 0.88), rgba(10, 14, 22, 0.96));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-hero-panel {
  padding: 28px;
}

.server-panel-header {
  margin-bottom: 20px;
}

.server-panel-header h2 {
  margin-bottom: 0;
  font-family: "Cinzel", serif;
  font-size: 1.7rem;
}

.server-status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(238, 242, 251, 0.85);
}

.hero-meta-online {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(85, 216, 139, 0.42);
  animation: pulseStatus 1.8s infinite;
}

.hero-meta-online.is-offline {
  background: #d45c5c;
  box-shadow: 0 0 0 0 rgba(212, 92, 92, 0.42);
}

.hero-meta-online.is-pending {
  background: #c08f44;
  box-shadow: none;
  animation: none;
}

@keyframes pulseStatus {
  0% { box-shadow: 0 0 0 0 rgba(85, 216, 139, 0.42); }
  70% { box-shadow: 0 0 0 10px rgba(85, 216, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 216, 139, 0); }
}

.server-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.server-panel-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.server-panel-card strong {
  display: block;
  font-size: 1rem;
}

.server-panel-label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-rates {
  background: linear-gradient(180deg, rgba(200, 139, 77, 0.06), rgba(200, 139, 77, 0));
}

.server-rates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.server-rates-grid,
.server-pillars-grid,
.server-detail-grid {
  display: grid;
  gap: 24px;
}

.server-rates-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.server-rate-card,
.server-pillar-card,
.server-detail-card {
  position: relative;
  height: 100%;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(200, 139, 77, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(11, 15, 23, 0.92));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.server-rate-card::before,
.server-pillar-card::before,
.server-detail-card::before,
.server-policy-card::before,
.server-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 139, 77, 0.84), transparent);
  opacity: 0.8;
}

.server-rate-value {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-primary-strong);
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 700;
}

.server-rate-card h3,
.server-pillar-card h3,
.server-detail-card h3,
.server-policy-card h3,
.server-cta-panel h2 {
  margin-bottom: 10px;
  font-family: "Cinzel", serif;
}

.server-rate-card p,
.server-pillar-card p,
.server-detail-list,
.server-policy-list,
.server-cta-panel p {
  color: var(--color-text-soft);
}

.server-policy-card {
  padding: 28px;
}

.server-policy-list,
.server-detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.server-policy-list li,
.server-detail-list li {
  position: relative;
  padding-left: 18px;
}

.server-policy-list li::before,
.server-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary-strong);
  box-shadow: 0 0 12px rgba(200, 139, 77, 0.42);
}

.server-pillars {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.server-pillars-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.server-pillar-card {
  min-height: 280px;
}

.server-pillar-card-progression {
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.82), rgba(10, 14, 22, 0.92)),
    url("/assets/img/feature-progression.webp") center center / cover no-repeat;
}

.server-pillar-card-combat {
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.84), rgba(10, 14, 22, 0.94)),
    url("/assets/img/feature-duel.webp") center center / cover no-repeat;
}

.server-pillar-card-encounters {
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.84), rgba(10, 14, 22, 0.92)),
    url("/assets/img/home-philosophy.webp") center center / cover no-repeat;
}

.server-pillar-card-security {
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.84), rgba(10, 14, 22, 0.94)),
    url("/assets/img/feature-fair-combat.webp") center center / cover no-repeat;
}

.server-pillar-icon {
  color: var(--color-primary-strong);
}

.server-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(11, 15, 23, 0.56);
  box-shadow: 0 0 24px rgba(200, 139, 77, 0.14);
}

.server-pillar-icon .icon {
  width: 34px;
  height: 34px;
}

.server-details {
  background: linear-gradient(180deg, rgba(200, 139, 77, 0.08), rgba(200, 139, 77, 0));
}

.server-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.server-detail-card {
  padding: 24px 22px 22px;
}

.server-detail-header {
  margin-bottom: 18px;
}

.server-cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.server-cta-panel {
  padding: 48px 30px;
  text-align: center;
}

.server-cta-panel h2 {
  max-width: 840px;
  margin-inline: auto;
}

.server-cta-panel p {
  max-width: 760px;
  margin: 0 auto 26px;
}

.server-cta-actions {
  justify-content: center;
}

@media (max-width: 1279px) {
  .server-hero-grid,
  .server-rates-layout {
    grid-template-columns: 1fr;
  }

  .server-rates-grid,
  .server-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1023px) {
  .server-hero {
    min-height: auto;
    padding-bottom: 72px;
  }

  .server-hero-grid {
    gap: 24px;
  }

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

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

@media (max-width: 767px) {
  .server-hero {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 54px;
  }

  .server-hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .server-hero-description {
    font-size: 1rem;
  }

  .server-tag-list {
    gap: 10px;
  }

  .server-tag-list li {
    width: 100%;
    text-align: center;
  }

  .server-panel-grid,
  .server-rates-grid,
  .server-pillars-grid,
  .server-detail-grid {
    grid-template-columns: 1fr;
  }

  .server-hero-panel,
  .server-policy-card,
  .server-rate-card,
  .server-pillar-card,
  .server-detail-card,
  .server-cta-panel {
    border-radius: 24px;
  }

  .server-hero-button,
  .server-hero-button-secondary,
  .server-cta-actions .btn {
    width: 100%;
  }
}
