/* 专门用于Culture页面的样式 */

/* 文化页面英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #0a2239 0%, #1d1d1f 100%);
    color: white;
    padding: 100px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 20px;
    border-radius: 980px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-highlight {
    background: linear-gradient(90deg, #4568dc, #b06ab3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* 文化内容区域 */
.main-content {
    padding: 0;
}

.culture-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 文化导航按钮 */
.culture-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.culture-nav-btn {
    background: white;
    border: none;
    padding: 12px 24px;
    border-radius: 980px;
    font-weight: 600;
    color: #86868b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.culture-nav-btn.active,
.culture-nav-btn:hover {
    background: #333333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 工具卡片 */
.tool-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

.tool-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.tool-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.tool-badge {
    background: #f5f5f7;
    color: #333333;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-description {
    font-size: 16px;
    color: #515154;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* 熵值仪表盘样式 */
.entropy-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.entropy-gauge-container {
    text-align: center;
}

.gauge {
    width: 150px;
    height: 75px;
    background: #f5f5f7;
    border-radius: 75px 75px 0 0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.gauge-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #4568dc, #b06ab3);
    border-radius: 75px 75px 0 0;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    opacity: 0.7;
}

.gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 40%;
    background: #333;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(20deg);
    z-index: 10;
    border-radius: 3px 3px 0 0;
}

.gauge-value {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 15px 0;
}

.gauge-label {
    font-size: 16px;
    color: #86868b;
}

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

.entropy-metric {
    text-align: center;
    padding: 20px;
    background: #f5f5f7;
    border-radius: 12px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: #86868b;
}

/* 记忆共鸣舱样式 */
.memory-chamber {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.vr-container {
    text-align: center;
}

.vr-headset {
    font-size: 60px;
    color: #333333;
    margin: 20px 0;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vr-btn {
    background: #333333;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vr-btn:hover {
    background: #1d1d1f;
    transform: translateY(-2px);
}

.memory-experiences {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.memory-experience {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.memory-experience.active {
    background: #333333;
    color: white;
}

.exp-title {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.exp-duration {
    opacity: 0.8;
    font-size: 14px;
}

.exp-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 星元体系样式 */
.star-currency {
    margin-top: 20px;
}

.currency-balance {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 25px;
    background: #f5f5f7;
    border-radius: 16px;
    margin-bottom: 30px;
}

.currency-icon {
    font-size: 40px;
    color: #333333;
}

.currency-amount {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
}

.currency-label {
    font-size: 14px;
    color: #86868b;
    text-align: center;
}

.currency-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.currency-stat {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-value.positive {
    color: #2ecc71;
}

.stat-value.negative {
    color: #e74c3c;
}

.stat-label {
    font-size: 14px;
    color: #86868b;
}

.marketplace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.marketplace-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.marketplace-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f5f5f7;
    color: #515154;
    border: none;
    padding: 8px 16px;
    border-radius: 980px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #333333;
    color: white;
}

.marketplace-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.marketplace-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f5f5f7;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.marketplace-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-icon {
    font-size: 24px;
    color: #333333;
    margin-right: 15px;
}

.item-title {
    flex: 1;
    font-weight: 500;
    color: #1d1d1f;
}

.item-price {
    font-weight: 700;
    color: #333333;
    margin-right: 15px;
}

.item-btn {
    background: #333333;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-btn:hover {
    background: #1d1d1f;
}

/* 添加JavaScript功能所需的默认显示 */
#entropy-tool,
#memory-tool,
#star-tool {
    display: block;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .entropy-dashboard,
    .memory-chamber {
        grid-template-columns: 1fr;
    }
    
    .currency-balance {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 15px 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .culture-container {
        padding: 0 15px;
    }
    
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .culture-nav {
        justify-content: flex-start;
    }
    
    .marketplace-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .marketplace-items {
        grid-template-columns: 1fr;
    }
    
    .marketplace-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-price {
        margin-right: 0;
        margin: 10px 0;
    }
    
    .item-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 70px 10px 30px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .culture-nav {
        gap: 10px;
    }
    
    .culture-nav-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .tool-title {
        font-size: 24px;
    }
    
    .entropy-metrics {
        grid-template-columns: 1fr;
    }
    
    .currency-amount {
        font-size: 28px;
    }
}