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

html { scroll-behavior: smooth; }

body {
  background: #0d0a1e;
  color: #f0eaff;
  font-family: 'Nunito', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 80% 40% at 20% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 35% at 80% 10%, rgba(236, 72, 153, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

header {
  padding: 5.5rem 2rem 4rem;
  text-align: center;
}

.wordmark {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f0eaff;
}

.wordmark span {
  background: linear-gradient(120deg, #f472b6 0%, #a78bfa 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-sub {
  margin-top: 1.1rem;
  color: rgba(220, 200, 255, 0.50);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ─── Grid ───────────────────────────────────────────────────────────────── */

main {
  flex: 1;
  padding: 0 2rem 5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ─── Card ───────────────────────────────────────────────────────────────── */

.card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:not(.card--soon):hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 56px rgba(167, 139, 250, 0.22), 0 0 0 1px rgba(167, 139, 250, 0.20);
  border-color: rgba(167, 139, 250, 0.35);
}

.card--soon {
  opacity: 0.30;
  cursor: default;
}

/* ─── Thumbnail ──────────────────────────────────────────────────────────── */

.thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.thumb--penguin {
  background: linear-gradient(160deg, #0a1a38 0%, #07111f 100%);
}

.thumb--penguin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

.ice {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 38%, #b8e8f5 0%, #7ec5e2 50%, #4aa8cc 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  box-shadow: 0 0 50px rgba(126, 197, 226, 0.30), 0 0 0 2px rgba(255,255,255,0.10);
}

.dot {
  position: absolute;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.thumb--soon {
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.thumb--soon::after {
  content: '?';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(167, 139, 250, 0.15);
}

/* ─── Card info ──────────────────────────────────────────────────────────── */

.info {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.info h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #f0eaff;
}

.info p {
  font-size: 0.875rem;
  color: rgba(220, 200, 255, 0.50);
  font-weight: 400;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(120deg, #7c3aed 0%, #ec4899 100%);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  width: fit-content;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.card:hover .play {
  opacity: 0.88;
  transform: scale(1.04);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 2.5rem 2rem;
  color: rgba(200, 180, 255, 0.22);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
