/* ========================= */
/* INTRO / LOADER */
/* ========================= */

#loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #050507;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
  transition: opacity 1s ease;
}

.introBg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 182, 224, 0.10), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 105, 180, 0.08), transparent 42%),
    linear-gradient(180deg, #07070c 0%, #020204 100%);
}

.introGlow {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.6;
  animation: floatGlow 12s ease-in-out infinite;
}

.introGlow1 {
  width: 440px;
  height: 440px;
  background: rgba(255, 182, 224, 0.22);
  left: 8%;
  top: 8%;
}

.introGlow2 {
  width: 540px;
  height: 540px;
  background: rgba(255, 105, 180, 0.16);
  right: 6%;
  bottom: 8%;
  animation-delay: 1.5s;
}

.introGlow3 {
  width: 380px;
  height: 380px;
  background: rgba(255, 235, 245, 0.14);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.8s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.1); }
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 182, 224, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 7s linear infinite;
  box-shadow: 0 0 20px rgba(255, 182, 224, 0.08);
}

.ring1 { width: 260px; height: 260px; }
.ring2 { width: 420px; height: 420px; animation-delay: 1.6s; }
.ring3 { width: 620px; height: 620px; animation-delay: 3.2s; }

@keyframes ringPulse {
  0% {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(0.94) rotate(0deg);
  }
  50% {
    opacity: 0.24;
    transform: translate(-50%, -50%) scale(1.04) rotate(180deg);
  }
  100% {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(0.94) rotate(360deg);
  }
}

.aurora {
  position: absolute;
  width: 70vw;
  height: 180px;
  filter: blur(38px);
  opacity: 0.28;
  border-radius: 999px;
  mix-blend-mode: screen;
  animation: auroraMove 12s ease-in-out infinite;
}

.aurora1 {
  top: 10%;
  left: -10%;
  background: linear-gradient(90deg, rgba(255,182,224,0), rgba(255,182,224,0.6), rgba(255,230,245,0));
  transform: rotate(-12deg);
}

.aurora2 {
  bottom: 12%;
  right: -8%;
  background: linear-gradient(90deg, rgba(255,170,210,0), rgba(255,200,230,0.5), rgba(255,170,210,0));
  transform: rotate(10deg);
  animation-delay: 2s;
}

@keyframes auroraMove {
  0%, 100% { transform: translateX(0) translateY(0) rotate(-10deg) scale(1); }
  50% { transform: translateX(30px) translateY(-10px) rotate(-6deg) scale(1.06); }
}

.lightBeam {
  position: absolute;
  top: -20%;
  width: 24vw;
  height: 140vh;
  background: linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,182,224,0.03), transparent 75%);
  filter: blur(16px);
  transform: rotate(18deg);
  opacity: 0.22;
  animation: beamShift 9s ease-in-out infinite;
}

.beam1 { left: 12%; }

.beam2 {
  right: 10%;
  transform: rotate(-18deg);
  animation-delay: 2.6s;
}

@keyframes beamShift {
  0%, 100% { opacity: 0.14; transform: translateY(0) rotate(18deg); }
  50% { opacity: 0.28; transform: translateY(-18px) rotate(14deg); }
}

.sparkles {
  position: absolute;
  inset: 0;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 230, 245, 0.95);
  box-shadow:
    0 0 10px rgba(255, 182, 224, 0.9),
    0 0 18px rgba(255, 182, 224, 0.4);
  animation: twinkle 3.4s ease-in-out infinite;
}

.s1 { left: 18%; top: 20%; animation-delay: 0.2s; }
.s2 { left: 74%; top: 16%; animation-delay: 1s; }
.s3 { left: 62%; top: 30%; animation-delay: 1.8s; }
.s4 { left: 28%; top: 72%; animation-delay: 0.8s; }
.s5 { left: 80%; top: 74%; animation-delay: 2.2s; }
.s6 { left: 44%; top: 18%; animation-delay: 2.8s; }
.s7 { left: 54%; top: 80%; animation-delay: 1.3s; }
.s8 { left: 10%; top: 54%; animation-delay: 2s; }

.star {
  position: absolute;
  color: rgba(255, 232, 244, 0.85);
  font-size: 12px;
  text-shadow: 0 0 12px rgba(255,182,224,0.7);
  animation: starBlink 4.8s ease-in-out infinite;
}

.st1 { left: 24%; top: 12%; animation-delay: 0.3s; }
.st2 { left: 67%; top: 22%; animation-delay: 1.7s; }
.st3 { left: 84%; top: 44%; animation-delay: 2.4s; }
.st4 { left: 16%; top: 68%; animation-delay: 0.9s; }
.st5 { left: 58%; top: 72%; animation-delay: 3s; }

@keyframes starBlink {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.22; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.45); }
}

.loaderCenter {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#logoIntro {
  width: 360px;
  max-width: 82vw;
  display: block;
  animation: logoFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(255, 182, 224, 0.95));
  transition: opacity 1s ease;
}

@keyframes logoFloat {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-14px) scale(1.04); }
  100% { transform: translateY(0px) scale(1); }
}

#enterButton {
  margin-top: 34px;
  padding: 14px 44px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, #fff0f8, #ffb6e0);
  color: #8c295f;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(255, 182, 224, 0.6),
    inset 0 0 8px rgba(255,255,255,0.18);
  transition: 0.25s ease;
}

#enterButton:hover {
  transform: scale(1.12);
  box-shadow:
    0 0 30px rgba(255, 182, 224, 0.9),
    0 0 48px rgba(255, 182, 224, 0.35);
}

#physicsCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ========================= */
/* HOME BACKGROUND */
/* ========================= */

.homeBg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.38), transparent 24%),
    linear-gradient(180deg, #fff9fd 0%, #fff1f8 34%, #ffe5f2 100%);
}

.homeNebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.36;
  animation: homeNebulaFloat 16s ease-in-out infinite;
}

.nebula1 {
  width: 360px;
  height: 360px;
  left: 6%;
  top: 10%;
  background: rgba(255, 168, 220, 0.22);
}

.nebula2 {
  width: 460px;
  height: 460px;
  right: 7%;
  top: 18%;
  background: rgba(211, 176, 255, 0.14);
  animation-delay: 2s;
}

.nebula3 {
  width: 520px;
  height: 520px;
  left: 50%;
  bottom: -12%;
  transform: translateX(-50%);
  background: rgba(255, 206, 231, 0.28);
  animation-delay: 4s;
}

@keyframes homeNebulaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.08); }
}

.homeCloud {
  position: absolute;
  width: 260px;
  height: 100px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 50%, rgba(255,255,255,0.76), transparent 34%),
    radial-gradient(circle at 52% 44%, rgba(255,240,248,0.58), transparent 38%),
    radial-gradient(circle at 72% 54%, rgba(255,220,239,0.42), transparent 34%);
  filter: blur(18px);
  opacity: 0.22;
  animation: homeCloudDrift 28s linear infinite;
}

.cloud1 { top: 12%; left: -16%; animation-duration: 34s; }
.cloud2 { top: 34%; left: -20%; animation-duration: 42s; animation-delay: 5s; }
.cloud3 { top: 62%; left: -18%; animation-duration: 38s; animation-delay: 9s; }
.cloud4 { top: 78%; left: -24%; animation-duration: 46s; animation-delay: 2s; }

@keyframes homeCloudDrift {
  0% { transform: translateX(0) translateY(0) scale(1); }
  50% { transform: translateX(56vw) translateY(-8px) scale(1.04); }
  100% { transform: translateX(120vw) translateY(0) scale(1); }
}

.homeStars,
.homeHearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.homeStar {
  position: absolute;
  color: rgba(255, 232, 244, 0.9);
  text-shadow:
    0 0 10px rgba(255, 182, 224, 0.62),
    0 0 22px rgba(255, 182, 224, 0.18);
  animation: homeStarTwinkle 5.2s ease-in-out infinite;
}

.hs1 { left: 10%; top: 18%; font-size: 14px; animation-delay: 0.2s; }
.hs2 { left: 22%; top: 10%; font-size: 18px; animation-delay: 1.5s; }
.hs3 { left: 34%; top: 24%; font-size: 12px; animation-delay: 2.4s; }
.hs4 { left: 52%; top: 14%; font-size: 16px; animation-delay: 0.8s; }
.hs5 { left: 68%; top: 20%; font-size: 12px; animation-delay: 2.8s; }
.hs6 { left: 82%; top: 12%; font-size: 16px; animation-delay: 1.2s; }
.hs7 { left: 16%; top: 78%; font-size: 16px; animation-delay: 2.1s; }
.hs8 { left: 38%; top: 82%; font-size: 12px; animation-delay: 0.5s; }
.hs9 { left: 66%; top: 76%; font-size: 16px; animation-delay: 1.8s; }
.hs10 { left: 86%; top: 72%; font-size: 12px; animation-delay: 3s; }

@keyframes homeStarTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.18); }
}

.miniHeart {
  position: absolute;
  color: rgba(255, 154, 206, 0.24);
  text-shadow: 0 0 10px rgba(255, 182, 224, 0.18);
  animation: floatMiniHeart 10s ease-in-out infinite;
  user-select: none;
}

.h1 { left: 12%; top: 18%; font-size: 28px; }
.h2 { left: 82%; top: 14%; font-size: 34px; animation-delay: 1s; }
.h3 { left: 22%; top: 76%; font-size: 26px; animation-delay: 2s; }
.h4 { left: 76%; top: 68%; font-size: 30px; animation-delay: 3s; }
.h5 { left: 48%; top: 12%; font-size: 24px; animation-delay: 4s; }
.h6 { left: 54%; top: 82%; font-size: 32px; animation-delay: 1.8s; }

@keyframes floatMiniHeart {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.18; }
  50% { transform: translateY(-8px) rotate(4deg); opacity: 0.32; }
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 56px 20px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  z-index: 1;
}

.hero.visible {
  opacity: 1;
  transform: translateY(0);
}

.heroCenter {
  width: min(1120px, 96vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.heroTiny {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.88);
  color: #c05a8f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  box-shadow: 0 8px 18px rgba(255, 182, 224, 0.10);
}

.heroMainTitle {
  margin: 16px 0 10px;
  font-size: clamp(62px, 10vw, 122px);
  line-height: 0.92;
  background: linear-gradient(180deg, #ff90c8 0%, #ff4fa4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(255, 120, 180, 0.28));
}

.heroLead {
  margin: 0 auto 22px;
  max-width: 780px;
  color: #b94d85;
  line-height: 1.84;
  font-size: 18px;
  font-weight: 700;
}

.homePortal {
  width: 100%;
  max-width: 980px;
}

.homeStatusBar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow:
    0 18px 34px rgba(255, 154, 206, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.homeStatusPill {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.homeLiveBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.homeLiveBadge.offline {
  background: rgba(255,255,255,0.44);
  border: 1px solid rgba(255,255,255,0.58);
  color: #a86087;
}

.homeLiveBadge.live {
  background: linear-gradient(135deg, #ff5aa8, #ff8fd0);
  color: white;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 0 18px rgba(255, 80, 150, 0.36),
    0 0 34px rgba(255, 80, 150, 0.18);
  animation: pulseLive 1.8s ease-in-out infinite;
}

@keyframes pulseLive {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.homeLiveText {
  color: #965875;
  font-weight: 700;
}

.homeQuickLinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.homeMiniBtn {
  text-decoration: none;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  background: #fff0f8;
  color: #a94b7e;
  border: 1px solid rgba(255,255,255,0.74);
  box-shadow: 0 8px 18px rgba(255, 154, 206, 0.10);
  transition: 0.22s ease;
}

.homeMiniBtn.alt {
  background: #f2ecff;
  color: #7260b8;
}

.homeMiniBtn:hover {
  transform: translateY(-2px) scale(1.03);
}

.heartStage {
  position: relative;
  width: min(560px, 92vw);
  margin: 0 auto;
  aspect-ratio: 600 / 540;
  display: flex;
  justify-content: center;
  align-items: center;
  animation:
    heartFloat 4.5s ease-in-out infinite,
    heartGlowPulse 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 34px rgba(255, 120, 180, 0.30));
}

@keyframes heartFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes heartGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(255, 120, 180, 0.22)); }
  50% { filter: drop-shadow(0 0 48px rgba(255, 120, 180, 0.48)); }
}

.heartSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.heartCenterText {
  position: relative;
  z-index: 2;
  width: 58%;
  max-width: 300px;
  padding: 18px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 10px 24px rgba(255, 120, 180, 0.14),
    inset 0 0 10px rgba(255,255,255,0.10);
}

.heartMini {
  display: inline-block;
  margin-bottom: 10px;
  color: #c15e93;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.heartCenterText h2 {
  margin: 0 0 8px;
  color: #b84e82;
  font-size: 42px;
  line-height: 1;
}

.heartCenterText p {
  margin: 0;
  color: #8f5473;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
}

.portalButtons {
  margin-top: -8px;
}

.portalButtonsInner {
  position: relative;
  margin: 0 auto;
  max-width: 940px;
  padding: 22px 20px 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.64);
  box-shadow:
    0 18px 34px rgba(255, 154, 206, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portalMini {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(255,255,255,0.62);
  color: #b95b8f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.heroButtons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.heroButtons .btn {
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow:
    0 10px 20px rgba(255, 182, 224, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 0.22s ease;
}

.heroButtons .btn:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.05);
}

.heroButtons .btn:active {
  transform: scale(0.97);
}

.btn-about { background: #fff0f8; color: #a94b7e; }
.btn-projects { background: #f2ecff; color: #7260b8; }
.btn-streams { background: #e9fff7; color: #3c9d7f; }
.btn-music { background: #fff4e8; color: #c8874c; }
.btn-fursona { background: #f7ecff; color: #8b67c9; }
.btn-art { background: #ffe7f3; color: #d0639a; }
.btn-chat { background: #edf5ff; color: #5b84c7; }
.btn-donated { background: #fff8de; color: #b88c1f; }

.btn-about:hover { box-shadow: 0 0 24px rgba(255, 182, 224, 0.55); }
.btn-projects:hover { box-shadow: 0 0 24px rgba(196, 182, 255, 0.55); }
.btn-streams:hover { box-shadow: 0 0 24px rgba(182, 255, 230, 0.55); }
.btn-music:hover { box-shadow: 0 0 24px rgba(255, 220, 182, 0.55); }
.btn-fursona:hover { box-shadow: 0 0 24px rgba(211, 182, 255, 0.55); }
.btn-art:hover { box-shadow: 0 0 24px rgba(255, 170, 210, 0.55); }
.btn-chat:hover { box-shadow: 0 0 24px rgba(182, 220, 255, 0.55); }
.btn-donated:hover { box-shadow: 0 0 24px rgba(255, 210, 120, 0.55); }

.homeInfoRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.homeInfoCard {
  padding: 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,247,252,0.88), rgba(255,234,244,0.80));
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow:
    0 14px 28px rgba(255, 154, 206, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.10);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homeInfoCard:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 26px rgba(255,160,210,0.20),
    0 18px 34px rgba(255,154,206,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

.sideTag {
  display: inline-block;
  margin-bottom: 10px;
  color: #c15e93;
  font-size: 12px;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.4px;
}

.homeInfoCard h3 {
  margin: 0 0 10px;
  color: #b44f82;
  font-size: 28px;
  line-height: 1.06;
}

.homeInfoCard p {
  margin: 0;
  color: #8d5374;
  line-height: 1.82;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 980px) {
  .heroButtons,
  .homeInfoRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #logoIntro {
    width: 260px;
  }

  #enterButton {
    font-size: 16px;
    padding: 12px 30px;
  }

  .hero {
    padding: 30px 14px 40px;
  }

  .heroMainTitle {
    font-size: clamp(48px, 13vw, 78px);
  }

  .heroLead {
    font-size: 15px;
  }

  .homeStatusBar {
    padding: 14px;
    border-radius: 18px;
  }

  .heartStage {
    width: min(460px, 96vw);
  }

  .heartCenterText {
    width: 68%;
    max-width: 250px;
    padding: 14px 12px;
  }

  .heartCenterText h2 {
    font-size: 26px;
  }

  .portalButtonsInner {
    border-radius: 24px;
    padding: 18px 14px 14px;
  }

  .heroButtons,
  .homeInfoRow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .heroButtons .btn {
    padding: 13px 16px;
    font-size: 16px;
  }

  .homeInfoCard h3 {
    font-size: 24px;
  }
}
