/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif; color: #1A1A1A; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.NIE-topBar-main { background: #0A1128; padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.NIE-topBar-main .wrap { display: flex; justify-content: space-between; align-items: center; }
.NIE-topBar-logo img { height: 40px; }
.NIE-topBar-right { display: flex; align-items: center; gap: 30px; }
.NIE-topBar-right ul { display: flex; gap: 20px; }
.NIE-topBar-right ul li a { color: #fff; font-size: 14px; font-weight: 500; position: relative; transition: color 0.3s; }
.NIE-topBar-right ul li a:hover,
.NIE-topBar-right ul li a.active { color: #185BFF; }
.NIE-topBar-right ul li a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: #185BFF; }
.NIE-topBar-btn { display: flex; gap: 10px; }
.NIE-topBar-btn a.btn-login { color: #fff; padding: 6px 15px; border: 1px solid #fff; border-radius: 20px; font-size: 14px; }
.NIE-topBar-btn a.btn-register { background: #185BFF; color: #fff; padding: 6px 15px; border-radius: 20px; font-size: 14px; }
.NIE-topBar-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.NIE-topBar-menu-btn span { width: 25px; height: 3px; background: #fff; }

/* Banner */
.banner { background: #0A1128; padding: 80px 0; }
.banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.banner-text { flex: 1; }
.tag { color: #185BFF; font-size: 14px; margin-bottom: 15px; }
.banner h1 { font-size: 40px; font-weight: 600; color: #fff; margin-bottom: 20px; line-height: 1.3; }
.desc { font-size: 16px; color: #ccc; margin-bottom: 30px; line-height: 1.6; }
.btn-group { display: flex; gap: 15px; margin-bottom: 20px; }
.btn-primary { background: #185BFF; color: #fff; padding: 12px 30px; border-radius: 25px; font-size: 16px; font-weight: 500; transition: background 0.3s; }
.btn-secondary { background: transparent; color: #fff; padding: 12px 30px; border: 1px solid #fff; border-radius: 25px; font-size: 16px; font-weight: 500; }
.btn-primary:hover, .btn-register:hover { background: #0046d5; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.banner-img { flex: 1; text-align: right; }
.banner-img img { max-height: 400px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
/* contact button */
.NIE-topBar-btn { display: inline-block; background: #185BFF; color: #fff; border: none; padding: 10px 20px; border-radius: 25px; cursor: pointer; font-size: 16px; margin-top: 15px; }
.contact-wrap { position: relative; background: #fff; border: 2px solid #185BFF; border-radius: 8px; padding: 20px; margin-top: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.contact-wrap .close-btn { position: absolute; top: 5px; right: 10px; cursor: pointer; font-size: 20px; color: #999; }

/* Stats */
.stats { background: #F8F9FA; padding: 60px 0; text-align: center; }
.stats h2 { font-size: 28px; font-weight: 600; color: #1A1A1A; margin-bottom: 40px; }
.stats-grid { display: flex; justify-content: center; gap: 60px; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.number { font-size: 36px; font-weight: 700; color: #185BFF; }
.label { font-size: 16px; color: #666; margin-top: 5px; }

/* Features */
.features { padding: 80px 0; }
.features h2 { text-align: center; font-size: 32px; font-weight: 600; color: #1A1A1A; margin-bottom: 60px; }
.feature-cards { display: flex; flex-direction: column; gap: 30px; }
.feature-card { background: #F5F7FA; border-radius: 20px; padding: 40px; display: flex; align-items: center; gap: 40px; }
.feature-card.left-text { flex-direction: row; }
.feature-card.right-text { flex-direction: row-reverse; }
.feature-card .text { flex: 1; }
.feature-card .text h3 { font-size: 22px; font-weight: 600; color: #1A1A1A; margin-bottom: 15px; }
.feature-card .text p { font-size: 16px; color: #666; line-height: 1.6; }
.feature-card .img { flex: 1; text-align: center; }
.feature-card .img img { max-width: 100%; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Partners */
.partners { padding: 80px 0; }
.partners h2 { text-align: center; font-size: 32px; font-weight: 600; margin-bottom: 40px; }
.partner-badges { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.badge { text-align: center; }
.hexagon { width: 120px; height: 70px; background: #F5F7FA; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 24px; }
.badge p { font-size: 16px; font-weight: 600; color: #1A1A1A; }

/* News */
.news { padding: 80px 0; background: #F8F9FA; }
.news h2 { text-align: center; font-size: 32px; font-weight: 600; margin-bottom: 40px; }
.news-grid { display: flex; gap: 30px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); flex: 1; }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card h3 { font-size: 18px; margin: 15px; }
.news-card h3 a { color: #1A1A1A; font-weight: 600; }
.read-more { display: inline-block; margin: 0 15px 15px; color: #185BFF; font-size: 14px; font-weight: 500; }

/* FAQ */
.faq { padding: 80px 0; }
.faq .wrap { display: flex; gap: 60px; }
.faq-left { flex: 0 0 200px; }
.faq-left h2 { font-size: 36px; font-weight: 700; }
.faq-right { flex: 1; }
.faq-item { margin-bottom: 30px; }
.faq-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.faq-item p { font-size: 16px; color: #666; line-height: 1.6; }

/* Footer */
.footer { background: #fff; padding: 60px 0 20px; border-top: 1px solid #E4E7ED; }
.footer-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.col h4 { font-size: 16px; margin-bottom: 15px; color: #1A1A1A; font-weight: 600; }
.col ul li { margin-bottom: 8px; }
.col ul li a { font-size: 14px; color: #666; }
.col ul li a:hover { color: #185BFF; }
.footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; background: #F5F7FA; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #666; transition: all 0.3s; }
.social-icon:hover { background: #185BFF; color: #fff; }
.footer-bottom { text-align: center; font-size: 14px; color: #999; }

/* contact box inner */
.NIE-game-name { display: flex; align-items: center; margin-bottom: 10px; font-size: 16px; }
.NIE-game-name strong { margin-right: 10px; }
.NIE-game-btn { background: #185BFF; color: #fff; border: none; padding: 4px 12px; border-radius: 4px; cursor: pointer; font-size: 14px; margin-left: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .NIE-topBar-right { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: #0A1128; padding: 20px; gap: 15px; }
    .NIE-topBar-right.active { display: flex; }
    .NIE-topBar-right ul { flex-direction: column; gap: 10px; }
    .NIE-topBar-menu-btn { display: flex; }
    .banner .wrap { flex-direction: column; text-align: center; }
    .banner-text { order: 1; }
    .banner-img { order: 2; text-align: center; }
    .banner h1 { font-size: 30px; }
    .stats-grid { flex-direction: column; gap: 30px; }
    .feature-card { flex-direction: column !important; text-align: center; }
    .news-grid { flex-direction: column; }
    .faq .wrap { flex-direction: column; gap: 30px; }
    .footer-links { flex-direction: column; }
}
@media (max-width: 480px) {
    .banner h1 { font-size: 24px; }
    .number { font-size: 28px; }
    .partner-badges { flex-direction: column; align-items: center; }
}