body { font-family: sans-serif; background: #1a1a1a; color: #eee; margin: 0; padding: 0; }
.container { max-width: 900px; margin: 0 auto; padding: 15px; }
a { text-decoration: none; color: inherit; }

/* Header */
header { background: #b71c1c; padding: 20px 0; text-align: center; margin-bottom: 20px;}
header h1 { margin: 0; color: #fff; text-transform: uppercase; }
header h1 a { color: #fff; text-decoration: none; }
header span { color: #ffeb3b; }
header nav { margin-top: 10px; font-size: 0.9em; }
header nav a { color: #ddd; margin: 0 10px; }
header nav a:hover { color: #fff; text-decoration: underline; }

/* Grid (Legacy / Categories) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.card { background: #333; border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 10px; }
.card h2 { font-size: 1.1em; margin: 5px 0; color: #ffeb3b; }
.tagline { font-size: 0.8em; color: #ccc; }

/* Buttons */
.btn { display: block; background: #444; text-align: center; padding: 5px; margin-top: 10px; font-size: 0.8em; border-radius: 4px; }
.btn-large { display: inline-block; background: #d32f2f; color: white; padding: 15px 30px; font-weight: bold; font-size: 1.2em; border-radius: 5px; margin-top: 10px; }
.btn-large:hover { background: #b71c1c; }

/* Model Page specific */
.review-box { background: #2a2a2a; padding: 20px; border-radius: 8px; }
.main-img { width: 100%; max-width: 400px; display: block; margin: 0 auto 20px; border-radius: 8px; }
.text-content { line-height: 1.6; color: #ddd; margin-bottom: 30px; }
.cta-box { background: #222; border: 1px solid #ffeb3b; padding: 20px; text-align: center; border-radius: 8px; }
.back-link { display: inline-block; margin-bottom: 15px; color: #aaa; }

/* --- HOVER EFFECTS --- */
.img-hover-wrap { position: relative; display: block; overflow: hidden; }
.hover-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.img-hover-wrap:hover .hover-overlay { opacity: 1; }
.play-button { background: #d32f2f; color: white; padding: 10px 20px; border-radius: 30px; font-weight: bold; text-transform: uppercase; font-size: 0.9em; box-shadow: 0 0 10px rgba(0,0,0,0.5); border: 2px solid white; }
.img-hover-wrap:hover .play-button { transform: scale(1.1); transition: transform 0.2s; }

/* --- LEADERBOARD LIST STYLES (New) --- */
.leaderboard-header { text-align: center; margin-bottom: 30px; border-bottom: 2px solid #ffeb3b; padding-bottom: 10px; }
.rank-row { display: flex; align-items: center; background: #2a2a2a; margin-bottom: 15px; padding: 15px; border-radius: 8px; border-left: 5px solid #d32f2f; transition: transform 0.2s; }
.rank-row:hover { transform: translateX(5px); background: #333; }

/* Rank Number */
.rank-number { font-size: 2.5em; font-weight: bold; color: #555; width: 60px; text-align: center; flex-shrink: 0; }
.rank-row:nth-child(1) .rank-number { color: #ffd700; }
.rank-row:nth-child(2) .rank-number { color: #c0c0c0; }
.rank-row:nth-child(3) .rank-number { color: #cd7f32; }

/* Image */
.rank-img img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid #444; margin-right: 20px; }

/* Details */
.rank-details { flex-grow: 1; }
.rank-details h2 { margin: 0 0 5px 0; font-size: 1.2em; }
.rank-details h2 a { color: #fff; text-decoration: none; }
.rating-stars { color: #ffeb3b; font-size: 0.9em; margin-top: 5px; }
.score { color: #888; margin-left: 10px; font-size: 0.8em; }

/* Action Buttons */
.rank-action { display: flex; flex-direction: column; gap: 10px; text-align: center; min-width: 120px; }
.btn-vote { background: #d32f2f; color: white; padding: 8px 15px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 0.9em; }
.btn-vote:hover { background: #b71c1c; }
.link-profile { color: #aaa; font-size: 0.8em; text-decoration: underline; }

/* Mobile */
@media (max-width: 600px) {
    .rank-row { flex-wrap: wrap; text-align: center; justify-content: center; }
    .rank-number { width: 100%; margin-bottom: 10px; font-size: 1.5em; }
    .rank-img { margin-right: 0; margin-bottom: 10px; }
    .rank-details { width: 100%; margin-bottom: 15px; }
    .rank-action { width: 100%; flex-direction: row; justify-content: center; }
}