/* ================================================
   꿈해몽 전용 스타일시트
   ================================================ */

/* 검색 섹션 */
.search-section {
    max-width: 900px;
    margin: 2rem auto;
}

.search-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    color: white;
}

.search-card .card-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.search-card .card-desc {
    text-align: center;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* 검색 폼 */
.dream-search-form {
    margin-top: 2rem;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input-wrapper input[type="text"] {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input-wrapper input[type="text"]:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-icon-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-icon-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 카테고리 필터 */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.category-filter label {
    display: inline-block;
    cursor: pointer;
}

.category-filter input[type="radio"] {
    display: none;
}

.category-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-filter input[type="radio"]:checked + .category-btn {
    background: white;
    color: #667eea;
    border-color: white;
    font-weight: 600;
    transform: scale(1.05);
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 사주 연계 옵션 */
.saju-option {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
}

.saju-option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.saju-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.saju-toggle input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.saju-toggle label {
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
}

.saju-inputs {
    display: none;
    animation: fadeIn 0.3s ease;
}

.saju-inputs.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.saju-inputs select {
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    background: white;
    color: #333;
}

/* 인기 검색어 */
.popular-keywords {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.popular-keywords h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
    opacity: 0.9;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.keyword-tag {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.keyword-tag:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 안내 카드 */
.dream-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.dream-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.dream-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dream-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.dream-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #667eea;
    text-align: center;
}

.dream-info-card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* 결과 섹션 */
.result-section {
    max-width: 1000px;
    margin: 2rem auto;
    animation: fadeInUp 0.5s ease;
}

/* 꿈 헤더 */
.dream-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.dream-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dream-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.dream-category {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 배지 스타일 */
.category-badge,
.type-badge,
.oheng-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.category-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.type-badge {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.type-badge.type-good {
    background: rgba(76, 175, 80, 0.3);
    color: white;
}

.type-badge.type-bad {
    background: rgba(244, 67, 54, 0.3);
    color: white;
}

.type-badge.type-neutral {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.oheng-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-family: 'Noto Serif KR', serif;
}

.oheng-badge.oheng-금 {
    background: rgba(255, 215, 0, 0.3);
}

.oheng-badge.oheng-수 {
    background: rgba(33, 150, 243, 0.3);
}

.oheng-badge.oheng-목 {
    background: rgba(76, 175, 80, 0.3);
}

.oheng-badge.oheng-화 {
    background: rgba(244, 67, 54, 0.3);
}

.oheng-badge.oheng-토 {
    background: rgba(121, 85, 72, 0.3);
}

/* 해석 카드 */
.interpretation-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.interpretation-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.interpretation-card .card-header h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.interpretation-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.interpretation-text.traditional {
    color: #8b4513;
    font-weight: 500;
    font-size: 1.2rem;
}

.interpretation-text.modern {
    color: #4a5568;
}

.interpretation-text.detail {
    color: #2d3748;
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

/* 사주 분석 섹션 */
.saju-analysis-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 3px dashed #e2e8f0;
}

.saju-analysis-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.saju-analysis-section .section-header h2 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.birth-info {
    color: #718096;
    font-size: 1rem;
}

/* 오행 관계 카드 */
.oheng-relation-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.3);
}

.oheng-relation-card .card-header h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.oheng-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.oheng-item {
    text-align: center;
}

.oheng-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.oheng-value {
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-family: 'Noto Serif KR', serif;
}

.oheng-arrow {
    font-size: 2rem;
    opacity: 0.8;
}

.relation-result {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.relation-type {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif KR', serif;
}

.relation-desc {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* 사주 해석 카드 */
.saju-interpretation-card {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(252, 182, 159, 0.3);
}

.saju-interpretation-card .card-header h3 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.saju-interpretation {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #2d3748;
    font-weight: 500;
}

/* 오행 강약 카드 */
.oheng-strength-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.oheng-strength-card .card-header h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.oheng-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.oheng-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 10px;
    text-align: center;
}

.info-label {
    font-size: 0.95rem;
    color: #718096;
}

.info-value {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Noto Serif KR', serif;
}

.info-value.strong {
    color: #e53e3e;
}

.info-value.weak {
    color: #3182ce;
}

/* 다른 결과 섹션 */
.other-results-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px dashed #e2e8f0;
}

.other-results-section h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.other-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.other-result-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.other-result-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.other-keyword {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.other-category {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.other-traditional {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.show-detail-btn {
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.show-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 행동 버튼 */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* 안내 문구 */
.dream-notice {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8cc 100%);
    border-left: 4px solid #ff9800;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 3rem;
}

.dream-notice p {
    margin-bottom: 0.5rem;
    color: #663c00;
    line-height: 1.7;
}

.dream-notice p:last-child {
    margin-bottom: 0;
}

.dream-notice strong {
    font-weight: 700;
    color: #e65100;
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* 반응형 디자인 */
@media (max-width: 768px) {
    .search-card {
        padding: 2rem 1.5rem;
    }

    .search-card .card-header h2 {
        font-size: 1.6rem;
    }

    .search-card .card-desc {
        font-size: 0.95rem;
    }

    .category-filter {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .saju-inputs.active {
        grid-template-columns: 1fr;
    }

    .dream-title {
        font-size: 1.8rem;
    }

    .dream-icon {
        font-size: 2.5rem;
    }

    .interpretation-card {
        padding: 1.5rem;
    }

    .interpretation-text {
        font-size: 1rem;
    }

    .oheng-comparison {
        flex-direction: column;
        gap: 1rem;
    }

    .oheng-arrow {
        transform: rotate(90deg);
    }

    .oheng-value {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .dream-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .search-input-wrapper input[type="text"] {
        padding: 1rem 3rem 1rem 1rem;
        font-size: 1rem;
    }

    .search-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .dream-title {
        font-size: 1.5rem;
    }

    .interpretation-card .card-header h3 {
        font-size: 1.2rem;
    }
}

/* ================================================
   상세 해석 섹션 스타일
   ================================================ */

.detail-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.detail-section h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-subsection {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    line-height: 1.85;
}

.detail-subsection strong {
    color: #2c3e50;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 1rem;
}

.detail-subsection p {
    color: #4a5568;
    font-size: 0.98rem;
    margin: 0;
    text-align: justify;
    word-break: keep-all;
}

.detail-section .interpretation-text {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1rem;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* 시나리오 섹션 */
.scenario-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.scenario-section h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenario-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scenario-item {
    padding: 1.5rem;
    border-radius: 10px;
    line-height: 1.8;
    font-size: 0.95rem;
    color: #4a5568;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 5px solid;
    transition: all 0.3s ease;
}

.scenario-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.scenario-item strong {
    font-size: 1.05rem;
    color: #2d3748;
    display: block;
    margin-bottom: 0.8rem;
}

.scenario-positive {
    border-left-color: #2ecc71;
    background: linear-gradient(to right, rgba(46, 204, 113, 0.02), white);
}

.scenario-caution {
    border-left-color: #e74c3c;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.02), white);
}

.scenario-neutral {
    border-left-color: #f39c12;
    background: linear-gradient(to right, rgba(243, 156, 18, 0.02), white);
}

/* ================================================
   오행의미, 행동가이드, 주의사항 스타일
   ================================================ */

.oheng-meaning,
.action-guide,
.caution-section {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid #667eea;
}

.situation-analysis {
    border-left-color: #667eea;
}

.oheng-meaning {
    border-left-color: #764ba2;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.action-guide {
    border-left-color: #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(39, 174, 96, 0.05) 100%);
}

.caution-section {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(192, 57, 43, 0.05) 100%);
}

.situation-analysis h4,
.oheng-meaning h4,
.action-guide h4,
.caution-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.interpretation-list li {
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.8rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    line-height: 1.6;
    color: #4a5568;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.interpretation-list li:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateX(4px);
}

.interpretation-list li:before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

.situation-analysis .interpretation-list li:before {
    content: "🎭 ";
    margin-right: 0.5rem;
}

.oheng-meaning p,
.action-guide p,
.caution-section p {
    line-height: 1.8;
    color: #4a5568;
    font-size: 0.95rem;
    margin: 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 세부 정보 섹션 배경 */
.detail-card .card-content {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 2rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .situation-analysis,
    .oheng-meaning,
    .action-guide,
    .caution-section {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .situation-analysis h4,
    .oheng-meaning h4,
    .action-guide h4,
    .caution-section h4 {
        font-size: 1.1rem;
    }

    .interpretation-list li {
        padding: 0.7rem 1rem;
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }

    .oheng-meaning p,
    .action-guide p,
    .caution-section p {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* 새로운 개선 섹션 스타일 */

/* 상황별 맞춤 해석 */
.situation-card {
    margin: 2rem 0;
}

.situation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.situation-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.situation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.situation-btn.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-emoji {
    font-size: 1.5rem;
}

.btn-label {
    font-size: 0.85rem;
}

.situation-result {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a5568;
}

/* 행동 체크리스트 */
.checklist-card {
    margin: 2rem 0;
}

.checklist-category {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.checklist-category:last-child {
    border-bottom: none;
}

.checklist-category h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.dream-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.dream-checkbox:checked + label {
    text-decoration: line-through;
    color: #a0aec0;
}

.checklist-item label {
    cursor: pointer;
    color: #4a5568;
    font-size: 0.95rem;
    flex: 1;
}

/* 시간대별 실현 가능성 */
.timeline-card {
    margin: 2rem 0;
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.timeline-marker {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f4ff;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.timeline-content p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* 숨겨진 신호 풀기 */
.signals-card {
    margin: 2rem 0;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.signal-category {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.signal-category h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.signal-category p {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.signal-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.signal-list li {
    padding: 0.8rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

.signal-list strong {
    color: #2c3e50;
}

/* 반응형 설계 */
@media (max-width: 768px) {
    .situation-buttons {
        gap: 0.5rem;
    }

    .situation-btn {
        min-width: 100px;
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .btn-emoji {
        font-size: 1.2rem;
    }

    .signals-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* 인쇄 스타일 */
@media print {
    .action-buttons,
    .popular-keywords,
    .dream-info-cards,
    .other-results-section,
    nav,
    footer {
        display: none !important;
    }

    .interpretation-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }

    .dream-header {
        background: white !important;
        color: #2d3748 !important;
    }

    .situation-analysis,
    .oheng-meaning,
    .action-guide,
    .caution-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}
