html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

.snap-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

section {
  scroll-snap-align: start;
  min-height: 100vh;
}

.active-tab {
  background: #22c55e;
  color: black;
  box-shadow:
    0 0 10px rgba(34, 197, 94, 0.6),
    0 0 30px rgba(34, 197, 94, 0.4);
}

.tab-btn:hover {
  background: rgba(34, 197, 94, 0.2);
}

.discord-glow-btn {
  position: relative;
  box-shadow:
    0 0 15px rgba(34,197,94,0.35),
    0 0 35px rgba(34,197,94,0.18);
  animation: discordGlow 1.8s ease-in-out infinite alternate;
}

.discord-glow-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 25px rgba(34,197,94,0.8),
    0 0 55px rgba(34,197,94,0.35);
}

.discord-glow-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 0.85rem;
  background: linear-gradient(90deg, rgba(34,197,94,0.8), rgba(255,255,255,0.25), rgba(34,197,94,0.8));
  opacity: 0.35;
  filter: blur(10px);
  z-index: -1;
}

@keyframes discordGlow {
  from {
    box-shadow:
      0 0 12px rgba(34,197,94,0.35),
      0 0 28px rgba(34,197,94,0.12);
  }
  to {
    box-shadow:
      0 0 24px rgba(34,197,94,0.75),
      0 0 55px rgba(34,197,94,0.35);
  }
}

.sheet-container {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.sheet-container iframe {
  width: 100%;
  height: 80vh;
  border-radius: 12px;
  filter: invert(1) hue-rotate(180deg) contrast(0.9) brightness(0.9);
}

.card {
  background: rgb(17 24 39);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34,197,94,0.4);
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.08);
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  overflow-y: auto;
  padding: 90px 24px 40px;
}

.detail-overlay.show {
  display: block;
}

.detail-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.detail-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #111111 0%, #0b0b0b 60%, #050505 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.65);
}

.detail-image-wrap {
  background: radial-gradient(circle at top, rgba(34,197,94,0.12), transparent 45%), #050505;
}

.detail-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #000;
}

.detail-download-btn:hover {
  filter: brightness(1.08);
}