/* 全新设计 - 加拿大28彩票网站样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6B2FD6;
    --secondary-blue: #2DD4F4;
    --dark-bg: #0A0E27;
    --card-bg: #1A1F3A;
    --gold-accent: #FFD700;
    --text-light: #E8E8F0;
    --text-gray: #9CA3AF;
    --gradient-1: linear-gradient(135deg, #6B2FD6 0%, #2DD4F4 100%);
    --gradient-2: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --shadow-glow: 0 8px 32px rgba(107, 47, 214, 0.3);
}

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

/* 导航栏 - 非sticky设计 */
.main-header {
    background: rgba(26, 31, 58, 0.95);
    border-bottom: 2px solid rgba(107, 47, 214, 0.3);
    padding: 1.2rem 0;
    position: relative;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(107, 47, 214, 0.1);
}

.nav-link:hover {
    background: var(--gradient-1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-button {
    background: var(--gradient-2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.6);
}

/* Hero区域 */
.hero-section {
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 内容区域 */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-block {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(107, 47, 214, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gold-accent);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    color: var(--secondary-blue);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.game-card {
    background: linear-gradient(145deg, #1F2544 0%, #2A2F54 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(107, 47, 214, 0.2);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--secondary-blue);
}

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

.game-info {
    padding: 1.8rem;
}

.game-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.game-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* 特色列表 */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(107, 47, 214, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--secondary-blue);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(107, 47, 214, 0.2);
    transform: translateX(8px);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 0.8rem;
}

.feature-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* FAQ区域 */
.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background: rgba(45, 212, 244, 0.05);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(45, 212, 244, 0.2);
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 评论区域 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.review-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

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

.reviewer-name {
    font-weight: 600;
    color: var(--gold-accent);
    font-size: 1.2rem;
}

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

.reviewer-location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.review-date {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* 页脚 */
.main-footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 2px solid rgba(107, 47, 214, 0.3);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-section h3 {
    color: var(--gold-accent);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(107, 47, 214, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.age-restriction {
    display: inline-block;
    background: var(--gradient-2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    margin: 1rem 0;
}

/* 面包屑导航 */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-gray);
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-block {
        padding: 2rem 1.5rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

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

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

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

/* 支付方式图标 */
.payment-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.payment-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

/* 牌照徽章 */
.license-badge {
    width: 150px;
    height: 150px;
    margin: 2rem auto;
    display: block;
}

/* 表格样式 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(107, 47, 214, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.info-table th {
    background: var(--gradient-1);
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}

.info-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(107, 47, 214, 0.1);
    color: var(--text-gray);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: rgba(45, 212, 244, 0.05);
}
