:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    --card-bg: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main: #333333;
    --border-color: #E0E0E0;
}

.page-index {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-color);
}

.page-index__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-index__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-index__section-title--light {
    color: #ffffff;
}

.page-index__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-main);
}

.page-index__section-description--light {
    color: #f0f0f0;
}

/* CTA Button Styles */
.page-index__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__cta-button--primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-index__cta-button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
}

.page-index__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Image base styles for responsiveness */
.page-index img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* HERO 主图区域样式 */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px;
    background-color: var(--background-color);
}

.page-index__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-index__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index__hero-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-size: clamp(28px, 4vw, 48px);
}

.page-index__hero-description {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 模块 1：首页介绍 */
.page-index__introduction-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__feature-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-index__feature-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index__feature-item p {
    font-size: 16px;
    color: var(--text-main);
}

/* 模块 2：快速访问链接入口，备用链接入口 */
.page-index__quick-links-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: #ffffff;
}

.page-index__quick-links-section .page-index__section-description {
    color: #f0f0f0;
}

.page-index__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-index__link-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index__link-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-index__link-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-index__link-card p {
    font-size: 15px;
    color: #f0f0f0;
    margin-bottom: 0;
}

/* 模块 3：核心游戏/服务介绍 */
.page-index__games-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.page-index__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__game-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.page-index__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-index__game-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-index__game-card p {
    font-size: 16px;
    color: var(--text-main);
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-index__game-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.page-index__game-button:hover {
    opacity: 0.9;
}

/* 模块 4：优惠活动 */
.page-index__promotions-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: #ffffff;
}

.page-index__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.page-index__promo-card img {
    width: 100%;
    
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index__promo-title {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #ffffff;
}

.page-index__promo-card p {
    font-size: 15px;
    color: #f0f0f0;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-index__promo-button {
    display: inline-block;
    background: #ffffff;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-bottom: 20px;
}

.page-index__promo-button:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.page-index__view-all-promos {
    text-align: center;
    margin-top: 50px;
}

/* 模块 5：安全与客服 */
.page-index__security-support-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.page-index__security-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__info-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-index__info-card img {
    
    
    margin-bottom: 20px;
}

.page-index__info-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index__info-card p {
    font-size: 16px;
    color: var(--text-main);
}

.page-index__contact-cta {
    text-align: center;
    margin-top: 50px;
}

/* 模块 6：FAQ常见问题区域 */
.page-index__faq-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: #ffffff;
}

.page-index__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-index__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
details.page-index__faq-item summary.page-index__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #ffffff;
}
details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
    display: none;
}
details.page-index__faq-item summary.page-index__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}
.page-index__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #ffffff;
}
.page-index__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-index__faq-item .page-index__faq-answer {
    padding: 0 20px 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    color: #f0f0f0;
}

.page-index__view-all-faq {
    text-align: center;
    margin-top: 50px;
}

/* 模块 7：最新博客内容 */
.page-index__blog-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.page-index__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__blog-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.page-index__blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}