:root {
  --bg-color: #0d020d;
  --pink-primary: #ff2a8d;
  --pink-deep: #cc186b;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --link-gray: #a1a1aa;
  --link-gray-hover: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  color: var(--white);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 28%, rgba(255, 42, 141, 0.12) 0%, rgba(13, 2, 13, 0) 55%),
    linear-gradient(180deg, #130313 0%, #080108 100%);
}

.glow-center {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 141, 0.16) 0%, rgba(204, 24, 107, 0.05) 50%, transparent 70%);
  filter: blur(85px);
  animation: pulse-glow 7s infinite alternate ease-in-out;
}

.viewport {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 1.5rem;
}

.hero-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  width: 100%;
  animation: fade-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-box {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.logo-aura {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 141, 0.35) 0%, transparent 70%);
  filter: blur(16px);
  animation: aura-breathe 4s infinite alternate ease-in-out;
}

.brand-icon {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(255, 42, 141, 0.4));
  animation: float-logo 4.5s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}

.logo-box:hover .brand-icon {
  transform: scale(1.05);
}

.brand-title {
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: #ffffff;
  filter: drop-shadow(0 4px 18px rgba(255, 42, 141, 0.35));
}

.tagline {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 2.2rem;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 16px rgba(255, 42, 141, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 22px rgba(255, 42, 141, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.discord-btn:active {
  transform: translateY(0);
}

.discord-icon {
  width: 20px;
  height: 20px;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.discord-btn:hover .arrow-icon {
  transform: translateX(3px);
}

.discord-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--link-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.discord-link:hover {
  color: var(--link-gray-hover);
}

@keyframes fade-enter {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float-logo {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes aura-breathe {
  0% { transform: scale(0.92); opacity: 0.35; }
  100% { transform: scale(1.08); opacity: 0.65; }
}

@keyframes pulse-glow {
  0% { opacity: 0.45; }
  100% { opacity: 0.8; }
}

@media (max-width: 600px) {
  .logo-box {
    width: 100px;
    height: 100px;
    margin-bottom: 1.2rem;
  }
  .brand-title {
    font-size: 2.4rem;
  }
  .tagline {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }
}
