/* 黑客帝国风格样式 - Matrix Theme */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 代码雨背景 */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    overflow: hidden;
}

.matrix-rain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 0, 0.1) 100%);
    animation: matrixFade 2s ease-in-out infinite alternate;
}

@keyframes matrixFade {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
    color: #00ff00;
    background: #000;
    overflow-x: hidden;
    position: relative;
}

/* 毛玻璃效果容器 */
.glass-container {
    background: rgba(0, 255, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.1);
}

/* 发光效果 */
.glow {
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
}

.glow-border {
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px #00ff00, inset 0 0 10px rgba(0, 255, 0, 0.1);
}

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

/* 导航栏 */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 2px 20px rgba(0, 255, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier New', monospace;
}

.nav-logo i {
    margin-right: 10px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #00ff00;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px #00ff00;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 15px #ffffff, 0 0 25px #00ff00;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ff00;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px #00ff00;
}

/* 主要内容 */
.main-content {
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 50, 0, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    margin: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 0, 0.05) 50%, transparent 70%);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
    font-family: 'Courier New', monospace;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00; }
    to { text-shadow: 0 0 30px #00ff00, 0 0 60px #00ff00, 0 0 80px #00ff00; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #ffffff;
    font-family: 'Courier New', monospace;
}

.challenge-info {
    background: rgba(0, 255, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
    font-family: 'Courier New', monospace;
}

.challenge-info p {
    color: #00ff00;
    margin: 10px 0;
    text-shadow: 0 0 5px #00ff00;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    background: rgba(0, 255, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
    font-family: 'Courier New', monospace;
}

.stat-label {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 5px;
    text-shadow: 0 0 5px #ffffff;
    font-family: 'Courier New', monospace;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #000;
    border: 1px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    text-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #00ff00;
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 10px #00ff00;
}

.btn-secondary:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: translateY(-2px);
}

/* 搜索区域 */
.search-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    margin: 20px;
    padding: 30px;
    position: relative;
}

.search-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 5px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #00ff00;
}

.search-box input::placeholder {
    color: rgba(0, 255, 0, 0.6);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.6);
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    border-color: #ffffff;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.filter-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 5px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #00ff00;
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

/* 拼图区域 */
.puzzles-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    margin: 20px;
    padding: 30px;
    position: relative;
}

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

.section-header h2 {
    color: #00ff00;
    font-size: 2rem;
    text-shadow: 0 0 15px #00ff00;
    font-family: 'Courier New', monospace;
}

.puzzle-count {
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 0 10px #ffffff;
    font-family: 'Courier New', monospace;
}

.puzzles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.puzzle-card {
    background: rgba(0, 255, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.puzzle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s;
}

.puzzle-card:hover::before {
    left: 100%;
}

.puzzle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.puzzle-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
}

.puzzle-address {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #ffffff;
}

.puzzle-balance {
    color: #ffff00;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #ffff00;
    margin-bottom: 10px;
}

.puzzle-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.puzzle-status.solved {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #00ff00;
}

.puzzle-status.unsolved {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    text-shadow: 0 0 5px #ff0000;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 5px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px #00ff00;
}

.pagination button:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.pagination button.active {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* 统计区域 */
.stats-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    margin: 20px;
    padding: 30px;
    position: relative;
}

.stats-section h2 {
    color: #00ff00;
    font-size: 2rem;
    text-shadow: 0 0 15px #00ff00;
    font-family: 'Courier New', monospace;
    margin-bottom: 30px;
    text-align: center;
}

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

.stat-card {
    background: rgba(0, 255, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.stat-icon {
    font-size: 2rem;
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
}

.stat-label {
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 0 10px #ffffff;
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
}

.stat-desc {
    color: #cccccc;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #cccccc;
    font-family: 'Courier New', monospace;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid #00ff00;
    border-radius: 15px;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
    position: relative;
}

.modal-header {
    background: rgba(0, 255, 0, 0.1);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
    font-family: 'Courier New', monospace;
    margin: 0;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #00ff00;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 10px #00ff00;
    transition: all 0.3s ease;
}

.close:hover {
    color: #ffffff;
    text-shadow: 0 0 20px #ffffff;
}

.modal-body {
    padding: 30px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

/* 模态框内容样式 */
.puzzle-details {
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 10px;
}

.detail-grid {
    display: grid;
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.detail-item label {
    color: #00ff00;
    font-weight: 600;
    text-shadow: 0 0 5px #00ff00;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-item span,
.detail-item code {
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
    word-break: break-all;
    font-family: 'Courier New', monospace;
}

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

.balance-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
}

.btc-symbol {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px #ffd700;
}

.balance {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 10px #ffd700;
}

.key-display {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.key-display code {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 5px;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.progress-container {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 5px;
    height: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    text-shadow: 0 0 5px #ffffff;
    font-size: 0.8rem;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.solved {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #00ff00;
}

.status-badge.unsolved {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    text-shadow: 0 0 5px #ff0000;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
}

.btn-small i {
    margin-right: 5px;
}

/* 加载指示器 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.loading.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 255, 0, 0.3);
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff00;
    margin-top: 20px;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    padding: 40px 0 20px;
    margin-top: 60px;
    position: relative;
}

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

.footer-section h3,
.footer-section h4 {
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section li {
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
}

.footer-section a {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00ff00;
}

.footer-section a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    color: #cccccc;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px #cccccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .puzzles-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        padding: 10px;
    }
    
    .key-display {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .key-display code {
        min-width: 100%;
        margin-top: 5px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 2026 UI refinement */
.nav-logo {
    white-space: nowrap;
}

.nav-menu {
    align-items: center;
}

.hero-section,
.search-section,
.puzzles-section,
.stats-section,
.about-section,
.gpu-promo-section,
.faq-section,
.tools-section {
    border-radius: 8px;
}

.hero-section {
    margin: 14px;
    padding: 42px 28px 36px;
}

.hero-title {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.16;
}

.challenge-info {
    max-width: 820px;
    margin: 22px auto 0;
}

.challenge-info p {
    word-break: break-word;
}

.hero-stats {
    max-width: 820px;
    margin: 26px auto 0;
}

.hero-actions {
    margin-top: 28px;
}

.search-section {
    position: sticky;
    top: 70px;
    z-index: 900;
    margin: 14px;
    padding: 18px;
}

.search-container {
    align-items: stretch;
}

.search-box {
    min-width: min(100%, 360px);
}

.search-box > i {
    left: 16px;
    right: auto;
}

.search-box input {
    height: 52px;
    padding: 14px 58px 14px 44px;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 0, 0.7);
    border-radius: 5px;
    background: rgba(0, 255, 0, 0.14);
    color: #00ff00;
    cursor: pointer;
}

.search-btn i {
    position: static;
    transform: none;
    color: inherit;
    text-shadow: 0 0 5px #00ff00;
}

.filter-controls {
    align-items: stretch;
}

.filter-select {
    height: 52px;
}

.puzzles-section,
.stats-section {
    margin: 14px;
    padding: 24px;
}

.puzzles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.puzzle-card {
    min-height: 246px;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
}

.puzzle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.puzzle-number {
    margin-bottom: 0;
}

.puzzle-info {
    display: grid;
    gap: 9px;
}

.puzzle-info-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
}

.puzzle-info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    white-space: nowrap;
}

.puzzle-info-value {
    color: #ffffff;
    min-width: 0;
    overflow-wrap: anywhere;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.65);
}

.code-value {
    font-family: 'Courier New', monospace;
    color: #00ff00;
}

.puzzle-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.puzzle-actions .btn {
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: #ffffff;
}

.no-results i {
    display: block;
    color: #00ff00;
    font-size: 2.4rem;
    margin-bottom: 16px;
    text-shadow: 0 0 15px #00ff00;
}

.pagination {
    flex-wrap: wrap;
    align-items: center;
}

.pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.modal-content {
    max-height: 86vh;
    overflow: auto;
}

@media (max-width: 900px) {
    .nav-container {
        height: 64px;
    }

    .main-content {
        margin-top: 64px;
    }

    .nav-menu {
        position: absolute;
        top: 64px;
        left: 10px;
        right: 10px;
        display: none;
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
        padding: 12px;
        background: rgba(0, 0, 0, 0.96);
        border: 1px solid rgba(0, 255, 0, 0.35);
        border-radius: 8px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    }

    .nav-menu.is-open,
    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 12px;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.is-open .bar:nth-child(1),
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.is-open .bar:nth-child(2),
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open .bar:nth-child(3),
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .search-section {
        top: 64px;
    }
}

@media (max-width: 768px) {
    .container,
    .nav-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-section {
        margin: 10px;
        padding: 28px 16px 24px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .challenge-info {
        padding: 14px;
        font-size: 0.88rem;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-item {
        padding: 14px;
    }

    .stat-value {
        font-size: 1.45rem;
    }

    .hero-actions .btn,
    .puzzle-actions .btn {
        width: 100%;
    }

    .search-section {
        position: relative;
        top: auto;
        margin: 10px;
        padding: 14px;
    }

    .search-container,
    .filter-controls {
        gap: 10px;
        width: 100%;
    }

    .filter-controls,
    .filter-select {
        width: 100%;
    }

    .puzzles-section,
    .stats-section {
        margin: 10px;
        padding: 18px 14px;
    }

    .section-header {
        align-items: flex-start;
        gap: 8px;
    }

    .section-header h2,
    .stats-section h2 {
        font-size: 1.55rem;
    }

    .puzzle-card {
        min-height: 0;
    }

    .puzzle-actions {
        grid-template-columns: 1fr;
    }

    .solve-item,
    .difficulty-bar,
    .prize-range {
        align-items: flex-start;
        flex-direction: column;
    }

    .bar-label,
    .range-label,
    .range-count,
    .bar-value {
        min-width: 0;
        text-align: left;
    }

    .range-bar,
    .bar-fill {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* 代码雨动画脚本 */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    overflow: hidden;
}

.matrix-rain::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    animation: matrixPulse 4s ease-in-out infinite alternate;
}

@keyframes matrixPulse {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
    box-shadow: 0 0 10px #00ff00;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
    box-shadow: 0 0 15px #ffffff;
}

/* 选择文本样式 */
::selection {
    background: rgba(0, 255, 0, 0.3);
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 特殊效果 */
.matrix-text {
    font-family: 'Courier New', monospace;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: matrixGlow 2s ease-in-out infinite alternate;
}

@keyframes matrixGlow {
    from { text-shadow: 0 0 10px #00ff00; }
    to { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
}

/* 数据流效果 */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: dataFlow 3s linear infinite;
}

@keyframes dataFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 详细统计信息样式 */
.detailed-stats {
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

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

.stats-row .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stats-row .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.stats-row .stat-label {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #cccccc;
}

.stats-row .stat-value {
    color: #00ff00;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px #00ff00;
}

/* 图表容器样式 */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-section {
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.chart-section:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.chart-section h3 {
    color: #00ff00;
    font-size: 1.3rem;
    text-shadow: 0 0 10px #00ff00;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.chart-container {
    position: relative;
}

/* 进度图表样式 */
.progress-chart {
    padding: 20px 0;
}

.progress-bar-container {
    margin-bottom: 15px;
}

.progress-bar {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 25px;
    height: 40px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    transition: width 0.6s ease;
    border-radius: 25px;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #000, 1px 1px 2px #000;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.label-solved {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.label-unsolved {
    color: #ff4444;
    text-shadow: 0 0 10px #ff4444;
}

/* 难度图表样式 */
.difficulty-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.difficulty-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-label {
    min-width: 100px;
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #ffffff;
}

.bar-fill {
    flex: 1;
    height: 30px;
    background: linear-gradient(90deg, #00ff00, #00aa00);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
}

.difficulty-bar:hover .bar-fill {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    transform: scaleX(1.02);
}

.bar-value {
    min-width: 40px;
    text-align: right;
    color: #00ff00;
    font-weight: 600;
    text-shadow: 0 0 10px #00ff00;
}

/* 奖金分布样式 */
.prize-distribution {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prize-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-label {
    min-width: 120px;
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #ffffff;
}

.range-bar {
    flex: 1;
    height: 25px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.range-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: width 0.6s ease;
}

.range-count {
    min-width: 50px;
    text-align: right;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 10px #ffd700;
}

/* 最近解决记录样式 */
.recent-solves {
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
}

.recent-solves h3 {
    color: #00ff00;
    font-size: 1.5rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.solves-list {
    display: grid;
    gap: 15px;
}

.solve-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.solve-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.solve-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
    min-width: 80px;
}

.solve-details {
    flex: 1;
}

.solve-prize {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px #ffd700;
    margin-bottom: 5px;
}

.solve-date {
    color: #cccccc;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #cccccc;
}

.solve-status {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.solve-status.solved {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-shadow: 0 0 5px #00ff00;
}

/* 关于区域样式 */
.about-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    margin: 20px;
    padding: 40px;
}

.about-section h2 {
    color: #00ff00;
    font-size: 2.5rem;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-text h3 {
    color: #00ff00;
    font-size: 1.8rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.about-text p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #ffffff;
    font-size: 1.05rem;
}

.puzzle-examples {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.puzzle-examples p {
    color: #00ff00;
    margin: 12px 0;
    font-size: 1.05rem;
    text-shadow: 0 0 10px #00ff00;
}

blockquote {
    background: rgba(0, 255, 0, 0.05);
    border-left: 4px solid #00ff00;
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
    border-radius: 0 8px 8px 0;
}

cite {
    display: block;
    margin-top: 15px;
    color: #00ff00;
    font-style: normal;
    text-shadow: 0 0 10px #00ff00;
}

/* 时间线样式 */
.history-timeline {
    margin-top: 40px;
}

.history-timeline h3 {
    color: #00ff00;
    font-size: 1.8rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ff00, rgba(0, 255, 0, 0.3));
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff00;
    border: 2px solid #000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

.timeline-date {
    color: #00ff00;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
    text-shadow: 0 0 10px #00ff00;
}

.timeline-content {
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 0 0 5px #ffffff;
    background: rgba(0, 255, 0, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 2px solid rgba(0, 255, 0, 0.5);
}

/* GPU推广区域样式 */
.gpu-promo-section {
    background: linear-gradient(135deg, rgba(0, 50, 0, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.4);
    border-radius: 15px;
    margin: 20px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

.gpu-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: promoScan 5s linear infinite;
}

@keyframes promoScan {
    0% { left: -100%; }
    100% { left: 200%; }
}

.promo-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 10px #ffd700;
}

.promo-header h2 {
    color: #00ff00;
    font-size: 2.8rem;
    text-shadow: 0 0 25px #00ff00;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.promo-subtitle {
    color: #ffffff;
    font-size: 1.3rem;
    text-shadow: 0 0 10px #ffffff;
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.promo-description h3 {
    color: #00ff00;
    font-size: 1.6rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.promo-description p {
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 0 0 5px #ffffff;
    font-size: 1.05rem;
}

/* 对比样式 */
.comparison {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.comparison-item {
    flex: 1;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.comparison-item.old {
    border-color: rgba(255, 0, 0, 0.3);
}

.comparison-item.new {
    border-color: rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.05);
}

.comparison-item:hover {
    transform: scale(1.05);
}

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

.comparison-item.old .comparison-icon {
    color: #ff4444;
    text-shadow: 0 0 15px #ff4444;
}

.comparison-item.new .comparison-icon {
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
}

.comparison-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

.comparison-content ul {
    list-style: none;
    padding: 0;
}

.comparison-content li {
    color: #cccccc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 5px #cccccc;
}

.comparison-content li:last-child {
    border-bottom: none;
}

.comparison-arrow {
    font-size: 2rem;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(10px); opacity: 0.7; }
}

/* 特性网格样式 */
.promo-features {
    margin-top: 30px;
}

.promo-features h4 {
    color: #00ff00;
    font-size: 1.4rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.feature-icon {
    font-size: 1.8rem;
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
}

.feature-content h5 {
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 0 10px #ffffff;
    margin-bottom: 8px;
}

.feature-content p {
    color: #cccccc;
    font-size: 0.95rem;
    text-shadow: 0 0 5px #cccccc;
}

/* 推广按钮样式 */
.promo-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: #00ff00;
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(0, 255, 0, 0.15);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

/* 性能可视化样式 */
.promo-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.performance-chart {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
}

.performance-chart h4 {
    color: #00ff00;
    font-size: 1.3rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 20px;
    text-align: center;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.chart-bar .bar-label {
    min-width: 90px;
    color: #ffffff;
    font-size: 0.95rem;
    text-shadow: 0 0 5px #ffffff;
}

.chart-bar .bar-fill {
    flex: 1;
    height: 35px;
    border-radius: 5px;
    transition: all 0.6s ease;
    position: relative;
}

.chart-bar .bar-fill.cpu {
    background: linear-gradient(90deg, #ff4444, #cc0000);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.chart-bar .bar-fill.gpu {
    background: linear-gradient(90deg, #00ff00, #00aa00);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

.chart-bar:hover .bar-fill {
    transform: scaleY(1.15);
}

.chart-bar .bar-value {
    min-width: 120px;
    text-align: right;
    font-weight: 600;
    font-size: 1.05rem;
}

.chart-bar .bar-fill.cpu ~ .bar-value {
    color: #ff4444;
    text-shadow: 0 0 10px #ff4444;
}

.chart-bar .bar-fill.gpu ~ .bar-value {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.chart-note {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: #ffd700;
    font-size: 0.95rem;
    text-shadow: 0 0 10px #ffd700;
    margin-top: 15px;
}

/* GPU统计卡片样式 */
.gpu-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card.featured {
    grid-column: span 2;
}

.gpu-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 20px;
    text-align: left;
}

.gpu-stats .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.stat-info {
    flex: 1;
}

.stat-info .stat-number {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-info .stat-label {
    font-size: 1rem;
    margin-bottom: 3px;
}

.stat-info .stat-desc {
    font-size: 0.85rem;
}

/* FAQ区域样式 */
.faq-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    margin: 20px;
    padding: 40px;
}

.faq-section h2 {
    color: #00ff00;
    font-size: 2.5rem;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.faq-content {
    display: grid;
    gap: 25px;
}

.faq-item {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #00ff00;
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: #00ff00;
    font-size: 1.3rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.faq-item p {
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 0 0 5px #ffffff;
    font-size: 1.05rem;
}

/* 工具区域样式 */
.tools-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    margin: 20px;
    padding: 40px;
}

.tools-section h2 {
    color: #00ff00;
    font-size: 2.5rem;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.tools-category {
    margin-bottom: 50px;
}

.tools-category:last-child {
    margin-bottom: 0;
}

.tools-category h3 {
    color: #00ff00;
    font-size: 1.8rem;
    text-shadow: 0 0 15px #00ff00;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.category-description {
    color: #ffffff;
    font-size: 1.05rem;
    text-shadow: 0 0 5px #ffffff;
    margin-bottom: 25px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.tool-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 255, 0, 0.4);
    border-color: #00ff00;
}

.tool-link-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tool-link-card:focus-visible {
    outline: 2px solid #00ff00;
    outline-offset: 4px;
}

.tool-link-card .tool-features {
    min-height: 28px;
}

.tool-icon {
    font-size: 3rem;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: 20px;
}

.tool-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    text-shadow: 0 0 10px #ffffff;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.tool-card p {
    color: #cccccc;
    line-height: 1.6;
    text-shadow: 0 0 5px #cccccc;
    margin-bottom: 20px;
}

.tool-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.feature-tag {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.4);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* 资源链接样式 */
.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #00ff00;
}

.resource-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.resource-link i {
    font-size: 1.5rem;
    text-shadow: 0 0 15px #00ff00;
}

/* GPU链接特殊样式 */
.nav-link.gpu-link {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.1), rgba(0, 200, 0, 0.1));
    border: 1px solid rgba(0, 255, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.nav-link.gpu-link:hover {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 0, 0.2));
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
}

/* 响应式优化 */
@media (max-width: 1024px) {
    .promo-content {
        grid-template-columns: 1fr;
    }
    
    .comparison {
        flex-direction: column;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gpu-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card.featured {
        grid-column: span 1;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-section,
    .gpu-promo-section,
    .faq-section,
    .tools-section {
        padding: 25px 20px;
        margin: 15px 10px;
    }
    
    .promo-header h2,
    .about-section h2,
    .faq-section h2,
    .tools-section h2 {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-links {
        grid-template-columns: 1fr;
    }
}

/* Final readability pass */
body,
.about-text p,
.faq-item p,
.tool-card p,
.footer-section p,
.footer-section li,
.hero-subtitle,
.promo-subtitle,
.category-description {
    text-shadow: none;
}

.nav-link,
.footer-section a,
.resource-link,
.filter-select,
.search-box input {
    text-shadow: none;
}

.hero-title,
.section-header h2,
.stats-section h2,
.about-section h2,
.faq-section h2,
.tools-section h2,
.chart-section h3,
.recent-solves h3,
.promo-header h2 {
    text-shadow: 0 0 12px rgba(0, 255, 0, 0.65);
}

.stat-value,
.stat-number,
.tool-icon,
.resource-link i,
.nav-logo,
.nav-logo i {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.65);
}

.hero-section,
.search-section,
.puzzles-section,
.stats-section,
.about-section,
.gpu-promo-section,
.faq-section,
.tools-section,
.tech-advantages-section,
.pricing-section,
.contact-section,
.how-it-works-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

main:not(.main-content):not(.tools-page) {
    margin-top: 70px;
}

.gpu-hero {
    margin-top: 14px;
}

.gpu-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: center;
}

.gpu-hero .hero-content {
    text-align: left;
}

.gpu-hero .hero-description {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
}

.gpu-hero .hero-buttons,
.gpu-hero .hero-highlights {
    justify-content: flex-start;
}

.performance-showcase,
.contact-card,
.pricing-card,
.advantage-card,
.feature-card,
.step {
    border-radius: 8px;
}

.contact-info {
    min-width: 0;
}

.contact-info span,
.payment-value code {
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .gpu-hero .container {
        grid-template-columns: 1fr;
    }

    .gpu-hero .hero-content {
        text-align: center;
    }

    .gpu-hero .hero-buttons,
    .gpu-hero .hero-highlights {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    main:not(.main-content):not(.tools-page) {
        margin-top: 64px;
    }

    .gpu-hero .hero-buttons .btn,
    .gpu-hero .hero-highlights,
    .contact-info {
        width: 100%;
    }

    .gpu-hero .hero-highlights,
    .contact-grid,
    .pricing-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .gpu-hero .hero-description {
        font-size: 0.98rem;
    }
}

/* Tool directory polish */
.tools-section .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tools-section .tool-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.tools-section .tool-card::before {
    opacity: 0.55;
}

.tools-section .tool-card h3 {
    margin-bottom: 10px;
}

.tools-section .tool-card p {
    flex: 1;
    margin-bottom: 16px;
}

.tools-section .tool-card:hover {
    transform: translateY(-4px);
}

.pricing-section .container,
.features-section .container,
.how-it-works-section .container,
.contact-section .container {
    max-width: 1200px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card .pricing-btn {
    margin-top: auto;
}

.features-section,
.how-it-works-section,
.contact-section,
.pricing-section {
    padding-left: 14px;
    padding-right: 14px;
}
