/* 猜谜语网站 Custom Styles */

/* Base Styles */
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

/* Custom Colors */
.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.text-primary-dark {
    color: #0a58ca;
}

/* Card Hover Effects */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Riddle Cards */
.riddle-card {
    height: 100%;
    transition: all 0.3s ease;
}

.riddle-card:hover {
    border-color: #0d6efd;
}

.riddle-card .card-footer {
    background-color: transparent;
}

/* Category Icons */
.category-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Difficulty Badges */
.badge-difficulty-easy {
    background-color: #198754;
}

.badge-difficulty-medium {
    background-color: #fd7e14;
}

.badge-difficulty-hard {
    background-color: #dc3545;
}

/* Comments */
.comment-avatar {
    width: 48px;
    height: 48px;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Buttons */
.btn-hint {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.btn-hint:hover {
    color: #664d03;
    background-color: #ffecb5;
    border-color: #ffc107;
}

/* Custom Form Controls */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* User Profile */
.profile-header {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-icon {
        font-size: 1.5rem;
        width: 48px;
        height: 48px;
    }
}
