@charset "utf-8";

/* MBTI Project Styles */

.mbti-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/* Progress Bar */
.mbti-progress-wrapper {
    margin-bottom: 40px;
    position: relative;
}

.mbti-progress-track {
    background-color: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.mbti-progress-bar {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    height: 100%;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.mbti-progress-text {
    text-align: right;
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
    font-weight: 600;
}

/* Question Card */
.mbti-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.mbti-question-number {
    display: inline-block;
    background: #eff6ff;
    color: #3b82f6;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.mbti-question-text {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
    line-height: 1.4;
    word-break: keep-all;
}

/* Options */
.mbti-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mbti-option-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    width: 100%;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.mbti-option-btn:hover {
    border-color: #6366f1;
    background-color: #eef2ff;
    color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mbti-option-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideIn 0.5s ease-out forwards;
}

/* Result Page */
.mbti-result-header {
    text-align: center;
    margin-bottom: 40px;
}

.mbti-result-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 600;
}

.mbti-result-title {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.mbti-result-img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mbti-result-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.mbti-action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.mbti-btn {
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mbti-btn-primary {
    background: #6366f1;
    color: white;
}

.mbti-btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.mbti-btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.mbti-btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Ad Section */
.mbti-ad-section {
    margin-top: 40px;
    padding: 20px;
    background: #f1f5f9;
    border-radius: 16px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    border: 2px dashed #cbd5e1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mbti-container {
        padding: 16px;
    }
    
    .mbti-card {
        padding: 24px;
    }
    
    .mbti-question-text {
        font-size: 20px;
    }
    
    .mbti-option-btn {
        padding: 16px;
        font-size: 16px;
    }
    
    .mbti-action-buttons {
        grid-template-columns: 1fr;
    }
    
    .mbti-result-title {
        font-size: 32px;
    }
}
