.hot-article-section {
    padding: 20px 0;
    background-color: #f5f5f5;
}

.section-title {
    font-size: 22px;
    color: #333;
    position: relative;
    padding-left: 0px;
    margin: 0;
    font-weight: 700;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 22px;
    /*background-color: #1e88e5;*/
    border-radius: 2px;
}

.more-link {
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #1e88e5;
}

/* 文章卡片网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

/* 文章卡片项 */
.article-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.article-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.article-img {
    flex: 2;
    padding: 0 10px;
    border-radius: 15px;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-img img {
    border-radius: 15px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:hover .article-img img {
    transform: scale(1.05);
}

.article-info {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 响应式布局 */
@media (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title {
        font-size: 18px;
    }

    .article-info {
        flex: 1;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 120px;
    }
}

@media (min-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title {
        font-size: 20px;
        -webkit-line-clamp: 1;
        margin-bottom: 5px;
    }

    .article-desc {
        -webkit-line-clamp: 2;
        margin-top: 5px;
        margin-bottom: 0;
    }

    .article-info {
        padding: 10px;
        min-height: 100px;
    }
}

@media (min-width: 1200px) {
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 18px;
    }
    .article-img {
        width: 100%;
        height: 160px;
    }

    .article-info {
        padding: 12px;
    }

    .article-title {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .article-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}

.page-500 {
    width: 100%;
    height: 98vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.page-500-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
    height: 400px;
    text-align: center;
}

.page-500-title {
    font-size: 22px;
    color: #333;
    margin: 15px 0;
}

.page-500-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.page-500-button:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .page-500-container {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .page-500-title {
        font-size: 18px;
    }
}

.page-404 {
    width: 100%;
    height: 98vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.page-404-container {
    /*background-color: #00b7ee;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
    height: 400px;
    text-align: center;
}

.page-404-image {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.page-404-title {
    font-size: 22px;
    color: #333;
    margin: 15px 0;
}

.page-404-countdown {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.page-404-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.page-404-button:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .page-404-container {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .page-404-image {
        width: 280px;
    }

    .page-404-title {
        font-size: 18px;
    }

    .page-404-countdown {
        font-size: 14px;
    }
}

.breadcrumb-list {
    margin-bottom: 20px;
}

.sitemap-content p {
    color: rgba(0, 0, 0, 0.9);
    text-indent: 2em;
    color: #666;
    line-height: 38px;
}

.sitemap-content h3 {
    color: #333;
    font-size: 18px;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

/* 游戏信息详情样式 */
.game-info-detail {
    margin-top: 30px;
    margin-bottom: 30px;
}

.info-card {
    padding: 0;
}

.info-content {
    background-color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
    overflow: hidden;
}

.info-item {

    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
    border-radius: 8px;

}

.info-label {
    width: 370px;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* 超出的空白区域不换行 */
    overflow: hidden; /* 超出隐藏 */
    text-overflow: ellipsis; /* 文本超出显示省略号 */
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    word-break: break-all;
    line-height: 1.4;
}

.permission-link {
    color: #667eea;
    background: none;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.permission-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* 平板端适配 */
@media (max-width: 992px) {
    .info-item {
        padding: 12px;
    }

    .info-header {
        padding: 18px;
    }

    .info-content {
        padding: 20px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .game-info-detail {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .info-container {
        border-radius: 8px;
        margin: 0 -10px;
    }

    .info-header {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-title h3 {
        font-size: 18px;
    }

    .info-subtitle {
        font-size: 13px;
    }

    .info-content {
        padding: 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        padding: 12px;
        border-left-width: 3px;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 14px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .info-container {
        margin: 0 -15px;
        border-radius: 6px;
    }

    .info-header {
        padding: 12px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-title h3 {
        font-size: 16px;
    }

    .info-content {
        padding: 12px;
    }

    .info-item {
        padding: 10px;
        gap: 6px;
    }

    .info-label {
        font-size: 14px;
    }

    .info-value {
        font-size: 13px;
    }
}

/* 权限弹窗样式 */
.permission-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.permission-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.permission-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0;
    min-width: 30vw;
    max-width: 30vw;
    min-height: 50vh;
    max-height: 50vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.permission-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    font-size: 16px;
    padding: 20px 20px 15px 20px;
    background: white;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
    position: relative;
}

.permission-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.permission-close:hover {
    background: #f5f5f5;
    color: #666;
    transform: scale(1.1);
}

.permission-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.permission-item {
    margin-bottom: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
}

.permission-item:last-of-type {
    border-bottom: none;
}

.permission-footer {
    text-align: center;
    padding: 15px 20px 20px 20px;
    margin-top: 0;
    background: white;
    flex-shrink: 0;
}

.permission-confirm {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 24px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.permission-confirm:hover {
    background: linear-gradient(135deg, #357abd, #2968a3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .permission-modal-content {
        margin: auto;
        min-width: 360px;
    }
}
