/* 功能特色页面样式 */
.features-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.features-header h1 i {
    color: var(--primary-color);
}

.features-subtitle {
    font-size: 1.125rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 核心功能 */
.core-features {
    margin-bottom: 6rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card-large {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    align-items: start;
}

@media (max-width: 768px) {
    .feature-card-large {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

.feature-card-large:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .feature-icon-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin: 0 auto;
    }
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid var(--glass-border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--success-color);
    font-size: 1rem;
}

/* 技术特色 */
.tech-features {
    margin-bottom: 6rem;
}

.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-feature {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.tech-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.tech-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.tech-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.tech-feature p {
    color: var(--gray-light);
    line-height: 1.7;
}

/* 游戏模式 */
.game-modes {
    margin-bottom: 6rem;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mode-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.mode-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 2rem;
    text-align: center;
}

.mode-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
}

.mode-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.mode-content {
    padding: 2rem;
}

.mode-content p {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mode-features {
    list-style: none;
    padding-left: 0;
}

.mode-features li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.mode-features li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
}

/* 控制方式 */
.control-features {
    margin-bottom: 6rem;
}

.control-features-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.control-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .control-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.control-feature-image {
    display: flex;
    justify-content: center;
}

.keyboard-preview {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.keyboard-row {
    display: flex;
    gap: 1rem;
}

.key {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.key-space {
    width: 200px;
}

.touch-preview {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.touch-area {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #0da271);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.touch-area.center {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
}

.touch-area.right {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.control-feature-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.control-feature-content p {
    font-size: 1.125rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.key-bindings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 480px) {
    .key-bindings {
        grid-template-columns: 1fr;
    }
}

.key-binding {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
}

.key-label {
    min-width: 60px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.key-desc {
    flex: 1;
    color: var(--gray-light);
    font-size: 0.875rem;
}

.touch-gestures {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.touch-gesture {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
}

.gesture-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), #0da271);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.gesture-desc {
    flex: 1;
    color: var(--gray-light);
    font-size: 0.875rem;
}

/* 特色对比 */
.comparison {
    margin-bottom: 6rem;
}

.comparison-table {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-top: 3rem;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.comparison-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1rem 1.5rem;
    color: var(--gray-light);
    font-size: 1rem;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-table .success {
    color: var(--success-color);
    font-weight: 600;
}

.comparison-table .danger {
    color: var(--danger-color);
    font-weight: 600;
}

/* 行动号召 */
.cta-section {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-header h1 {
        font-size: 2rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .control-feature-content h3 {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-header h1 {
        font-size: 1.75rem;
    }

    .keyboard-preview,
    .touch-preview {
        padding: 1rem;
    }

    .key {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .key-space {
        width: 150px;
    }

    .touch-area {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}