/* fan-interaction.css - 粉丝互动中心（主菜单 + 见面会 + 直播 + 发帖） */

.fan-inter-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fi-fadein 0.25s ease;
}

@keyframes fi-fadein { from { opacity: 0; } to { opacity: 1; } }

.fan-inter {
    width: min(640px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(160deg, #151f33, #0a1024);
    border: 1px solid rgba(240, 192, 64, 0.3);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    padding-bottom: 16px;
}

.fan-inter__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px;
    background: rgba(240, 192, 64, 0.08);
    border-bottom: 1px solid rgba(240, 192, 64, 0.2);
}
.fan-inter__header h3 {
    margin: 0; color: #f0c040; font-size: 16px; letter-spacing: 2px;
    font-weight: 800;
}
.fan-inter__close {
    background: none; border: none; color: #8892a4;
    font-size: 20px; cursor: pointer;
}
.fan-inter__close:hover { color: #fff; }
.fan-inter__progress {
    font-size: 12px; color: #c2c8d6; padding: 2px 10px;
    background: rgba(255,255,255,0.06); border-radius: 12px;
}

.fan-inter__tip,
.fan-inter__subtip {
    padding: 12px 20px 6px; font-size: 12px; color: #8892a4; line-height: 1.6;
    margin: 0;
}

.fan-inter__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    padding: 12px 20px 20px;
}

.fan-inter-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px;
    background: rgba(10, 14, 23, 0.75);
    border: 1.5px solid rgba(78, 168, 222, 0.18);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: left;
    color: #e8eaf0;
    font-family: inherit;
}
.fan-inter-card:hover {
    border-color: rgba(240, 192, 64, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 192, 64, 0.1);
}
.fan-inter-card__icon { font-size: 30px; line-height: 1; }
.fan-inter-card__title { font-size: 15px; font-weight: 800; color: #f0c040; }
.fan-inter-card__desc { font-size: 12px; color: #c2c8d6; line-height: 1.5; }
.fan-inter-card__meta {
    display: flex; justify-content: space-between; gap: 8px;
    margin-top: 4px; padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.08);
    font-size: 11px; color: #8892a4;
}
.fan-inter-card__reward { color: #78e08f; }

/* ─── 游戏内部页 ─── */
.fan-inter--game { padding: 0; }

.fan-inter__result {
    text-align: center;
    padding: 22px 20px 14px;
}
.fan-inter__big { font-size: 60px; line-height: 1; margin-bottom: 12px; }
.fan-inter__score-line { font-size: 16px; color: #c2c8d6; margin-bottom: 16px; }
.fan-inter__score-line strong { color: #f0c040; font-size: 22px; font-weight: 900; }
.fan-inter__reward-box {
    display: flex; justify-content: center; gap: 24px;
    padding: 14px; margin: 16px 20px;
    background: rgba(240, 192, 64, 0.06);
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-radius: 10px;
    font-size: 13px; color: #c2c8d6;
}
.fan-inter__g { color: #78e08f; font-size: 18px; font-weight: 900; }
.fan-inter__r { color: #ff7675; font-size: 18px; font-weight: 900; }

.fan-inter__score {
    text-align: center; padding: 12px 20px;
    color: #c2c8d6; font-size: 13px;
}

/* ─── 见面会 ─── */
.meet-stage {
    position: relative;
    width: 220px; height: 220px;
    margin: 20px auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,192,64,0.08), transparent 70%);
    border: 1px dashed rgba(240,192,64,0.2);
}
.meet-target {
    position: absolute;
    top: 50%; left: 50%;
    width: 80px; height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #f0c040, #78522a);
    box-shadow: 0 0 30px rgba(240,192,64,0.5);
}
.meet-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 80px; height: 80px;
    transform: translate(-50%, -50%) scale(2);
    border-radius: 50%;
    border: 3px solid #4ea8de;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(78,168,222,0.6);
}
.meet-btn {
    display: block; margin: 12px auto 8px !important;
    min-width: 200px;
}
.meet-feedback {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px; font-weight: 900;
    color: #f0c040;
    text-shadow: 0 0 12px rgba(240,192,64,0.7);
    pointer-events: none;
    animation: meet-fb 0.5s ease forwards;
}
@keyframes meet-fb {
    0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
    40%  { opacity: 1; transform: translate(-50%,-50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%,-90%) scale(1); }
}

/* ─── 直播连麦 ─── */
.live-bubble {
    margin: 20px 20px 16px;
    padding: 16px 20px;
    background: rgba(78,168,222,0.08);
    border-left: 3px solid #4ea8de;
    border-radius: 8px;
    color: #e8eaf0; font-size: 14px; line-height: 1.6;
    font-style: italic;
}
.live-options {
    display: flex; flex-direction: column; gap: 10px;
    padding: 0 20px 16px;
}
.live-opt {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    background: rgba(10,14,23,0.75);
    border: 1.5px solid rgba(78,168,222,0.18);
    border-radius: 10px;
    cursor: pointer; transition: all .18s;
    color: #e8eaf0; font-family: inherit;
    text-align: left;
}
.live-opt:hover {
    border-color: rgba(240,192,64,0.55);
    background: rgba(240,192,64,0.08);
    transform: translateX(3px);
}
.live-opt__label { font-size: 13px; font-weight: 700; }
.live-opt__tag {
    font-size: 10px; color: #f0c040;
    padding: 2px 8px;
    background: rgba(240,192,64,0.12);
    border-radius: 10px;
}
.live-chosen {
    padding: 8px 20px; color: #c2c8d6; font-size: 13px;
    margin-bottom: 8px;
}
.live-chosen strong { color: #f0c040; }

/* ─── 社交媒体 ─── */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    padding: 12px 20px 20px;
}
.social-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 14px 10px;
    background: rgba(10,14,23,0.7);
    border: 1.5px solid rgba(78,168,222,0.18);
    border-radius: 10px;
    cursor: pointer; transition: all .18s;
    color: #e8eaf0; font-family: inherit;
    text-align: center;
}
.social-card:hover {
    border-color: rgba(240,192,64,0.55);
    transform: translateY(-2px);
}
.social-card__icon { font-size: 28px; line-height: 1; }
.social-card__title { font-size: 13px; font-weight: 800; color: #f0c040; }
.social-card__desc { font-size: 11px; color: #c2c8d6; }
.social-card__risk {
    margin-top: 4px; font-size: 10px; color: #8892a4;
    padding: 2px 8px; background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
