* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #eee;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
#app { width: 100%; max-width: 420px; }
header { text-align: center; margin-bottom: 24px; }
h1 { font-size: 2.2rem; letter-spacing: -1px; }
#subtitle { opacity: 0.7; font-size: 0.9rem; }

.screen { display: none; }
.screen.active { display: block; }
.hidden { display: none !important; }

.card, .person-card {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
input[type="file"] { margin: 16px 0; }
#enter-btn, button {
  background: #ff4757;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 8px;
  transition: transform 0.1s;
}
#enter-btn:disabled { opacity: 0.4; cursor: not-allowed; }
button:hover { transform: scale(1.05); }
.not { background: #576574; }
.hot { background: #ff6b6b; }

.person-card img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}
.actions { display: flex; justify-content: space-around; margin: 20px 0; }
.stats { text-align: center; opacity: 0.8; }
#preview img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin-top: 12px; }
#leaderboard-list { margin: 16px 0; }
.lb-item { display: flex; justify-content: space-between; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 8px; margin: 6px 0; }

.ad-placeholder { margin-top: 20px; text-align: center; }
.ad-slot {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 30px 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
}
.gopro {
  background: linear-gradient(90deg, #ffd700, #ffb700);
  color: #222;
  font-weight: 700;
  width: 100%;
  max-width: 320px;
}
