/* PG麻将胡了全站样式 */
:root {
    --bg: #24003f;
    --bg-deep: #16002b;
    --bg-soft: #2d0052;
    --bg-mid: #3b006b;
    --bg-bright: #4a007f;
    --cyan: #25dff5;
    --pink: #f06bea;
    --title: #bfffff;
    --text: #ffffff;
    --muted: #d8c7ff;
    --hint: #b99ee8;
    --card: rgba(60, 0, 100, 0.56);
    --border: rgba(191, 255, 255, 0.14);
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
    --radius: 20px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(37, 223, 245, 0.10), transparent 28%),
        radial-gradient(circle at 80% 26%, rgba(240, 107, 234, 0.12), transparent 32%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.75;
}
body.drawer-open { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
main { position: relative; z-index: 2; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; position: relative; }
.section.compact { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-kicker { color: var(--cyan); font-weight: 800; letter-spacing: .08em; font-size: .88rem; }
h1, h2, h3, .section-title {
    color: var(--title);
    text-shadow: 0 0 18px rgba(37, 223, 245, 0.20);
    line-height: 1.25;
    margin-top: 0;
}
h1 { font-size: clamp(2.3rem, 6vw, 5.1rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.hint { color: var(--hint); }
.text-link { color: var(--cyan); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--title); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: #fff; color: #21003d; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(36, 0, 63, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(191,255,255,.10);
    box-shadow: 0 12px 35px rgba(10,0,22,.22);
}
.header-inner {
    width: min(calc(100% - 32px), 1240px);
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.brand img, .drawer-brand img, .footer-brand img { object-fit: contain; }
.brand img { width: 176px; max-height: 54px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); white-space: nowrap; }
.desktop-nav a { color: #fff; font-size: .96rem; padding: 24px 0 20px; border-bottom: 2px solid transparent; transition: .2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--title); border-bottom-color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    background: linear-gradient(90deg, #21dff5 0%, #8f7bff 52%, #f06bea 100%);
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(240,107,234,0.26);
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.main-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(37,223,245,0.30); }
.menu-toggle { width: 46px; height: 46px; border: 1px solid rgba(191,255,255,.22); background: rgba(255,255,255,.06); border-radius: 10px; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.menu-toggle span { width: 21px; height: 2px; background: #fff; border-radius: 9px; display: block; }

.drawer-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(7,0,18,.68); opacity: 0; transition: opacity .22s ease; backdrop-filter: blur(4px); }
.drawer-overlay.is-visible { opacity: 1; }
.side-drawer { position: fixed; top: 0; right: 0; z-index: 2100; width: min(390px, 92vw); height: 100dvh; overflow-y: auto; transform: translateX(104%); transition: transform .28s ease; background: linear-gradient(180deg,#2d0052 0%,#16002b 100%); box-shadow: -24px 0 70px rgba(0,0,0,.48); padding: 22px; }
.side-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(191,255,255,.13); }
.drawer-brand img { width: 166px; max-height: 50px; }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.09); color: #fff; font-size: 1.9rem; cursor: pointer; line-height: 1; }
.drawer-nav { display: grid; margin: 14px 0 26px; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid rgba(191,255,255,.08); color: var(--muted); }
.drawer-nav a:hover { color: var(--title); padding-left: 8px; }
.drawer-nav span { color: var(--cyan); font-size: 1.4rem; }
.drawer-note { border: 1px solid rgba(37,223,245,.22); background: rgba(37,223,245,.06); padding: 18px; border-radius: 16px; color: var(--muted); }
.drawer-note strong { color: var(--title); }
.drawer-note p { margin: 6px 0 0; font-size: .9rem; }

.emoji-field { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.emoji-field span { position: absolute; left: var(--x); bottom: -12vh; opacity: .10; font-size: clamp(20px, 2.6vw, 40px); filter: drop-shadow(0 0 16px rgba(37,223,245,.26)); animation: floatEmoji var(--duration) linear infinite; animation-delay: var(--delay); }
@keyframes floatEmoji { 0% { transform: translate3d(-10px, 0, 0) rotate(-8deg); opacity: 0; } 10% { opacity: .12; } 50% { transform: translate3d(22px, -56vh, 0) rotate(12deg); opacity: .09; } 100% { transform: translate3d(-16px, -118vh, 0) rotate(-4deg); opacity: 0; } }

.card, .zone-card, .info-card {
    background: rgba(60, 0, 100, 0.56);
    border: 1px solid rgba(191,255,255,0.14);
    box-shadow: 0 18px 46px rgba(0,0,0,0.32);
    backdrop-filter: blur(10px);
}
.card, .info-card { border-radius: var(--radius); padding: 26px; }
.card:hover, .zone-card:hover { transform: translateY(-4px); border-color: rgba(37,223,245,.32); box-shadow: 0 22px 52px rgba(37,223,245,.12); }
.card, .zone-card { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(34px, 7vw, 86px); }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split.reverse .split-media { order: -1; }
.content-img, .zone-card img, .app-section img, .hero-visual img, .poster-banner img { max-width: 100%; height: auto; object-fit: contain; }
.split-media { position: relative; }
.split-media::before { content: ""; position: absolute; inset: 12% 10%; background: radial-gradient(circle, rgba(37,223,245,.20), rgba(240,107,234,.08) 50%, transparent 72%); filter: blur(26px); z-index: -1; }
.split-media img { width: 100%; max-height: 560px; object-fit: contain; }

.hero { min-height: calc(100svh - 76px); display: grid; align-items: center; position: relative; isolation: isolate; background-image: linear-gradient(90deg, rgba(22,0,43,.95) 0%, rgba(36,0,63,.78) 48%, rgba(22,0,43,.55) 100%), url('背景.webp'); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(180deg, transparent, rgba(74,0,127,.42), var(--bg)); z-index: -1; }
.hero-grid { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; padding: 70px 0 96px; }
.hero-copy { max-width: 690px; }
.hero-eyebrow { color: var(--cyan); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { margin: 10px 0 18px; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); margin-bottom: 16px; }
.hero-copy p { color: #eee6ff; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border: 1px solid rgba(191,255,255,.28); border-radius: 7px; color: var(--title); background: rgba(255,255,255,.04); }
.hero-visual img { width: min(100%, 560px); margin-inline: auto; max-height: 620px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }

.highlight-strip { margin-top: -48px; position: relative; z-index: 5; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.highlight-item { padding: 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(37,223,245,.11), rgba(240,107,234,.10)); border: 1px solid rgba(191,255,255,.17); box-shadow: 0 20px 50px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.highlight-item b { color: var(--title); display: block; margin-bottom: 5px; }
.highlight-item span { color: var(--muted); font-size: .9rem; }

.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-nav a { color: var(--muted); border: 1px solid rgba(191,255,255,.15); background: rgba(255,255,255,.04); border-radius: 999px; padding: 9px 14px; font-size: .92rem; }
.pill-nav a:hover { color: var(--title); border-color: rgba(37,223,245,.42); background: rgba(37,223,245,.08); }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.category-card { border-radius: 18px; padding: 24px; min-height: 218px; position: relative; overflow: hidden; }
.category-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; bottom: -78px; border-radius: 50%; background: rgba(37,223,245,.08); }
.category-number { color: var(--cyan); font-size: .86rem; font-weight: 900; letter-spacing: .14em; }
.category-card h3 { margin: 10px 0 8px; }
.category-card p { color: var(--muted); font-size: .95rem; }

.poster-banner { width: min(calc(100% - 40px), 1040px); margin: 0 auto; }
.poster-banner img { width: 100%; border-radius: 28px; box-shadow: 0 26px 80px rgba(0,0,0,.42), 0 0 0 1px rgba(191,255,255,.12); }

.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.zone-card { border-radius: 16px; overflow: hidden; }
.zone-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #1a002c; }
.zone-card-body { padding: 17px; }
.zone-card h3 { font-size: 1rem; margin-bottom: 6px; }
.zone-card p { color: var(--muted); font-size: .86rem; line-height: 1.65; min-height: 4.9em; }

.feature-list { display: grid; gap: 14px; margin: 24px 0; }
.feature-list div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.feature-list span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(37,223,245,.11); color: var(--cyan); font-weight: 900; }
.feature-list b { color: var(--title); display: block; }
.feature-list p { color: var(--muted); font-size: .93rem; margin: 2px 0 0; }

.notice-list { display: grid; gap: 14px; }
.notice-item { padding: 20px 22px; border-left: 3px solid var(--cyan); background: rgba(255,255,255,.035); border-radius: 0 14px 14px 0; }
.notice-item time { color: var(--pink); font-size: .82rem; font-weight: 800; }
.notice-item h3 { margin: 4px 0 6px; }
.notice-item p { color: var(--muted); margin: 0; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.review-card { position: relative; padding-top: 50px; }
.review-card::before { content: "“"; position: absolute; top: 8px; left: 22px; color: var(--cyan); font-size: 4rem; line-height: 1; opacity: .38; }
.review-card p { color: var(--muted); }
.review-card b { color: var(--title); font-size: .9rem; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid rgba(191,255,255,.13); background: rgba(255,255,255,.035); border-radius: 14px; padding: 0 20px; }
.faq-item summary { cursor: pointer; color: var(--title); font-weight: 800; padding: 18px 0; }
.faq-item p { color: var(--muted); padding: 0 0 18px; margin: 0; }

.responsible-box { border: 1px solid rgba(240,107,234,.24); background: linear-gradient(135deg, rgba(240,107,234,.08), rgba(37,223,245,.06)); border-radius: 22px; padding: clamp(24px,4vw,40px); }
.responsible-box h2 { margin-bottom: 12px; }
.responsible-box p { color: var(--muted); }

.page-hero { padding: 82px 0 70px; background: radial-gradient(circle at 75% 10%, rgba(240,107,234,.16), transparent 30%), linear-gradient(180deg, rgba(74,0,127,.50), rgba(36,0,63,.08)); border-bottom: 1px solid rgba(191,255,255,.09); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 54px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.25rem); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.04rem; }
.page-hero img { max-height: 460px; margin-inline: auto; object-fit: contain; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--hint); font-size: .9rem; margin-bottom: 14px; }
.breadcrumbs a { color: var(--cyan); }
.prose { max-width: 850px; }
.prose h2 { margin-top: 2.2em; }
.prose p { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: 104px; display: grid; gap: 16px; }
.sidebar .card { padding: 20px; }
.sidebar h3 { margin-bottom: 8px; }
.sidebar p { color: var(--muted); font-size: .9rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.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 { background: #140024; color: #d8c7ff; border-top: 1px solid rgba(191,255,255,.09); position: relative; z-index: 3; }
.footer-grid { padding: 58px 0 38px; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 42px; }
.footer-grid h2 { font-size: 1rem; color: var(--title); margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--muted); padding: 4px 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand p { max-width: 450px; margin-top: 14px; }
.footer-brand img { width: 175px; max-height: 54px; }
.footer-bottom { padding: 20px 0 30px; border-top: 1px solid rgba(191,255,255,.08); display: flex; justify-content: space-between; gap: 24px; font-size: .86rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 1080px) {
    .desktop-nav { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    .game-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .category-grid, .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .highlight-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
    .footer-grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
    .section { padding: 70px 0; }
    .hero { min-height: auto; }
    .hero-grid, .page-hero-grid, .split, .split.reverse, .article-layout { grid-template-columns: 1fr; }
    .hero-grid { padding: 68px 0 90px; }
    .hero-copy { text-align: center; margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual img { max-height: 420px; }
    .split.reverse .split-media { order: initial; }
    .game-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid > :last-child { grid-column: auto; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 620px) {
    .container, .hero-grid, .poster-banner { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { width: calc(100% - 20px); min-height: 66px; gap: 8px; }
    .brand img { width: 122px; max-height: 42px; }
    .header-actions { gap: 7px; }
    .header-cta { min-height: 40px; padding: 8px 11px; font-size: .82rem; }
    .menu-toggle { width: 40px; height: 40px; border-radius: 8px; }
    .hero { background-position: 58% center; }
    .hero-grid { gap: 20px; padding-top: 54px; }
    .hero-copy h1 { font-size: clamp(2.45rem, 16vw, 4rem); }
    .highlight-strip { margin-top: -34px; }
    .highlight-grid, .category-grid, .review-grid, .grid-2, .grid-3, .grid-4, .sidebar, .footer-grid { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .zone-card-body { padding: 13px; }
    .zone-card p { min-height: auto; }
    .page-hero { padding: 58px 0 52px; }
    .page-hero-grid { gap: 24px; }
    .section { padding: 58px 0; }
    .card, .info-card { padding: 21px; }
    .emoji-field span:nth-child(n+7) { display: none; }
    .footer-brand { grid-column: auto; }
}

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