* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #172033;
}

.hero {
  background: linear-gradient(135deg, #171c3a, #4338ca);
  color: white;
  padding: 70px 20px;
  text-align: center;
}

.hero-content { max-width: 900px; margin: auto; }

.emoji { font-size: 45px; margin-bottom: 15px; }

h1 {
  font-size: 70px;
  margin: 0;
  letter-spacing: 5px;
}

.tagline { font-size: 22px; margin: 15px 0 30px; }

button {
  background: #ffd43b;
  border: none;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

button:hover { transform: scale(1.05); }

#surpriseMessage {
  font-size: 24px;
  font-weight: bold;
  min-height: 30px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

nav a {
  text-decoration: none;
  color: #172033;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 20px;
}

nav a:hover { background: #e7e9ff; }

.section {
  max-width: 1000px;
  margin: auto;
  padding: 70px 20px;
}

.section h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 10px;
}

.intro {
  text-align: center;
  font-size: 18px;
  margin-bottom: 35px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-8px); }

.card h3 { font-size: 24px; }

.image-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9edff;
  border-radius: 20px;
  font-size: 80px;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.tune-link { display: block; }

.tune-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.image-placeholder.big { height: 250px; }

.rating { font-size: 25px; margin-top: 15px; }

.champion {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.subheading {
  text-align: center;
  margin-top: 50px;
  font-size: 28px;
}

.ranking {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 25px 50px;
  border-radius: 20px;
  font-size: 20px;
  line-height: 2;
}

footer {
  text-align: center;
  padding: 40px;
  background: #171c3a;
  color: white;
}

@media (max-width: 600px) {
  h1 { font-size: 45px; }
  .tagline { font-size: 17px; }
  nav { flex-wrap: wrap; }
  nav a { font-size: 14px; }
  .section h2 { font-size: 32px; }
}
