/* 66bet - 深蓝色+亮黄色主题，卡片式设计 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --accent-yellow: #facc15;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1.75rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    border-bottom-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.cta-button {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 64, 175, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.game-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

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

.game-card-content {
    padding: 1.5rem;
}

.game-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.game-card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.game-card-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    transition: all 0.3s ease;
}

.game-card-link:hover {
    color: var(--accent-yellow);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.column img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid var(--primary-blue);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

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

.reviewer-name {
    font-weight: 700;
    color: var(--primary-blue);
}

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

.review-text {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-style: italic;
}

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

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.faq-question {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }

/* Responsive Design */
@media (max-width: 900px) {
    .header-container {
        position: relative;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .main-nav {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 500px;
        margin-top: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        background: rgba(30, 64, 175, 0.95);
        border-radius: 12px;
        padding: 1rem;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.75rem 0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .cta-button {
        order: 2;
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 600px) {
    .content-wrapper {
        padding: 2rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 4rem 1rem;
    }
}
