* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #030805;
  color: white;
  overflow-x: hidden;
  overflow-y: auto;
}

.site-shell {
  min-height: 100vh;
  padding: 60px 0;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(0, 255, 140, 0.18), transparent 35%),
    linear-gradient(135deg, #020403, #07140d 45%, #000000);
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(0, 255, 140, 0.16);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 4s infinite alternate;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.12;
  animation: drift 18s linear infinite;
}

.hero,
.hub,
.world {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.eyebrow {
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  color: #77ffb8;
  margin-bottom: 1rem;
}

/* Official Malachite Hero Logo */

.hero-logo-wrap {
  position: relative;
  width: min(780px, 92vw);
  margin: 0 auto 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroLogoFloat 6s ease-in-out infinite;
  will-change: transform;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 140, 0.22),
    rgba(0, 255, 140, 0.08) 38%,
    transparent 72%
  );
  filter: blur(42px);
  opacity: 0.75;
  z-index: -1;
  animation: heroLogoAura 5s ease-in-out infinite;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  filter:
    drop-shadow(0 0 12px rgba(0, 255, 140, 0.22))
    drop-shadow(0 0 30px rgba(0, 255, 140, 0.18));
  animation: heroLogoGlow 5s ease-in-out infinite;
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
}

.hero-logo-wrap:hover .hero-logo {
  transform: scale(1.015);
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.2))
    drop-shadow(0 0 38px rgba(0, 255, 140, 0.38))
    drop-shadow(0 0 70px rgba(0, 255, 140, 0.16));
}

h2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}

.tagline {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #d7ffe9;
}

.subtext {
  margin-top: 20px;
  font-size: 1.1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.manifesto {
  margin-top: 28px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 2;
  color: rgba(119, 255, 184, 0.78);
  font-weight: 300;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

button {
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  border: 1px solid #77ffb8;
  background: transparent;
  color: white;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

button:hover {
  background: #77ffb8;
  color: #031008;
  box-shadow: 0 0 25px rgba(119, 255, 184, 0.8);
}

button::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -150%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: rotate(18deg);
  animation: buttonShimmer 7s infinite;
}

/* Hub Portals */

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1.25rem;
  max-width: 850px;
  margin: 0 auto;
}

.portal {
  min-height: 220px;
  padding: 2rem;
  border: 1px solid rgba(119, 255, 184, 0.35);
  border-radius: 24px;
  color: white;
  text-decoration: none;
  background: rgba(0, 20, 10, 0.45);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.portal span {
  font-size: 2.5rem;
}

.portal h3 {
  font-size: 1.7rem;
  margin-top: 0.8rem;
}

.portal p {
  color: #b7ffd7;
  margin-top: 0.4rem;
}

.portal small {
  display: block;
  margin-top: 1rem;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  font-size: 0.85rem;
}

.portal:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 0 35px rgba(0, 255, 150, 0.35);
  border-color: rgba(0, 255, 150, 0.8);
}

.portal::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 150, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portal:hover::before {
  opacity: 1;
  animation: portalPulse 2.5s infinite ease-in-out;
}

.portal::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at center,
    rgba(119, 255, 184, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: -1;
}

.portal:hover::after {
  opacity: 1;
}

.portal.kingdom:hover {
  box-shadow:
    0 0 18px rgba(0, 255, 150, 0.35),
    0 0 45px rgba(255, 215, 0, 0.18);
}

.portal.music:hover {
  box-shadow:
    0 0 18px rgba(0, 255, 150, 0.35),
    0 0 45px rgba(80, 170, 255, 0.25);
}

.portal.gaming:hover {
  box-shadow:
    0 0 18px rgba(0, 255, 150, 0.35),
    0 0 45px rgba(0, 255, 255, 0.25);
}

.portal.kingdom::after {
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.18),
    transparent 55%
  );
}

.portal.music::after {
  background: radial-gradient(
    circle at center,
    rgba(80, 170, 255, 0.2),
    transparent 55%
  );
}

.portal.gaming::after {
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 255, 0.2),
    transparent 55%
  );
}

.portal-grid:hover .portal {
  opacity: 0.45;
  transform: scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.portal-grid:hover .portal:hover {
  opacity: 1;
  transform: translateY(-10px) scale(1.06);
  z-index: 10;
}

.portal small::after {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: #77ffb8;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.portal:hover small::after {
  opacity: 1;
  transform: translateY(0);
}

.portal.kingdom small::after {
  content: "Enter Kingdom";
}

.portal.music small::after {
  content: "Enter Studio";
}

.portal.gaming small::after {
  content: "Enter Arena";
}

.portal.kingdom {
  animation:
    portalBreathing 7s ease-in-out infinite,
    kingdomPulse 5s ease-in-out infinite;
}

.portal.music {
  animation:
    portalBreathing 7s ease-in-out infinite 1.5s,
    musicPulse 5s ease-in-out infinite;
}

.portal.gaming {
  animation:
    portalBreathing 7s ease-in-out infinite 3s,
    gamingPulse 5s ease-in-out infinite;
}

/* Hub Description */

.hub-intro {
  max-width: 680px;
  margin: -1rem auto 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Visibility Transitions */

.hidden {
  display: none;
}

.fade-out {
  opacity: 0;
  transform: translateY(-50px) scale(0.9);
  filter: blur(8px);
  pointer-events: none;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease,
    filter 0.9s ease;
}

.reveal {
  display: block;
  opacity: 1;
  animation: hubArrival 0.8s ease;
}

/* Living Emerald Dust */

.emerald-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(119, 255, 184, 0.7) 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 2px);
  background-size: 140px 140px, 220px 220px;
  background-position: 0 0, 70px 90px;
  opacity: 0.18;
  animation: emeraldDustDrift 26s linear infinite;
}

/* Portal Launch Animation */

.portal.launching {
  position: relative;
  z-index: 50;
  animation: portalLaunch 0.9s ease forwards;
}

.portal-grid.launching .portal:not(.launching) {
  opacity: 0;
  transform: scale(0.85);
  filter: blur(8px);
}

/* Shared World Styles */

.world {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.world-intro {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-size: 1.1rem;
}

.world-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem auto;
}

.world-actions a {
  padding: 1.2rem;
  border: 1px solid rgba(119, 255, 184, 0.35);
  border-radius: 18px;
  color: white;
  text-decoration: none;
  background: rgba(0, 20, 10, 0.45);
  transition: 0.35s ease;
}

.world-actions a:hover {
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.18);
  transform: translateY(-6px);
}

/* Kingdom World */

.kingdom-world {
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at top,
      rgba(255, 215, 0, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom,
      rgba(0, 255, 150, 0.1),
      transparent 40%
    ),
    rgba(0, 20, 10, 0.35);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 50px rgba(0, 255, 150, 0.12),
    0 0 90px rgba(255, 215, 0, 0.08);
}

.kingdom-world::before {
  content: "✝";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18rem;
  color: rgba(255, 215, 0, 0.035);
  pointer-events: none;
  z-index: -1;
}

.kingdom-world .eyebrow {
  color: rgba(255, 215, 0, 0.85);
}

.kingdom-world h2 {
  color: #f4fff8;
  text-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

.kingdom-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 240px;
}

.kingdom-card span {
  font-size: 2.8rem;
}

.kingdom-card h3 {
  font-size: 1.4rem;
}

.kingdom-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Kingdom Mission */

.kingdom-mission {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.kingdom-mission h3 {
  color: #ffd54a;
  margin-bottom: 1rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.kingdom-mission p {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

/* Guide Card */

.guide-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.guide-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: #ffd54a;
  border: 2px solid rgba(255, 215, 0, 0.4);
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.guide-content h3 {
  margin-bottom: 0.7rem;
  color: #ffd54a;
}

.guide-content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

/* Latest Activity */

.latest-section {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.latest-section h3 {
  margin-bottom: 2rem;
  text-align: center;
  color: #ffd54a;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.latest-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.15);
  transition: 0.35s ease;
  color: white;
  text-decoration: none;
}

.latest-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.15);
}

.latest-card span {
  font-size: 2rem;
}

.latest-card h4 {
  margin: 1rem 0;
  color: white;
}

.latest-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

/* Kingdom Connect Section */

.community-section {
  margin: 5rem auto;
  max-width: 1000px;
  text-align: center;
}

.community-section h3 {
  color: #ffd54a;
  margin-bottom: 1rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.community-section > p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
}

.community-stats a {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.12);
  transition: 0.35s ease;
  color: white;
  text-decoration: none;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.community-stats a:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.45);
}

.community-stats span {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.community-stats strong {
  display: block;
  margin-bottom: 0.75rem;
  color: white;
}

.community-stats small {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* OneMalachite Music World */

.music-world {
  border: 1px solid rgba(80, 170, 255, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at top,
      rgba(80, 170, 255, 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom,
      rgba(120, 80, 255, 0.12),
      transparent 42%
    ),
    rgba(3, 8, 18, 0.52);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 60px rgba(80, 170, 255, 0.13),
    0 0 110px rgba(120, 80, 255, 0.09);
}

.music-world::before {
  content: "♪";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20rem;
  color: rgba(80, 170, 255, 0.035);
  pointer-events: none;
  z-index: -1;
}

.music-world .eyebrow {
  color: rgba(125, 200, 255, 0.9);
}

.music-world h2 {
  text-shadow:
    0 0 35px rgba(80, 170, 255, 0.35),
    0 0 70px rgba(120, 80, 255, 0.18);
}

.music-intro {
  max-width: 760px;
  margin: -1rem auto 3rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
  font-size: 1.1rem;
}

.music-hero-card {
  max-width: 850px;
  margin: 0 auto 4rem;
  padding: 2.5rem;
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(80, 170, 255, 0.11),
      rgba(120, 80, 255, 0.08)
    ),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(80, 170, 255, 0.2);
  box-shadow: 0 0 45px rgba(80, 170, 255, 0.08);
}

.music-hero-card span {
  font-size: 3rem;
}

.music-hero-card h3 {
  margin: 1rem 0;
  color: #bfe4ff;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.music-hero-card p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.music-showcase,
.music-services {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.music-showcase h3,
.music-services h3 {
  margin-bottom: 2rem;
  color: #9fd7ff;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.music-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid.two-card-layout {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  max-width: 650px;
  margin: 0 auto;
}

.music-card,
.service-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(80, 170, 255, 0.18);
  color: white;
  text-decoration: none;
  transition: 0.35s ease;
}

.music-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(80, 170, 255, 0.62);
  box-shadow:
    0 0 35px rgba(80, 170, 255, 0.16),
    0 0 60px rgba(120, 80, 255, 0.1);
}

.music-card span,
.service-card span {
  font-size: 2.2rem;
}

.music-card h4 {
  margin: 1rem 0;
  color: white;
}

.music-card p,
.service-card small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.service-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card strong {
  margin: 1rem 0 0.75rem;
  color: white;
}

/* GamerChite Gaming World */

.gaming-world {
  border: 1px solid rgba(0, 255, 255, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at top,
      rgba(0, 255, 255, 0.15),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom,
      rgba(0, 255, 120, 0.1),
      transparent 42%
    ),
    rgba(2, 10, 14, 0.55);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 60px rgba(0, 255, 255, 0.12),
    0 0 110px rgba(0, 255, 120, 0.08);
}

.gaming-world::before {
  content: "◉";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20rem;
  color: rgba(0, 255, 255, 0.035);
  pointer-events: none;
  z-index: -1;
}

.gaming-world .eyebrow {
  color: rgba(0, 255, 255, 0.9);
}

.gaming-world h2 {
  text-shadow:
    0 0 35px rgba(0, 255, 255, 0.35),
    0 0 70px rgba(0, 255, 120, 0.18);
}

.gaming-intro {
  max-width: 760px;
  margin: -1rem auto 3rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
  font-size: 1.1rem;
}

.gaming-hero-card {
  max-width: 850px;
  margin: 0 auto 4rem;
  padding: 2.5rem;
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 255, 0.1),
      rgba(0, 255, 120, 0.07)
    ),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 45px rgba(0, 255, 255, 0.08);
}

.gaming-hero-card span {
  font-size: 3rem;
}

.gaming-hero-card h3 {
  margin: 1rem 0;
  color: #b9ffff;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.gaming-hero-card p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.gaming-showcase,
.gaming-connect {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.gaming-showcase h3,
.gaming-connect h3 {
  margin-bottom: 2rem;
  color: #8fffff;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.gaming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gaming-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1.5rem;
}

.gaming-card,
.gaming-link-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(0, 255, 255, 0.18);
  color: white;
  text-decoration: none;
  transition: 0.35s ease;
}

.gaming-card {
  min-height: 260px;
}

.gaming-link-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gaming-card:hover,
.gaming-link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 255, 0.62);
  box-shadow:
    0 0 35px rgba(0, 255, 255, 0.16),
    0 0 60px rgba(0, 255, 120, 0.1);
}

.fc-card:hover {
  box-shadow:
    0 0 35px rgba(0, 255, 120, 0.18),
    0 0 70px rgba(0, 255, 255, 0.12);
}

.tv-card:hover {
  box-shadow:
    0 0 35px rgba(0, 255, 255, 0.18),
    0 0 70px rgba(120, 80, 255, 0.12);
}

.gaming-card span,
.gaming-link-card span {
  font-size: 2.4rem;
}

.gaming-card h4 {
  margin: 1rem 0;
  color: white;
}

.gaming-card p,
.gaming-link-card small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.gaming-link-card strong {
  margin: 1rem 0 0.75rem;
  color: white;
}

/* Animations */

@keyframes pulse {
  from {
    transform: scale(0.9);
    opacity: 0.5;
  }

  to {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 140px 140px;
  }
}

@keyframes heroLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes heroLogoGlow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 10px rgba(0, 255, 140, 0.18))
      drop-shadow(0 0 24px rgba(0, 255, 140, 0.15));
  }

  50% {
    filter:
      drop-shadow(0 0 16px rgba(255, 255, 255, 0.18))
      drop-shadow(0 0 36px rgba(0, 255, 140, 0.38))
      drop-shadow(0 0 65px rgba(0, 255, 140, 0.16));
  }
}

@keyframes heroLogoAura {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes portalPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes emeraldDustDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-140px);
  }
}

@keyframes hubArrival {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes buttonShimmer {
  0% {
    left: -150%;
  }

  12% {
    left: 170%;
  }

  100% {
    left: 170%;
  }
}

@keyframes portalBreathing {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.01);
  }
}

@keyframes kingdomPulse {
  0%,
  100% {
    border-color: rgba(119, 255, 184, 0.35);
  }

  50% {
    border-color: rgba(255, 215, 0, 0.8);
  }
}

@keyframes musicPulse {
  0%,
  100% {
    border-color: rgba(119, 255, 184, 0.35);
  }

  50% {
    border-color: rgba(80, 170, 255, 0.8);
  }
}

@keyframes gamingPulse {
  0%,
  100% {
    border-color: rgba(119, 255, 184, 0.35);
  }

  50% {
    border-color: rgba(0, 255, 255, 0.8);
  }
}

@keyframes portalLaunch {
  0% {
    transform: scale(1);
    filter: blur(0);
  }

  100% {
    transform: scale(1.35);
    filter: blur(0);
    box-shadow: 0 0 90px rgba(119, 255, 184, 0.65);
  }
}

/* Responsive Layout */

@media (max-width: 850px) {
  .latest-grid,
  .community-stats,
  .music-grid,
  .service-grid,
  .service-grid.two-card-layout,
  .gaming-grid,
  .gaming-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 750px) {
  body {
    overflow: auto;
  }

  .site-shell {
    padding: 30px 0;
  }

  .hero,
  .hub,
  .world {
    padding: 1.25rem;
  }

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

  .world-actions {
    grid-template-columns: 1fr;
  }

  .guide-card {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo-wrap {
    width: 96vw;
    margin-bottom: 0.25rem;
  }

  .hero-logo-wrap::before {
    width: 86%;
    height: 52%;
    filter: blur(28px);
  }

  .eyebrow {
    letter-spacing: 0.25rem;
    font-size: 0.8rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .subtext {
    font-size: 1rem;
  }

  .manifesto {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}

/* ---------- Malachite Loading Screen ---------- */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at center,
      rgba(20, 110, 75, 0.22),
      rgba(2, 10, 8, 0.98) 55%
    );

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.site-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 30px;
  text-align: center;
}

.loader-logo {
  width: min(280px, 72vw);
  height: auto;

  animation: loaderLogoPulse 2s ease-in-out infinite;
}

.loader-ring {
  width: 44px;
  height: 44px;

  margin-top: 30px;

  border: 3px solid rgba(108, 255, 190, 0.18);
  border-top-color: rgba(108, 255, 190, 0.95);
  border-radius: 50%;

  animation: loaderRingSpin 0.9s linear infinite;
}

.loader-content p {
  margin-top: 18px;

  color: rgba(220, 255, 238, 0.82);

  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes loaderRingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderLogoPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
    filter: drop-shadow(0 0 12px rgba(43, 255, 163, 0.2));
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
    filter: drop-shadow(0 0 24px rgba(43, 255, 163, 0.5));
  }
}