/* ========================================
   老街腾龙官网 - 国潮红金风格
   v2.0 全图片化 + 弹窗系统
   ======================================== */

/* Reset */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:"Microsoft YaHei","PingFang SC","WenQuanYi Micro Hei",sans-serif; color:#333; background:#faf6f1; line-height:1.7; font-size:16px; }
img { max-width:100%; height:auto; display:block; }
a { color:#b22222; text-decoration:none; transition:color .3s; }
a:hover { color:#d4a843; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* Container */
.container { width:92%; max-width:1200px; margin:0 auto; }

/* ========================================
   Top Bar
   ======================================== */
.top-bar { background:#1a0e0e; color:#999; font-size:13px; padding:8px 0; }
.top-bar .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.top-bar a { color:#d4a843; margin-left:15px; font-size:13px; }
.top-bar a:hover { color:#fff; }

/* ========================================
   Header & Nav
   ======================================== */
.site-header { background:#fff; padding:15px 0; border-bottom:3px solid #b22222; position:sticky; top:0; z-index:1000; box-shadow:0 2px 10px rgba(0,0,0,.08); }
.site-header .container { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand-logo-img { height:50px; width:auto; }
.main-nav ul { display:flex; gap:30px; }
.main-nav a { color:#333; font-weight:600; font-size:15px; padding:8px 0; position:relative; }
.main-nav a.active { color:#b22222; }
.main-nav a.active::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:2px; background:#b22222; }
.main-nav a:hover { color:#b22222; }

/* Header Auth Buttons */
.header-auth { display:flex; gap:10px; flex-shrink:0; }
.btn-auth { padding:8px 20px; border-radius:20px; font-size:14px; font-weight:600; transition:all .3s; }
.btn-login-top { background:transparent; color:#b22222; border:2px solid #b22222; }
.btn-login-top:hover { background:#b22222; color:#fff; }
.btn-register-top { background:#b22222; color:#fff; border:2px solid #b22222; }
.btn-register-top:hover { background:#8b1a1a; border-color:#8b1a1a; }

/* Mobile Nav Toggle */
.nav-toggle { display:none; flex-direction:column; gap:5px; padding:5px; }
.nav-toggle span { width:28px; height:3px; background:#333; border-radius:2px; transition:.3s; }

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner { position:relative; height:85vh; min-height:520px; overflow:hidden; }
.page-hero { position:relative; height:50vh; min-height:320px; overflow:hidden; }
.hero-bg-img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(178,34,34,.35) 100%); z-index:1; }
.hero-content { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; color:#fff; padding:20px; }
.hero-content h1 { font-size:52px; font-weight:800; margin-bottom:20px; text-shadow:2px 2px 8px rgba(0,0,0,.5); letter-spacing:2px; }
.hero-content p { font-size:20px; margin-bottom:35px; text-shadow:1px 1px 4px rgba(0,0,0,.4); }
.hero-actions { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; }

/* ========================================
   Buttons
   ======================================== */
.btn { display:inline-block; padding:14px 36px; border-radius:6px; font-size:16px; font-weight:600; text-decoration:none; transition:all .3s; border:2px solid transparent; cursor:pointer; }
.btn-primary { background:#b22222; color:#fff; border-color:#b22222; }
.btn-primary:hover { background:#8b1a1a; border-color:#8b1a1a; color:#fff; transform:translateY(-2px); box-shadow:0 6px 20px rgba(178,34,34,.4); }
.btn-outline { background:transparent; color:#b22222; border-color:#b22222; }
.btn-outline:hover { background:#b22222; color:#fff; }
.btn-outline-light { background:transparent; color:#fff; border-color:#fff; }
.btn-outline-light:hover { background:#fff; color:#b22222; }
.btn-block { display:block; width:100%; text-align:center; }
.btn-sm { padding:8px 20px; font-size:13px; border-radius:4px; }

/* ========================================
   Section Title
   ======================================== */
.section-title { font-size:36px; font-weight:800; text-align:center; color:#1a0e0e; margin-bottom:12px; position:relative; padding-bottom:18px; }
.section-title::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:60px; height:3px; background:#d4a843; border-radius:2px; }
.section-subtitle { text-align:center; font-size:16px; color:#888; margin-bottom:50px; }

/* ========================================
   Stats Section
   ======================================== */
.stats-section { background:linear-gradient(135deg,#1a0e0e 0%,#2d1818 100%); padding:55px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
.stat-item { text-align:center; color:#fff; display:flex; flex-direction:column; align-items:center; }
.stat-icon { width:48px; height:48px; margin-bottom:12px; filter:brightness(1.5); }
.stat-number { font-size:48px; font-weight:800; color:#d4a843; }
.stat-suffix { font-size:28px; font-weight:700; color:#d4a843; }
.stat-label { display:block; font-size:16px; color:#ccc; margin-top:8px; }

/* ========================================
   Features
   ======================================== */
.features-section { padding:80px 0; background:#fff; }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:30px; }
.feature-card { background:#faf6f1; border-radius:12px; padding:0 0 30px; text-align:center; transition:all .3s; border:1px solid #f0e8d8; overflow:hidden; }
.feature-card:hover { transform:translateY(-8px); box-shadow:0 15px 40px rgba(0,0,0,.1); border-color:#d4a843; }
.feature-img-wrap { width:100%; height:160px; overflow:hidden; margin-bottom:20px; }
.feature-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.feature-card:hover .feature-img-wrap img { transform:scale(1.1); }
.feature-icon { font-size:36px; margin-bottom:12px; }
.feature-card h3 { font-size:20px; color:#1a0e0e; margin-bottom:10px; padding:0 20px; }

/* ========================================
   Games Preview / Grid
   ======================================== */
.games-preview { padding:80px 0; background:#faf6f1; }
.games-section { padding:60px 0 80px; }
.games-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:35px; margin-top:40px; }
.game-card { background:#fff; border-radius:12px; overflow:hidden; transition:all .35s; border:1px solid #f0e8d8; }
.game-card:hover { transform:translateY(-8px); box-shadow:0 18px 45px rgba(0,0,0,.12); }
.game-cover { position:relative; overflow:hidden; }
.game-cover img { width:100%; height:220px; object-fit:cover; transition:transform .5s; }
.game-card:hover .game-cover img { transform:scale(1.08); }
.game-badge { position:absolute; top:12px; right:12px; background:#b22222; color:#fff; padding:4px 12px; border-radius:20px; font-size:12px; font-weight:600; }
.badge-new { background:#d4a843; color:#1a0e0e; }
.game-info { padding:24px; }
.game-info h3 { font-size:18px; color:#1a0e0e; margin-bottom:8px; }
.game-info > p { font-size:14px; color:#777; margin-bottom:15px; }
.game-tag { display:inline-block; background:#f0e8d8; color:#b22222; padding:3px 12px; border-radius:4px; font-size:12px; font-weight:600; }
.game-meta-row { display:flex; justify-content:space-between; align-items:center; }
.game-plays { font-size:13px; color:#999; }

/* Game Filter */
.game-filter { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:30px; }
.filter-btn { padding:10px 24px; border-radius:30px; background:#fff; border:2px solid #f0e8d8; color:#666; font-size:14px; font-weight:600; transition:all .3s; }
.filter-btn:hover, .filter-btn.active { background:#b22222; color:#fff; border-color:#b22222; }

/* Tag Colors */
.tag-puzzle { background:#e8f4f8; color:#1a7a8a; }
.tag-match { background:#fce8e8; color:#b22222; }
.tag-parkour { background:#e8f8e8; color:#228b22; }
.tag-casual { background:#f0e8d8; color:#8b6914; }

/* ========================================
   Screenshot Wall (瀑布流图片墙)
   ======================================== */
.screenshot-wall { padding:80px 0; background:#1a0e0e; }
.screenshot-wall .section-title { color:#fff; }
.screenshot-wall .section-subtitle { color:#aaa; }
.screenshot-masonry { display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:200px; gap:15px; }
.screenshot-item { position:relative; border-radius:12px; overflow:hidden; cursor:pointer; }
.screenshot-item.large { grid-row:span 2; }
.screenshot-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.screenshot-item:hover img { transform:scale(1.08); }
.screenshot-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); display:flex; align-items:flex-end; padding:20px; opacity:0; transition:opacity .3s; }
.screenshot-item:hover .screenshot-overlay { opacity:1; }
.screenshot-overlay span { color:#fff; font-size:16px; font-weight:600; }

/* ========================================
   Testimonials (玩家评价)
   ======================================== */
.testimonials-section { padding:80px 0; background:#fff; }
.testimonials-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; margin-top:40px; }
.testimonial-card { background:#faf6f1; border-radius:12px; padding:30px; border:1px solid #f0e8d8; transition:all .3s; }
.testimonial-card:hover { transform:translateY(-5px); box-shadow:0 12px 35px rgba(0,0,0,.08); }
.testimonial-header { display:flex; align-items:center; gap:15px; margin-bottom:15px; }
.testimonial-avatar { width:56px; height:56px; border-radius:50%; object-fit:cover; border:3px solid #d4a843; }
.testimonial-rating { font-size:14px; }
.testimonial-card p { font-size:15px; color:#555; font-style:italic; line-height:1.8; }

/* ========================================
   Partners (合作媒体)
   ======================================== */
.partners-section { padding:60px 0; background:#faf6f1; }
.partners-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:20px; align-items:center; margin-top:30px; }
.partner-logo { background:#fff; border-radius:10px; padding:20px; display:flex; align-items:center; justify-content:center; height:90px; border:1px solid #f0e8d8; transition:all .3s; }
.partner-logo:hover { border-color:#d4a843; transform:scale(1.05); }
.partner-logo img { max-width:100%; max-height:50px; object-fit:contain; filter:grayscale(1); opacity:.7; transition:all .3s; }
.partner-logo:hover img { filter:grayscale(0); opacity:1; }

/* ========================================
   News
   ======================================== */
.news-preview { padding:80px 0; background:#fff; }
.news-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:30px; margin-top:40px; }
.news-card { background:#faf6f1; border-radius:12px; overflow:hidden; transition:all .3s; }
.news-card:hover { transform:translateY(-6px); box-shadow:0 12px 35px rgba(0,0,0,.1); }
.news-thumb { overflow:hidden; }
.news-thumb img { width:100%; height:200px; object-fit:cover; transition:transform .5s; }
.news-card:hover .news-thumb img { transform:scale(1.05); }
.news-info { padding:22px; }
.news-info time { font-size:13px; color:#d4a843; font-weight:600; }
.news-info h3 { font-size:16px; color:#1a0e0e; margin-top:8px; line-height:1.5; }

/* News List */
.news-featured { background:#fff; border-radius:16px; overflow:hidden; margin-bottom:50px; box-shadow:0 8px 30px rgba(0,0,0,.08); display:grid; grid-template-columns:1fr 1fr; }
.news-featured-img { position:relative; }
.news-featured-img img { width:100%; height:100%; min-height:300px; object-fit:cover; }
.news-tag-top { position:absolute; top:15px; left:15px; background:#b22222; color:#fff; padding:6px 16px; border-radius:4px; font-size:13px; font-weight:700; }
.news-featured-content { padding:40px; display:flex; flex-direction:column; justify-content:center; }
.news-featured-content .news-cat { display:inline-block; background:#d4a843; color:#1a0e0e; padding:4px 14px; border-radius:4px; font-size:13px; font-weight:600; margin-bottom:15px; align-self:flex-start; }
.news-featured-content h2 { font-size:24px; color:#1a0e0e; margin-bottom:15px; line-height:1.5; }
.news-featured-content p { color:#666; margin-bottom:20px; }
.news-meta { font-size:13px; color:#999; display:flex; gap:20px; }

.news-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:30px; }
.news-item { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,.06); transition:all .3s; }
.news-item:hover { transform:translateY(-5px); box-shadow:0 12px 35px rgba(0,0,0,.1); }
.news-item a { display:flex; }
.news-item-img { width:40%; flex-shrink:0; }
.news-item-img img { width:100%; height:100%; min-height:160px; object-fit:cover; }
.news-item-content { padding:20px; flex:1; }
.news-item-content .news-cat { display:inline-block; background:#f0e8d8; color:#b22222; padding:2px 10px; border-radius:3px; font-size:12px; font-weight:600; margin-bottom:8px; }
.news-item-content h3 { font-size:16px; color:#1a0e0e; margin-bottom:8px; line-height:1.4; }
.news-item-content p { font-size:13px; color:#888; margin-bottom:10px; }

.news-filter { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:40px; }

/* Pagination */
.pagination { display:flex; justify-content:center; align-items:center; gap:8px; margin-top:50px; }
.pagination a { display:inline-block; padding:10px 18px; border-radius:6px; background:#fff; border:1px solid #f0e8d8; color:#666; font-size:14px; }
.pagination a.active { background:#b22222; color:#fff; border-color:#b22222; }
.pagination a:hover:not(.active) { background:#f0e8d8; }
.page-ellipsis { color:#999; }

/* ========================================
   About Page
   ======================================== */
.about-intro { padding:80px 0; }
.about-content { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-text p { margin-bottom:20px; font-size:16px; line-height:1.9; }
.about-text strong { color:#b22222; }
.about-image img { width:100%; border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,.15); }

/* 品牌时间线图片 */
.about-timeline-img { margin-top:30px; border-radius:12px; overflow:hidden; }
.about-timeline-img img { width:100%; height:250px; object-fit:cover; }

.culture-section { padding:80px 0; background:#1a0e0e; }
.culture-section .section-title { color:#fff; }
.culture-section .section-subtitle { color:#aaa; }
.culture-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:25px; margin-top:50px; }
.culture-card { background:rgba(255,255,255,.05); border:1px solid rgba(212,168,67,.3); border-radius:12px; padding:35px 25px; text-align:center; transition:all .3s; }
.culture-card:hover { border-color:#d4a843; background:rgba(212,168,67,.1); }
.culture-card .culture-img { width:80px; height:80px; border-radius:50%; margin:0 auto 15px; overflow:hidden; border:3px solid #d4a843; }
.culture-card .culture-img img { width:100%; height:100%; object-fit:cover; }
.culture-icon { font-size:42px; margin-bottom:15px; }
.culture-card h3 { color:#d4a843; font-size:18px; margin-bottom:10px; }
.culture-card p { color:#ccc; font-size:14px; }

/* Timeline */
.timeline-section { padding:80px 0; background:#faf6f1; }
.timeline { max-width:800px; margin:50px auto 0; position:relative; padding-left:40px; }
.timeline::before { content:''; position:absolute; left:10px; top:0; bottom:0; width:3px; background:#d4a843; border-radius:2px; }
.timeline-item { position:relative; margin-bottom:40px; background:#fff; padding:25px 30px; border-radius:10px; box-shadow:0 4px 15px rgba(0,0,0,.06); }
.timeline-item::before { content:''; position:absolute; left:-33px; top:30px; width:16px; height:16px; border-radius:50%; background:#b22222; border:3px solid #d4a843; }
.timeline-item time { display:inline-block; background:#b22222; color:#fff; padding:4px 14px; border-radius:4px; font-size:14px; font-weight:700; margin-bottom:12px; }
.timeline-content h3 { font-size:18px; color:#1a0e0e; margin-bottom:8px; }
.timeline-content p { color:#666; font-size:15px; }

/* Team */
.team-section { padding:80px 0; background:#fff; }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:35px; margin-top:50px; }
.team-card { text-align:center; background:#faf6f1; border-radius:12px; padding:35px 25px; transition:all .3s; }
.team-card:hover { transform:translateY(-6px); box-shadow:0 12px 35px rgba(0,0,0,.1); }
.team-avatar { width:120px; height:120px; border-radius:50%; overflow:hidden; margin:0 auto 20px; border:4px solid #d4a843; }
.team-avatar img { width:100%; height:100%; object-fit:cover; }
.team-card h3 { font-size:18px; color:#1a0e0e; margin-bottom:10px; }
.team-card p { font-size:14px; color:#777; }

/* ========================================
   Game Detail
   ======================================== */
.game-detail-section { padding:60px 0; }
.game-detail-grid { display:grid; grid-template-columns:2fr 1fr; gap:50px; }
.game-showcase { border-radius:16px; overflow:hidden; margin-bottom:40px; box-shadow:0 8px 30px rgba(0,0,0,.1); }
.game-showcase-img { width:100%; height:auto; }
.screenshot-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin-top:20px; }
.screenshot-grid img { width:100%; height:140px; object-fit:cover; border-radius:8px; cursor:pointer; transition:transform .3s; }
.screenshot-grid img:hover { transform:scale(1.05); }

.game-description h3 { font-size:22px; color:#1a0e0e; margin:30px 0 15px; }
.game-description p { margin-bottom:15px; line-height:1.9; }
.game-features-list { margin:15px 0 25px 20px; }
.game-features-list li { margin-bottom:10px; font-size:15px; }

/* Sidebar */
.game-detail-sidebar { position:sticky; top:100px; align-self:start; }
.game-info-card { background:#fff; border-radius:12px; padding:30px; margin-bottom:30px; box-shadow:0 4px 15px rgba(0,0,0,.06); border:1px solid #f0e8d8; }
.game-info-card h3 { font-size:20px; color:#1a0e0e; margin-bottom:20px; text-align:center; }
.game-stats { margin-top:20px; }
.game-stat { display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid #f5f0e8; }
.game-stat:last-child { border-bottom:none; }
.stat-label { color:#888; font-size:14px; }
.stat-val { color:#1a0e0e; font-weight:600; font-size:14px; }

.related-games { margin-top:15px; }
.related-games li { margin-bottom:12px; }
.related-games a { display:flex; align-items:center; gap:12px; color:#333; }
.related-games a:hover { color:#b22222; }
.related-games img { width:50px; height:50px; object-fit:cover; border-radius:6px; flex-shrink:0; }

/* Comments */
.comments-section { padding:60px 0 80px; background:#faf6f1; }
.comments-list { max-width:800px; margin:40px auto 0; }
.comment-item { display:flex; gap:20px; background:#fff; padding:25px; border-radius:12px; margin-bottom:20px; box-shadow:0 4px 12px rgba(0,0,0,.04); }
.comment-avatar { width:60px; height:60px; border-radius:50%; overflow:hidden; flex-shrink:0; }
.comment-avatar img { width:100%; height:100%; object-fit:cover; }
.comment-body h4 { font-size:16px; color:#1a0e0e; margin-bottom:5px; }
.comment-rating { margin-bottom:8px; }
.comment-body p { font-size:14px; color:#666; margin-bottom:8px; }
.comment-body time { font-size:12px; color:#aaa; }

/* ========================================
   Contact Page (保留为独立页面备用)
   ======================================== */
.contact-section { padding:60px 0; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.contact-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:30px; }
.contact-card { background:#faf6f1; border-radius:12px; padding:30px 20px; text-align:center; border:1px solid #f0e8d8; transition:all .3s; }
.contact-card:hover { border-color:#d4a843; transform:translateY(-4px); }
.contact-icon { font-size:36px; margin-bottom:12px; }
.contact-card h3 { font-size:16px; color:#1a0e0e; margin-bottom:8px; }
.contact-value { font-size:15px; color:#b22222; font-weight:700; margin-bottom:5px; }
.contact-hint { font-size:13px; color:#999; }

/* Form */
.contact-form-wrap { background:#fff; border-radius:16px; padding:40px; box-shadow:0 8px 30px rgba(0,0,0,.08); }
.contact-form-wrap h2 { font-size:24px; color:#1a0e0e; margin-bottom:10px; }
.contact-form-wrap > p { color:#777; margin-bottom:30px; }
.form-row { margin-bottom:22px; }
.form-row label { display:block; font-size:14px; font-weight:600; color:#333; margin-bottom:8px; }
.form-row input, .form-row select, .form-row textarea { width:100%; padding:12px 16px; border:2px solid #f0e8d8; border-radius:8px; font-size:15px; font-family:inherit; transition:border-color .3s; background:#fefcf9; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline:none; border-color:#d4a843; }
.form-row textarea { resize:vertical; }
.form-check { display:flex; align-items:center; gap:10px; }
.form-check label { margin-bottom:0; font-weight:400; font-size:14px; }
.form-check input { width:auto; }
.form-options { display:flex; justify-content:space-between; align-items:center; }
.form-options a { font-size:13px; color:#b22222; }

/* Map */
.map-section { padding:60px 0; background:#faf6f1; }
.map-placeholder { background:#fff; border-radius:16px; padding:60px 20px; text-align:center; border:2px dashed #d4a843; }
.map-placeholder span { font-size:48px; display:block; margin-bottom:15px; }
.map-placeholder p { color:#666; margin-bottom:5px; }

/* Notice */
.notice-section { padding:40px 0 80px; }
.notice-box { background:linear-gradient(135deg,#fef9f0,#fdf0d5); border-left:5px solid #d4a843; border-radius:12px; padding:30px 40px; }
.notice-box h3 { color:#b22222; font-size:18px; margin-bottom:10px; }
.notice-box p { color:#666; font-size:15px; line-height:1.8; }

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb { padding:20px 0; font-size:14px; color:#999; }
.breadcrumb a { color:#b22222; }
.breadcrumb a:hover { color:#d4a843; }

/* ========================================
   Footer
   ======================================== */
.site-footer { background:#1a0e0e; color:#aaa; padding:60px 0 25px; margin-top:60px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:50px; margin-bottom:40px; }
.footer-col-large p { margin-bottom:15px; line-height:1.8; }
.footer-brand .footer-logo-img { height:45px; margin-bottom:20px; filter:brightness(1.2); }
.footer-col h4 { color:#d4a843; font-size:16px; margin-bottom:18px; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:#aaa; font-size:14px; }
.footer-col ul li a:hover { color:#d4a843; }
.footer-col p { font-size:14px; margin-bottom:10px; }

/* Footer Badges */
.footer-badges { display:flex; gap:10px; margin:15px 0; }
.footer-badge { height:36px; width:auto; border-radius:4px; }
.qr-placeholder { width:120px; height:120px; background:#333; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#666; font-size:11px; margin-top:15px; overflow:hidden; }
.qr-placeholder img { width:100%; height:100%; object-fit:cover; }
.qr-box { width:100px; height:100px; background:#333; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; margin:0 auto 10px; }
.qr-box img { width:100%; height:100%; object-fit:cover; }

.footer-bottom { border-top:1px solid #333; padding-top:25px; text-align:center; font-size:13px; color:#666; }
.footer-bottom a { color:#888; }
.footer-bottom a:hover { color:#d4a843; }
.footer-icp { margin-top:8px; font-size:12px; }

/* ========================================
   404 Error
   ======================================== */
.error-section { padding:120px 0; text-align:center; min-height:50vh; display:flex; align-items:center; }
.error-code { font-size:120px; font-weight:900; color:#b22222; margin-bottom:20px; }
.error-text { font-size:24px; color:#333; margin-bottom:15px; }
.error-desc { font-size:16px; color:#888; margin-bottom:35px; }
.error-actions { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }

/* ========================================
   Legal Pages
   ======================================== */
.legal-section { padding:60px 0 80px; }
.legal-content { max-width:800px; margin:0 auto; background:#fff; padding:50px; border-radius:16px; box-shadow:0 4px 20px rgba(0,0,0,.06); }
.legal-content h2 { font-size:22px; color:#b22222; margin:35px 0 15px; padding-bottom:10px; border-bottom:2px solid #f0e8d8; }
.legal-content h2:first-of-type { margin-top:0; }
.legal-content p { margin-bottom:15px; line-height:1.9; }
.legal-content ul { margin:10px 0 20px 25px; }
.legal-content ul li { margin-bottom:10px; list-style:disc; }
.legal-date { color:#d4a843; font-weight:600; font-size:14px; margin-bottom:20px; }

/* ========================================
   Sitemap Page
   ======================================== */
.sitemap-section { padding:60px 0 80px; }
.sitemap-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:40px; }
.sitemap-col h3 { font-size:18px; color:#b22222; margin-bottom:20px; padding-bottom:10px; border-bottom:2px solid #d4a843; }
.sitemap-col ul li { margin-bottom:12px; }
.sitemap-col ul li a { color:#555; font-size:15px; }
.sitemap-col ul li a:hover { color:#b22222; padding-left:5px; }

/* ========================================
   ========================================
   MODAL SYSTEM (弹窗系统)
   ========================================
   ======================================== */

.modal-overlay {
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,.65);
  display:none; align-items:center; justify-content:center;
  padding:20px; opacity:0; transition:opacity .3s;
}
.modal-overlay.active { display:flex; opacity:1; }

.modal-box {
  background:#fff; border-radius:16px; padding:40px;
  width:100%; max-width:440px; position:relative;
  max-height:90vh; overflow-y:auto;
  animation:modalIn .35s ease;
}
.modal-box-large { max-width:680px; }

@keyframes modalIn {
  from { transform:translateY(-40px) scale(.95); opacity:0; }
  to { transform:translateY(0) scale(1); opacity:1; }
}

.modal-close {
  position:absolute; top:15px; right:18px;
  font-size:28px; color:#999; line-height:1;
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:all .3s;
}
.modal-close:hover { background:#f0e8d8; color:#b22222; }

.modal-header { text-align:center; margin-bottom:30px; }
.modal-header .modal-logo { height:42px; margin-bottom:15px; }
.modal-header h2 { font-size:24px; color:#1a0e0e; margin-bottom:8px; }
.modal-header p { font-size:14px; color:#888; }

.modal-form .form-row { margin-bottom:18px; }
.modal-form label { display:block; font-size:13px; font-weight:600; color:#444; margin-bottom:6px; }
.modal-form input { width:100%; padding:12px 15px; border:2px solid #f0e8d8; border-radius:8px; font-size:15px; transition:border-color .3s; background:#fefcf9; }
.modal-form input:focus { outline:none; border-color:#d4a843; }
.form-options { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.form-options label { margin-bottom:0; font-size:13px; font-weight:400; display:flex; align-items:center; gap:6px; cursor:pointer; }
.form-options label input { width:auto; margin-right:4px; }
.form-options a { font-size:13px; color:#b22222; }

.modal-footer { text-align:center; margin-top:20px; font-size:14px; color:#666; }
.modal-footer a { color:#b22222; font-weight:600; }

/* Contact Modal */
.contact-modal-body { padding:10px 0; }
.contact-methods { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-bottom:30px; }
.contact-method { background:#faf6f1; border-radius:12px; padding:25px 20px; text-align:center; border:1px solid #f0e8d8; }
.contact-method-icon { font-size:36px; margin-bottom:10px; }
.contact-method h3 { font-size:16px; color:#1a0e0e; margin-bottom:8px; }
.contact-method .contact-value { font-size:15px; color:#b22222; font-weight:700; margin-bottom:5px; }
.contact-method .contact-hint { font-size:12px; color:#999; margin-bottom:12px; }
.contact-method .btn { font-size:12px; padding:6px 16px; }

.contact-extra { display:grid; grid-template-columns:1fr 1fr; gap:30px; padding-top:25px; border-top:2px solid #f0e8d8; }
.contact-address h3, .contact-qrcode h3 { font-size:16px; color:#1a0e0e; margin-bottom:12px; }
.contact-address p { font-size:14px; color:#666; margin-bottom:6px; }
.contact-qrcode { text-align:center; }
.contact-qrcode p { font-size:13px; color:#888; }

/* Toast 提示 */
.toast-msg {
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%) translateY(20px);
  background:#1a0e0e; color:#d4a843; padding:14px 30px; border-radius:8px;
  font-size:15px; font-weight:600; z-index:10000;
  opacity:0; pointer-events:none; transition:all .3s;
  box-shadow:0 6px 25px rgba(0,0,0,.3);
}
.toast-msg.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width:1024px) {
  .hero-content h1 { font-size:40px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:40px; }
  .news-featured { grid-template-columns:1fr; }
  .news-featured-img img { min-height:250px; }
  .about-content { grid-template-columns:1fr; gap:40px; }
  .game-detail-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; gap:40px; }
  .partners-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .header-auth { display:none; }
}

@media (max-width:768px) {
  .top-bar { font-size:12px; }
  .top-bar .container { flex-direction:column; gap:5px; }
  .top-bar a { margin-left:8px; }
  .site-header .container { flex-wrap:wrap; }
  .nav-toggle { display:flex; }
  .main-nav { display:none; width:100%; margin-top:15px; }
  .main-nav.open { display:block; }
  .main-nav ul { flex-direction:column; gap:10px; padding-bottom:10px; }
  .main-nav a { display:block; padding:10px 0; border-bottom:1px solid #f5f0e8; }
  .main-nav a.active::after { display:none; }

  .hero-banner { height:65vh; min-height:420px; }
  .hero-content h1 { font-size:30px; }
  .hero-content p { font-size:16px; }
  .hero-actions { flex-direction:column; gap:12px; }

  .section-title { font-size:28px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:25px; }
  .stat-number { font-size:36px; }

  .features-grid { grid-template-columns:1fr; }
  .games-grid { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .news-item a { flex-direction:column; }
  .news-item-img { width:100%; }
  .news-item-img img { min-height:200px; }

  .screenshot-masonry { grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
  .testimonials-grid { grid-template-columns:1fr; }
  .partners-grid { grid-template-columns:repeat(3,1fr); }
  .partner-logo { height:70px; padding:12px; }

  .contact-cards { grid-template-columns:1fr; }
  .screenshot-grid { grid-template-columns:repeat(2,1fr); }
  .contact-methods { grid-template-columns:1fr; }
  .contact-extra { grid-template-columns:1fr; }

  .footer-grid { grid-template-columns:1fr; gap:30px; }

  .modal-box { padding:25px; }
  .legal-content { padding:25px; }
  .error-code { font-size:80px; }

  .pagination { flex-wrap:wrap; }
}

@media (max-width:480px) {
  .hero-content h1 { font-size:24px; }
  .btn { padding:12px 24px; font-size:14px; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat-number { font-size:28px; }
  .screenshot-masonry { grid-template-columns:1fr 1fr; grid-auto-rows:120px; }
  .partners-grid { grid-template-columns:repeat(2,1fr); }
  .modal-box { padding:20px; }
  .contact-methods { grid-template-columns:1fr; }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}
.feature-card, .game-card, .news-card, .culture-card, .team-card {
  animation:fadeInUp .6s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:#f5f0e8; }
::-webkit-scrollbar-thumb { background:#d4a843; border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:#b22222; }

/* ========================================
   v2.2 新增样式
   - Hero 联系栏（首屏直接可见联系方式）
   - 负责人微信高亮
   - 页脚内联联系方式
   - 注册网址直显
   ======================================== */

/* Hero 底部联系条 */
.hero-contact-bar {
  margin-top:30px;
  display:flex; flex-wrap:wrap; gap:20px; justify-content:center;
  background:rgba(0,0,0,.45);
  padding:12px 28px; border-radius:30px;
  backdrop-filter:blur(6px);
}
.hero-contact-bar span {
  color:#fff; font-size:15px; font-weight:600;
  display:inline-flex; align-items:center; gap:6px;
}
.hero-contact-bar a {
  color:#ffd700; text-decoration:underline; font-weight:700;
}
.hero-contact-bar a:hover { color:#fff; }

/* 负责人微信高亮卡片 */
.highlight-method {
  background:linear-gradient(135deg,#fdf6e3,#fef9ef) !important;
  border:2px solid #d4a843 !important;
  box-shadow:0 4px 18px rgba(212,168,67,.25);
  position:relative;
}
.highlight-method::before {
  content:'⭐ 优先';
  position:absolute; top:-12px; right:12px;
  background:#d4a843; color:#1a0e0e;
  font-size:11px; font-weight:700;
  padding:3px 10px; border-radius:10px;
}

/* 页脚内联联系方式（不用点弹窗就能看到） */
.footer-contact-inline {
  margin-top:18px; padding:14px 18px;
  background:rgba(178,34,34,.08);
  border-left:3px solid #b22222;
  border-radius:6px;
  display:flex; flex-wrap:wrap; gap:16px;
  font-size:14px;
}
.footer-contact-inline span { color:#444; }
.footer-contact-inline a, .footer-contact-inline strong {
  color:#b22222; font-weight:700;
}
.footer-contact-inline a:hover { color:#d4a843; }

/* 顶部通知栏强化 */
.top-bar-right a[style*="color:#ffd700"] {
  animation:pulseGold 2s ease-in-out infinite;
}
@keyframes pulseGold {
  0%,100% { color:#ffd700; }
  50% { color:#fff; }
}

/* 联系弹窗四列在大屏更宽 */
@media (min-width:900px) {
  .contact-methods { grid-template-columns:repeat(4,1fr); }
}

/* 移动端弹窗联系方式调整 */
@media (max-width:768px) {
  .hero-contact-bar { padding:10px 16px; gap:10px; }
  .hero-contact-bar span { font-size:13px; }
  .footer-contact-inline { font-size:13px; gap:10px; }
  .highlight-method::before { font-size:10px; padding:2px 8px; }
}

/* 复制成功反馈 */
.contact-method .btn-copied {
  background:#28a745 !important;
  color:#fff !important;
  border-color:#28a745 !important;
}
