/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* 语言切换按钮样式 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.lang-btn.active:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

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

/* 倒计时样式 */
.countdown-container {
    margin-bottom: 30px;
    text-align: left;
}

.countdown-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.countdown-timer {
    display: flex;
    justify-content: flex-start;
    /* gap: 15px; */
}

.countdown-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 5px; */
}

.countdown-box {
    background-color: #111;
    border-radius: 8px;
    /* padding: 10px; */
    /* min-width: 80px; */
    width: 54px;
    height: 54px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.countdown-label {
    font-size: 22px;
    color: #fff;
    margin-top: 5px;
    padding: 0 8px;
}

/* 顶部标题区域 */
.header {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    /* background-image: url('../imgs/banner2.webp'); */
    /* background-size: contain; */
    /* background-position: right center; */
    /* background-repeat: no-repeat; */
    min-height: 400px;

    display: flex;
    align-items: center;
}

.platform-info {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.main-title h1 {
    font-size: 55px;
    font-weight: bold;
    color: #9eff00;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.3;
}

.sub-title {
    font-size: 14px;
    color: #fff;
    margin-bottom: 30px;
    text-align: left;
    /* margin-bottom: ; */
}

.sub-title p {
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.btn {
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.btn.primary {
    background-color: #9eff00;
    color: #000;
}

.btn.secondary {
    background-color: #333;
    color: #fff;
}

/* 新手福利区域 */
.benefits-section {
    background-color: #111;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 14px;
    color: #ccc;
    text-align: center;
    margin-bottom: 30px;
}

.task-card {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.task-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-icon img {
    max-width: 100%;
    border-radius: 50%;
}

.task-info {
    flex-grow: 1;
}

.task-reward {
    font-size: 16px;
    font-weight: bold;
    color: #9eff00;
    margin-bottom: 5px;
}

.task-description {
    font-size: 14px;
    color: #ccc;
}

.btn.action {
    background-color: #9eff00;
    color: #000;
    white-space: nowrap;
}

.task-note {
    font-size: 12px;
    color: #999;
    text-align: left;
    padding: 10px;
}

/* 3种参与方式区域 */
.participation-section {
    margin-top: 40px;
    padding: 30px 0;
}

.participation-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.participation-card {
    background-color: #111;
    border-radius: 10px;
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-chart,
.icon-trade,
.icon-trade-alt {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-chart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239eff00'%3E%3Cpath d='M3 3v17a1 1 0 001 1h17v-2H5V3H3z'/%3E%3Cpath d='M15.293 14.707a.999.999 0 001.414 0l5-5-1.414-1.414L16 12.586l-2.293-2.293a.999.999 0 00-1.414 0l-5 5 1.414 1.414L13 12.414l2.293 2.293z'/%3E%3C/svg%3E");
}

.icon-trade {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239eff00'%3E%3Cpath d='M20 3H4c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2zM4 19V5h16l.002 14H4z'/%3E%3Cpath d='M6 7h12v2H6zm0 4h12v2H6zm0 4h6v2H6z'/%3E%3C/svg%3E");
}

.icon-trade-alt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239eff00'%3E%3Cpath d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z'/%3E%3Cpath d='M11 11h2v6h-2zm0-4h2v2h-2z'/%3E%3C/svg%3E");
}

.card-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.card-content {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content p {
    margin-bottom: 10px;
}

.card-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.banner-image1 {
    display: none;
}

.banner-image2 {
    display: inline-block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .countdown-timer {
        flex-wrap: wrap;
    }

    .countdown-item {
        margin-bottom: 10px;
    }

    .countdown-box {
        padding: 6px;
        width: 40px;
        height: 40px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .countdown-number {
        font-size: 20px;
    }

    .countdown-label {
        font-size: 14px;
    }

    .header {
        flex-direction: column;
        background-size: 50%;
        min-height: 300px;
    }

    .main-title h1 {
        text-align: center;
        font-size: 24px;
    }

    .task-card {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .task-icon {
        margin-right: 0;
        /* margin-bottom: 15px; */
    }

    .action-buttons {
        justify-content: center;
    }

    .participation-cards {
        flex-direction: column;
    }

    .participation-card {
        min-height: auto;
        margin-bottom: 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .sub-title {
        text-align: center;
    }

    .platform-info {
        text-align: center;
    }

    .banner-image1 {
        display: inline-block;
    }

    .banner-image2 {
        display: none;
    }
}