@charset "utf-8";

:root {
    --fng-bg: rgba(20, 24, 31, 0.8);
    --fng-border: rgba(255, 255, 255, 0.08);
    --fng-text: #f1f1f1;
    --fng-dim: #848e9c;
    --fng-melon: #CBFF75;
    --fng-yellow: #f0b90b;
    --fng-red: #ff3e3e;
    --fng-green: #00ff00;
    --fng-white: #ffffff;
}

/* 공포지수 */
.fng-minimal-card {
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    max-width: 400px; /* 적절한 카드 너비 설정 */
    font-family: 'Pretendard', sans-serif;
    margin-bottom:30px;
}

/* 링 그래프 스타일 */
.fng-ring-container { position: relative; width: 240px; height: 240px; }
.fng-ring-svg { overflow: visible !important; transform: rotate(-90deg); width: 100%; height: 100%; }
.fng-ring-track { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 14; }
.fng-ring-progress { 
    fill: none; stroke: var(--fng-melon); stroke-width: 14; 
    stroke-linecap: round; stroke-dasharray: 691; stroke-dashoffset: 691; /* r=110 기준 */
    transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1), stroke 1s ease;
    filter: drop-shadow(0 0 10px var(--fng-melon));
}

.fng-ring-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center;
}
.fng-score-big { font-size: 5rem; font-weight: 900; margin: 0; line-height: 1; color: var(--fng-text); }
.fng-score-label { font-size: 1.1rem; font-weight: 700; margin-top: 8px; text-transform: uppercase; letter-spacing: 2px; }

/* 하단 한글 설명 */
.fng-description {
    margin-top: 5px;
    font-size: 1rem;
    color: var(--fng-dim);
    text-align: center;
}
.fng-highlight { font-weight: 800; transition: color 1s ease; }

/* 과거 공포지수 */
.fng-history-card {
    float: left;
    width: 400px;
    background: rgba(20, 24, 31, 0.8);
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f1f1;
    font-family: 'Pretendard', sans-serif;
    margin: 20px 0px 0px 50px;
    padding: 20px;    
}
.fng-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fng-history-item:last-child { border-bottom: none; }
.fng-label { color: #848e9c; font-size: 0.9rem; font-weight: 500; }
.fng-value { font-weight: 700; font-size: 1rem; }
.fng-status { font-size: 0.75rem; opacity: 0.7; margin-left: 5px; }

.fng-bias {
    float: left;
    width: 200px;
    height: 200px;
    border: 18px solid #111;
    border-radius: 50%;
    color: #00ff00;
    padding: 10px 20px;
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 0 100px;

}
.fng-bias p {
    color: #ff3e3e;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Pretendard', sans-serif;
    margin-top:-10px;
}

.Main_Title {
    overflow: hidden;
    padding-left: 100px;
}

.fng_link_button {
    text-align: right;
    padding: 0px 10px;
}
.fng_link_button button {
    width:174px; 
    background: #000;
    border: 1px solid #111;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 60px;
    padding: 30px 0px;
}
.fng_link_button button:hover {
    background: #151515;
    border: 1px solid #2e90ff;
    outline-color:transparent; outline-style:solid; transition: 0.7s;
}

.Help_Titel {
    height:60px;
    line-height: 60px;
    border-bottom: 1px solid #111;
    font-size: 1rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 20px;
}
.Help_Text {
    line-height: 35px;
    color: #888;
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 100px;
}

.Help_Text label { font-weight: 700; }
.Help_Text label .Color_R { color:#ff3e3e; }
.Help_Text label .Color_G { color:#00ff00; }

.Research_Icon {
    background: #000;
    border-bottom: 1px solid #111;
    padding: 10px 20px;
}
.Research_Icon i { font-size: 2rem; }
.Research_Icon i:hover {
    color: #ff3e3e;
    transition: 0.7s;
    cursor: pointer;
}
.Research_Icon span {
    margin-right: 20px;
}

.Box_Content {
    font-size: 0.9rem;
}
.Box_Content li {
    line-height: 30px;
    border-bottom: 1px solid #111;
    padding: 20px 50px;
}
.Box_Content li b {
    font-size: 1rem;
    font-weight: 700;
    padding-right: 30px;
}


.COLOR_Y { color:var(--fng-yellow) }
.COLOR_G { color:var(--fng-green) }
.COLOR_R { color:var(--fng-red) }
.COLOR_W { color:var(--fng-white) }