/* ============================================
   女友互动面板
   盲盒易拉罐 - 一只打工猫的逆袭故事
   ============================================ */

.girlfriend-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

/* 女友展示区 */
.gf-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 107, 157, 0.08) 0%, transparent 100%);
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.gf-showcase::before {
    content: '💕';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 16px;
    animation: gfFloat 2s ease-in-out infinite;
}

.gf-character {
    font-size: 64px;
    line-height: 1;
    animation: gfFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gf-character:hover {
    transform: scale(1.1);
}

.gf-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* 对话气泡 */
.gf-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    max-width: 280px;
    text-align: center;
    position: relative;
    line-height: 1.5;
}

.gf-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--bg-card);
}

.gf-bubble-love {
    border-color: rgba(255, 107, 157, 0.4);
    background: rgba(255, 107, 157, 0.08);
}

.gf-bubble-love::before {
    border-bottom-color: rgba(255, 107, 157, 0.08);
}

.gf-bubble-encourage {
    border-color: rgba(46, 204, 113, 0.4);
    background: rgba(46, 204, 113, 0.08);
}

.gf-bubble-encourage::before {
    border-bottom-color: rgba(46, 204, 113, 0.08);
}

.gf-bubble-worried {
    border-color: rgba(52, 152, 219, 0.4);
    background: rgba(52, 152, 219, 0.08);
}

.gf-bubble-worried::before {
    border-bottom-color: rgba(52, 152, 219, 0.08);
}

/* 好感度 */
.gf-affection-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gf-affection-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.gf-affection-value {
    color: var(--accent-gold);
    font-weight: 700;
}

.gf-affection-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.gf-affection-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), #ff6b9d);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* 对话按钮 */
.gf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gf-btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.gf-btn:hover {
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

.gf-btn-gift {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--bg-primary);
    border-color: transparent;
}

.gf-btn-gift:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 217, 61, 0.3);
}

/* 状态信息 */
.gf-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.gf-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-primary);
}

.gf-stat span:first-child {
    font-size: 16px;
}

/* 动画 */
@keyframes gfFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes gfBounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}
