/* 加拿大28彩票网站 - 独特设计样式表 */

/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6B2C91;
    --secondary-gold: #D4AF37;
    --accent-cyan: #00D9FF;
    --dark-navy: #1A1A2E;
    --light-gray: #F5F5F5;
    --text-dark: #2C2C2C;
    --text-light: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #6B2C91 0%, #9B4DCA 100%);
    --gradient-secondary: linear-gradient(90deg, #D4AF37 0%, #FFD700 100%);
    --shadow-soft: 0 4px 20px rgba(107, 44, 145, 0.15);
    --shadow-strong: 0 8px 40px rgba(107, 44, 145, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--light-gray);
    overflow-x: hidden;
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: #FFFFFF;
}

/* 顶部导航栏 - 非固定设计 */
header {
    background: var(--gradient-primary);
    padding: 20px 0;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 英雄横幅区域 */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-navy);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gradient-secondary);
    color: var(--dark-navy);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-strong);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 50px rgba(212, 175, 55, 0.4);
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-purple);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--secondary-gold);
}

.game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.game-card-content {
    padding: 25px;
}

.game-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.game-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* 内容区块 */
.content-block {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.content-block h3 {
    font-size: 1.5rem;
    color: var(--dark-navy);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.9;
    text-align: justify;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
}

.content-block li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.content-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ手风琴 */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-purple);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(107, 44, 145, 0.05);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* 评论卡片 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--secondary-gold);
}

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

.reviewer-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-purple);
}

.review-rating {
    color: var(--secondary-gold);
    font-size: 1.2rem;
}

.review-location {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.review-text {
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
}

/* 支付方式 */
.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.payment-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
}

/* 许可证徽章 */
.license-section {
    text-align: center;
    padding: 50px 0;
}

.license-badge {
    max-width: 300px;
    margin: 30px auto;
    display: block;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    background: #FFFFFF;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: var(--primary-purple);
    text-decoration: none;
}

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

.breadcrumb-separator {
    color: #999;
}

/* 页脚 */
footer {
    background: var(--dark-navy);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.age-restriction-badge {
    display: inline-block;
    margin-top: 20px;
}

.age-badge-img {
    width: 80px;
    height: 80px;
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .content-block {
        padding: 25px;
    }
    
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* 性能优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* 无障碍优化 */
a:focus, button:focus {
    outline: 3px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    header, footer, .cta-button {
        display: none;
    }
}
