/* PG麻将胡了全站样式 */
:root {
    --bg: #24003f;
    --bg-deep: #16002b;
    --panel-1: #2d0052;
    --panel-2: #3b006b;
    --panel-3: #4a007f;
    --cyan: #25dff5;
    --pink: #f06bea;
    --heading: #bfffff;
    --text: #ffffff;
    --muted: #d8c7ff;
    --soft: #b99ee8;
    --border: rgba(191, 255, 255, 0.14);
    --card: rgba(60, 0, 100, 0.56);
    --gradient: linear-gradient(90deg, #21dff5 0%, #8f7bff 52%, #f06bea 100%);
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 14% 12%, rgba(37, 223, 245, 0.10), transparent 28%),
        radial-gradient(circle at 86% 28%, rgba(240, 107, 234, 0.12), transparent 30%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 42%, #1d0036 100%);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.75;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 3000;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: #24003f;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section-shell { position: relative; z-index: 2; padding: 88px 0; }
.section-shell + .section-shell { padding-top: 22px; }

.emoji-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .42; }
.emoji-field span { position: absolute; font-size: clamp(20px, 2.2vw, 34px); filter: drop-shadow(0 0 10px rgba(37,223,245,.25)); animation: floatEmoji 18s linear infinite; }
.emoji-field span:nth-child(1) { left: 3%; top: 92%; animation-duration: 21s; }
.emoji-field span:nth-child(2) { left: 9%; top: 65%; animation-delay: -8s; }
.emoji-field span:nth-child(3) { left: 16%; top: 85%; animation-duration: 24s; }
.emoji-field span:nth-child(4) { left: 2%; top: 38%; animation-delay: -11s; }
.emoji-field span:nth-child(5) { left: 94%; top: 78%; animation-duration: 22s; }
.emoji-field span:nth-child(6) { left: 88%; top: 91%; animation-delay: -4s; }
.emoji-field span:nth-child(7) { left: 97%; top: 52%; animation-duration: 26s; }
.emoji-field span:nth-child(8) { left: 84%; top: 33%; animation-delay: -14s; }
.emoji-field span:nth-child(9) { left: 6%; top: 18%; animation-duration: 20s; }
.emoji-field span:nth-child(10) { left: 91%; top: 13%; animation-delay: -6s; }
.emoji-field span:nth-child(11) { left: 11%; top: 48%; animation-duration: 28s; }
.emoji-field span:nth-child(12) { left: 96%; top: 96%; animation-delay: -18s; }
.emoji-field span:nth-child(13) { left: 1%; top: 73%; animation-duration: 23s; }
.emoji-field span:nth-child(14) { left: 86%; top: 62%; animation-delay: -12s; }
@keyframes floatEmoji {
    0% { transform: translate3d(0, 15vh, 0) rotate(-8deg); opacity: 0; }
    15% { opacity: .85; }
    50% { transform: translate3d(22px, -45vh, 0) rotate(8deg); }
    85% { opacity: .65; }
    100% { transform: translate3d(-18px, -115vh, 0) rotate(-6deg); opacity: 0; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1500;
    background: rgba(36, 0, 63, 0.72);
    border-bottom: 1px solid rgba(191,255,255,.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 150px; max-height: 52px; object-fit: contain; }
.desktop-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.desktop-nav a { padding: 9px 10px; border-radius: 8px; color: #fff; font-size: 14px; transition: .2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--heading); background: rgba(37,223,245,.10); }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    background: var(--gradient);
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(240,107,234,.26);
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.main-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(37,223,245,.30); filter: saturate(1.08); }
.main-btn:focus-visible, .menu-toggle:focus-visible, .drawer-close:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.header-play { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.05); cursor: pointer; }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #fff; }

.drawer-overlay { position: fixed; inset: 0; z-index: 1998; background: rgba(8,0,18,.68); opacity: 0; transition: opacity .25s ease; }
.drawer-overlay.is-visible { opacity: 1; }
.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1999;
    width: min(390px, 90vw);
    height: 100dvh;
    overflow-y: auto;
    transform: translateX(105%);
    background: linear-gradient(180deg, #2d0052 0%, #16002b 100%);
    border-left: 1px solid var(--border);
    box-shadow: -24px 0 70px rgba(0,0,0,.55);
    transition: transform .28s ease;
}
.side-drawer.is-open { transform: translateX(0); }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: rgba(36,0,63,.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.drawer-brand img { width: 142px; max-height: 50px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 20px; }
.drawer-nav a { padding: 11px 12px; border: 1px solid rgba(191,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.035); color: var(--muted); }
.drawer-nav a:hover { color: #fff; border-color: rgba(37,223,245,.28); background: rgba(37,223,245,.08); }
.drawer-note { margin: 0 20px 28px; padding: 16px; border-radius: 12px; background: rgba(240,107,234,.08); border: 1px solid rgba(240,107,234,.18); }
.drawer-note strong { color: var(--heading); }
.drawer-note p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.card, .zone-card, .info-card {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
h1, h2, h3, .section-title { color: var(--heading); text-shadow: 0 0 18px rgba(37,223,245,.20); line-height: 1.24; }
h1 { margin: 0 0 20px; font-size: clamp(42px, 7vw, 84px); letter-spacing: .02em; }
h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 42px); }
h3 { margin: 0 0 10px; font-size: 21px; }
p { color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 20px); color: #eee5ff; }
.eyebrow { display: inline-flex; margin-bottom: 12px; color: var(--cyan); font-size: 13px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading p { margin: 0; }
.section-index { display: inline-flex; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--heading); font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.home-hero {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(22,0,43,.94) 0%, rgba(36,0,63,.72) 45%, rgba(36,0,63,.40) 100%),
        linear-gradient(0deg, #24003f 0%, rgba(36,0,63,0) 36%),
        url('背景.webp');
    background-size: cover;
    background-position: center;
}
.home-hero::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -110px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(240,107,234,.38), rgba(37,223,245,.10) 48%, transparent 72%); filter: blur(28px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; gap: 48px; padding: 84px 0; }
.hero-copy { max-width: 690px; }
.hero-copy .lead { max-width: 660px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 7px 12px; border: 1px solid rgba(37,223,245,.26); border-radius: 999px; background: rgba(37,223,245,.08); color: var(--heading); font-size: 13px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { content: ""; position: absolute; inset: 12% 6%; border-radius: 50%; background: linear-gradient(135deg, rgba(37,223,245,.26), rgba(240,107,234,.28)); filter: blur(46px); }
.hero-visual img { position: relative; width: 100%; max-height: 620px; object-fit: contain; filter: drop-shadow(0 28px 50px rgba(0,0,0,.55)); }

.highlight-strip { position: relative; z-index: 3; margin-top: -32px; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; overflow: hidden; background: rgba(45,0,82,.86); border: 1px solid rgba(37,223,245,.20); box-shadow: 0 24px 64px rgba(0,0,0,.40), 0 0 40px rgba(37,223,245,.08); backdrop-filter: blur(15px); }
.highlight-item { padding: 22px; border-right: 1px solid rgba(191,255,255,.10); }
.highlight-item:last-child { border-right: 0; }
.highlight-item strong { display: block; margin-bottom: 6px; color: var(--heading); }
.highlight-item p { margin: 0; font-size: 14px; }

.capsule-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.capsule-nav a { padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 14px; }
.capsule-nav a:hover { color: #fff; border-color: rgba(37,223,245,.34); background: rgba(37,223,245,.09); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; }
.split-copy { padding: 10px; }
.split-copy p { margin: 0 0 16px; }
.split-media { padding: 18px; border-radius: 24px; }
.split-media img { width: 100%; max-height: 540px; object-fit: contain; border-radius: 16px; }
.feature-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.feature-point { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(191,255,255,.09); }
.feature-point strong { color: var(--heading); }
.feature-point span { display: block; margin-top: 4px; color: var(--soft); font-size: 13px; }

.poster-banner { margin: 0 auto; max-width: 1040px; padding: 14px; border-radius: 26px; background: rgba(255,255,255,.035); border: 1px solid var(--border); box-shadow: var(--shadow); }
.poster-banner img { width: 100%; height: auto; object-fit: contain; border-radius: 18px; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.quick-card { position: relative; min-height: 200px; padding: 24px; border-radius: 18px; overflow: hidden; transition: .25s ease; }
.quick-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -45px; bottom: -45px; border-radius: 50%; background: radial-gradient(circle, rgba(37,223,245,.18), transparent 70%); }
.quick-card:hover { transform: translateY(-4px); border-color: rgba(37,223,245,.30); }
.quick-no { display: inline-flex; margin-bottom: 26px; color: var(--cyan); font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.quick-card h3 { font-size: 23px; }
.quick-card p { margin: 0; font-size: 14px; }

.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game-card { border-radius: 16px; overflow: hidden; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.game-card:hover { transform: translateY(-6px); border-color: rgba(37,223,245,.34); box-shadow: 0 22px 52px rgba(0,0,0,.42), 0 0 28px rgba(143,123,255,.13); }
.game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #1c0034; }
.game-card-body { padding: 15px; }
.game-card h3 { font-size: 17px; }
.game-card p { min-height: 68px; margin: 0 0 9px; font-size: 13px; }
.game-card .text-link { font-size: 13px; }

.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 24px; border-radius: 18px; }
.info-card p { margin-bottom: 0; }
.number-badge { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: var(--gradient); color: #fff; font-weight: 900; box-shadow: 0 10px 24px rgba(37,223,245,.16); }

.activity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.activity-card { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 22px; padding: 18px; border-radius: 20px; }
.activity-card img { width: 100%; max-height: 190px; object-fit: contain; border-radius: 14px; }
.activity-card p { margin-bottom: 10px; }

.news-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.news-main, .news-list { padding: 26px; border-radius: 20px; }
.news-main time, .news-item time { color: var(--cyan); font-size: 13px; }
.news-item { padding: 16px 0; border-bottom: 1px solid rgba(191,255,255,.10); }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { margin-top: 5px; font-size: 18px; }
.news-item p { margin: 0; font-size: 14px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { position: relative; padding: 26px; border-radius: 18px; }
.review-card p { margin: 20px 0 24px; }
.review-mark { position: absolute; top: 8px; right: 20px; color: rgba(37,223,245,.32); font-size: 72px; line-height: 1; font-family: Georgia, serif; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-meta span { color: #fff; font-weight: 700; }
.review-meta small { color: var(--cyan); }

.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 14px; overflow: hidden; }
.faq-item summary { position: relative; padding: 18px 52px 18px 20px; cursor: pointer; color: #fff; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 24px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 20px 20px; }

.compliance-panel { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 26px; padding: 30px; border-radius: 20px; border-color: rgba(240,107,234,.20); }
.compliance-panel h2 { margin: 0; font-size: 27px; }
.compliance-panel p { margin: 0; }

.page-hero { padding-top: 70px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(240,107,234,.16), transparent 33%), radial-gradient(circle at 20% 30%, rgba(37,223,245,.12), transparent 30%); pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 42px; }
.page-hero-copy { position: relative; z-index: 1; }
.page-hero-copy h1 { font-size: clamp(38px, 6vw, 68px); }
.page-hero-media { padding: 18px; border-radius: 24px; }
.page-hero-media img { width: 100%; max-height: 470px; object-fit: contain; border-radius: 16px; }
.page-hero-symbol { min-height: 330px; display: grid; place-items: center; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 30px; border-radius: 24px; }
.page-hero-symbol span { font-size: clamp(48px, 7vw, 86px); filter: drop-shadow(0 0 18px rgba(37,223,245,.28)); animation: symbolPulse 4s ease-in-out infinite; }
.page-hero-symbol span:nth-child(2) { animation-delay: -1.4s; }
.page-hero-symbol span:nth-child(3) { animation-delay: -2.6s; }
@keyframes symbolPulse { 50% { transform: translateY(-10px) rotate(4deg); } }

.prose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prose-card { padding: 28px; border-radius: 20px; }
.prose-card.prose-wide { grid-column: 1 / -1; }
.prose-card p:last-child { margin-bottom: 0; }
.check-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 900; }

.site-footer { position: relative; z-index: 2; margin-top: 90px; padding: 56px 0 24px; background: #140024; color: #d8c7ff; border-top: 1px solid rgba(191,255,255,.10); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 36px; }
.footer-brand img { width: 160px; max-height: 58px; object-fit: contain; }
.footer-brand p { max-width: 440px; font-size: 14px; }
.site-footer h2 { margin: 0 0 14px; color: var(--heading); font-size: 17px; }
.site-footer a { display: block; margin: 7px 0; color: var(--muted); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(191,255,255,.08); }
.footer-bottom p { margin: 0; font-size: 12px; }

.content-img, .zone-card img, .app-section img, .hero-visual img, .poster-banner img { max-width: 100%; height: auto; object-fit: contain; }

@media (max-width: 1080px) {
    .desktop-nav a { padding-inline: 7px; font-size: 13px; }
    .game-grid { grid-template-columns: repeat(4, 1fr); }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-item:nth-child(2) { border-right: 0; }
    .highlight-item:nth-child(-n+2) { border-bottom: 1px solid rgba(191,255,255,.10); }
    .compliance-panel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .header-inner { min-height: 68px; }
    .brand img { width: 136px; }
    .hero-grid, .page-hero-grid, .split-section { grid-template-columns: 1fr; }
    .hero-grid { padding: 64px 0 88px; }
    .home-hero { min-height: auto; }
    .hero-copy { max-width: 760px; }
    .hero-visual { max-width: 600px; margin-inline: auto; }
    .page-hero-media { max-width: 660px; width: 100%; margin-inline: auto; }
    .game-grid { grid-template-columns: repeat(3, 1fr); }
    .three-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .activity-card { grid-template-columns: 140px 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .section-shell { padding: 64px 0; }
    .section-shell + .section-shell { padding-top: 14px; }
    .header-inner { gap: 10px; }
    .brand img { width: 112px; max-height: 44px; }
    .header-actions { gap: 7px; }
    .header-play { min-height: 36px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
    .menu-toggle { width: 38px; height: 38px; }
    h1 { font-size: clamp(38px, 14vw, 58px); }
    .hero-grid { gap: 26px; padding: 52px 0 82px; }
    .hero-actions { gap: 12px; }
    .main-btn { padding: 10px 15px; }
    .highlight-strip { margin-top: -22px; }
    .highlight-grid { grid-template-columns: 1fr; }
    .highlight-item { border-right: 0; border-bottom: 1px solid rgba(191,255,255,.10); }
    .highlight-item:last-child { border-bottom: 0; }
    .quick-grid, .three-grid, .review-grid, .prose-grid, .activity-grid { grid-template-columns: 1fr; }
    .prose-card.prose-wide { grid-column: auto; }
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
    .game-card-body { padding: 12px; }
    .game-card h3 { font-size: 15px; }
    .game-card p { min-height: 0; }
    .feature-points { grid-template-columns: 1fr; }
    .activity-card { grid-template-columns: 1fr; }
    .activity-card img { max-height: 240px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .drawer-nav { grid-template-columns: 1fr; }
    .page-hero-symbol { min-height: 240px; }
    .emoji-field span:nth-child(n+8) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
