@font-face {
  font-family: 'Comic Neue';
  src: url('../paws-and-ladders/fonts/ComicNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Comic Neue';
  src: url('../paws-and-ladders/fonts/ComicNeue-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

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

:root {
  --pink: #f8c8dc;
  --lavender: #c8b8e8;
  --mint: #b8e8c8;
  --peach: #f8d8b8;
  --sky: #b8d8f8;
  --cream: #fdf6ec;
  --text: #4a3728;
}

body {
  min-height: 100vh;
  font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
  background: var(--cream);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-x: hidden;
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0.7;
}

.games {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1120px;
}

.game-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  width: 320px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.game-card.paws:hover { border-color: var(--pink); }
.game-card.tetris:hover { border-color: var(--lavender); }
.game-card.moonstone:hover { border-color: var(--lavender); }
.game-card.oracle:hover { border-color: var(--sky); }
.moonstone .card-btn { background: linear-gradient(135deg, #6b2bd9, #b983ff); }
.oracle .card-btn { background: linear-gradient(135deg, #73bce8, #d6a936); }

.card-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.card-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  color: white;
  transition: transform 0.2s;
}

.card-btn:hover { transform: scale(1.08); }

.paws .card-btn { background: linear-gradient(135deg, #f8c8dc, #c8b8e8); }
.tetris .card-btn { background: linear-gradient(135deg, #c8b8e8, #b8d8f8); }

.paws-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.paws-bg span {
  position: absolute;
  opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}
.paws-bg span:nth-child(1) { left: 5%; top: 10%; font-size: 1.8rem; animation-delay: 0s; }
.paws-bg span:nth-child(2) { left: 15%; top: 60%; font-size: 1.4rem; animation-delay: 1s; }
.paws-bg span:nth-child(3) { left: 25%; top: 30%; font-size: 2rem; animation-delay: 2s; }
.paws-bg span:nth-child(4) { left: 40%; top: 80%; font-size: 1.2rem; animation-delay: 0.5s; }
.paws-bg span:nth-child(5) { left: 55%; top: 15%; font-size: 1.6rem; animation-delay: 3s; }
.paws-bg span:nth-child(6) { left: 65%; top: 50%; font-size: 1.3rem; animation-delay: 1.5s; }
.paws-bg span:nth-child(7) { left: 75%; top: 25%; font-size: 1.9rem; animation-delay: 4s; }
.paws-bg span:nth-child(8) { left: 85%; top: 70%; font-size: 1.5rem; animation-delay: 2.5s; }
.paws-bg span:nth-child(9) { left: 10%; top: 85%; font-size: 1.7rem; animation-delay: 3.5s; }
.paws-bg span:nth-child(10) { left: 50%; top: 45%; font-size: 1.4rem; animation-delay: 5s; }
.paws-bg span:nth-child(11) { left: 90%; top: 40%; font-size: 1.6rem; animation-delay: 0.8s; }
.paws-bg span:nth-child(12) { left: 35%; top: 5%; font-size: 1.3rem; animation-delay: 4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  .games { flex-direction: column; align-items: center; }
  .game-card { width: 100%; max-width: 340px; }
}
