/* 직장인 유형 테스트 스타일 */
.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    min-height: 100vh;
    padding-bottom: calc(50px + 20px); /* 스크롤버튼 + 띠배너1번 + 띠배너여백 + 고정배너 + 여백 */
}

.test-header {
    text-align: center;
    margin-bottom: 30px;
}

.test-title {
    font-size: 42px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 182, 193, 0.5);
}

.test-subtitle {
    font-size: 18px;
    color: #5A5A5A;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* 진행 상태 */
.progress-section {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #5A5A5A;
    font-weight: 600;
}

/* 질문 영역 */
.question-section {
    animation: fadeInUp 0.5s ease;
}

.question-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.question-text {
    font-size: 24px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 32px;
    line-height: 1.6;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answer-btn {
    padding: 18px 24px;
    background: rgba(255, 182, 193, 0.1);
    border: 2px solid rgba(255, 182, 193, 0.3);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 500;
    color: #2D2D2D;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Pretendard', sans-serif;
}

.answer-btn:hover {
    background: rgba(255, 182, 193, 0.2);
    border-color: var(--primary-pink);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

.answer-btn:active {
    transform: translateX(4px);
}

/* 결과 영역 */
.result-section {
    animation: fadeInUp 0.6s ease;
}

.result-section.hidden {
    display: none;
}

.result-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0F5 50%, #F0E6FF 100%);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid rgba(255, 182, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.result-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(255, 182, 193, 0.2);
    position: relative;
    z-index: 1;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 182, 193, 0.4));
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.result-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

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

.result-title {
    font-size: 28px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 12px;
}

.result-name {
    font-size: 32px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.result-content {
    text-align: left;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.result-description {
    font-size: 18px;
    color: #5A5A5A;
    line-height: 1.8;
    margin-bottom: 28px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(230, 230, 250, 0.1) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-pink);
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    padding: 16px;
    background: rgba(255, 182, 193, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 182, 193, 0.2);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.4);
    transform: translateX(4px);
}

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: #5A5A5A;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 16px;
    color: #2D2D2D;
    line-height: 1.6;
}

.lupin-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-pink);
    text-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

/* 결과 액션 버튼 */
.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.share-btn {
    flex: 1;
    min-width: 160px;
    padding: 14px 20px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.twitter-btn:hover {
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0e6de8 100%);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.facebook-btn:hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.share-icon {
    font-size: 20px;
}

.retry-btn {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.05);
    color: #5A5A5A;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.retry-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .test-container {
        padding: 30px 15px 70px;
    }

    .test-title {
        font-size: 32px;
    }

    .test-subtitle {
        font-size: 16px;
    }

    .question-card {
        padding: 30px 20px;
    }

    .question-text {
        font-size: 20px;
    }

    .answer-btn {
        padding: 16px 20px;
        font-size: 15px;
    }

    .result-card {
        padding: 30px 20px;
    }

    .result-icon {
        font-size: 60px;
    }

    .result-title {
        font-size: 24px;
    }

    .result-name {
        font-size: 28px;
    }

    .result-description {
        font-size: 16px;
        padding: 16px;
    }

    .result-actions {
        flex-direction: column;
    }

    .share-btn,
    .retry-btn {
        width: 100%;
        min-width: auto;
    }
}
