/* 撸撸社攻略页面样式 */

.strategy-content {
    padding: 40px 0;
}

.strategy-nav {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.strategy-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.strategy-tabs .tab {
    padding: 8px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.strategy-tabs .tab.active,
.strategy-tabs .tab:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.strategy-filters {
    display: flex;
    gap: 12px;
}

.strategy-filters select {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-size: 14px;
}

.strategy-filters select:focus {
    outline: none;
    border-color: #667eea;
}

.strategy-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.strategy-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.strategy-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.02);
}

.strategy-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
}

.strategy-info {
    padding: 20px;
}

.strategy-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.position,
.difficulty,
.badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.position {
    background: #3498db;
}

.difficulty {
    background: #e74c3c;
}

.badge {
    background: #667eea;
}

.strategy-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.strategy-info p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
}

.strategy-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f8f9fa;
}

.author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.author-details {
    flex: 1;
}

.author-name {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    margin-bottom: 2px;
}

.author-rank {
    font-size: 12px;
    color: #667eea;
}

.strategy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.champion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.champion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.champion-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.champion-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.champion-info {
    flex: 1;
}

.champion-name {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.win-rate {
    font-size: 12px;
    color: #2ecc71;
}

.meta-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: #f8f9fa;
}

.tier {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
}

.s-tier {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.a-tier {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.meta-item .champion-name {
    flex: 1;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.meta-item .position {
    font-size: 11px;
    color: #666;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .strategy-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .strategy-tabs {
        justify-content: center;
    }
    
    .strategy-filters {
        justify-content: center;
    }
    
    .strategy-main {
        grid-template-columns: 1fr;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
}