/* ----- Terraria — hero exclusivo (noite / camadas / ouro — distinto do hy-page-header e do PZ) ----- */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

body.host-terraria-landing {
  --tr-void: #06040f;
  --tr-sky: #120a22;
  --tr-glow-gold: rgba(245, 158, 11, 0.42);
  --tr-glow-violet: rgba(167, 139, 250, 0.28);
  --tr-surface: rgba(22, 14, 40, 0.78);
  --tr-border: rgba(255, 255, 255, 0.09);
  --tr-text: #f4f0ff;
  --tr-muted: rgba(244, 240, 255, 0.72);
  --tr-faint: rgba(244, 240, 255, 0.48);
  --tr-gold: #fbbf24;
  --tr-gold-hot: #fcd34d;
  --tr-violet: #c4b5fd;
  --tr-emerald: #6ee7b7;
}

body.host-terraria-landing .tr-nav-wrap.header {
  padding: 0.65rem 0 0.85rem !important;
  background: linear-gradient(180deg, #04020a 0%, #0c0718 100%) !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.14) !important;
  overflow: visible;
}

body.host-terraria-landing .tr-nav-wrap .navigator {
  margin-bottom: 0 !important;
  gap: 0.35rem 0.65rem;
}

body.host-terraria-landing .tr-nav-wrap .navigator .title {
  color: rgba(244, 240, 255, 0.82);
  font-size: 0.88rem;
  margin-right: 1rem !important;
  white-space: nowrap;
}

body.host-terraria-landing .tr-nav-wrap .navigator .title::before {
  right: -12px;
}

body.host-terraria-landing .tr-nav-wrap .navigator .item {
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
  margin-right: 0 !important;
  padding: 0.2rem 0;
}

@media (max-width: 1399px) {
  body.host-terraria-landing .tr-nav-wrap .navigator .item {
    font-size: 0.76rem;
  }
}

.tr-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--tr-void);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--tr-text);
}

.tr-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(167, 139, 250, 0.2), transparent 52%),
    radial-gradient(ellipse 70% 50% at 110% 60%, rgba(245, 158, 11, 0.09), transparent 48%),
    radial-gradient(ellipse 55% 45% at -10% 80%, rgba(110, 231, 183, 0.06), transparent 45%),
    linear-gradient(180deg, var(--tr-sky) 0%, var(--tr-void) 38%, #030208 100%);
}

/* “estratos” horizontais — lembram camadas do mundo */
.tr-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 28px,
    rgba(251, 191, 36, 0.06) 28px,
    rgba(251, 191, 36, 0.06) 29px
  );
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 0%, transparent 75%);
}

.tr-hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 30% 55%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 75% 15%, rgba(252, 211, 77, 0.5), transparent),
    radial-gradient(1px 1px at 88% 40%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 55% 8%, rgba(196, 181, 253, 0.45), transparent),
    radial-gradient(1px 1px at 20% 85%, rgba(255, 255, 255, 0.25), transparent);
  opacity: 0.85;
}

.tr-hero__inner {
  position: relative;
  z-index: 2;
}

.tr-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 991px) {
  .tr-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.tr-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tr-gold-hot);
  margin: 0 0 1rem;
}

.tr-hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--tr-gold), #f59e0b);
  box-shadow: 0 0 14px var(--tr-glow-gold);
  animation: tr-torch 2.4s ease-in-out infinite;
}

@keyframes tr-torch {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.75;
    filter: brightness(1.2);
  }
}

.tr-hero__title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5.4vw, 3.55rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: #fff;
}

.tr-hero__title-gradient {
  background: linear-gradient(102deg, #fff 5%, #fde68a 38%, #fbbf24 68%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tr-hero__subtitle {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--tr-muted);
  color: var(--tr-muted);
}

.tr-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tr-muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.tr-hero__lead strong {
  color: var(--tr-text);
  font-weight: 600;
}

.tr-hero__lead a {
  color: var(--tr-violet);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.45);
}

.tr-hero__lead a:hover {
  color: #e9d5ff;
  border-bottom-color: rgba(233, 213, 255, 0.85);
}

.tr-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.tr-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tr-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--tr-border);
}

.tr-hero__chip svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  opacity: 0.9;
  color: var(--tr-gold);
}

.tr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  margin-bottom: 1.25rem;
}

body.host-terraria-landing .tr-hero__actions .btn,
body.host-terraria-landing .tr-hero__actions a.btn {
  min-height: 2.75rem;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.host-terraria-landing .tr-hero__actions .btn:active {
  transform: scale(0.98);
}

body.host-terraria-landing .tr-btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%) !important;
  border: none !important;
  color: #1c0a02 !important;
  box-shadow: 0 4px 28px rgba(217, 119, 6, 0.4);
}

body.host-terraria-landing .tr-btn-primary:hover {
  box-shadow: 0 8px 36px rgba(217, 119, 6, 0.5);
  filter: brightness(1.05);
}

body.host-terraria-landing .tr-btn-ghost {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(251, 191, 36, 0.28) !important;
  color: var(--tr-text) !important;
}

body.host-terraria-landing .tr-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
}

body.host-terraria-landing .tr-btn-linkish {
  background: transparent !important;
  border: none !important;
  color: var(--tr-emerald) !important;
  box-shadow: none !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

body.host-terraria-landing .tr-btn-linkish:hover {
  color: #a7f3d0 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tr-hero__note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--tr-faint);
  margin: 0;
  max-width: 44rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tr-hero__note strong {
  color: rgba(244, 240, 255, 0.82);
  font-weight: 600;
}

.tr-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .tr-hero__visual {
    justify-content: flex-end;
  }
}

.tr-hero__orb {
  position: absolute;
  width: min(400px, 92vw);
  height: min(400px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--tr-glow-violet) 0%, transparent 62%);
  filter: blur(3px);
  pointer-events: none;
  z-index: 0;
}

.tr-server-glass {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 1.35rem 1.35rem 1.2rem;
  background: var(--tr-surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--tr-border);
  box-shadow:
    0 26px 52px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tr-server-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.16),
    inset 0 0 50px rgba(167, 139, 250, 0.05);
}

.tr-server-glass__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.tr-server-glass__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tr-faint);
}

.tr-server-glass__name {
  font-family: "Outfit", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  margin: 0.2rem 0 0;
  letter-spacing: -0.02em;
}

.tr-server-glass__ping {
  text-align: right;
  flex-shrink: 0;
}

.tr-server-glass__ping-val {
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tr-gold-hot);
  line-height: 1;
}

.tr-server-glass__ping-unit {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--tr-muted);
  text-transform: uppercase;
}

.tr-server-glass__ping-caption {
  font-size: 0.7rem;
  color: var(--tr-faint);
  margin-top: 0.25rem;
}

.tr-server-glass__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tr-server-glass__specs li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tr-server-glass__ico {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.12);
  color: var(--tr-gold);
}

.tr-server-glass__ico svg {
  width: 1.1rem;
  height: 1.1rem;
}

.tr-server-glass__spec-meta {
  min-width: 0;
}

.tr-server-glass__spec-k {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tr-faint);
}

.tr-server-glass__spec-v {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tr-text);
  margin-top: 0.05rem;
}

.tr-server-glass__meter {
  width: 3.5rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tr-server-glass__meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a78bfa, #fbbf24);
}

.tr-server-glass__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tr-server-glass__tags span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  color: var(--tr-emerald);
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.22);
}

.tr-server-glass__tags span:nth-child(2) {
  color: var(--tr-violet);
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.24);
}

.tr-server-glass__tags span:nth-child(3) {
  color: var(--tr-gold-hot);
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.24);
}

.tr-server-glass__fine {
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--tr-faint);
  margin: 0.85rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
