:root {
  --bg: #08090f;
  --bg-soft: #10121d;
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, .68);
  --line: rgba(255, 255, 255, .14);
  --red: #ff2e4d;
  --green: #20f08a;
  --gold: #ffd166;
  --blue: #65d6ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 46, 77, .24), transparent 34rem),
    radial-gradient(circle at 76% 28%, rgba(32, 240, 138, .19), transparent 32rem),
    radial-gradient(circle at 52% 86%, rgba(101, 214, 255, .18), transparent 30rem),
    linear-gradient(135deg, #070811 0%, #0d0d16 45%, #070b0d 100%);
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -6;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.75), rgba(0,0,0,.25));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  opacity: .18;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.05) 0,
    rgba(255,255,255,.05) 1px,
    transparent 1px,
    transparent 7px
  );
  mix-blend-mode: overlay;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
}

.bg-orb {
  position: fixed;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  z-index: -3;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .34;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.orb-one {
  top: 7%;
  left: -9%;
  background: radial-gradient(circle, var(--red), transparent 68%);
  animation: driftOne 14s ease-in-out infinite alternate;
}

.orb-two {
  top: 4%;
  right: -8%;
  background: radial-gradient(circle, var(--green), transparent 66%);
  animation: driftTwo 16s ease-in-out infinite alternate;
}

.orb-three {
  bottom: -22%;
  left: 35%;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  animation: driftThree 18s ease-in-out infinite alternate;
}

.grid-floor {
  position: fixed;
  left: -20%;
  right: -20%;
  bottom: -30%;
  height: 55vh;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(680px) rotateX(62deg);
  transform-origin: top center;
  opacity: .16;
  mask-image: linear-gradient(to top, rgba(0,0,0,.75), transparent 75%);
  animation: floorMove 7s linear infinite;
}

.page-shell {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 64px 20px 24px;
}

.hero {
  position: relative;
  width: min(100%, 980px);
  padding: clamp(32px, 6vw, 72px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    rgba(10, 12, 20, .58);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(22px) saturate(140%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), rgba(255,46,77,.85), rgba(255,209,102,.55), rgba(32,240,138,.85), rgba(101,214,255,.55), rgba(255,46,77,.85));
  opacity: .62;
  animation: spin 8s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 41px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.12), transparent 34rem),
    rgba(8, 9, 15, .84);
}

.brand-mark {
  position: relative;
  width: clamp(104px, 17vw, 154px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}

.brand-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74%;
  height: 74%;
  border-radius: 32px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.45rem);
  font-weight: 950;
  letter-spacing: -.12em;
  text-indent: -.08em;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(135deg, rgba(255,46,77,.92), rgba(255,209,102,.82) 46%, rgba(32,240,138,.9));
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 46px rgba(32,240,138,.18);
}

.brand-ring {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
}

.ring-a {
  border-top-color: rgba(255,46,77,.92);
  border-right-color: rgba(32,240,138,.74);
  animation: rotate 9s linear infinite;
}

.ring-b {
  inset: 15px;
  border-left-color: rgba(101,214,255,.8);
  border-bottom-color: rgba(255,209,102,.8);
  animation: rotate 6s linear infinite reverse;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .42em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 12vw, 9.4rem);
  line-height: .86;
  letter-spacing: -.085em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}

h1 span {
  display: inline-block;
  padding-left: .06em;
  color: transparent;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 700px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.65;
  text-wrap: balance;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.discord-button {
  --button-glow: rgba(88,101,242,.34);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(135deg, #5865f2, #3842b8 64%, #212a7c);
  box-shadow: 0 18px 48px var(--button-glow), inset 0 1px 0 rgba(255,255,255,.32);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.discord-button::after {
  content: "";
  position: absolute;
  inset: -50% -20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: translateX(-70%) rotate(12deg);
  transition: transform .55s ease;
}

.discord-button:hover,
.discord-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 24px 74px rgba(88,101,242,.48), inset 0 1px 0 rgba(255,255,255,.34);
  outline: none;
}

.discord-button:hover::after,
.discord-button:focus-visible::after {
  transform: translateX(70%) rotate(12deg);
}

.discord-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  flex: 0 0 auto;
}

.discord-button span {
  position: relative;
  z-index: 1;
}

.status-card {
  width: min(100%, 520px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(8, 9, 15, .48);
  backdrop-filter: blur(16px);
}

.status-card div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.status-card p {
  margin: 0;
  font-size: .9rem;
  text-align: right;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(32,240,138,.12), 0 0 24px rgba(32,240,138,.88);
  animation: pulse 1.8s ease-in-out infinite;
}

.site-footer {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0 20px 28px;
  color: rgba(255,255,255,.45);
  font-size: .92rem;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin { to { --angle: 360deg; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes floorMove { to { background-position: 0 62px, 62px 0; } }
@keyframes driftOne { to { transform: translate(8vw, 5vh) scale(1.08); } }
@keyframes driftTwo { to { transform: translate(-7vw, 8vh) scale(.96); } }
@keyframes driftThree { to { transform: translate(5vw, -5vh) scale(1.12); } }
@keyframes pulse { 50% { transform: scale(.78); opacity: .68; } }

@media (max-width: 760px) {
  .page-shell { padding-top: 34px; }
  .hero { border-radius: 30px; }
  .hero::after { border-radius: 29px; }
  .eyebrow { letter-spacing: .28em; }
  .lead { margin-top: 22px; }
  .status-card {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }
  .status-card p { text-align: left; }
}

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

/* V8: mantém o fundo original, apenas destaca a nova frase de contacto. */
.lead strong {
  color: rgba(255,255,255,.96);
  font-weight: 900;
}

.lead span {
  color: #20f08a;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(32,240,138,.35);
}
