* { box-sizing: border-box; }
:root {
    --bg1: #f5f5f7;
    --bg2: #eaeaef;
    --glass: rgba(255,255,255,.82);
    --border: rgba(0,0,0,.06);
    --text: #1d1d2b;
    --muted: rgba(29,29,43,.5);
    --accent: #4b4f6b;
    --accent2: #6b6384;
    --accent3: #7a8496;
    --bg-image: none;
    --bg-overlay: rgba(245,245,247,.65);
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg1);
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(75,79,107,.08), transparent 60%),
        radial-gradient(ellipse 50% 35% at 80% 20%, rgba(107,99,132,.06), transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(122,132,150,.05), transparent 55%),
        linear-gradient(180deg, rgba(245,245,247,.5), rgba(234,234,239,.5));
    z-index: -1;
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0,0,0,.02) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: -1;
    pointer-events: none;
    opacity: .8;
}
a { color: inherit; text-decoration: none; }
.site-header { position: relative; padding: 48px 20px 28px; text-align: center; }
.hero-title {
    margin: 0;
    font-size: clamp(26px, 5.5vw, 58px);
    letter-spacing: .12em;
    font-weight: 900;
    background: linear-gradient(135deg, #1d1d2b 0%, #3d3f52 30%, #4b4f6b 55%, #6b6384 80%, #1d1d2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(75,79,107,.2)) drop-shadow(0 0 40px rgba(107,99,132,.12));
    animation: titleGlow 4s ease-in-out infinite alternate;
}
@keyframes titleGlow {
    from { filter: drop-shadow(0 0 15px rgba(75,79,107,.15)) drop-shadow(0 0 30px rgba(107,99,132,.08)); }
    to { filter: drop-shadow(0 0 30px rgba(75,79,107,.25)) drop-shadow(0 0 60px rgba(107,99,132,.15)); }
}
.lang-link { 
    position: fixed; right: 20px; top: 20px; 
    z-index: 9999;
    color: #fff !important; text-decoration: none; 
    border: 2px solid #fff; border-radius: 999px; 
    padding: 8px 18px; 
    background: #6b6384 !important; 
    font-size: 14px;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.lang-link:hover { 
    color: #fff !important; 
    background: #4b4f6b !important; 
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.container { width: min(1080px, calc(100% - 28px)); margin: 0 auto 70px; }
.player-grid { 
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.player-card {
    width: calc(50% - 6px);
}
/* PC端三列布局，和原来一致 */
@media (min-width: 768px) {
    .player-grid {
        gap: 28px;
    }
    .player-card {
        width: calc(33.333% - 19px);
    }
}
.player-card {
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
    border-radius: 24px;
    background: 
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) padding-box,
        linear-gradient(135deg, rgba(75,79,107,.18), rgba(107,99,132,.15), rgba(122,132,150,.12)) border-box;
    box-shadow: 
        0 8px 32px rgba(0,0,0,.06),
        0 0 20px rgba(75,79,107,.04),
        0 1px 0 rgba(255,255,255,.85) inset;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    cursor: pointer;
    transition: all .5s cubic-bezier(.25,.8,.25,1);
}
.player-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(75,79,107,.15), rgba(107,99,132,.12), rgba(122,132,150,.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all .5s ease;
    pointer-events: none;
    z-index: 2;
}
.player-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(75,79,107,.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: all .5s ease;
}
.player-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 
        0 20px 50px rgba(0,0,0,.1),
        0 0 40px rgba(75,79,107,.1),
        0 0 70px rgba(107,99,132,.07),
        0 1px 0 rgba(255,255,255,.9) inset;
}
.player-card:hover::before {
    background: linear-gradient(135deg, rgba(75,79,107,.4), rgba(107,99,132,.35), rgba(122,132,150,.3));
}
.player-card:hover::after {
    bottom: -20%;
    background: radial-gradient(ellipse at center, rgba(75,79,107,.15), transparent 70%);
}
.cover-wrap { 
    aspect-ratio: 3 / 4; 
    background: rgba(0,0,0,.03); 
    overflow: hidden; 
    position: relative; 
}
.cover-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
    pointer-events: none;
    z-index: 1;
}
.cover-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,.15), transparent);
    pointer-events: none;
    z-index: 1;
}
.cover-img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform .8s cubic-bezier(.25,.8,.25,1); 
}
.player-card:hover .cover-img { transform: scale(1.1); }
.card-body { padding: 18px 20px 20px; position: relative; z-index: 2; }
.card-body h2 { 
    margin: 0 0 12px; 
    font-size: 19px; 
    letter-spacing: .05em; 
    font-weight: 800;
    background: linear-gradient(135deg, #1d1d2b 0%, #3d3f52 50%, #4b4f6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stats { 
    display: flex; 
    justify-content: space-between; 
    gap: 10px; 
    color: var(--muted); 
    margin-bottom: 16px; 
    font-size: 13px; 
}
.stats strong {
    color: var(--text);
    font-size: 16px;
    margin-left: 4px;
    font-weight: 800;
    background: linear-gradient(135deg, #4b4f6b, #6b6384, #7a8496);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(75,79,107,.15));
}
.card-actions, .modal-actions { display: flex; gap: 10px; }
.btn {
    appearance: none; border: 0; border-radius: 999px; padding: 11px 20px;
    font-weight: 700; letter-spacing: .05em; cursor: pointer; color: #fff;
    transition: all .4s cubic-bezier(.25,.8,.25,1);
    text-decoration: none; display: inline-flex; justify-content: center; align-items: center;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left .6s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 
        0 8px 24px rgba(75,79,107,.25),
        0 0 15px rgba(75,79,107,.1),
        0 1px 0 rgba(255,255,255,.3) inset;
}
.btn.primary:hover {
    box-shadow: 
        0 12px 36px rgba(75,79,107,.35),
        0 0 30px rgba(75,79,107,.18),
        0 0 60px rgba(107,99,132,.12),
        0 1px 0 rgba(255,255,255,.4) inset;
}
.btn.ghost { 
    background: rgba(255,255,255,.75); 
    border: 1px solid var(--border);
    color: var(--text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn.ghost:hover { 
    background: rgba(255,255,255,.9); 
    border-color: rgba(75,79,107,.25);
    box-shadow: 0 6px 20px rgba(75,79,107,.1);
}
.btn.full { width: 100%; margin-top: 18px; }
.empty-state, .pay-card { 
    border: 1px solid var(--border); 
    background: rgba(255,255,255,.8); 
    border-radius: 24px; 
    padding: 40px; 
    text-align: center; 
    box-shadow: 0 16px 48px rgba(0,0,0,.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.toast { 
    position: fixed; left: 50%; bottom: 36px; 
    transform: translate(-50%, 30px); 
    opacity: 0; 
    pointer-events: none; 
    z-index: 50; 
    padding: 14px 22px; 
    border-radius: 999px; 
    background: rgba(26,26,46,.95); 
    border: 1px solid rgba(255,255,255,.1); 
    box-shadow: 0 12px 32px rgba(0,0,0,.2), 0 0 20px rgba(75,79,107,.1); 
    transition: .3s cubic-bezier(.25,.8,.25,1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-weight: 500;
    color: #fff;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { 
    position: fixed; inset: 0; 
    display: none; 
    align-items: center; justify-content: center; 
    z-index: 40; 
    padding: 0; 
    background: rgba(0,0,0,.5); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal.active { display: flex; animation: modalFadeIn .2s ease; }
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-card { 
    position: relative; 
    width: min(880px, 100%); 
    max-height: calc(100vh - 36px); 
    overflow: auto; 
    border: 1px solid rgba(255,255,255,.5); 
    border-radius: 26px; 
    background: rgba(255,255,255,.95); 
    padding: 26px; 
    box-shadow: 0 24px 64px rgba(0,0,0,.15);
    animation: modalSlideUp .25s ease;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-card.small { width: min(460px, 100%); }
.modal-close { 
    position: absolute; right: 16px; top: 14px; 
    width: 38px; height: 38px; 
    border-radius: 50%; 
    border: 1px solid var(--border); 
    background: rgba(255,255,255,.8); 
    color: var(--text); 
    font-size: 22px; 
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: rgba(255,255,255,1);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.muted { color: var(--muted); }
.center { text-align: center; }
.amount-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 18px 0; }
.amount-pill { 
    border: 1px solid var(--border); 
    border-radius: 16px; 
    padding: 14px; 
    background: rgba(255,255,255,.6); 
    cursor: pointer;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.amount-pill:hover {
    background: rgba(255,255,255,.9);
    border-color: rgba(75,79,107,.3);
    box-shadow: 0 4px 16px rgba(75,79,107,.1);
}
.amount-pill input { margin-right: 8px; }
textarea, input[type="text"], input[type="password"], input[type="number"], input[type="color"] { 
    width: 100%; 
    border: 1px solid var(--border); 
    border-radius: 14px; 
    background: rgba(255,255,255,.7); 
    color: var(--text); 
    padding: 12px 14px; 
    margin-top: 8px; 
    outline: none;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
}
textarea:focus, input:focus {
    border-color: rgba(75,79,107,.5);
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 0 3px rgba(75,79,107,.15);
}
textarea::placeholder, input::placeholder { color: rgba(26,26,46,.35); }
.gallery-card {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
}
.gallery-card .modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}
.gallery-card h3 {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.gallery-stage { display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; gap: 0; height: 100vh; }
.gallery-stage img { 
    width: 100%; 
    max-height: 100vh; 
    object-fit: contain; 
    border-radius: 0; 
    background: transparent;
    box-shadow: none;
}
.gallery-nav { 
    height: 54px; width: 54px; 
    border-radius: 50%; 
    border: 1px solid rgba(255,255,255,.3); 
    background: rgba(0,0,0,.5); 
    color: #fff; 
    font-size: 26px; 
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.gallery-nav:hover {
    background: rgba(0,0,0,.7);
    transform: scale(1.05);
}
#galleryCounter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.pay-page { display: flex; align-items: center; justify-content: center; padding: 30px 14px; }
.pay-container { width: min(680px, 100%); }
.back-link { display: inline-block; margin-bottom: 16px; color: var(--muted); text-decoration: none; transition: color .3s ease; }
.back-link:hover { color: var(--text); }
.amount-large { 
    font-size: 42px; 
    font-weight: 900; 
    margin: 16px 0;
    background: linear-gradient(135deg, #4b4f6b, #6b6384);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(75,79,107,.15));
}
.pay-note { 
    color: #4a4a6a; 
    background: rgba(75,79,107,.08); 
    border: 1px solid rgba(75,79,107,.2); 
    border-radius: 16px; 
    padding: 12px; 
}
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.method-tab { 
    border: 1px solid var(--border); 
    border-radius: 16px; 
    padding: 14px; 
    cursor: pointer; 
    background: rgba(255,255,255,.6);
    transition: all .3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.method-tab:hover {
    background: rgba(255,255,255,.9);
    border-color: rgba(75,79,107,.2);
}
.method-tab.active { 
    border-color: rgba(75,79,107,.5); 
    background: rgba(75,79,107,.1);
    box-shadow: 0 0 20px rgba(75,79,107,.15);
}
.method-tab input { margin-right: 8px; }
.payment-panel label { display: block; color: var(--muted); margin-top: 12px; text-align: left; font-size: 14px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hidden { display: none; }
.bank-box { 
    text-align: left; 
    background: rgba(255,255,255,.6); 
    border: 1px solid var(--border); 
    border-radius: 16px; 
    padding: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.web-bank-form { margin-top: 18px; text-align: left; }
.web-bank-form label { display: block; color: var(--muted); margin-top: 12px; font-size: 14px; }
.web-bank-note { margin-top: 16px; text-align: left; font-size: 13px; line-height: 1.6; color: rgba(26,26,46,.6); }
.pay-safe-note { 
    color: rgba(26,26,46,.7); 
    background: rgba(255,255,255,.6); 
    border: 1px solid var(--border); 
    border-radius: 14px; 
    padding: 11px 12px; 
    font-size: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.left-text { text-align: left; line-height: 1.7; }

/* 选手详情页 */
.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.player-info h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #1d1d2b, #4b4f6b, #6b6384);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(75,79,107,.15));
}
.player-info .stats {
    margin: 0;
    gap: 20px;
}
.player-actions {
    display: flex;
    gap: 10px;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}
.photo-card {
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--border);
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all .4s cubic-bezier(.25,.8,.25,1);
}
.photo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,.1), 0 0 40px rgba(75,79,107,.1);
    border-color: rgba(75,79,107,.3);
}
.photo-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.25,.8,.25,1);
}
.photo-card:hover img {
    transform: scale(1.08);
}
.bottom-actions {
    position: sticky;
    bottom: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 16px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    z-index: 10;
}
.bottom-actions .btn {
    flex: 1;
    padding: 14px 24px;
    font-size: 15px;
}

/* 响应式 - 手机端 */
@media (max-width: 760px) {
    /* 手机端保留毛玻璃效果，但降低模糊程度，避免渲染压力 */
    .player-card, .photo-card, .player-header, .bottom-actions, .pay-card {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    
    .site-header { padding: 36px 14px 20px; }
    .lang-link { right: 12px; font-size: 11px; padding: 6px 12px; top: 12px; }
    .card-body { padding: 12px; }
    .card-body h2 { font-size: 14px; margin-bottom: 6px; letter-spacing: .02em; }
    .stats { font-size: 11px; margin-bottom: 10px; flex-direction: column; gap: 4px; }
    .stats strong { font-size: 13px; }
    .btn { padding: 8px 12px; font-size: 12px; }
    .card-actions { flex-direction: column; gap: 8px; }
    .card-actions .btn { width: 100%; }
    .modal-actions, .two-cols, .pay-methods { grid-template-columns: 1fr; flex-direction: column; }
    .gallery-stage { grid-template-columns: 40px 1fr 40px; gap: 8px; }
    .gallery-nav { width: 40px; height: 40px; font-size: 18px; }
    .container { width: min(100%, calc(100% - 16px)); margin-bottom: 40px; }
    .modal-card { padding: 20px; border-radius: 20px; }
    .modal-close { width: 34px; height: 34px; font-size: 18px; right: 12px; top: 12px; }
    .amount-large { font-size: 32px; }
    
    /* 选手详情页手机适配 */
    .player-header {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        text-align: center;
    }
    .player-info h1 { font-size: 22px; }
    .player-info .stats { justify-content: center; gap: 16px; }
    .photo-grid { gap: 12px; }
    .bottom-actions {
        bottom: 12px;
        padding: 12px;
        gap: 10px;
    }
    .bottom-actions .btn { padding: 12px 16px; font-size: 14px; }
}

@media (max-width: 280px) {
    .player-card { width: 100%; }
    .card-body h2 { font-size: 16px; }
    .stats { font-size: 12px; flex-direction: row; }
    .stats strong { font-size: 14px; }
    .photo-grid { grid-template-columns: 1fr; }
}

/* LINE客服浮动按钮 */
.line-float-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #06C755;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(6, 199, 85, .35);
    z-index: 1000;
    transition: all .3s ease;
}
.line-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(6, 199, 85, .45);
}
@media (max-width: 768px) {
    .line-float-btn {
        width: 54px;
        height: 54px;
        font-size: 28px;
        right: 16px;
        bottom: 20px;
    }
}
