/* ========================================
   Game Template - 电玩霓虹风格
   ======================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#0a0a14;color:#c8d6e5;font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:#00e5ff;text-decoration:none;transition:.3s}
a:hover{color:#4dffff}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none;padding:0;margin:0}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== Header ===== */
.gm-header{position:fixed;top:0;left:0;width:100%;z-index:9999;background:rgba(10,10,20,0.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,229,255,0.12)}
.gm-header .container{display:flex;align-items:center;justify-content:space-between;height:62px}
.gm-header .logo-area{display:flex;align-items:center;flex-shrink:0}
.gm-header .logo-area a{display:flex;align-items:center}
.gm-header .logo-area img{height:36px}
.gm-header .logo-area .site-name{color:#e8e8f0;font-size:18px;font-weight:700;margin-left:10px}
.gm-nav{display:flex;align-items:center;gap:2px}
.gm-nav>li{position:relative}
.gm-nav>li>a{display:block;color:#8892b0;font-size:14px;padding:8px 14px;border-radius:6px;transition:.3s;white-space:nowrap;font-weight:500}
.gm-nav>li>a:hover,.gm-nav>li.active>a{color:#00e5ff;background:rgba(0,229,255,0.05);text-shadow:0 0 8px rgba(0,229,255,0.3)}
.gm-nav .dropdown{position:relative}
.gm-nav .dropdown .dropdown-toggle::after{content:' ▾';font-size:10px;margin-left:3px}
.gm-nav .dropdown .dropdown-menu{display:none;position:absolute;top:100%;left:0;background:#12122a;min-width:160px;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,0.6);padding:6px 0;z-index:10000;border:1px solid rgba(0,229,255,0.1)}
.gm-nav .dropdown:hover .dropdown-menu{display:block}
.gm-nav .dropdown .dropdown-menu li a{display:block;padding:10px 18px;color:#8892b0;font-size:14px;white-space:nowrap;transition:.2s}
.gm-nav .dropdown .dropdown-menu li a:hover{color:#00e5ff;background:rgba(0,229,255,0.04)}
.gm-header .header-cta{flex-shrink:0}
.gm-btn{display:inline-block;padding:9px 22px;border-radius:6px;font-size:14px;font-weight:600;text-align:center;cursor:pointer;transition:.3s;border:none;white-space:nowrap}
.gm-btn-neon{background:linear-gradient(135deg,#00e5ff,#6366f1);color:#0a0a14;box-shadow:0 0 20px rgba(0,229,255,0.3)}
.gm-btn-neon:hover{transform:translateY(-2px);box-shadow:0 0 35px rgba(0,229,255,0.5);color:#0a0a14}
.gm-btn-outline{background:transparent;color:#00e5ff;border:1px solid rgba(0,229,255,0.3)}
.gm-btn-outline:hover{background:rgba(0,229,255,0.08);border-color:#00e5ff;color:#4dffff}
.gm-btn-lg{padding:14px 36px;font-size:16px;border-radius:8px}
.gm-menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.gm-menu-toggle span{display:block;width:24px;height:2px;background:#00e5ff;margin:5px 0;transition:.3s}

/* ===== Hero ===== */
.gm-hero{position:relative;min-height:580px;background:linear-gradient(180deg,#0a0a14 0%,#0f0f28 50%,#0a0a14 100%);display:flex;align-items:center;overflow:hidden}
.gm-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(0,229,255,0.08) 0%,transparent 50%),radial-gradient(ellipse at 80% 30%,rgba(139,92,246,0.06) 0%,transparent 40%),radial-gradient(ellipse at 60% 80%,rgba(217,70,239,0.05) 0%,transparent 40%)}
.gm-hero .hero-content{position:relative;z-index:2;max-width:1100px;margin:0 auto;padding:100px 24px 80px;display:flex;align-items:center;gap:50px}
.gm-hero .hero-text{flex:1}
.gm-hero .hero-badge{display:inline-block;padding:5px 14px;border-radius:4px;background:rgba(0,229,255,0.12);border:1px solid rgba(0,229,255,0.2);color:#00e5ff;font-size:12px;font-weight:700;margin-bottom:18px;letter-spacing:2px;text-transform:uppercase}
.gm-hero .hero-content h1{font-size:46px;font-weight:800;color:#fff;margin-bottom:14px;line-height:1.2}
.gm-hero .hero-content h1 span{background:linear-gradient(135deg,#00e5ff,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.gm-hero .hero-content .hero-desc{font-size:16px;color:#8892b0;margin-bottom:32px;max-width:500px}
.gm-hero .hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.gm-hero .hero-img{flex-shrink:0}
.gm-hero .hero-img img{max-height:240px;width:auto;border-radius:16px;box-shadow:0 0 60px rgba(0,229,255,0.15);border:1px solid rgba(0,229,255,0.1)}

/* ===== Ticker ===== */
.gm-ticker{background:rgba(15,15,28,0.9);border-top:1px solid rgba(0,229,255,0.1);border-bottom:1px solid rgba(0,229,255,0.1);padding:10px 0;overflow:hidden}
.gm-ticker-track{display:flex;gap:30px;animation:ticker-scroll 18s linear infinite;width:fit-content}
.gm-ticker-track:hover{animation-play-state:paused}
.gm-ticker-item{display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0;font-size:14px}
.gm-ticker-item .t-hot{background:linear-gradient(135deg,#ff00ff,#6366f1);color:#fff;padding:2px 8px;border-radius:3px;font-size:11px;font-weight:700}
.gm-ticker-item .t-name{color:#c8d6e5}
.gm-ticker-item .t-players{color:#00e5ff}
@keyframes ticker-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ===== Section ===== */
.gm-section{padding:80px 0}
.gm-section.bg-alt{background:rgba(12,12,24,0.5)}
.gm-section .section-header{text-align:center;margin-bottom:50px}
.gm-section .section-header .sec-badge{display:inline-block;padding:5px 14px;border-radius:4px;background:rgba(0,229,255,0.08);color:#00e5ff;font-size:12px;font-weight:600;margin-bottom:14px;border:1px solid rgba(0,229,255,0.1)}
.gm-section .section-header h2{font-size:34px;font-weight:700;color:#f0f0f8;margin-bottom:10px}
.gm-section .section-header .sec-sub{font-size:15px;color:#64748b}

/* ===== Game Grid ===== */
.gm-game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.gm-game-card{background:#12122a;border:1px solid rgba(0,229,255,0.06);border-radius:14px;overflow:hidden;transition:.3s;cursor:pointer;position:relative}
.gm-game-card:hover{transform:translateY(-5px);box-shadow:0 0 30px rgba(0,229,255,0.1);border-color:rgba(0,229,255,0.2)}
.gm-game-card .g-thumb{height:170px;overflow:hidden;background:#0a0a1a;position:relative}
.gm-game-card .g-thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
.gm-game-card:hover .g-thumb img{transform:scale(1.06)}
.gm-game-card .g-thumb .g-tag{position:absolute;top:10px;left:10px;background:linear-gradient(135deg,#00e5ff,#6366f1);color:#0a0a14;padding:3px 10px;border-radius:3px;font-size:11px;font-weight:700}
.gm-game-card .g-info{padding:16px}
.gm-game-card .g-info h4{font-size:15px;font-weight:600;color:#e8e8f0;margin-bottom:6px}
.gm-game-card .g-info .g-meta{font-size:12px;color:#64748b}

/* ===== Features ===== */
.gm-feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gm-feat-card{background:#12122a;border:1px solid rgba(0,229,255,0.06);border-radius:14px;padding:34px 26px;text-align:center;transition:.3s}
.gm-feat-card:hover{transform:translateY(-5px);border-color:rgba(0,229,255,0.2);box-shadow:0 0 25px rgba(0,229,255,0.06)}
.gm-feat-card .f-icon{width:120px;height:120px;margin:0 auto 18px;border-radius:20px;overflow:hidden;background:rgba(0,229,255,0.04)}
.gm-feat-card .f-icon img{width:100%;height:100%;object-fit:cover}
.gm-feat-card h3{font-size:17px;font-weight:700;color:#e8e8f0;margin-bottom:8px}
.gm-feat-card p{font-size:14px;color:#8892b0;line-height:1.6}

/* ===== News ===== */
.gm-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gm-news-card{background:#12122a;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.03);transition:.3s}
.gm-news-card:hover{transform:translateY(-4px);border-color:rgba(0,229,255,0.1)}
.gm-news-card .n-img{height:160px;overflow:hidden;background:#0a0a1a}
.gm-news-card .n-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.gm-news-card:hover .n-img img{transform:scale(1.06)}
.gm-news-card .n-info{padding:16px}
.gm-news-card .n-info h4{font-size:15px;font-weight:600;color:#e8e8f0;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gm-news-card .n-info .n-time{font-size:12px;color:#64748b}

/* ===== Partners ===== */
.gm-partner-wrap{overflow:hidden}
.gm-partner-track{display:flex;animation:partner-scroll 22s linear infinite;width:fit-content;gap:16px}
.gm-partner-track:hover{animation-play-state:paused}
.gm-partner-item{flex-shrink:0;background:#12122a;border-radius:10px;padding:22px 28px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,229,255,0.04);min-width:160px;transition:.3s}
.gm-partner-item:hover{border-color:rgba(0,229,255,0.2)}
.gm-partner-item img{height:150px;width:auto;object-fit:contain}
@keyframes partner-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ===== FAQ ===== */
.gm-faq{max-width:800px;margin:0 auto}
.gm-faq-item{background:#12122a;border-radius:10px;margin-bottom:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.03)}
.gm-faq-item .faq-q{padding:16px 22px;font-size:15px;font-weight:600;color:#d8d8e8;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:.3s}
.gm-faq-item .faq-q:hover{background:rgba(0,229,255,0.02)}
.gm-faq-item .faq-q::after{content:'+';font-size:18px;color:#00e5ff;transition:.3s}
.gm-faq-item.open .faq-q::after{content:'−'}
.gm-faq-item .faq-a{padding:0 22px;max-height:0;overflow:hidden;transition:.3s;color:#8892b0;font-size:14px;line-height:1.7}
.gm-faq-item.open .faq-a{padding:0 22px 16px;max-height:240px}

/* ===== CTA ===== */
.gm-cta{text-align:center;padding:80px 24px;background:linear-gradient(135deg,rgba(0,229,255,0.06),rgba(139,92,246,0.04));border:1px solid rgba(0,229,255,0.1);border-radius:20px;margin:0 20px}
.gm-cta h2{font-size:30px;font-weight:700;color:#f0f0f8;margin-bottom:10px}
.gm-cta p{font-size:16px;color:#8892b0;margin-bottom:28px}

/* ===== Footer ===== */
.gm-footer{background:#06060e;border-top:1px solid rgba(0,229,255,0.08);padding:50px 0 30px}
.gm-footer .ft-grid{display:grid;grid-template-columns:2fr 1fr;gap:40px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,0.03);margin-bottom:30px}
.gm-footer h4{color:#d8d8e8;font-size:16px;margin-bottom:14px}
.gm-footer p,.gm-footer a{color:#64748b;font-size:14px;line-height:1.8}
.gm-footer a:hover{color:#00e5ff}
.gm-footer .ft-links{display:flex;flex-wrap:wrap;gap:8px}
.gm-footer .ft-links a{padding:5px 12px;border:1px solid rgba(255,255,255,0.05);border-radius:6px;font-size:13px}
.gm-footer .ft-links a:hover{border-color:#00e5ff}
.gm-footer .ft-bottom{text-align:center;font-size:13px;color:#475569}
.gm-footer .ft-bottom a{color:#64748b}
.gm-footer .ft-bottom a:hover{color:#00e5ff}

/* ===== Inner Pages ===== */
.gm-row{display:flex;flex-wrap:wrap;margin:0 -15px}
.gm-main{flex:0 0 66.66%;max-width:66.66%;padding:0 15px}
.gm-side{flex:0 0 33.33%;max-width:33.33%;padding:0 15px}
.gm-card{background:#12122a;border:1px solid rgba(255,255,255,0.03);border-radius:12px;margin-bottom:20px;overflow:hidden}
.gm-card-hd{padding:18px 24px;border-bottom:1px solid rgba(255,255,255,0.03)}
.gm-card-hd h2,.gm-card-hd h3{margin:0;font-size:17px;font-weight:700;color:#d8d8e8}
.gm-card-bd{padding:24px}
.gm-bread{padding:16px 0;font-size:13px;color:#64748b}
.gm-bread a{color:#8892b0}.gm-bread a:hover{color:#00e5ff}.gm-bread span{margin:0 6px;color:#475569}
.gm-art-item{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,0.02)}
.gm-art-item:last-child{border-bottom:none}
.gm-art-item .a-thumb{flex-shrink:0;width:190px;height:125px;border-radius:8px;overflow:hidden;background:#0a0a1a}
.gm-art-item .a-thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
.gm-art-item .a-thumb:hover img{transform:scale(1.08)}
.gm-art-item .a-info{flex:1;min-width:0}
.gm-art-item .a-info h4{font-size:16px;font-weight:600;margin-bottom:6px}
.gm-art-item .a-info h4 a{color:#d8d8e8}.gm-art-item .a-info h4 a:hover{color:#00e5ff}
.gm-art-item .a-info .a-desc{font-size:13px;color:#64748b;line-height:1.5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:6px}
.gm-art-item .a-info .a-meta{font-size:12px;color:#475569}
.gm-list-item{padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.02)}.gm-list-item:last-child{border-bottom:none}
.gm-list-item a{display:block;color:#c8d6e5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gm-list-item a:hover{color:#00e5ff}
.gm-list-item .lt{font-size:12px;color:#475569;margin-top:2px}
.gm-tags{display:flex;flex-wrap:wrap;gap:6px}
.gm-tags a{padding:5px 12px;background:rgba(0,229,255,0.05);color:#8892b0;border-radius:6px;font-size:12px;transition:.3s}
.gm-tags a:hover{background:rgba(0,229,255,0.15);color:#00e5ff}
.gm-pag{display:flex;justify-content:center;gap:5px;padding:30px 0 10px;flex-wrap:wrap}
.gm-pag a,.gm-pag span{padding:7px 13px;border-radius:6px;background:#12122a;color:#8892b0;font-size:13px;border:1px solid rgba(255,255,255,0.03);transition:.3s}
.gm-pag a:hover{background:rgba(0,229,255,0.08);color:#00e5ff;border-color:rgba(0,229,255,0.15)}
.gm-pag .active span{background:linear-gradient(135deg,#00e5ff,#6366f1);color:#0a0a14}
.gm-pag .disabled span{color:#475569}
.gm-detail{margin-top:80px}
.gm-dbody{font-size:15px;line-height:1.9;color:#c8d6e5;word-wrap:break-word}
.gm-dbody img{max-width:100%;border-radius:8px;margin:18px 0}
.gm-dbody h2,.gm-dbody h3{margin:28px 0 14px;color:#e8e8f0}
.gm-dbody p{margin-bottom:14px}.gm-dbody a{color:#00e5ff}
.gm-dbody blockquote{border-left:3px solid #00e5ff;padding:12px 18px;margin:18px 0;background:rgba(0,229,255,0.02);border-radius:0 8px 8px 0;color:#8892b0}
.gm-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:#64748b;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,0.03);margin-bottom:20px}
.gm-pn{display:flex;gap:16px;padding:18px 0;border-top:1px solid rgba(255,255,255,0.03);margin-top:28px}
.gm-pn>div{flex:1;min-width:0}.gm-pn .lbl{font-size:12px;color:#475569;margin-bottom:4px}
.gm-pn a{color:#c8d6e5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.gm-pn a:hover{color:#00e5ff}
.gm-404{text-align:center;padding:120px 20px;min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.gm-404 .code{font-size:140px;font-weight:900;background:linear-gradient(135deg,#00e5ff,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1}
.gm-404 .msg{font-size:18px;color:#8892b0;margin:18px 0 32px}
.gm-sh{position:fixed;top:0;left:0;right:0;background:rgba(10,10,20,0.95);z-index:9998;border-bottom:1px solid rgba(0,229,255,0.08);padding:12px 0;backdrop-filter:blur(12px)}
.gm-sm{padding-top:70px}
.gm-th{display:flex;align-items:center;gap:14px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid rgba(255,255,255,0.03)}
.gm-th .t-icon{width:48px;height:48px;background:rgba(0,229,255,0.06);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#00e5ff;flex-shrink:0}
.gm-th h2{font-size:19px;margin:0 0 3px;color:#d8d8e8}.gm-th p{font-size:13px;color:#64748b;margin:0}
.gm-cbody{font-size:15px;line-height:1.8;color:#c8d6e5}

/* ===== Responsive ===== */
@media(max-width:992px){
  .gm-header .container{height:54px}.gm-menu-toggle{display:block}
  .gm-nav{display:none;position:fixed;top:54px;left:0;right:0;bottom:0;background:#0a0a14;flex-direction:column;padding:20px;overflow-y:auto;z-index:9998}
  .gm-nav.open{display:flex}.gm-nav>li>a{font-size:15px;padding:12px 16px}
  .gm-nav .dropdown .dropdown-menu{position:static;background:rgba(255,255,255,0.02);box-shadow:none;border-radius:0;padding-left:20px}
  .gm-header .header-cta{display:none}
  .gm-hero .hero-content{flex-direction:column;text-align:center;gap:30px}
  .gm-hero .hero-content h1{font-size:32px}.gm-hero .hero-content .hero-desc{max-width:100%}
  .gm-hero .hero-img img{max-height:250px}
  .gm-game-grid{grid-template-columns:repeat(2,1fr)}.gm-feat-grid{grid-template-columns:1fr 1fr}
  .gm-news-grid{grid-template-columns:1fr 1fr}.gm-main,.gm-side{flex:0 0 100%;max-width:100%}
  .gm-art-item{flex-direction:column}.gm-art-item .a-thumb{width:100%;height:160px}
  .gm-footer .ft-grid{grid-template-columns:1fr}.gm-partner-item img{height:100px}
}
@media(max-width:576px){
  .gm-hero .hero-content h1{font-size:26px}.gm-hero .hero-content .hero-desc{font-size:14px}
  .gm-game-grid,.gm-feat-grid,.gm-news-grid{grid-template-columns:1fr}
  .gm-section{padding:50px 0}.gm-section .section-header h2{font-size:24px}
  .gm-partner-item{padding:14px 18px;min-width:120px}.gm-partner-item img{height:80px}
  .gm-cta{margin:0 10px;padding:50px 16px}.gm-cta h2{font-size:22px}
}
