﻿/* Fixed Categories Styles */
.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(10, 25, 47, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ccd6f6;
}

.category-item:hover {
    background: rgba(79, 195, 247, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.3);
}

.category-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.category-count {
    background: rgba(79, 195, 247, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: bold;
    color: #4fc3f7;
}

/* Fixed Mods Grid */
.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.mod-card {
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3);
    border-color: rgba(79, 195, 247, 0.5);
}

.mod-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(79, 195, 247, 0.2);
}

.mod-info {
    padding: 20px;
}

.mod-title {
    color: #4fc3f7;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.mod-name {
    color: #ffffff;
    font-size: 1em;
    margin: 0 0 10px 0;
}

.mod-description {
    color: #8892b0;
    font-size: 0.9em;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.mod-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 15px 0;
}

.mod-category, .mod-game, .mod-size {
    background: rgba(79, 195, 247, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #4fc3f7;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.mod-stats {
    display: flex;
    justify-content: space-between;
    margin: 0 0 15px 0;
    font-size: 0.9em;
}

.mod-comments, .mod-downloads, .mod-rating {
    color: #8892b0;
}

.mod-actions {
    display: flex;
    gap: 10px;
}

.download-btn, .details-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.download-btn {
    background: linear-gradient(45deg, #4fc3f7, #29b6f6);
    color: white;
}

.download-btn:hover {
    background: linear-gradient(45deg, #29b6f6, #1976d2);
    transform: translateY(-2px);
}

.details-btn {
    background: rgba(79, 195, 247, 0.1);
    color: #4fc3f7;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.details-btn:hover {
    background: rgba(79, 195, 247, 0.2);
    transform: translateY(-2px);
}

/* Navigation fixes */
.navigation-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.navigation-bar a {
    color: #4fc3f7;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: bold;
    white-space: nowrap;
}

.navigation-bar a:hover {
    background: rgba(79, 195, 247, 0.2);
    transform: translateY(-2px);
}
