    /* 구글 폰트 - 귀여운 폰트 */
    @import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

    /* Reset & Base */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Jua', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
        background: #F5F5F5;
        color: #1E1E1E;
        overflow-x: hidden;
        min-height: 100vh;
    }

    
    /* 핫덕 로고 헤더 */
    .hotduk-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 8px 16px;
        background: white;
        text-align: center;
        z-index: 1000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 스크롤 시 헤더 숨기기 */
    .hotduk-header.hidden {
        transform: translateY(-100%);
    }

    .hotduk-logo-link {
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        line-height: 0;
    }

    .hotduk-logo-img {
        height: 28px;
        width: auto;
        display: block;
        transition: filter 0.3s ease;
    }

    .hotduk-tagline {
        font-size: 13px;
        font-weight: 500;
        color: #666666;
        white-space: nowrap;
    }

    /* 시작/로딩 화면에서는 어두운 배경에 맞게 반투명 검은색 */
    body.screen-start-active .hotduk-header,
    body.screen-loading-active .hotduk-header {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    body.screen-start-active .hotduk-tagline,
    body.screen-loading-active .hotduk-tagline {
        color: rgba(255, 255, 255, 0.95);
    }
    
    /* 시작/로딩 화면에서 로고 이미지 밝게 */
    body.screen-start-active .hotduk-logo-img,
    body.screen-loading-active .hotduk-logo-img {
        filter: brightness(1.2);
    }

    /* 모바일에서 태그라인 숨기거나 줄바꿈 */
    @media (max-width: 360px) {
        .hotduk-tagline {
            display: none;
        }
    }


    /* ========================================
       화면 전환 - 중요! 
       ======================================== */

    /* 모든 화면 기본 숨김 - .screen 클래스로 통일 */
    .screen {
        display: none !important;
    }

    /* active 클래스가 있을 때만 표시 */
    .screen.active {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* 모든 screen 기본 스타일 */
    #screen-start,
    #screen-input,
    #screen-questions,
    #screen-loading,
    #screen-result {
        min-height: 100vh;
        padding: 20px;
        padding-top: 56px; /* 헤더 높이만큼 여백 (48px + 8px) */
        animation: fadeIn 0.3s ease-in;
    }


    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 1. 시작 화면 */
    #screen-start {
        background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FFD93D 100%);
        color: white;
    }
/* 개인정보 안내 */
.privacy-notice {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    text-align: center;
}


    .start-container {
        text-align: center;
        max-width: 480px;
        width: 100%;
    }

    .emoji-large {
        font-size: 120px;
        margin-bottom: 20px;
        animation: pulse 2s ease-in-out infinite;
    }

    .horse-image {
        width: 200px;
        height: auto;
        margin-bottom: 24px;
        animation: bounce 2s ease-in-out infinite;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    /* 첫 화면 타이틀 */
    .start-container .title {
        font-size: 28px;
        font-weight: 700;
        color: white;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    /* 서브타이틀 */
    .start-container .subtitle {
        font-size: 18px;
        color: rgba(255,255,255,0.9);
        margin-bottom: 24px;
    }

    /* 메인 질문 */
    .question-main {
        font-size: 22px;
        font-weight: 600;
        color: white;
        margin-bottom: 32px;
    }

    /* 시작 버튼 */
    .start-container .btn-primary {
        background: #7C4DFF;
        color: white;
        font-size: 18px;
        padding: 16px 48px;
        border-radius: 30px;
        border: none;
        font-weight: 600;
        cursor: pointer;
    }

    /* 개인정보 안내 - 입력 화면용 */
    .step-content .privacy-notice {
        font-size: 12px;
        color: #999;
        margin-top: 24px;
    }

    .description {
        font-size: 18px;
        margin-bottom: 40px;
        opacity: 0.8;
    }

    /* 설명 박스 */
    .description-box {
        margin-bottom: 24px;
    }

    .description-line {
        font-size: 16px;
        opacity: 0.9;
        margin: 4px 0;
        line-height: 1.6;
    }

    /* 질문 박스 */
    .question-box {
        margin-bottom: 32px;
    }

    .question-line {
        font-size: 20px;
        font-weight: 600;
        margin: 8px 0;
    }

    .question-line.highlight {
        font-size: 22px;
        font-weight: 700;
    }

    /* 2. 입력 화면 (토스 스타일) */
    .input-container {
        max-width: 480px;
        width: 100%;
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* 단계별 입력 */
    .input-step {
        display: none;
        text-align: center;
        padding: 40px 20px;
        min-height: 100vh;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .input-step.active {
        display: flex;
    }

    .step-content {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .step-label {
        font-size: 24px;
        font-weight: 700;
        color: #1E1E1E;
        margin-bottom: 8px;
    }

    .step-hint {
        font-size: 14px;
        color: #666666;
        margin-bottom: 40px;
    }

    /* 선택 버튼 (성별, 음양력) */
    .choice-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-choice {
        padding: 20px;
        border: 2px solid #E5E5E5;
        background: white;
        border-radius: 16px;
        font-size: 18px;
        font-weight: 600;
        color: #1E1E1E;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-choice:hover {
        border-color: #FF6B35;
        background: #FFF5F0;
    }

    .btn-choice:active {
        transform: scale(0.98);
        background: #FF6B35;
        color: white;
        border-color: #FF6B35;
    }

    /* 숫자 디스플레이 */
    .number-display {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        margin-bottom: 40px;
    }

    .digit {
        width: 36px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        font-weight: 700;
        color: #1E1E1E;
        border-bottom: 3px solid #E5E5E5;
        transition: border-color 0.2s;
    }

    .digit.filled {
        border-bottom-color: #FF4500;
    }

    .digit.active {
        border-bottom-color: #FF4500;
        animation: blink 1s infinite;
    }

    @keyframes blink {
        0%, 50% { border-bottom-color: #FF4500; }
        51%, 100% { border-bottom-color: transparent; }
    }

    .separator {
        font-size: 36px;
        font-weight: 700;
        color: #CCCCCC;
        margin: 0 4px;
    }

    /* 키패드 */
    .keypad {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }

    .key {
        height: 60px;
        border: none;
        background: #F5F5F5;
        border-radius: 12px;
        font-size: 24px;
        font-weight: 600;
        color: #1E1E1E;
        cursor: pointer;
        transition: all 0.1s;
    }

    .key:active {
        background: #E5E5E5;
        transform: scale(0.95);
    }

    .key.empty {
        background: transparent;
        cursor: default;
        pointer-events: none;
    }

    .key.delete {
        background: #F5F5F5;
        font-size: 20px;
    }

    /* 모름 버튼 */
    .btn-skip {
        margin-top: 30px;
        padding: 14px 28px;
        background: transparent;
        border: 2px solid #CCCCCC;
        border-radius: 25px;
        font-size: 16px;
        color: #666666;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-skip:hover {
        border-color: #999999;
        color: #333333;
    }

    .btn-skip:active {
        transform: scale(0.98);
    }

    /* 흔들림 애니메이션 (에러 시) */
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-10px); }
        75% { transform: translateX(10px); }
    }

    .number-display.shake {
        animation: shake 0.3s ease;
    }

    .number-display.shake .digit {
        border-bottom-color: #FF4444;
    }

    

    .input-section {
        margin-bottom: 30px;
    }

    .input-section label {
        display: block;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
        color: #1E1E1E;
    }

    .button-group {
        display: flex;
        gap: 10px;
    }

    .btn-select {
        flex: 1;
        padding: 14px 20px;
        border: 2px solid #E5E5E5;
        background: #E5E5E5;
        color: #999999;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-select.active,
    .btn-select.selected {
        background: #1E1E1E;
        color: white;
        border-color: #1E1E1E;
    }

    .date-group,
    .time-group {
        display: flex;
        gap: 10px;
    }

    .select-dropdown {
        flex: 1;
        padding: 14px;
        border: 2px solid #E5E5E5;
        border-radius: 12px;
        font-size: 16px;
        background: white;
        color: #1E1E1E;
        cursor: pointer;
    }

    .select-dropdown:disabled {
        background: #F5F5F5;
        color: #999999;
        cursor: not-allowed;
    }

    .checkbox-label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
        font-size: 14px;
        color: #666666;
        cursor: pointer;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    /* 3. 질문 화면 */
    .question-container {
        max-width: 480px;
        width: 100%;
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .progress-bar {
        position: relative;
        width: 100%;
        height: 8px;
        background: #E5E5E5;
        border-radius: 4px;
        margin-bottom: 30px;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #FF4500, #FF6B35);
        border-radius: 4px;
        transition: width 0.3s ease;
    }

    .progress-text {
        position: absolute;
        top: -25px;
        right: 0;
        font-size: 14px;
        color: #666666;
    }

    .question-text {
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 40px;
        line-height: 1.5;
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .answer-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-answer {
        padding: 20px;
        border: 2px solid #E5E5E5;
        background: white;
        border-radius: 16px;
        font-size: 18px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn-answer:hover {
        border-color: #FF6B35;
        background: #FFF5F0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    }

    .btn-answer:active {
        transform: translateY(0);
    }

    /* 4. 로딩 화면 */
    #screen-loading {
        background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FFD93D 100%);
        color: white;
    }

    .loading-container {
        text-align: center;
    }

    .loading-emoji {
        font-size: 100px;
        animation: bounce 1s ease-in-out infinite;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    .loading-text {
        font-size: 24px;
        margin-top: 20px;
        font-weight: 500;
    }

    /* 5. 결과 화면 */
    .result-container {
        padding: 16px 12px;
        max-width: 500px;
        margin: 0 auto;
    }
/* ========================================
   결과 페이지 리뉴얼 스타일
   ======================================== */

/* 궁합 컴팩트 (가로 한 줄) */
.compatibility-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #FFF5F0;
    border-radius: 12px;
    margin-bottom: 8px;
}

.compat-label {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

.compat-bar {
    flex: 1;
    height: 12px;
    background: #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
}

.compat-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #FF4500);
    border-radius: 6px;
    transition: width 1s ease-out;
}

.compat-percent {
    font-size: 20px;
    font-weight: 700;
    color: #FF4500;
    min-width: 50px;
    text-align: right;
}

/* 삭제: 기존 궁합 섹션 (더 이상 사용 안 함) */
/*
.compatibility-section {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8E0 100%);
    border-radius: 16px;
}

.compatibility-section .section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.compatibility-bar {
    width: 100%;
    height: 20px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.compatibility-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6B35, #FF4500);
    border-radius: 10px;
    transition: width 1.5s ease-out;
}

.compatibility-percent {
    font-size: 32px;
    font-weight: 800;
    color: #FF4500;
}
*/

/* ===== 결과 페이지 통일 스타일 ===== */

/* 섹션 공통 */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 16px;
}

/* ===== 유형 섹션 ===== */
.result-type-section {
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.type-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.result-character {
    width: 140px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 8px;
}

.type-info {
    text-align: center;
    margin-top: 4px;
}

/* 유형 이름 - 하나만! */
.result-name {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
}

.type-subtitle {
    font-size: 14px;
    color: #FF6B35;
    font-weight: 600;
    margin: 4px 0 0 0;
}

.result-emoji {
    font-size: 80px;
    margin-bottom: 16px;
}

/* 유형 설명 (2026 운세 스타일) */
.type-description {
    background: #FFF9F5;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.5;
}

.type-description p {
    font-size: 13px;
    color: #444;
    margin: 0 0 6px 0;
    word-break: keep-all;
    line-height: 1.5;
}

.type-description p:last-child {
    margin-bottom: 0;
}

/* 키워드 태그 - 삭제됨 */
/* .type-tags { ... } */
/* .type-tag { ... } */

/* 체크리스트 - 삭제됨 */
/* .type-checklist { ... } */
/* .checklist-item { ... } */
/* 해시태그 스타일 (사주 해석 문구용) */
.result-hashtags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.hashtag {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8E0 100%);
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    border-left: 4px solid #FF6B35;
    text-align: left;
}


/* 기존 subtitle, description 숨김 */
.result-subtitle {
    display: none;
}

.result-description {
    display: none;
}


.result-subtitle {
    font-size: 18px;
    color: #FF6B35;
    font-weight: 600;
    margin-bottom: 20px;
}

.result-description {
    text-align: left;
    padding: 16px;
    background: #F9F9F9;
    border-radius: 12px;
}

.result-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 4px 0;
}

/* DO / DON'T 카드 */
.advice-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

/* DO/DON'T 카드 섹션 컴팩트 */
.advice-section {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.advice-card {
    flex: 1;
    padding: 8px;
    border-radius: 12px;
}

.advice-card.do {
    background: #E8F5E9;
    border: 1px solid #81C784;
}

.advice-card.dont {
    background: #FFEBEE;
    border: 1px solid #E57373;
}

.advice-header {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advice-list li {
    font-size: 12px;
    padding: 4px 0;
    color: #333;
}

.advice-list li::before {
    content: "•";
    margin-right: 8px;
}

.do-card, .dont-card {
    padding: 20px 16px;
    border-radius: 16px;
}

.do-card {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 1px solid #A5D6A7;
}

.dont-card {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    border: 1px solid #EF9A9A;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.do-card .card-title {
    color: #2E7D32;
}

.dont-card .card-title {
    color: #C62828;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
}

/* ===== 사주 4기둥 ===== */
.saju-section {
    background: white;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.reference-tag {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.saju-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pillar-item {
    background: #F8F8F8;
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pillar-item.has-fire {
    background: #FFF5F0;
    border: 2px solid #FF6B35;
}

.pillar-item.has-fire-2 {
    background: linear-gradient(135deg, #FFF0E8 0%, #FFE0D0 100%);
    border: 2px solid #FF4500;
}

/* 사주 기둥 불 배지 - 가로 배치 */
.fire-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
    background: white;
    border-radius: 12px;
    padding: 2px 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    white-space: nowrap;
    display: inline-block;
}

.pillar-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.pillar-hanja {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.pillar-hanja .fire-char {
    color: #FF4500;
}

.pillar-korean {
    font-size: 13px;
    color: #666;
}

/* 불 기운 표시 공통 */
.fire-row, .saju-fire-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: white;
    border-radius: 12px;
}

.fire-label {
    font-size: 14px;
    color: #666;
}

.fire-icons {
    font-size: 24px;
    letter-spacing: 4px;
}

.fire-icons.large {
    font-size: 28px;
}

.fire-count {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
}

.fire-count.large {
    font-size: 28px;
}

/* 불 기운 섹션 공통 */
.fire-section {
    background: #FFF9F0;
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    text-align: center;
}

.fire-section-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.fire-icons-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

/* ===== 불 기운 통합 섹션 ===== */
.fire-summary-section {
    background: linear-gradient(135deg, #FFF5EE 0%, #FFE8D6 100%);
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 8px;
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.fire-summary-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.fire-summary-item {
    text-align: center;
}

.fire-label {
    font-size: 12px;
    color: #888;
    margin: 0 0 4px 0;
}

.fire-count {
    font-size: 20px;
    font-weight: 700;
    color: #FF6B35;
    margin: 0;
}

.fire-count.total {
    font-size: 24px;
    color: #FF4500;
}

.fire-bar {
    height: 20px;
    background: #FFE0CC;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.fire-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #FF4500);
    border-radius: 10px;
    transition: width 1s ease-out;
}

.fire-bar-label {
    font-size: 14px;
    color: #666;
}

.fire-bar-label span {
    font-weight: 700;
    color: #FF4500;
}

/* 키워드 섹션 */
.keywords-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.keyword-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #F5F5F5;
    border-radius: 12px;
}

.keyword-icon {
    font-size: 24px;
    margin-right: 12px;
}

.keyword-label {
    font-size: 14px;
    color: #888;
    flex: 1;
}

.keyword-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}


    .result-header {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #1E1E1E;
    }

    .result-emoji {
        font-size: 100px;
        margin-bottom: 20px;
        animation: fadeIn 0.5s ease-in;
    }


    .result-title {
        font-size: 18px;
        color: #666666;
        margin-bottom: 30px;
    }

    .divider {
        height: 1px;
        background: #E5E5E5;
        margin: 30px 0;
    }

    .compatibility-section {
        margin-bottom: 30px;
    }

    .compatibility-label {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
        color: #1E1E1E;
    }

    .compatibility-bar {
        width: 100%;
        height: 24px;
        background: #E5E5E5;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .compatibility-fill {
        height: 100%;
        background: linear-gradient(90deg, #FF4500, #FF6B35);
        border-radius: 12px;
        transition: width 0.5s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
        font-weight: 600;
    }

    .compatibility-percent {
        font-size: 18px;
        font-weight: 700;
        color: #FF4500;
    }

    /* 불 기운 분석 섹션 */
    .fire-analysis-section {
        background: linear-gradient(135deg, #FFF5F0 0%, #FFE8E0 100%);
        border-radius: 16px;
        padding: 20px;
        margin: 24px 0;
    }

    .analysis-title {
        font-size: 16px;
        font-weight: 700;
        color: #1E1E1E;
        text-align: center;
        margin-bottom: 20px;
    }

    .fire-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
    }

    .fire-row.total {
        padding-top: 16px;
    }

    .fire-label {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .label-text {
        font-size: 14px;
        font-weight: 600;
        color: #1E1E1E;
    }

    .label-sub {
        font-size: 11px;
        color: #888888;
    }

    .fire-display {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .fire-icons {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .fire-row.total .fire-icons {
        font-size: 18px;
    }

    .fire-count {
        font-size: 14px;
        font-weight: 600;
        color: #FF4500;
        min-width: 36px;
        text-align: right;
    }

    .fire-count.total {
        font-size: 16px;
        font-weight: 700;
    }

    .fire-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, #FFCCC0, transparent);
        margin: 8px 0;
    }

    /* 사주 4기둥 섹션 */

    .saju-title {
        font-size: 16px;
        font-weight: 700;
        color: #1E1E1E;
        text-align: center;
        margin-bottom: 20px;
    }

    .saju-pillars {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 16px;
    }

    .pillar-item {
        position: relative;
        background: white;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    /* 불이 있는 기둥 강조 */
    .pillar-item.has-fire {
        background: linear-gradient(135deg, #FFF5F0 0%, #FFE8E0 100%);
        border: 2px solid #FF6B35;
        position: relative;
    }
    
    .pillar-item.has-fire::after {
        content: "🔥";
        position: absolute;
        top: -8px;
        right: -8px;
        font-size: 16px;
    }

    .pillar-label {
        font-size: 12px;
        color: #888888;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .pillar-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .pillar-hanja {
        font-size: 24px;
        font-weight: 700;
        color: #1E1E1E;
        line-height: 1.2;
        display: flex;
        justify-content: center;
        gap: 2px;
    }

    /* 불 글자 강조 */
    .fire-char {
        color: #FF4500;
        font-weight: 700;
    }

    /* 불 뱃지 */
    .fire-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        font-size: 16px;
        background: white;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .pillar-korean {
        font-size: 14px;
        color: #666666;
        font-weight: 500;
    }

    .saju-fire-summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 16px;
        border-top: 1px solid #E5E5E5;
    }

    .fire-summary-label {
        font-size: 14px;
        color: #666666;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .fire-icons-display {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        max-width: 280px;
        margin: 12px auto;
        font-size: 24px;
        line-height: 1.5;
    }
    
    /* 총 불 기운 섹션 아이콘 크기 조정 */
    .total-fire-section .fire-icons-display {
        font-size: 24px;
    }
    
    .total-fire-section .fire-icons-display span,
    .total-fire-section .fire-icons-display img {
        width: 28px;
        height: 28px;
        display: inline-block;
    }

    .fire-summary-count {
        font-size: 18px;
        font-weight: 700;
        color: #FF4500;
    }

    .fire-summary-count span {
        font-size: 24px;
    }

    @media (max-width: 480px) {
        .saju-pillars {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .pillar-item {
            padding: 12px;
        }

        .pillar-hanja {
            font-size: 20px;
        }

        .pillar-korean {
            font-size: 12px;
        }
    }

    .keywords-section {
        margin-bottom: 30px;
    }

    .keyword-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        background: #F5F5F5;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .keyword-icon {
        font-size: 24px;
        margin-right: 12px;
    }

    .keyword-label {
        flex: 1;
        text-align: left;
        font-size: 14px;
        color: #666666;
    }

    .keyword-value {
        font-size: 16px;
        font-weight: 600;
        color: #1E1E1E;
    }

    .message-section {
        background: #FFF5F0;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 30px;
    }

    .message-text {
        font-size: 18px;
        font-weight: 600;
        color: #1E1E1E;
        line-height: 1.6;
    }

    /* DO/DON'T 카드 섹션 */
    .advice-cards {
        display: flex;
        gap: 12px;
        margin: 24px 0;
    }

    .advice-card {
        flex: 1;
        padding: 16px;
        border-radius: 16px;
        text-align: left;
    }

    .do-card {
        background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
        border: 2px solid #81C784;
    }

    .dont-card {
        background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
        border: 2px solid #E57373;
    }

    .card-header {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
    }

    .card-icon {
        font-size: 18px;
    }

    .card-label {
        font-size: 14px;
        font-weight: 700;
        color: #1E1E1E;
    }

    .do-card .card-label {
        color: #2E7D32;
    }

    .dont-card .card-label {
        color: #C62828;
    }

    .card-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .card-list li {
        font-size: 13px;
        color: #333333;
        padding: 6px 0;
        padding-left: 16px;
        position: relative;
        line-height: 1.4;
    }

    .do-card .card-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #4CAF50;
        font-weight: bold;
    }

    .dont-card .card-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #F44336;
        font-weight: bold;
    }

    .button-row {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
    }

    .button-row .btn-share,
    .button-row .btn-secondary {
        flex: 1;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        border: none;
    }

    .btn-share.kakao {
        background: #FEE500;
        color: #333;
    }

    .btn-secondary {
        background: #F0F0F0;
        color: #666;
    }

    
/* ===== 버튼 섹션 - 가로 배치 ===== */
.button-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.button-row .btn-share,
.button-row .btn-secondary {
    flex: 1;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-share.kakao {
    background: #FEE500;
    color: #333;
}

.btn-secondary {
    background: #F0F0F0;
    color: #666;
}

/* 핫덕 배너 */
.hotduk-banner {
    margin-top: 32px;
    padding: 20px;
    background: #FFF5F0;
    border-radius: 16px;
    text-align: center;
}

.banner-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.banner-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #FF4500;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.banner-btn:hover {
    background: #E53E00;
}

.footer-text {
        font-size: 12px;
        color: #999999;
        margin-top: 20px;
    }

    /* 공통 버튼 */
    .btn-primary {
        width: 100%;
        padding: 18px;
        background: #7C3AED;
        color: white;
        border: none;
        border-radius: 16px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        margin-top: 20px;
    }

    .btn-primary:hover {
        background: #6D28D9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

    .btn-next {
        margin-top: 0;
    }

    /* 토스트 메시지 */
    .toast {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background: #1E1E1E;
        color: white;
        padding: 16px 24px;
        border-radius: 12px;
        font-size: 14px;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
        pointer-events: none;
    }

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* 모바일 최적화 - DO/DON'T 카드 */
    @media (max-width: 400px) {
        .advice-cards {
            flex-direction: column;
        }
        
        .card-list li {
            font-size: 14px;
        }
    }

    /* 모바일 최적화 - 말 이미지 */
    @media (max-width: 480px) {
        .horse-image {
            width: 160px;
        }
    }

    /* 반응형 */
    @media (max-width: 480px) {
        .title {
            font-size: 28px;
        }
        
        .subtitle {
            font-size: 16px;
        }
        
        .description {
            font-size: 16px;
        }

        .description-line {
            font-size: 14px;
        }
        
        .question-line {
            font-size: 18px;
        }
        
        .question-line.highlight {
            font-size: 20px;
        }
        
        .emoji-large {
            font-size: 80px;
        }
        
        .input-container,
        .question-container {
            padding: 20px;
        }

        .result-container {
            padding: 16px 10px;
        }
        
        .question-text {
            font-size: 20px;
        }
        
        .result-emoji {
            font-size: 80px;
        }

        .type-header {
            flex-direction: column;
            text-align: center;
        }
        
        .type-info {
            text-align: center;
        }
        
        .result-name {
            font-size: 24px;
        }
    }

    /* 결과 유형별 배경 그라데이션 */
    #screen-result.volcano {
        background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    }

    #screen-result.bonfire {
        background: linear-gradient(135deg, #FF6B35 0%, #FFA62F 100%);
    }

    #screen-result.firework {
        background: linear-gradient(135deg, #FF1493 0%, #FF6B35 100%);
    }

    #screen-result.candle {
        background: linear-gradient(135deg, #FFA62F 0%, #FFD93D 100%);
    }

    #screen-result.lightning {
        background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    }

    #screen-result.ice {
        background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    }

    #screen-result.sun {
        background: linear-gradient(135deg, #FFD700 0%, #FF4500 100%);
    }

    #screen-result.moon {
        background: linear-gradient(135deg, #4A0080 0%, #8B5CF6 100%);
    }

