﻿/* 页面背景色 */
body {
    /* 移除全局背景色定义，使用主题CSS中的定义 */
}

/* 首頁特定樣式 */
/* 熱門遊戲推薦圖片樣式 */
.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

/* 最近更新圖片樣式 */
.recent-post-image {
    width: 80px;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: 5px;
}

.recent-post-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.05);
}

/* 輪播圖區域 */
.hero-slider {
    position: relative;
    margin-top: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* 信息卡片容器样式 */
.info-cards-container {
    /* 更改为更现代简洁的背景色 */
    background: var(--bg-secondary);
    padding: 60px 0 50px;
    margin-bottom: 30px;
    /* 移除边框 */
    border-bottom: none;
    /* 更微妙的阴影 */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.info-cards-container::before,
.info-cards-container::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.info-cards-container::before {
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.info-cards-container::after {
    background: var(--accent-color);
    bottom: -100px;
    right: -100px;
}

.horizontal-feature-cards {
    position: relative;
    z-index: 1;
}

.legal-notice {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 25px 30px;
    margin-top: 30px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-notice p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .info-cards-container {
        padding: 40px 0 35px;
    }
    
    .legal-notice {
        padding: 20px;
        margin-top: 25px;
    }
    
    .legal-notice p {
        text-align: left;
        font-size: 13px;
    }
}

/* 添加主橫幅樣式 */
.main-banner {
    /* 更改为更深沉、不那么蓝紫的背景 */
    background-color: var(--primary-dark);
    background-image: var(--primary-gradient);
    padding: 40px 0;
    margin-top: 10px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;  /* 添加间距 */
}

.banner-text {
    flex: 1;
    padding-right: 0;  /* 移除右侧内边距，使用gap来控制间距 */
}

.banner-logo {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.banner-slogan {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 15px;
}

.banner-offer {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-description {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.banner-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--success-color);
    color: var(--text-light);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.banner-button:hover {
    background-color: #138a72;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.banner-image {
    flex: 1;
    max-width: 55%;  /* 限制最大宽度，让左侧文本有足够空间 */
}

.banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 網站標題和介紹 */
.site-title {
    font-size: 32px;
    /* 更现代的渐变色 */
    background: linear-gradient(45deg, #2e3192 0%, #1baeea 50%, #2e3192 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    margin: 35px 0 30px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 15px;
    animation: titleGradient 6s ease infinite;
}

.site-title::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 4px;
    /* 更新底部线条的渐变色 */
    background: linear-gradient(90deg, rgba(46,49,146,0) 0%, rgba(46,49,146,1) 50%, rgba(46,49,146,0) 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@keyframes titleGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 26px;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .site-title {
        font-size: 22px;
        padding: 0 15px;
        margin: 25px 0 30px;
    }
    
    .site-title::after {
        width: 80px;
        height: 3px;
    }
}

/* site-intro 區塊樣式 */
.site-intro {
    margin: 30px 0;
    padding: 25px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden; /* 防止內容溢出 */
}

.site-intro p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.site-intro img {
    max-width: 100%; /* 確保圖片不會超出容器寬度 */
    height: auto;
    display: block; /* 消除圖片底部間隙 */
    margin: 20px auto; /* 圖片上下留出間距 */
    border-radius: 5px; /* 圖片圓角 */
}

/* 特色區塊標題 - 只在非蓝色背景区域生效 */
.site-intro .features-title,
.content-section .features-title {
    font-size: 24px;
    color: var(--primary-color) !important;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.site-intro .features-title::after,
.content-section .features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color) !important;
}

/* 蓝色背景区域的标题样式 */
.features-grid-container .features-title {
    color: #ffffff !important;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    font-size: 24px;
}

.features-grid-container .features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ffffff !important;
}

/* 特色區塊網格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 主内容区域背景 - 新的渐变背景 */
.features-grid-container {
    /* 更改为更深沉、不那么蓝紫的背景 */
    background: var(--primary-gradient);
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    /* 移除边框 */
    border: none;
}

.features-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
    background-size: 20px;
    opacity: 0.3;
    z-index: 0;
}

.features-grid-container .features-title {
    color: #ffffff !important;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-size: 26px;
    font-weight: 600;
    z-index: 1;
}

.features-grid-container .features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff9d2f, #ff6126) !important;
    border-radius: 3px;
}

.feature-card {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 特色图标样式 */
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* 特色标题样式 */
.feature-title {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: bold;
}

/* 特色描述样式 */
.feature-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 內容模塊通用樣式 */
.content-section {
    margin: 50px 0;
    padding: 40px 0;
    position: relative;
}

.content-section:nth-child(odd) {
    background-color: var(--bg-secondary);
}

.content-section:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* 合作夥伴標題 */
.partners-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ff9d2f;
}

/* 支付方式和责任博彩区块样式 */
.payment-responsible-section {
    background-color: var(--bg-secondary);
    padding: 50px 0;
    /* 更微妙的阴影 */
    box-shadow: 0 -3px 10px rgba(0,0,0,0.03);
}

.section-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ff9d2f;
}

/* 支付方式区块样式 */
.payment-section {
    margin-bottom: 40px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.payment-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 25px;
    width: 280px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.payment-icon {
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon img {
    max-height: 70px;
    max-width: 80px;
}

/* 支付方式图标样式 */
.payment-icon i {
    font-size: 48px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.payment-card:hover .payment-icon i {
    transform: scale(1.2);
}

/* 为每个支付图标设置不同颜色 */
.usdt-icon i {
    color: #26A17B;
    filter: drop-shadow(0 3px 6px rgba(38, 161, 123, 0.3));
}

.fps-icon i {
    color: #ED1C24;
    filter: drop-shadow(0 3px 6px rgba(237, 28, 36, 0.3));
}

.bank-icon i {
    color: var(--primary-color);
    filter: drop-shadow(0 3px 6px rgba(26, 75, 140, 0.3));
}

.payment-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.payment-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 责任博彩区块样式 */
.responsible-section {
    margin-top: 50px;
}

.responsible-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.responsible-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
    width: 160px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.responsible-item:hover {
    transform: translateY(-5px);
}

.responsible-icon {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsible-icon img {
    max-height: 50px;
    max-width: 50px;
}

/* 责任博彩图标样式 */
.responsible-icon i {
    font-size: 36px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.responsible-item:hover .responsible-icon i {
    transform: scale(1.2);
}

/* 为每个图标设置不同颜色 */
.age-icon i {
    color: #FF4B4B;
    filter: drop-shadow(0 2px 4px rgba(255, 75, 75, 0.3));
}

.time-icon i {
    color: #3A7BD5;
    filter: drop-shadow(0 2px 4px rgba(58, 123, 213, 0.3));
}

.wallet-icon i {
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(26, 75, 140, 0.3));
}

.check-icon i {
    color: #16a085;
    filter: drop-shadow(0 2px 4px rgba(22, 160, 133, 0.3));
}

.help-icon i {
    color: #FF9D2F;
    filter: drop-shadow(0 2px 4px rgba(255, 157, 47, 0.3));
}

.responsible-text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

/* 合作夥伴區塊 */
.partners {
    background-color: var(--bg-secondary);
    padding: 40px 0;
    /* 更微妙的阴影 */
    box-shadow: 0 -3px 10px rgba(0,0,0,0.03);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.partner-logo {
    max-width: 150px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* 特色卡片標題鏈接樣式 */
.feature-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-title a:hover {
    color: #ff9d2f;
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-banner {
        padding: 30px 0;
    }
    
    .banner-text {
        flex: 1;
    }
    
    .banner-image {
        flex: 1;
        max-width: 50%;
    }
    
    .banner-logo {
        font-size: 40px;
    }
    
    .banner-slogan {
        font-size: 30px;
    }
    
    .banner-offer {
        font-size: 24px;
    }
    
    .payment-methods {
        flex-wrap: wrap;
    }
    
    .payment-card {
        width: calc(50% - 15px);
    }
    
    .responsible-item {
        width: calc(33.333% - 15px);
    }
    
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid-container {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .main-banner {
        padding: 25px 0;
        margin-top: 5px;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-text {
        text-align: center;
        margin-bottom: 20px;
        padding-right: 0;
    }
    
    .banner-image {
        max-width: 100%;  /* 在移动端让图片占据全宽 */
    }
    
    .banner-logo {
        font-size: 36px;
    }
    
    .banner-slogan {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .banner-offer {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .banner-description {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-card {
    width: 100%;
        max-width: 320px;
    }
    
    .responsible-item {
        width: calc(50% - 10px);
    }
    
    .article-grid {
        grid-template-columns: 1fr;
        padding: 10px 10px 20px;
        gap: 25px;
    }
    
    .grid-item {
        height: auto;
        min-height: 350px;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .features-grid-container {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .features-grid-container .features-title {
        font-size: 22px;
        padding-bottom: 12px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .main-banner {
        padding: 20px 0;
    }
    
    .banner-logo {
        font-size: 32px;
    }
    
    .banner-slogan {
        font-size: 24px;
    }
    
    .banner-offer {
        font-size: 20px;
    }
    
    .banner-description {
        font-size: 14px;
    }
    
    .banner-button {
        padding: 10px 25px;
        font-size: 16px;
    }
    
    .responsible-item {
        width: 100%;
        max-width: 220px;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .feature-title {
        font-size: 16px;
    }
}

/* Banner轮播样式 */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 180px;  /* 调整为更扁平的高度 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    aspect-ratio: 16/5;  /* 添加宽高比约束，使其保持扁平 */
    max-height: 180px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
    display: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 保持为cover，但确保内容居中显示 */
    object-position: center;  /* 确保图片内容居中 */
    border-radius: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--bg-secondary);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .main-banner {
        padding: 30px 0;
    }
    
    .banner-carousel {
        height: 160px;  /* 中等屏幕略微降低高度 */
    }
    
    .banner-text {
        flex: 1;
    }
    
    .banner-image {
        flex: 1;
        max-width: 50%;
    }
    
    .banner-logo {
        font-size: 40px;
    }
    
    .banner-slogan {
        font-size: 30px;
    }
    
    .banner-offer {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .main-banner {
        padding: 25px 0;
        margin-top: 5px;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-text {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .banner-image {
        max-width: 100%;  /* 在移动端让图片占据全宽 */
    }
    
    .banner-carousel {
        height: 140px;  /* 移动端高度调小 */
    }
    
    .banner-logo {
        font-size: 36px;
    }
    
    .banner-slogan {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .banner-offer {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .banner-description {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .main-banner {
        padding: 20px 0;
    }
    
    .banner-carousel {
        height: 100px;  /* 小屏幕设备高度更小 */
    }
    
    .carousel-indicators {
        bottom: 8px;  /* 在小屏幕上减小指示器与底部的距离 */
    }
    
    .indicator {
        width: 8px;  /* 小屏幕上使用更小的指示器 */
        height: 8px;
    }
    
    .banner-logo {
        font-size: 32px;
    }
    
    .banner-slogan {
        font-size: 24px;
    }
    
    .banner-offer {
        font-size: 20px;
    }
    
    .banner-description {
        font-size: 14px;
    }
    
    .banner-button {
        padding: 10px 25px;
        font-size: 16px;
    }
}

/* Banner副標題樣式 */
.banner-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 用户评论区域样式 */
.user-reviews-section {
    position: relative;
    padding: 40px 0;
    margin-bottom: 40px;
}

.user-reviews-section .section-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.user-reviews-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ff9d2f;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.review-card {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #3a7bd5;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.rating {
    display: flex;
    color: #ffcc00;
    font-size: 16px;
}

.star {
    margin-right: 2px;
}

.star.half {
    position: relative;
    display: inline-block;
    color: #ddd;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ffcc00;
}

.review-text {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
}

.verified-user {
    display: flex;
    align-items: center;
    color: #16a085;
    font-weight: 500;
}

.verified-user::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
}

.review-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.review-nav-prev,
.review-nav-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.review-nav-prev:hover,
.review-nav-next:hover {
    background-color: #3a7bd5;
    transform: scale(1.1);
}

.view-all-reviews {
    display: block;
    text-align: center;
    margin: 10px auto 0;
    padding: 10px 25px;
    background-color: #16a085;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    max-width: 250px;
}

.view-all-reviews:hover {
    background-color: #138a72;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .review-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .review-card {
        width: 100%;
    }
}

/* 文章网格布局优化 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 15px 15px 30px;
}

.grid-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #d6dce2;
}

.grid-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #293241, #3d5a80);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.grid-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.grid-item-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-item-image img {
    transform: scale(1.05);
}

.grid-item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.grid-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

.grid-item-title a {
    color: #293241;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-item-title a:hover {
    color: #3d5a80;
}

.grid-item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6c757d;
}

.grid-item-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 15px;
    flex-grow: 1;
    height: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 区块标题样式优化 */
.features-title {
    font-size: 28px;
    font-weight: 700;
    color: #293241;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #293241, #3d5a80);
    border-radius: 2px;
}

/* 内容区域背景色调整 */
.site-intro,
.content-section,
.features-grid .feature-card,
.payment-card,
.responsible-item,
.review-card,
.grid-item {
    /* 移除背景色定义，使用主题CSS中的定义 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);  /* 轻微阴影 */
    border-radius: 8px;  /* 圆角 */
}

/* 确保容器与背景搭配 */
.container {
    /* 移除背景色定义，使用主题CSS中的定义 */
    padding: 20px;
}

/* 即时统计数据板块样式 */
.live-statistics-section {
    position: relative;
    padding: 60px 0;
    margin-bottom: 40px;
    background: var(--primary-gradient);
    overflow: hidden;
    border-radius: 0;
}

.live-statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
    background-size: 20px;
    opacity: 0.3;
    z-index: 0;
}

.live-statistics-section .section-title {
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    font-size: 32px;
    font-weight: 700;
    z-index: 1;
}

.live-statistics-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff9d2f, #ff6126);
    border-radius: 3px;
}

.statistics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
    /* 新的阴影样式 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    /* 更新边框样式 */
    border: 1px solid #e9ecef;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    /* 更新阴影样式 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    /* 更新边框颜色 */
    border-color: #d6dce2;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* 更新底部边框渐变 */
    background: linear-gradient(90deg, #293241, #3d5a80);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.stat-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* 更新图标背景渐变 */
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    color: #293241;
    font-size: 24px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    /* 更新数字颜色 */
    color: #293241;
    line-height: 1.2;
}

.stat-label {
    font-size: 15px;
    /* 更新标签颜色 */
    color: #3d5a80;
    margin-bottom: 0;
    font-weight: 500;
}

/* 实时统计区块样式 */
.live-statistics-section {
    /* 更新背景渐变 */
    background: var(--primary-gradient);
    padding: 60px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 更新按钮样式 */
.btn-primary {
    /* 更新主要按钮颜色 */
    background-color: var(--primary-dark);
    border-color: #293241;
    color: #ffffff;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    /* 更新主要按钮悬停颜色 */
    background-color: #3d5a80;
    border-color: #3d5a80;
    color: #ffffff;
}

.btn-outline-primary {
    /* 更新轮廓按钮颜色 */
    color: #293241;
    border-color: #293241;
    background-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    /* 更新轮廓按钮悬停颜色 */
    background-color: var(--primary-dark);
    border-color: #293241;
    color: #ffffff;
}

/* 更新卡片样式 */
.card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: var(--bg-secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #d6dce2;
}

.card-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
    /* 更新卡片标题颜色 */
    color: #293241;
    font-weight: 600;
}

.card-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid #e9ecef;
    padding: 15px 20px;
}

/* 更新链接颜色 */
a {
    /* 更新链接颜色 */
    color: #3d5a80;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    /* 更新链接悬停颜色 */
    color: #293241;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .statistics-grid {
        gap: 20px;
    }
    
    .stat-card {
        width: calc(25% - 15px);
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .statistics-grid {
        gap: 15px;
    }
    
    .stat-card {
        width: calc(50% - 10px);
        padding: 20px 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .live-statistics-section {
        padding: 45px 0;
    }
    
    .live-statistics-section .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    /* 确保在移动端统计卡片居中显示 */
    .statistics-grid {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .live-statistics-section {
        padding: 40px 0;
    }
    
    .live-statistics-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .statistics-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-card {
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .live-statistics-section .section-title::after {
        width: 60px;
        bottom: -12px;
    }
}

/* 主标题样式 */
.main-content-title {
    color: #293241;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin: 10px auto 25px;
    max-width: 1200px; /* 与卡片容器宽度相同 */
    padding: 0 15px; /* 与卡片容器内边距相同 */
    line-height: 1.3;
}

/* 更新澳洲特色的颜色强调 */
.main-content-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #293241, #3d5a80);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 修改容器样式以与卡片对齐 */
.main-content-container {
    max-width: 1200px; /* 与卡片容器相同 */
    margin: 0 auto;
    padding: 0;
}

.site-intro {
    padding: 0 15px; /* 与卡片容器内边距相同 */
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
        padding: 10px 10px 20px;
        gap: 25px;
    }
    
    .grid-item {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .grid-item-image {
        height: 180px;
    }
    
    .features-title {
        font-size: 24px;
        padding-bottom: 12px;
    }
    
    .features-title::after {
        width: 80px;
    }
}

@media (max-width: 576px) {
    .grid-item-title {
        font-size: 16px;
        margin-bottom: 10px;
        height: 45px;
    }
    
    .grid-item-excerpt {
        font-size: 13px;
        height: 63px;
    }
    
    .grid-item-content {
        padding: 15px;
    }
    
    .features-title {
        font-size: 22px;
    }
}

/* 在线咨询部分更新 */
.consultation-section {
    background: var(--primary-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-overlay.png');
    opacity: 0.05;
    pointer-events: none;
}

.consultation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
}

.consultation-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.consultation-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.6;
}

.consultation-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.consultation-btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.consultation-btn-primary {
    background-color: var(--bg-secondary);
    color: #293241;
    border: 2px solid #ffffff;
}

.consultation-btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.consultation-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.consultation-btn-secondary:hover {
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.consultation-btn i {
    margin-right: 8px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .main-content-container {
        padding-top: 15px;
        margin-top: 5px;
    }

    .main-content-title {
        margin-bottom: 15px;
    }
}
