/* 결과 페이지 스타일 - 마지막에 추가 */
/* 기본 스타일 */
body {
    font-family: 'Pretendard', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-attachment: fixed;
}

.result-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 3rem;
    max-width: 800px;
    width: 95%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.result-container:hover {
    transform: translateY(-5px);
}

/* 공유 버튼 스타일 */
.recommendation-btn {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.recommendation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 액션 버튼 스타일 */
.btn-primary, .btn-secondary {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    color: white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

/* 다음 퀴즈 프리뷰 애니메이션 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.preview-card {
    animation: pulse 2s infinite;
}

/* 반응형 디자인 */
@media (max-width: 640px) {
    .result-container {
        width: 92%;
        padding: 2rem;
    }
}

    .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .share-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }

    .recommendation-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* 접근성 */
@media (prefers-reduced-motion: reduce) {
    .result-container,
    .btn-primary,
    .btn-secondary,
    .recommendation-btn,
    .preview-card {
        transition: none;
        animation: none;
    }
}

/* 네온 효과 */
.neon-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    animation: neonBorder 2s ease-in-out infinite;
}

@keyframes neonBorder {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.5);
    }
    50% {
        border-color: rgba(217, 70, 239, 0.8);
    }
}

/* 추가 효과 */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}
