/* ClickDog - modern, playful style */
body {
    background: linear-gradient(135deg, #f7fafc 0%, #e3e6f3 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}
.barks-counter {
    font-size: 2.7rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 22px;
    text-shadow: 1px 1px 0 #fff, 2px 2px 8px #b3b3b3;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fbbf24 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dog-img {
    width: 280px;
    height: auto;
    cursor: pointer;
    transition: transform 0.12s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    border-radius: 18px;
    border: 3px solid #fbbf24;
    background: #fffbe7;
}
.dog-img:active {
    transform: scale(1.10) rotate(-3deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.leaderboard {
    margin-top: 60px;
    width: 370px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 28px 22px 20px 22px;
    border: 2px solid #fbbf24;
}
.leaderboard h2 {
    margin: 0 0 16px 0;
    font-size: 1.35rem;
    color: #f59e42;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 600;
}
.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.leaderboard-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f3e8ff;
    font-size: 1.12rem;
    color: #374151;
    font-weight: 500;
    transition: background 0.2s;
}
.leaderboard-list li:nth-child(1) { background: #fef3c7; color: #b45309; }
.leaderboard-list li:nth-child(2) { background: #fdf6b2; color: #92400e; }
.leaderboard-list li:nth-child(3) { background: #fce7f3; color: #a21caf; }
.leaderboard-list li:last-child {
    border-bottom: none;
}
.error {
    color: #e53e3e;
    margin-top: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
}
@media (max-width: 500px) {
    .leaderboard { width: 98vw; padding: 12vw 2vw; }
    .dog-img { width: 90vw; }
}
