/* 潮游网 — 前台样式 (简约大气) */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#f5f6fa;color:#2d3436;line-height:1.6}
a{text-decoration:none;color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 16px}

/* Header */
.site-header{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{font-size:22px;font-weight:800;color:#5f27cd;letter-spacing:1px}
.logo b{color:#341f97}
.nav{display:flex;gap:24px;font-size:15px}
.nav a{color:#636e72;font-weight:500;transition:.2s}
.nav a:hover{color:#5f27cd}

/* Hero */
.hero{background:linear-gradient(135deg,#5f27cd 0%,#341f97 100%);color:#fff;padding:52px 0;text-align:center}
.hero h1{font-size:30px;margin-bottom:8px;font-weight:800}
.hero p{opacity:.9;font-size:16px}

/* Section */
.section-title{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 16px;padding:0 4px}
.section-title h2{font-size:20px;font-weight:800;color:#2d3436}
.section-title .more{color:#5f27cd;font-size:14px}

/* Game grid */
.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:900px){.game-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.game-grid{grid-template-columns:repeat(2,1fr)}}
.game-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.06);transition:.2s;display:flex;flex-direction:column}
.game-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.12)}
.card-cover{position:relative;aspect-ratio:3/4;background:#eee;overflow:hidden}
.card-cover img{width:100%;height:100%;object-fit:cover;display:block}
.card-cover.noframe{background:linear-gradient(135deg,#5f27cd,#341f97)}
.card-cover.noframe::after{content:"🎮";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:48px}
.card-cat{position:absolute;top:8px;left:8px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;padding:2px 8px;border-radius:20px}
.card-body{padding:10px 12px 14px}
.card-body h3{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-meta{font-size:12px;color:#b2bec3;margin:2px 0 8px}
.dl-btn{display:inline-block;background:#5f27cd;color:#fff;font-size:12px;padding:4px 14px;border-radius:20px}

/* Detail */
.detail{background:#fff;border-radius:12px;margin:24px 0;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.detail-head{display:flex;gap:24px;padding:24px}
.detail-cover{width:220px;flex-shrink:0}
.detail-cover img{width:100%;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.detail-cover.noframe{background:linear-gradient(135deg,#5f27cd,#341f97);border-radius:10px;min-height:270px;position:relative}
.detail-cover.noframe::after{content:"🎮";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:64px}
.detail-info{flex:1}
.detail-info h1{font-size:26px;margin-bottom:12px}
.detail-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:#636e72;margin-bottom:20px}
.big-dl-btn{display:inline-block;background:linear-gradient(135deg,#00b894,#00a381);color:#fff;font-size:18px;font-weight:700;padding:12px 32px;border-radius:30px;box-shadow:0 4px 14px rgba(0,184,148,.4)}
.big-dl-btn:hover{transform:translateY(-2px)}
.dl-tip{font-size:12px;color:#b2bec3;margin-top:8px}
.detail-body{padding:0 24px 24px}
.detail-body h2{font-size:18px;margin:16px 0 8px;padding-left:10px;border-left:4px solid #5f27cd}
.detail-desc{color:#2d3436;font-size:15px;line-height:1.9}
.detail-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:600px){.detail-head{flex-direction:column}.detail-cover{width:100%;max-width:180px;margin:0 auto}.detail-shots{grid-template-columns:repeat(2,1fr)}}
.shot{aspect-ratio:16/9;overflow:hidden;border-radius:8px}
.shot img{width:100%;height:100%;object-fit:cover}

/* News */
.news-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.news-list{list-style:none}
.news-list li{padding:10px 0;border-bottom:1px dashed #eee}
.news-list li:last-child{border-bottom:none}
.news-list a{font-size:15px;color:#2d3436}
.news-list a:hover{color:#5f27cd}
.n-date{font-size:12px;color:#b2bec3;margin-right:10px}

/* Info page */
.info-page{background:#fff;border-radius:12px;padding:28px;margin:24px 0;box-shadow:0 1px 6px rgba(0,0,0,.06)}
.info-page h1{font-size:24px;margin-bottom:16px}
.info-content{font-size:15px;line-height:1.9;color:#2d3436}
.info-content p{margin-bottom:10px}

/* Footer */
.site-footer{background:#fff;border-top:1px solid #eee;padding:28px 0;margin-top:24px;text-align:center;color:#636e72;font-size:13px}
.site-footer p{margin:4px 0}
.footer-links{display:flex;justify-content:center;gap:20px;margin-top:8px!important}
.footer-links a{color:#5f27cd}
.empty{text-align:center;color:#b2bec3;padding:40px 0;font-size:15px}
