/* 公共样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #111;
    color: #e0e0e0;
}

.main {
    flex: 3;
    margin-right: 20px;
}

.sidebar {
    flex: 1;
}

.sidebar h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

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

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #fff;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

footer {
    background: #1f1f1f;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    margin-top: 20px;
}

/* 首页样式 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article {
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #1f1f1f;
}

.article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.article-content {
    padding: 10px 10px 5px 10px;
}

.article-title {
    font-size: 15px;
    margin: 0 0 10px;
    color: #fff;
}

.article-description {
    font-size: 14px;
    color: #aaa;
    margin: 0 0 10px;
    height: 150px;
    overflow: hidden;
}

.article-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.article-link:hover {
    text-decoration: underline;
}

.article-body img {
    width: 100%;
}

.article-title-detail {
    font-size: 18px;
}

.comments h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.comments textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comments button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.comments button:hover {
    background: #0056b3;
}

/* 面包屑导航 */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #aaa;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #fff;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 0 10px;
    }

    .main {
        margin-right: 0;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bannersport {
    width: 100%;
    height: 240px;
    position: relative;
    user-select: none;
    backdrop-filter: blur(20px);
    overflow: hidden;
    background-color: #332f30;
    margin: 0 auto;
    max-width: 1280px;
    background-image: url(/static/b17/images/banner-bg.png);
    background-size: cover;
}

.bannersport img {
    position: absolute;
    top: 0;
    left: 65%;
    width: auto;
    height: 90%;
    transform: scale(1.25);
    transform-origin: top left;
}

.bannersport .banner-word {
    position: absolute;
    color: #fff;
    top: 5%;
    left: 4%;
    width: 90%;
}

.banner-word h1 {
    font-size: 33px;
    font-weight: 100;
    letter-spacing: 15px;
    font-family: "douyuFont";
    text-shadow: 5px 5px 3px #333;
    animation: bobbing 1s infinite ease-in-out;
    color: #fff;
}

.banner-word h2 {
    margin-top: 5px;
    letter-spacing: 8px;
    color: #fff;
}

@media screen and (max-width: 900px) {
    .info-content {
        flex-direction: column;
        padding-right: 5px;
    }

    .info-content .news {
        max-height: unset;
        margin: 20px 5%;
        padding: 2%;
    }

    .pc {
        display: none;
    }

    .mobile {
        display: block;
    }

    .v57_index_content {
        display: block;
    }

    .bannersport .banner-word {
        top: 20%;
        left: 4.5%;
        font-size: 26px;
        width: 56%;
    }

    .bannersport img {
        left: 36%;
    }

    .banner-word h1 {
        font-size: 16px;
        letter-spacing: 10px;
        line-height: 1.5em;
        color: #fff;
    }

    .banner-word h2 {
        font-size: 12px;
        line-height: 1.5em;
        letter-spacing: 3px;
        color: #fff;
    }

    .hot-info-content {
        display: block;
    }

    .hot-info .hot-info-img {
        display: none;
    }
}

.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #0271db;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #0271db;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.banner-content {
    position: relative;
    margin: 10px 0;
}

.banner-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3%;
    color: #fff;
    text-align: left;
}

.banner-text h1 {
    margin: 1px 0;
    font-size: 40px;
}

.banner-text h2 {
    margin: 1px 0;
    letter-spacing: 7px;
    color: #fff;
    font-size: 30px;
}

.banner-text .join-link {
    display: inline-block;
    padding: 5px 10px;
    background: #01a81a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
}

.banner-text .join-link:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 22px;
    }

    .banner-text h2 {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .banner-text .join-link {
        display: inline-block;
        padding: 2px 9px;
        background: #01a81a;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        font-size: 10px;
        margin-top: 10px;
    }

    .banner-text .join-link:hover {
        transform: scale(1.1);
        transition: all 0.3s ease;
    }
}

.exchange-list {
    display: flex;
    flex-direction: column;
}

.exchange-header,
.exchange-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 2.5px solid #1c1f26;
}

.exchange-item:last-child {
    border-bottom: 2.5px solid #1c1f26;
}

.exchange-item:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.exchange-header {
    font-size: 14px;
    color: #aaa;
    font-weight: 600;
}

.exchange-rank {
    width: 30px;
    text-align: right;
    margin-right: 16px;
    color: #ccc;
}

.exchange-logo {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: contain;
}

.exchange-name {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
}

.download-title {
    position: relative;
    padding-left: 15px;
}

.download-title :before {
    content: "";
    position: absolute;
    width: 4px;
    height: 95%;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

@media (max-width: 480px) {
    .exchange-name {
        font-size: 14px;
    }
}

.coin-list {
    display: flex;
    flex-direction: column;
}

.coin-header,
.coin-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-top: 2.5px solid #1c1f26;
}

.coin-header,
.coin-item:last-child {
    border-bottom: 2.5px solid #1c1f26;
}

.coin-header {
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
}

.coin-rank {
    width: 30px;
    text-align: right;
    margin-right: 16px;
    color: #ccc;
    flex-shrink: 0;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.coin-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
}

.coin-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.coin-name-cn {
    font-size: 14px;
    font-weight: bold;
}

.coin-name-en {
    font-size: 14px;
    color: #999;
}

.buy-btn {
    padding: 4px 12px;
    border: 1px solid #249cf7;
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.buy-btn:hover {
    background-color: #0d4ce0;
    color: #fff;
}

@media (max-width: 480px) {
    .coin-name-cn {
        font-size: 14px;
    }

    .coin-name-en {
        font-size: 14px;
    }
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.review-card {
    background: #2c2705;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: bold;
    font-size: 16px;
}

.stars {
    color: gold;
    font-size: 16px;
}

.content {
    font-size: 15px;
    line-height: 1.6;
}

.store-button {
    background: #fddc00;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 5px 20px;
    margin: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #1a0c2e;
    border-radius: 10px;
    padding: 30px 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.icon {
    flex-shrink: 0;
    margin-right: 20px;
}

.icon img {
    width: 100px;
    height: 100px;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-content p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn {
    background: #1cc6b6;
    color: white;
    padding: 12px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #19b0a3;
}

/* 手機 RWD */
@media (max-width: 600px) {
    .card {
        flex-direction: column;
        text-align: center;
    }

    .icon {
        margin: 0 0 20px 0;
    }
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    background: transparent;
    text-align: center;
    min-width: 300px;
    max-width: 300px;
}

.step-number {
    font-size: 5rem;
    font-weight: bold;
    color: rgb(255, 247, 26);
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 1rem;
    color: #cacaca;
}

/* RWD 手機版 */
@media (max-width: 768px) {
    .step {
        max-width: 100%;
    }
}
