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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
  transition: background-color 0.3s;
}

body.win {
  background: linear-gradient(135deg, #006272 0%, #00838f 50%, #4db6ac 100%);
  color: #fff;
}

body.loss {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #cbd5e1;
}

body.no-game {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4a6274 100%);
  color: #94a3b8;
}

body.no-recent {
  background: linear-gradient(135deg, #1a3a4a 0%, #1e4d5e 50%, #2a6272 100%);
  color: #b0c4ce;
}

main {
  max-width: 600px;
  width: 100%;
}

.shark-icon {
  font-size: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

body.loss .shark-icon {
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3)) grayscale(0.5);
}

h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

body.win h1 { color: #e0f7fa; }
body.loss h1 { color: #94a3b8; }

.answer {
  margin-bottom: 30px;
}

.big-answer {
  font-size: clamp(60px, 15vw, 120px);
  font-weight: 900;
  letter-spacing: -2px;
  display: block;
  line-height: 1;
}

.big-answer.yes {
  color: #fff;
  text-shadow: 
    0 0 40px rgba(0, 255, 200, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.big-answer.no {
  color: #64748b;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.big-answer.maybe {
  font-size: clamp(30px, 8vw, 50px);
  color: #94a3b8;
}

.big-answer.not-last-night {
  font-size: clamp(28px, 7vw, 48px);
  color: #e2e8f0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.recent-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  margin-bottom: 16px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.details {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.team {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}

.team-name {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.team.winner .team-name {
  opacity: 1;
}

.team-score {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.team.winner .team-score {
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

body.loss .team.winner .team-score {
  color: #e2e8f0;
}

.vs {
  font-size: 24px;
  opacity: 0.5;
  font-weight: 300;
}

.overtime {
  margin-top: 15px;
  font-size: 16px;
  opacity: 0.8;
}

.game-date {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.6;
}

.celebration {
  font-size: 48px;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.sad {
  margin-bottom: 30px;
  font-size: 20px;
  opacity: 0.6;
  font-style: italic;
}

.result-badge {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
}

.win-badge {
  color: #065f46;
  background: rgba(74, 222, 128, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.loss-badge {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.no-game-info {
  margin-bottom: 30px;
}

.no-game-info p {
  font-size: 18px;
  margin-bottom: 12px;
}

.shark-emoji {
  font-size: 48px;
}

footer {
  margin-top: 20px;
  opacity: 0.4;
  font-size: 13px;
}

footer p {
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .shark-icon { font-size: 60px; }
  .team-score { font-size: 40px; }
  .team { min-width: 80px; }
  .details { padding: 20px; }
}
