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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Courier New", Courier, monospace;
  color: #f5d77a;
  background: #0c0902;
  overflow-x: hidden;
}

#gold-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    transparent 0 2px,
    rgba(255, 200, 50, 0.03) 2px 4px
  );
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem 2rem;
}

.spin-wrap {
  perspective: 900px;
  margin-bottom: 1.25rem;
}

.spin-title {
  position: relative;
  font-size: clamp(3.2rem, 13vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  margin-left: 0.35em;
  color: #ffd700;
  text-shadow:
    0 0 12px #ffd700,
    0 0 30px rgba(255, 180, 0, 0.55),
    0 0 60px rgba(255, 140, 0, 0.25);
  animation: spin3d 12s linear infinite;
  transform-style: preserve-3d;
}

.spin-title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 200, 80, 0.35);
  transform: translateZ(-28px);
}

@keyframes spin3d {
  0% { transform: rotateY(0deg) rotateX(8deg); }
  100% { transform: rotateY(360deg) rotateX(8deg); }
}

.tagline {
  font-size: 0.88rem;
  letter-spacing: 0.3em;
  color: #d4a82a;
  text-shadow: 0 0 10px rgba(255, 200, 50, 0.4);
  margin-bottom: 0.6rem;
}

.subtitle {
  font-size: 0.95rem;
  color: #c9a84c;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  gap: 1.35rem;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 80, 0.35);
  background: rgba(20, 14, 4, 0.82);
  padding: 1.4rem 1.5rem;
  box-shadow:
    0 0 30px rgba(255, 180, 0, 0.12),
    inset 0 1px 0 rgba(255, 220, 120, 0.08);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow:
    0 0 40px rgba(255, 180, 0, 0.22),
    inset 0 1px 0 rgba(255, 220, 120, 0.12);
}

.card-glow {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.12), transparent 70%);
  pointer-events: none;
}

.card-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #b8860b;
  margin-bottom: 0.5rem;
}

.card h2 {
  font-size: 1.15rem;
  color: #ffd700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 200, 50, 0.35);
}

.card p {
  line-height: 1.7;
  color: #e8c96a;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.card strong {
  color: #fff0b0;
}

.note {
  font-size: 0.85rem;
  color: #c9a84c;
  font-style: italic;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 200, 80, 0.4);
  color: #f5d77a;
  background: rgba(40, 28, 6, 0.9);
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: rgba(80, 55, 10, 0.95);
  box-shadow: 0 0 18px rgba(255, 180, 0, 0.3);
  color: #fff4c4;
}

.btn.primary {
  border-color: #ffd700;
  background: linear-gradient(180deg, rgba(200, 150, 20, 0.95), rgba(120, 80, 10, 0.95));
  color: #1a1000;
  font-weight: 700;
}

.btn.primary:hover {
  color: #000;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.45);
}

.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem 1rem 2.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: #b8860b;
  text-shadow: 0 0 8px rgba(255, 180, 0, 0.25);
}

@media (max-width: 700px) {
  .spin-title {
    letter-spacing: 0.18em;
    margin-left: 0.18em;
  }

  .tagline {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .links {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
