/**
 * AI 사주도사 전용 스타일 (fortune.css)
 * 로또 CSS와 함께 로드하여 디자인 일관성을 유지합니다.
 */

/* [1] 운세 점수 서클 (로또 볼 스타일 계승) */
#score-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(165, 130, 255, 0.4), rgba(110, 69, 226, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(110, 69, 226, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: crystal-float 3s infinite ease-in-out;
}

#total-score {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.score-circle small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* [2] 미니 정보 카드 (일간, 행운색 등) */
.info-mini-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-mini-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.info-mini-card small {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 5px;
    font-weight: 600;
}

/* [3] 사주 결과 리스트 보정 */
#fortune-detail {
    line-height: 1.8;
    letter-spacing: -0.2px;
}

/* [4] 오행(五行) 관련 포인트 컬러 (필요 시 활용) */
.text-wood { color: #b0d840; }  /* 목(木) */
.text-fire { color: #ff7272; }  /* 화(火) */
.text-earth { color: #fbc400; } /* 토(土) */
.text-metal { color: #ffffff; } /* 금(金) */
.text-water { color: #69c8f2; } /* 수(水) */

/* [5] 입력 폼 보정 (로또 CSS modern-input 확장) */
.modern-input:focus {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: #a582ff !important;
    box-shadow: 0 0 10px rgba(165, 130, 255, 0.2);
}

/* select 박스 화살표 색상 화이트로 변경 */
select.modern-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* [6] 반응형 추가 보정 */
@media (max-width: 576px) {
    .score-circle {
        width: 100px;
        height: 100px;
    }
    #total-score {
        font-size: 2rem;
    }
}