/* VS Page Styles */
.vs-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.vs-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.vs-hero-content {
    flex: 1;
    text-align: left;
}

.vs-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #231815;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #231815 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vs-hero p {
    font-size: 1.3rem;
    color: #6c757d;
    line-height: 1.6;
}

.vs-hero p strong {
    color: #F9D558;
    font-weight: 600;
}

.vs-hero-icon {
    flex: 0 0 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.growth-icon {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #F9D558 0%, #FBC200 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(249, 213, 88, 0.3);
}

.growth-icon i {
    font-size: 2.5rem;
    color: #231815;
    position: absolute;
}

.growth-icon .fa-coins {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.growth-icon .fab-bitcoin {
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
}

.growth-icon .fa-seedling {
    bottom: 20px;
    left: 20px;
    font-size: 2rem;
}

/* Content Sections */
.vs-content {
    background: #f8f9fa;
    padding: 0;
}

.vs-container {
    margin: 0 auto;
    padding: 0;
}

.vs-section {
    padding: 80px 40px;
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.section-white {
    background: #ffffff;
    width: 100%;
    margin: 0;
}

.section-gray {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100%;
    margin: 0;
}

.vs-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #231815;
    margin-bottom: 25px;
    line-height: 1.3;
}

.vs-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #231815;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.vs-section p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin: auto;
}

.vs-section p strong {
    color: #231815;
    font-weight: 600;
}

/* Section Intro */
.section-intro {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

/* Electricity Comparison */
.electricity-comparison {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: flex-start;
}

.chart-section {
    flex: 1;
    text-align: center;
}

.chart-image {
    max-width: 100%;
    height: auto;
}

.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cost-values {
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.cost-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cost-value.alphamining .platform-name {
    color: #F9D558;
}

.cost-value.bitdeer .platform-name {
    color: #48BB78;
}

.platform-name {
    font-weight: 600;
    color: #231815;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-name img {
    vertical-align: middle;
}

.platform-cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-top: 20px;
}

/* ROI Comparison */
.roi-comparison {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: stretch;
}

.roi-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roi-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.roi-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 移除左边框 */

.roi-explanation {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0px!important;
}

.roi-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.roi-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.roi-value {
    font-size: 2.5rem;
    font-weight: 400;
    color: #231815;
}

/* Service Model */
.service-comparison {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: stretch;
}

.service-left {
    flex: 0 0 70%;
}

.service-right {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
}

.service-explanation {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-explanation p {
    margin: 0;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #fac100;
    color: #231815;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table td {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Power Comparison */
.power-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.power-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.power-item.alphamining {
    border-left: 5px solid #F9D558;
}

.power-item.bitdeer {
    border-left: 5px solid #48BB78;
}

.power-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hardware-name {
    font-weight: 600;
    color: #231815;
    font-size: 1.1rem;
}

.power-specs {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a5568;
}

.power-note {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

/* Reward Comparison */
.reward-comparison {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: stretch;
}

.reward-left {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reward-right {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
}

.reward-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*gap: 15px;*/
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reward-item h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #231815;
}

/* 移除左边框 */

.reward-approach {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.5;
    font-weight: 500;
}

.reward-explanation {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reward-explanation p {
    margin: 0;
}

/* Duration Comparison */
.duration-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.duration-item.alphamining {
    border-left: 5px solid #F9D558;
}

.duration-item.bitdeer {
    border-left: 5px solid #48BB78;
}

.duration-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.5;
    font-weight: 500;
}

/* Platform Logo Styles */
.platform-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.platform-logo.bitdeer-logo {
    background: linear-gradient(135deg, #48BB78 0%, #38A169 100%);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 30px 0;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #F9D558;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F9D558 0%, #FBC200 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(249, 213, 88, 0.3);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #231815;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #231815;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Breakthrough Section */
.breakthrough-intro {
    font-size: 1.25rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

.breakthrough-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.breakthrough-point {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #F9D558;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.breakthrough-point h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #231815;
    margin-bottom: 15px;
}

.breakthrough-point p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.breakthrough-conclusion {
    font-size: 1.25rem;
    color: #231815;
    text-align: center;
    font-weight: 600;
    line-height: 1.6;
    padding: 30px;
    background: linear-gradient(135deg, #F9D558 0%, #FBC200 100%);
    border-radius: 15px;
    color: #231815;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vs-hero-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .vs-hero-content {
        text-align: center;
    }
    
    .vs-hero h1 {
        font-size: 2.5rem;
    }
    
    .vs-hero p {
        font-size: 1.1rem;
    }
    
    .vs-hero-icon {
        flex: 0 0 auto;
        height: 300px;
        width: 100%;
        max-width: 300px;
    }
    
    .vs-section {
        padding: 60px 25px;
    }
    
    .vs-section h2 {
        font-size: 1.8rem;
    }
    
    .electricity-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-section {
        gap: 15px;
    }
    
    .cost-values {
        flex-direction: column;
        gap: 20px;
    }
    
    .roi-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .roi-left {
        gap: 15px;
    }
    
    .service-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .power-comparison,
    .duration-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reward-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .reward-left {
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .breakthrough-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .vs-hero {
        padding: 60px 0;
    }
    
    .vs-hero h1 {
        font-size: 2rem;
    }
    
    .vs-hero p {
        font-size: 1rem;
    }
    
    .growth-icon {
        width: 100px;
        height: 100px;
    }
    
    .growth-icon i {
        font-size: 2rem;
    }
    
    .vs-section {
        padding: 50px 20px;
    }
    
    .vs-section h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .breakthrough-points {
        gap: 15px;
    }
    
    .breakthrough-point {
        padding: 20px;
    }
}

/* 防止水平滚动 */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.vs-hero-container {
    max-width: 1200px;
    box-sizing: border-box;
}

.vs-container {
    max-width: 100%;
    box-sizing: border-box;
}

.vs-section {
    max-width: 1200px;
    box-sizing: border-box;
}

/* 确保所有flex容器不会超出视口 */
[style*="display: flex"] {
    max-width: 100%;
    box-sizing: border-box;
}

/* 新增样式类来替换行内样式 */
.days-text {
    font-size: 15px;
    color: #B0AFB0;
}

.hardware-value {
    font-family: Roboto, Roboto;
    font-weight: 900;
    font-size: 40px;
}

.hardware-unit {
    font-size: 16px;
}

.power-note-box {
    width: 8rem;
    max-width: 8rem;
    height: auto;
    min-height: 38px;
    background: #F4F5F6;
    border-radius: 16px;
    text-align: center;
    float: right;
    margin-left: 10px;
    font-size: 11px;
    margin-top: 1rem;
    padding: 8px 12px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.roi-explanation-dark {
    font-size: 0.9rem;
    color: #000000;
}

.reward-platform-name {
    font-size: 0.9rem;
}

.reward-details-center {
    margin: auto;
}

.service-explanation-bottom {
    margin-bottom: 20px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-10 {
    margin-top: 10px;
}
