/* ==========================================================================
   👑 7mscore.net Premium Dark & Glassmorphism Theme (Scoreix Custom)
   ========================================================================== */

:root {
    --bg-main: #090d16;
    --bg-card: rgba(15, 23, 42, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-blue: #3b82f6;
    --accent-gold: #ffd700;
    --accent-green: #10b981;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
}

/* 7mscore.net 전용 프리미엄 퀀트 위젯 스타일 */
.scoreix-live-widget-container {
    width: 96%;
    max-width: 790px; /* 7mscore 본문 영역 790px에 완벽 일치시킴 */
    margin: 20px auto;
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important; /* 미세한 네온 블루 보더 */
    border-radius: 14px !important;
    padding: 18px 22px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45), 0 0 15px rgba(59, 130, 246, 0.1) !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box !important;
    color: var(--text-primary) !important;
}

.widget-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}

.header-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pulse-gold-dot {
    width: 9px;
    height: 9px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse-gold 1.5s infinite;
}

.widget-title {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.3px !important;
}

.widget-badge {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
    font-size: 9.5px !important;
    font-weight: 950 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    letter-spacing: 0.8px !important;
}

/* 3픽 카드 레이아웃 */
.widget-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 16px !important;
}

.widget-loading, .widget-error {
    grid-column: span 3 !important;
    text-align: center !important;
    padding: 24px !important;
    font-size: 14.5px !important;
    color: var(--text-secondary) !important;
}

.quant-pick-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-align: left !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

.quant-pick-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(16, 185, 129, 0.5) !important; /* 호버 시 네온 그린 글로우 */
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15) !important;
}

.card-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.sport-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2.5px 7px !important;
    border-radius: 4px !important;
}

.league-text {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: var(--text-secondary) !important;
    max-width: 110px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.card-teams {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.4px !important;
}

.card-pick-box {
    background: rgba(255, 215, 0, 0.05) !important;
    border: 1px solid rgba(255, 215, 0, 0.12) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

.quant-pick-card:hover .card-pick-box {
    background: rgba(255, 215, 0, 0.08) !important;
    border-color: rgba(255, 215, 0, 0.25) !important;
}

.pick-label {
    display: block !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
}

.pick-value {
    font-size: 15.5px !important;
    font-weight: 950 !important;
    color: var(--accent-gold) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2) !important;
}

.card-metrics {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 11.5px !important;
    color: var(--text-secondary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.metric-val {
    color: var(--accent-green) !important;
    font-weight: 800 !important;
}

/* 상업적 유입을 위한 하단 안내 띠 스트립 */
.card-action-strip {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #60a5fa !important;
    transition: all 0.2s ease !important;
}

.quant-pick-card:hover .card-action-strip {
    color: #34d399 !important;
}

.arrow-svg {
    transition: transform 0.2s ease !important;
}

.quant-pick-card:hover .arrow-svg {
    transform: translateX(3px) !important;
}

@keyframes pulse-gold {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@media (max-width: 768px) {
    .widget-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .widget-loading, .widget-error {
        grid-column: span 1 !important;
    }
    .scoreix-live-widget-container {
        width: 95% !important;
    }
}
