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

body {
  min-height: 100vh;
  overflow: hidden;
  background: #030704;
  font-family: Arial, sans-serif;
}

/* BACKGROUND */

.background-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(0,255,100,.13), transparent 55%),
    radial-gradient(ellipse at 15% 20%,
      rgba(0,180,70,.08), transparent 45%),
    radial-gradient(ellipse at 85% 80%,
      rgba(0,255,120,.07), transparent 45%);
}

.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: #00ff72;
  box-shadow: 0 0 10px #00ff72;
  opacity: .35;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  from { transform: translateY(110vh); }
  to { transform: translateY(-10vh); }
}

/* CENTER */

.center {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  position: relative;
  z-index: 2;
}

/* GLASS CARD */

.glass-card {
  width: 340px;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;

  background: rgba(150,255,190,.045);
  border: 1px solid rgba(220,255,230,.22);

  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);

  box-shadow:
    0 20px 70px rgba(0,0,0,.5),
    inset 0 1px 2px rgba(255,255,255,.22),
    0 0 45px rgba(0,255,100,.12);

  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .16s ease-out;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle at var(--x,50%) var(--y,50%),
    rgba(0,255,120,.30),
    rgba(160,255,200,.09) 25%,
    transparent 55%
  );
  pointer-events: none;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.17),
    transparent 35%,
    transparent 70%,
    rgba(0,255,100,.10)
  );
  box-shadow: inset 0 0 35px rgba(255,255,255,.035);
}

/* CONTENT */

.card-content {
  position: relative;
  z-index: 3;
  min-height: 440px;
  padding: 30px 18px;

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

  transform: translateZ(25px);
}

/* UPLOADED IMAGE */

.project-logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(57,255,101,.8);
  margin-bottom: 24px;

  box-shadow:
    0 0 20px rgba(0,255,80,.3),
    0 0 45px rgba(0,255,80,.12);
}

/* TYPING TITLE */

.typing-title {
  min-height: 30px;
  color: #eaffef;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(0,255,90,.4);
}

.cursor {
  color: #39ff65;
  animation: blink .7s infinite;
}

.cursor.small {
  font-size: 10px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* JOIN NOW */

.join-label {
  min-height: 20px;
  margin-top: 12px;
  margin-bottom: 14px;

  color: rgba(220,255,230,.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
}

/* DISCORD BUTTON */

.discord-button {
  width: 245px;
  min-height: 52px;
  padding: 12px 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;

  color: #031006;
  background: linear-gradient(
    110deg,
    #65ff86,
    #20db55,
    #0bbd42
  );

  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.3px;

  box-shadow:
    0 7px 25px rgba(0,255,90,.2),
    inset 0 1px 1px rgba(255,255,255,.4);

  transition: .25s ease;
}

.discord-button:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 35px rgba(0,255,90,.4);
}

.button-arrow {
  font-size: 18px;
  transition: transform .25s ease;
}

.discord-button:hover .button-arrow {
  transform: translate(3px,-3px);
}

/* MOBILE */

@media (max-width: 500px) {
  .glass-card {
    width: 310px;
    min-height: 420px;
  }

  .card-content {
    min-height: 420px;
  }

  .typing-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .particle,
  .cursor {
    animation: none;
  }

  .glass-card,
  .discord-button {
    transition: none;
  }
}
