.animate-gradient {
    background-size: 400%;
    -webkit-animation: gradient 15s ease infinite;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-hover {
    transition: transform 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
}

.refresh-button {
    transition: all 0.3s ease;
}

.refresh-button:active {
    transform: scale(0.95);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .modal-content {
    background-color: #1f2937;
    color: white;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

.header {
    background-color: white;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dark .header {
    background-color: #1f2937;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    background-color: #f3f4f6;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.dark .category-tabs {
    background-color: #374151;
}

.category-tab {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-tab.active {
    background-color: #3b82f6;
    color: white;
}

.category-tab:hover:not(.active) {
    background-color: #e5e7eb;
}

.dark .category-tab:hover:not(.active) {
    background-color: #4b5563;
}

.refresh-button {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
}

.dark .refresh-button {
    background-color: #374151;
}

.refresh-button:hover {
    background-color: #e5e7eb;
}

.dark .refresh-button:hover {
    background-color: #4b5563;
}

.refresh-button:active {
    transform: scale(0.95);
}

.logo {
    height: 2.5rem;
    width: auto;
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
}