:root {
    --bg-color: #05070a;
    --panel-bg: rgba(20, 24, 31, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --melon: #CBFF75;
    --bitcoin: #f7931a;
    --neutral: #eaecef;
    --text-main: #f1f1f1;
    --text-dim: #848e9c;
}

body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    font-family: 'Pretendard', sans-serif; 
    margin: 0; 
    padding: 0; 
    background-image: 
    radial-gradient(circle at 10% 20%, rgba(247, 147, 26, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(203, 255, 117, 0.05) 0%, transparent 40%);
}
.dashboard-wrapper { max-width: 100%; margin: 0 auto; padding: 40px; box-sizing: border-box; }

header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.brand h1 { font-size: 2rem; margin: 0; font-weight: 800; letter-spacing: -1px; }
.brand span { color: var(--text-dim); font-size: 1rem; }
.status-pill { background: rgba(255, 255, 255, 0.03); padding: 10px 20px; border-radius: 5px; border: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; }
.pulse-dot { width: 8px; height: 8px; background: var(--melon); border-radius: 50%; animation: pulse 1.5s infinite; }

.main-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.card { background: var(--panel-bg); border-radius: 5px; border: 1px solid var(--border-color); padding: 35px; backdrop-filter: blur(10px); transition: all 0.3s; }

/* 게이지 섹션 */
.gauge-section { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-container { position: relative; width: 280px; height: 280px; }
.ring-svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring-track { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 12; }
.ring-progress { 
    fill: none; stroke: var(--melon); stroke-width: 12; stroke-linecap: round; 
    stroke-dasharray: 754; stroke-dashoffset: 754; transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1);
}
.ring-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.score-big { font-size: 5.5rem; font-weight: 900; margin: 0; line-height: 1; }
.score-label { font-size: 1.2rem; font-weight: 700; margin-top: 10px; letter-spacing: 1px; }

/* 데이터 리스트 */
.section-header { font-size: 1.1rem; font-weight: 700; color: var(--bitcoin); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.section-header::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.data-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.data-row:last-child { border-bottom: none; }
.data-label { color: var(--text-dim); font-weight: 500; }
.data-value { font-weight: 700; font-size: 1.1rem; }

/* [UPGRADE] AI 분석 박스 스타일 */
.ai-box { 
    background: rgba(11, 14, 17, 0.6); 
    border: 1px solid rgba(203, 255, 117, 0.3); 
    padding: 25px; 
    border-radius: 5px; 
    margin-top: 25px; 
    width: 100%; 
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.ai-header { 
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.ai-title { font-weight: bold; color: var(--melon); display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.ai-badge { font-size: 0.75rem; background: var(--melon); color: #000; padding: 2px 8px; border-radius: 4px; font-weight: bold; }

/* 타이핑 효과 텍스트 */
.ai-content { 
    font-size: 0.95rem; line-height: 1.6; color: #d1d5db; min-height: 60px; 
    font-family: 'Consolas', monospace; /* AI 느낌을 위한 고정폭 글꼴 */
}
.cursor { display: inline-block; width: 8px; height: 16px; background: var(--melon); animation: blink 1s infinite; vertical-align: middle; margin-left: 5px; }

/* 하단 가이드 */
.analysis-full { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.analysis-box { padding: 25px; border-radius: 5px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03); }

.analysis-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; }
.analysis-list { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--text-dim); line-height: 1.6; }

@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
