/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background-color: #f8f9fa;
    font-size: 16px;
}

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

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

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

nav ul li {
    display: inline-block;
}

nav a {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

.cta-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background: rgba(0,0,0,0.6);
    padding: 2rem 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Video Section */
.video-section {
    padding: 3rem 0;
    background-color: #ffffff;
    text-align: center;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e3c72;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.video-thumbnail {
    width: 100%;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #f5576c;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255,255,255,1);
}

video {
    width: 100%;
    height: auto;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: #ffffff;
}

section:nth-child(odd) {
    background-color: #f8f9fa;
}

section h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    text-align: center;
}

section h3 {
    font-size: 1.5rem;
    color: #2a5298;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

section p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: #34495e;
}

section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

section ul li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

/* Brand Introduction */
.brand-intro, .game-variety, .promo-section {
    text-align: center;
}

/* Game Cards */
.game-cards {
    background-color: #ffffff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

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

.card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 1rem 1rem;
    color: #1e3c72;
}

.card p {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 0.95rem;
}

.card .cta-button {
    display: inline-block;
    margin: 0 1rem 1.5rem;
}

/* Responsible Gaming */
.responsible-gaming ul {
    list-style: none;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.responsible-gaming ul li a {
    background-color: #e74c3c;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.responsible-gaming ul li a:hover {
    background-color: #c0392b;
}

/* About Us */
.about-us {
    background-color: #ffffff;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f0f4f8;
    border-radius: 12px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1e3c72;
}

/* Payment Methods */
.payment-methods-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.payment-methods-section table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
}

.payment-methods-section table th,
.payment-methods-section table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.payment-methods-section table tbody tr:hover {
    background-color: #f5f5f5;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.payment-icon-card {
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
}

.payment-icon-card img {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem;
}

/* License Section */
.license-section {
    background-color: #ffffff;
}

.license-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.license-badge {
    flex: 0 0 200px;
}

.license-badge img {
    width: 100%;
    height: auto;
}

.license-text {
    flex: 1;
}

/* Customer Support */
.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.channel {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.channel img {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem;
}

/* FAQ Section */
.faq-item {
    background-color: #ffffff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #1e3c72;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.review-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.reviewer-name {
    font-weight: 700;
    color: #1e3c72;
}

.reviewer-city {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.rating {
    color: #f39c12;
    font-size: 1.2rem;
}

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

.review-date {
    font-size: 0.85rem;
    color: #95a5a6;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-links, .social-media {
    margin-bottom: 1.5rem;
}

.footer-links a, .social-media a {
    color: #ecf0f1;
    margin: 0 1rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover, .social-media a:hover {
    color: #f5576c;
}

.payment-methods {
    margin: 2rem 0;
}

.payment-methods img {
    display: inline-block;
    height: 40px;
    margin: 0.5rem;
}

.age-restriction p {
    font-size: 3rem;
    font-weight: 900;
    color: #e74c3c;
    margin: 1.5rem 0;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Page Content */
.page-content {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.page-content h1 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.publish-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background-color: #f0f4f8;
    border-radius: 8px;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 0.5rem;
    color: #7f8c8d;
}

.breadcrumb-item a {
    color: #2a5298;
}

.breadcrumb-item a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #7f8c8d;
}

.content-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* App Download Section */
.app-download-section {
    text-align: center;
    padding: 3rem 0;
}

.app-download-section img {
    margin-bottom: 2rem;
    border-radius: 15px;
}

.app-download-section .cta-button {
    margin: 0.5rem;
}

/* Responsive Design - Mobile First */
@media (min-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    nav ul {
        justify-content: flex-end;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.5rem;
    }

    .author-info {
        flex-direction: row;
    }

    .license-content {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .hero-text {
        padding: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .page-content {
        padding: 2rem 1.5rem;
    }

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

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .license-content {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods-section table {
        font-size: 0.85rem;
    }

    .payment-methods-section table th,
    .payment-methods-section table td {
        padding: 0.6rem;
    }
}

/* Performance Optimization */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}
