/* 
 * {{SITE_NAME}} - 中文博彩娱乐平台
 * 独特配色：深紫色 + 金色 + 翡翠绿
 * 移动端优先响应式设计
 */

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-purple: #2d1b4e;
    --secondary-purple: #4a2c7a;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --emerald: #10b981;
    --emerald-dark: #059669;
    --text-light: #f8f9fa;
    --text-dark: #1a1a2e;
    --bg-dark: #0f0a1e;
    --bg-card: #1e1433;
    --border-color: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
    --shadow-purple: 0 8px 32px rgba(45, 27, 78, 0.4);
    --gradient-main: linear-gradient(135deg, var(--primary-purple) 0%, var(--bg-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-emerald: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    --font-main: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-heading: 'Noto Serif SC', 'SimSun', serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--gradient-main);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    text-align: justify;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header - Non-sticky */
.site-header {
    background: rgba(15, 10, 30, 0.95);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--secondary-purple);
    color: var(--accent-gold-light);
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--text-dark);
    font-weight: 700;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    color: var(--text-dark);
}

.cta-btn-emerald {
    background: var(--gradient-emerald);
    color: var(--text-light);
}

.cta-btn-emerald:hover {
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(30, 20, 51, 0.85);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: rgba(30, 20, 51, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-purple);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.game-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-card-content {
    padding: 1.25rem;
}

.game-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.game-card-desc {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.8);
    margin-bottom: 1rem;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--emerald);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.feature-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.8);
}

/* Payment Methods */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.payment-item img {
    height: 30px;
    width: auto;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.review-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.review-info span {
    font-size: 0.85rem;
    color: rgba(248, 249, 250, 0.6);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(248, 249, 250, 0.9);
}

.review-date {
    font-size: 0.8rem;
    color: rgba(248, 249, 250, 0.5);
    margin-top: 0.75rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--accent-gold);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(74, 44, 122, 0.3);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(74, 44, 122, 0.3);
    border-radius: var(--border-radius-md);
    margin-top: 1.5rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
}

.author-info h4 {
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.8);
    margin-bottom: 0;
}

/* License Section */
.license-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.license-badge {
    max-width: 150px;
    margin: 0 auto 1.5rem;
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.support-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsible Gaming */
.responsible-box {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(45, 27, 78, 0.5) 100%);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.responsible-box h3 {
    color: #ffc107;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #dc3545;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.5rem;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 0.5rem;
    color: rgba(248, 249, 250, 0.5);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li a {
    color: rgba(248, 249, 250, 0.7);
}

.breadcrumb-list li:last-child {
    color: var(--accent-gold);
}

/* Footer */
.site-footer {
    background: rgba(15, 10, 30, 0.98);
    border-top: 2px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(248, 249, 250, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-purple);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(248, 249, 250, 0.6);
    margin-bottom: 0.5rem;
}

.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-badges img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-badges img:hover {
    opacity: 1;
}

/* Page Content */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background: rgba(30, 20, 51, 0.7);
    border-bottom: 1px solid var(--border-color);
}

.page-content {
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1rem 0 1rem 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.content-image {
    margin: 2rem 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.content-image img {
    width: 100%;
    height: auto;
}

.content-image figcaption {
    padding: 0.75rem;
    background: var(--bg-card);
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.7);
    text-align: center;
}

/* Info Box */
.info-box {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--accent-gold);
    margin: 1.5rem 0;
}

.info-box.emerald {
    border-left-color: var(--emerald);
}

.info-box h4 {
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.info-box.emerald h4 {
    color: var(--emerald);
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--secondary-purple);
    color: var(--accent-gold);
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(74, 44, 122, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 10, 30, 0.98);
        flex-direction: column;
        padding: 1rem;
        display: none;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 0.75rem 1rem;
    }
    
    .header-inner {
        position: relative;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
    }
    
    .game-card-img {
        height: 150px;
    }
    
    .payment-grid {
        flex-direction: column;
    }
    
    .payment-item {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .cta-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
