/* Mods List - Single Column Layout */
.mods-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mod-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mod-card:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.mod-card-pinned {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    position: relative;
}

.mod-card-pinned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37 0%, #b8941f 100%);
    border-radius: 8px 0 0 8px;
}

.mod-card-pinned:hover {
    border-color: #e6c04a;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.mod-card-pinned .mod-label {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #fff;
}

.mod-link {
    display: flex;
    gap: 20px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.mod-link:hover {
    text-decoration: none;
}

.mod-icon {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #2a2a2a;
    border: 1px solid #333;
}

.mod-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mod-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0; /* Prevents overflow */
}

.mod-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.mod-title {
    font-size: 1.5em;
    color: #fff;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.mod-label {
    background: #d4af37;
    color: #0a0a0a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mod-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #aaa;
    font-size: 0.9em;
    margin: 0;
}

.mod-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mod-meta i {
    color: #d4af37;
    font-size: 0.95em;
}

.mod-description {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95em;
}

.mod-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    font-weight: 700;
    font-size: 0.85em;
    margin-top: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.mod-card:hover .mod-read-more {
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.mod-read-more i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.mod-card:hover .mod-read-more i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mod-link {
        flex-direction: column;
        gap: 15px;
    }
    
    .mod-icon {
        width: 120px;
        height: 120px;
        align-self: center;
    }
    
    .mod-title {
        font-size: 1.25em;
    }
    
    .mod-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mod-meta {
        gap: 15px;
        font-size: 0.85em;
    }
    
    .mod-description {
        font-size: 0.9em;
    }
}
/* Mod Detail Page */
.mod-detail-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.mod-detail-icon {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2a2a;
    border: 2px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mod-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mod-detail-info {
    flex: 1;
    min-width: 0;
}

.mod-detail-section {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.mod-detail-section h2 {
    color: #d4af37;
    font-size: 1.8em;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mod-detail-section h2 i {
    font-size: 0.9em;
}

.mod-detail-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05em;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.changelog-entry {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
    padding: 20px;
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    background: rgba(0, 0, 0, 0.4);
    border-left-width: 6px;
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.changelog-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.changelog-date {
    color: #888;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.changelog-date i {
    color: #d4af37;
}

.changelog-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 1em;
}

/* Responsive for Detail Page */
@media (max-width: 768px) {
    .mod-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mod-detail-icon {
        width: 150px;
        height: 150px;
    }
    
    .mod-detail-section {
        padding: 20px;
    }
    
    .mod-detail-section h2 {
        font-size: 1.5em;
    }
    
    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .mod-detail-icon {
        width: 120px;
        height: 120px;
    }
    
    .mod-detail-section {
        padding: 15px;
    }
    
    .mod-detail-section h2 {
        font-size: 1.3em;
    }
    
    .changelog-entry {
        padding: 15px;
    }
}

/* Mod Action Buttons */
.mod-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mod-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mod-btn i {
    font-size: 1em;
}

.mod-btn-primary {
    background: #d4af37;
    color: #0a0a0a;
    border-color: #d4af37;
}

.mod-btn-primary:hover {
    background: #e6c04a;
    border-color: #e6c04a;
    color: #0a0a0a;
}

.mod-btn-secondary {
    background: transparent;
    color: #d4af37;
    border-color: #d4af37;
}

.mod-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #e6c04a;
    color: #e6c04a;
}
@media (max-width: 480px) {
    .mod-link {
        padding: 15px;
    }
    
    .mod-icon {
        width: 100px;
        height: 100px;
    }
    
    .mod-title {
        font-size: 1.1em;
    }
    
    .mod-meta {
        flex-direction: column;
        gap: 8px;
    }
}
