* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    padding: 10px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.question {
    margin-bottom: 30px;
}

.question-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.interviewers-selection-label {
    font-size: 20px;
    color: #333;
    margin-left: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.goodbyeMessage {
    /*font-size: 18px;*/
    color: #333;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #667eea;
    background-color: #f8f9ff;
}

.option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.option.disabled:hover {
    border-color: #e0e0e0;
    background-color: #f5f5f5;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    margin-right: 12px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.option input[type="checkbox"] {
    accent-color: #667eea;
}

.option.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.option label {
    cursor: pointer;
    flex: 1;
    font-size: 16px;
    color: #555;
}

.option.disabled label {
    cursor: not-allowed;
}

.option.selected {
    border-color: #667eea;
    background-color: #f0f3ff;
}

.slider-wrapper {
    margin: 15px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #e0e0e0 0%, #667eea 100%);
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-value {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
    margin-top: 10px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.result {
    display: none;
    text-align: center;
}

.result.show {
    display: block;
}

.result h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.result-image {
    max-width: 100%;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.result-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.restart-btn {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.restart-btn:hover {
    background: #e0e0e0;
}

.form-section {
    display: block;
}

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

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading.show {
    display: block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Checkbox Hint Styles */
.option-question-wrapper {
    width: 100%;
}

.checkbox-hint {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    border: 2px solid #e0e0e0;
}

/* Sorting Styles */
.sorting-wrapper {
    width: 100%;
    margin: 20px 0;
}

.sorting-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sorting-position {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.sorting-label {
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    text-align: right;
    white-space: nowrap;
}

.sorting-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: #f8f9ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.sorting-select:hover {
    border-color: #667eea;
    background-color: white;
}

.sorting-select:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sorting-select.selected {
    border-color: #667eea;
    background-color: #f0f3ff;
    font-weight: 500;
}

.sorting-select option:disabled {
    color: #ccc;
    background-color: #f5f5f5;
}

.disabled-option {
    color: #ccc !important;
    background-color: #f5f5f5 !important;
}

.sorting-hint {
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    border: 2px solid #e0e0e0;
    flex: 1;
}

.sorting-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.sorting-reset-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
}

.sorting-reset-btn:hover {
    border-color: #667eea;
    background-color: #f8f9ff;
    transform: translateY(-1px);
}

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

.sorting-reset-btn svg {
    width: 16px;
    height: 16px;
}

/* Resource Allocation Styles */
.allocation-question {
    margin: 30px 0;
    border-radius: 10px;
}

.allocation-header p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.remaining-resources {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remaining-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.remaining-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.remaining-value {
    font-size: 32px;
    font-weight: bold;
}

.remaining-value.valid {
    color: #10b981;
}

.remaining-value.warning {
    color: #667eea;
}

.remaining-value.invalid {
    color: #ef4444;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    transition: all 0.3s ease;
}

.progress-bar.valid {
    background: #10b981;
}

.progress-bar.warning {
    background: #667eea;
}

.progress-bar.invalid {
    background: #ef4444;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
}

.error-message {
    display: none;
    align-items: center;
    gap: 10px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    color: #c33;
}

.error-message.show {
    display: flex;
}

.error-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.allocation-options-wrapper {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.allocation-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.allocation-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.option-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.option-value {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    min-width: 50px;
    text-align: right;
}

.slider-container {
    display: flex;
    align-items: center;
}

.allocation-slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.allocation-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.allocation-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.number-input {
    width: 50px;
    padding: 6px;
    text-align: center;
    border: 0 solid #e5e7eb;
    font-size: 14px;
    font-weight: 600;
}

.number-input:focus {
    outline: none;
    border-color: #667eea;
}

.submit-hint {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.question-slider-container {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f8f9ff;
    display: block;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
    width: 100%;
}

.slider-labels span {
    display: inline-block;
}

.slider-value-center {
    font-size: 20px;
    font-weight: 600;
    color: #667eea !important;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    border: 2px solid #667eea;
    min-width: 40px;
    text-align: center;
}

.separator {
    align-items: center;
    padding-top: 10px;
    border-top: 3px solid #e0e0e0;
}

.description {
    align-items: center;
    margin-bottom: 30px;
}

/* Interviewer Selection Styles */
.interviewer-container {
    margin-bottom: 30px;
}

/* Form visibility control */
#questionsContainer,
#submitBtn {
    display: none;
}

#questionsContainer.visible,
#submitBtn.visible {
    display: block;
}

.dropdown-wrapper {
    position: relative;
    width: 100%;
}

.interviewer-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.interviewer-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-option:hover {
    background-color: #f8fafc;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.interviewers {
    align-items: center;
    padding: 5px;
    margin-bottom: 30px;
}

/* Input Wrapper Styles */
.input-wrapper {
    width: 100%;
    margin: 10px 0;
}

.input-radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.input-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-option:hover {
    border-color: #667eea;
    background-color: #f8f9ff;
}

.input-option.selected {
    border-color: #667eea;
    background-color: #f0f3ff;
}

.input-option input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    accent-color: #667eea;
}

.input-option label {
    cursor: pointer;
    flex: 1;
    font-size: 16px;
    color: #555;
}

.text-input-wrapper {
    width: 100%;
    transition: opacity 0.3s ease;
}

.text-input-wrapper.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.text-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    background-color: #f8f9ff;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-input:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.text-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.text-input::placeholder {
    color: #999;
}

/* Recording Wrapper Styles */
.recording-wrapper {
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f8f9ff;
}

.recording-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.recording-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.start-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stop-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.stop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

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

.recording-btn svg {
    width: 20px;
    height: 20px;
}

.recording-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.recording-status.recording {
    border-color: #ef4444;
    background: #fef2f2;
}

.recording-status.saved {
    border-color: #10b981;
    background: #f0fdf4;
}

.recording-status.error {
    border-color: #f59e0b;
    background: #fffbeb;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ca3af;
    margin-right: 10px;
}

.recording-status.recording .status-indicator {
    background: #ef4444;
    animation: pulse 1.5s ease-in-out infinite;
}

.recording-status.saved .status-indicator {
    background: #10b981;
}

.recording-status.error .status-indicator {
    background: #f59e0b;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.status-text {
    flex: 1;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.status-time {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    font-family: 'Courier New', monospace;
}

.recording-status.recording .status-time {
    color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .recording-controls {
        flex-direction: column;
    }

    .recording-btn {
        width: 100%;
    }

    .recording-status {
        flex-wrap: wrap;
        gap: 8px;
    }

    .status-time {
        width: 100%;
        text-align: center;
    }

    .sorting-position {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sorting-label {
        text-align: left;
    }

    .sorting-container {
        padding: 15px;
        gap: 15px;
    }
}
/* Result Section Styles */
#resultSection {
    display: none;
    padding: 0.3rem;
    max-width: 800px;
    margin: 0 auto;
}

#resultSection.show {
    display: block;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Cartesian Plane Styles */
.cartesian-plane-container {
    background: white;
    border-radius: 12px;
    padding: 0rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

#planeSvg {
    max-width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

#resultPoint {
    cursor: pointer;
    transition: opacity 0.5s ease-in;
}

#resultPoint:hover {
    r: 5;
}

/* Result Recording Section */
.result-recording-section {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-recording-section h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

.result-recording-section p {
    margin: 0 0 1.5rem 0;
    color: #666;
}

/* Result Buttons */
.result-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.result-buttons button {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submitRecordingBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#submitRecordingBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#submitRecordingBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.skip-btn {
    background: #f3f4f6;
    color: #666;
}

.skip-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cartesian-plane-container {
        padding: 1rem;
    }

    #planeSvg {
        width: 100%;
        height: auto;
    }

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

    .result-buttons button {
        width: 100%;
        min-width: 0;
    }
}

/* Loading Icon Styles */
.loading-icon {
    display: none;
    margin: 15px auto 10px;
    color: #667eea;
    animation: fadeIn 0.5s ease-in-out;
}

.loading-icon svg {
    animation: float 2s ease-in-out infinite;
}

.loading-message {
    margin-top: 10px;
    font-size: 16px;
    color: #667eea;
    font-weight: 500;
    animation: fadeIn 0.5s ease-in-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loading Overlay Styles for Result Section */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.loading-content {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.loading-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading-content.success {
    border: 3px solid #10b981;
}

.loading-content.success .loading-spinner,
.loading-content.success .loading-icon {
    color: #10b981;
}

.loading-content.success .loading-message {
    color: #10b981;
}

.loading-content.error {
    border: 3px solid #ef4444;
}

.loading-content.error .loading-spinner,
.loading-content.error .loading-icon {
    color: #ef4444;
}

.loading-content.error .loading-message {
    color: #ef4444;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-overlay .loading-icon {
    display: block;
    margin: 15px auto;
    color: #667eea;
}

.loading-overlay .loading-icon svg {
    animation: float 2s ease-in-out infinite;
}

.loading-overlay .loading-message {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-top: 15px;
}

/* Animation for result section appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#resultSection.show .result-content {
    animation: fadeInUp 0.5s ease-out;
}

.result-content > * {
    animation: fadeInUp 0.5s ease-out;
}

.result-content > *:nth-child(1) {
    animation-delay: 0.1s;
}

.result-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.result-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

/* Archetype Section Styles */
.archetype-section {
    width: 100%;
    margin-bottom: 2rem;
}

.archetype-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.archetype-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
}

.archetype-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.archetype-name {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.archetype-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for archetype */
@media (max-width: 768px) {
    .archetype-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .archetype-icon {
        font-size: 2.5rem;
    }
    
    .archetype-name {
        font-size: 1.5rem;
    }
    
    .archetype-description {
        font-size: 1rem;
    }
}