/* 系统介绍扩展样式 */
.systems-extended-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
}

.systems-extended-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><polygon points="60,0 120,60 60,120 0,60" fill="rgba(255,215,0,0.03)"/></svg>') repeat;
    opacity: 0.5;
}

.systems-extended-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.systems-extended-header {
    text-align: center;
    margin-bottom: 60px;
}

.systems-extended-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.systems-extended-subtitle {
    font-size: 1.1em;
    color: #ccc;
}

/* 系统标签页 */
.systems-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.system-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-tab:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: translateY(-2px);
}

.system-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.system-tab-icon {
    font-size: 1.3em;
}

/* 系统内容区块 */
.system-content-block {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 帮派系统样式 */
.guild-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guild-intro {
    text-align: center;
    margin-bottom: 40px;
}

.guild-intro h3 {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 15px;
}

.guild-intro p {
    color: #ccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.guild-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.guild-feature {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.guild-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guild-feature-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
}

.guild-feature-title {
    font-size: 1.3em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.guild-feature-desc {
    color: #ccc;
    line-height: 1.6;
    text-align: center;
}

.guild-tech-tree {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.tech-tree-title {
    font-size: 1.5em;
    color: #ffd700;
    margin-bottom: 20px;
    text-align: center;
}

.tech-tree-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tech-item {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.tech-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.tech-name {
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.tech-bonus {
    color: #ffd700;
    font-size: 0.9em;
}

/* 经济系统样式 */
.economy-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.economy-intro {
    text-align: center;
    margin-bottom: 40px;
}

.economy-intro h3 {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 15px;
}

.economy-intro p {
    color: #ccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.currency-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.currency-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid;
    text-align: center;
    transition: all 0.3s ease;
}

.currency-card.copper {
    border-color: #cd7f32;
}

.currency-card.silver {
    border-color: #c0c0c0;
}

.currency-card.gold {
    border-color: #ffd700;
}

.currency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.currency-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.currency-name {
    font-size: 1.3em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.currency-desc {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.currency-usage {
    color: #999;
    font-size: 0.9em;
}

.trading-systems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trading-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trading-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trading-icon {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
}

.trading-title {
    font-size: 1.3em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.trading-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trading-features li {
    color: #ccc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trading-features li:before {
    content: '✓';
    color: #64ff64;
    font-weight: bold;
}

.trading-features li:last-child {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .systems-tabs {
        flex-direction: column;
        align-items: center;
    }

    .system-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .guild-features,
    .currency-system,
    .trading-systems {
        grid-template-columns: 1fr;
    }

    .guild-section,
    .economy-section {
        padding: 25px 20px;
    }

    .systems-extended-title {
        font-size: 2em;
    }

    .tech-tree-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 动画效果 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.guild-feature,
.currency-card,
.trading-card {
    animation: slideInLeft 0.6s ease forwards;
}

.guild-feature:nth-child(1),
.currency-card:nth-child(1),
.trading-card:nth-child(1) { animation-delay: 0.1s; }
.guild-feature:nth-child(2),
.currency-card:nth-child(2),
.trading-card:nth-child(2) { animation-delay: 0.2s; }
.guild-feature:nth-child(3),
.currency-card:nth-child(3),
.trading-card:nth-child(3) { animation-delay: 0.3s; }
.guild-feature:nth-child(4),
.currency-card:nth-child(4),
.trading-card:nth-child(4) { animation-delay: 0.4s; }

/* 特色高亮 */
.highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.highlight-box-title {
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.highlight-box-content {
    color: #ccc;
    line-height: 1.6;
}

/* 流程步骤 */
.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.step-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-desc {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
}
