/* /css/index.css - только для index.php */
.site-card {
    transition: transform 0.2s;
    margin-bottom: 20px;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.views-count {
    font-size: 0.9em;
    color: #6c757d;
}

.category-badge {
    font-size: 0.7em;
}

.smaller {
    font-size: 90%;
}

/* Стили для рейтинга */
.rating-card {
    border-left: 5px solid transparent;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.rating-card.first-place {
    border: 1px solid #ffd700;
    border-radius: 25px;
    border-left-color: #ffd700;
    background-color: #fff3bb;
    border-left-width: 7px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.rating-card.second-place {
    border: 1px solid #ffd700;
    border-radius: 25px;
    border-left-color: #c0c0c0;
    border-left-width: 7px;
    background-color: #fff3bb;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.2);
}

.rating-card.third-place {
    border: 1px solid #ffd700;
    border-radius: 25px;
    border-left-color: #cd7f32;
    background-color: #fff3bb;
    border-left-width: 7px;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.2);
}

.rating-place {
    font-weight: bold;
    font-size: 1.2em;
    color: #6c757d;
}

.rating-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #495057;
}

.rating-star {
    color: #ffc107;
    font-size: 1.2em;
}

.rules-box {
    background-color: #e9fee9;
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
    margin-bottom: 30px;
}

.telegram-btn {
    position: absolute;
    top: 20px;
    left: 20px;
}