/**
 * Equipment Sets Styles v1.0
 * Sprint 4 - Equipment Sets UI
 */

/* Sets Container */
.sets-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.sets-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.sets-description {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Active Sets Section */
.active-sets-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.active-sets-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #f39c12;
}

.active-sets-section.empty {
    text-align: center;
    padding: 2rem;
}

.no-sets {
    color: #95a5a6;
}

.no-sets p:first-child {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.no-sets .hint {
    font-size: 0.9rem;
    opacity: 0.7;
}

.active-sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

/* Active Set Card */
.active-set-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid;
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.active-set-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.set-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.set-icon {
    font-size: 2.5em;
}

.set-info {
    flex: 1;
}

.set-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.set-pieces {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.set-active-bonuses {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bonus-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.bonus-item.active {
    background: rgba(46, 204, 113, 0.1);
    border-left-color: #2ecc71;
}

.bonus-name {
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 0.25rem;
}

.bonus-description {
    font-size: 0.9rem;
    color: #ecf0f1;
}

/* Sets Collection */
.sets-collection {
    margin-top: 2rem;
}

.sets-collection h3 {
    margin-bottom: 1.5rem;
    color: #3498db;
}

/* Set Card */
.set-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    transition: all 0.3s;
}

.set-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.set-card.active {
    background: rgba(46, 204, 113, 0.1);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
}

.set-card-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.set-icon-large {
    font-size: 4em;
    line-height: 1;
}

.set-header-info {
    flex: 1;
}

.set-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.set-description {
    margin: 0 0 0.75rem 0;
    color: #bdc3c7;
    font-size: 0.95rem;
}

.set-theme-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Progress Bar */
.set-progress {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.progress-count {
    font-weight: bold;
    color: #ecf0f1;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Set Pieces List */
.set-pieces-list {
    margin-bottom: 1.5rem;
}

.set-pieces-list h5 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #ecf0f1;
    font-size: 1rem;
}

.set-piece {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
}

.set-piece.owned {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ecc71;
}

.set-piece.missing {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.piece-icon {
    font-size: 1.1em;
}

.piece-slot {
    text-transform: capitalize;
}

/* Set Bonuses Info */
.set-bonuses-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.set-bonuses-info h5 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #f39c12;
    font-size: 1rem;
}

.bonus-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.bonus-item.bonus-active {
    background: rgba(46, 204, 113, 0.15);
    border-left-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.bonus-pieces {
    font-weight: bold;
    color: #ecf0f1;
}

.bonus-active-tag {
    background: #2ecc71;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.bonus-desc {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .active-sets-grid {
        grid-template-columns: 1fr;
    }
    
    .set-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .set-icon-large {
        font-size: 3em;
    }
    
    .set-piece {
        width: calc(50% - 0.5rem);
        margin-right: 0.25rem;
    }
}
