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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #1a1a1a;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
    background: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* ========== HERO ========== */
.hero {
    background: #1a1a1a;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-img {
    max-width: 300px;
    height: auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-sub {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.scroll-down {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-down:hover {
    background: #fff;
    color: #1a1a1a;
}

.scroll-down span {
    font-size: 1rem;
}

/* ========== GAMES SECTION ========== */
.games-section {
    background: #f5f5f5;
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.view-all {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.view-all:hover {
    background: #333;
    color: #fff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.game-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-thumb {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-thumb img {
    transform: scale(1.05);
}

.game-info {
    padding: 12px;
    background: #1a1a1a;
}

.game-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 5px;
}

.game-title {
    font-size: 0.8rem;
    color: #fff;
    margin: 0;
}

.tips-section {
    padding-top: 40px;
}

.tips-section .games-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.about-content > p {
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

.about-item {
    padding: 30px;
    background: #f8f8f8;
    border-radius: 12px;
}

.about-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.about-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.about-stats .stat-item {
    text-align: center;
}

.about-stats .stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #7c6ef6;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stats .stat-label {
    font-size: 0.85rem;
    color: #888;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: #fff;
    padding: 60px 0 80px;
}

.faq-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    color: #7c6ef6;
}

.faq-question span:first-child {
    font-size: 0.95rem;
    color: #333;
}

.faq-icon {
    font-size: 1.2rem;
    color: #888;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 20px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a1a;
    padding: 40px 0;
    border-top: 1px solid #333;
}

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

.footer-left p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge-item {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* ========== CHAT BUTTON ========== */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #7c6ef6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124,110,246,0.4);
    transition: all 0.3s;
    z-index: 1000;
}

.chat-btn:hover {
    transform: scale(1.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tips-section .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-details {
        grid-template-columns: 1fr;
    }
    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tips-section .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    .about-stats {
        gap: 20px;
    }
    .about-stats .stat-num {
        font-size: 1.8rem;
    }
}


/* ========== PAGE HEADER ========== */
.page-header {
    background: #1a1a1a;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.page-header p {
    color: #888;
    font-size: 0.95rem;
}

/* ========== ARTICLES SECTION ========== */
.articles-section,
.article-detail {
    background: #f5f5f5;
    padding: 60px 0;
}

.articles-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.articles-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Article List */
.articles-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.article-item {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item .article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.article-date {
    color: #888;
    font-size: 0.85rem;
}

.article-cat {
    background: #7c6ef6;
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.article-item h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.article-item h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.article-item h2 a:hover {
    color: #7c6ef6;
}

.article-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: #7c6ef6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.read-more:hover {
    color: #5a4fcf;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 10px 20px;
    background: #fff;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.page-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
}

.page-num.active {
    background: #1a1a1a;
    color: #fff;
}


/* ========== SIDEBAR ========== */
.articles-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sidebar-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s;
}

.sidebar-game:hover {
    transform: translateY(-3px);
}

.sidebar-game .game-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-game .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-game span {
    font-size: 0.8rem;
    color: #333;
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-article {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-article:last-child {
    border-bottom: none;
}

.sidebar-article .num {
    font-size: 1.2rem;
    font-weight: 900;
    color: #7c6ef6;
}

.sidebar-article .title {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.5;
}

.sidebar-article:hover .title {
    color: #7c6ef6;
}

/* ========== ARTICLE DETAIL ========== */
.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #7c6ef6;
}

.article-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.article-header {
    padding: 40px;
    border-bottom: 1px solid #eee;
}

.article-header .article-cat {
    display: inline-block;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-header .article-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.85rem;
}

.article-body {
    padding: 40px;
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #1a1a1a;
}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 25px 0 12px;
    color: #1a1a1a;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-footer {
    padding: 30px 40px;
    background: #f8f8f8;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.article-tags a,
.article-share a {
    display: inline-block;
    padding: 5px 12px;
    background: #fff;
    border-radius: 15px;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 5px;
}

.article-tags a:hover,
.article-share a:hover {
    background: #7c6ef6;
    color: #fff;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
}

.article-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.article-nav a:hover {
    color: #7c6ef6;
}

/* Responsive for articles */
@media (max-width: 991px) {
    .articles-layout {
        grid-template-columns: 1fr;
    }
    .articles-sidebar {
        order: -1;
    }
    .sidebar-games {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .articles-filter {
        flex-wrap: wrap;
    }
    .sidebar-games {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-header,
    .article-body {
        padding: 25px;
    }
    .article-footer {
        padding: 20px 25px;
    }
}


/* ========== ABOUT PAGE ========== */
.about-page {
    background: #fff;
    padding: 60px 0;
}

.about-block {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.about-block:last-child {
    border-bottom: none;
}

.about-block h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.about-block p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Value Cards */
.value-card {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.value-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Game Type Cards */
.game-type-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s;
}

.game-type-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #7c6ef6;
}

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

.game-type-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 20px 0 10px;
    color: #1a1a1a;
}

.game-type-card p {
    font-size: 0.85rem;
    padding: 0 20px 20px;
    margin: 0;
}

/* Tech List */
.tech-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.tech-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.tech-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7c6ef6;
    font-weight: bold;
}

/* Global Stats */
.global-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.global-stat {
    text-align: center;
}

.global-stat .num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #7c6ef6;
    line-height: 1;
}

.global-stat .label {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
    display: block;
}

/* Cert Badges */
.cert-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cert-badge {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Nav active state */
.nav-menu a.active {
    color: #7c6ef6 !important;
}

@media (max-width: 991px) {
    .about-image {
        margin-top: 30px;
    }
    .global-stats {
        gap: 30px;
    }
    .global-stat .num {
        font-size: 2rem;
    }
}
