@charset "utf-8";

/* 에러 페이지 전체 래퍼 */
.error-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 98vh;
    background-color: #f3f4f6; /* 연한 회색 배경 */
    font-family: 'Pretendard', sans-serif;
}

/* 에러 카드 */
.error-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* max-width: 500px; */
    width: 90%;
    animation: fadeInUp 0.5s ease-out;
}

/* 아이콘 영역 */
.error-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    color: #3b82f6; /* 기본 파란색 */
    animation: float 3s ease-in-out infinite; /* 둥둥 떠다니는 애니메이션 */
}

/* 에러 코드 (404, 500 등) */
.error-code {
    font-size: 60px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Audiowide', sans-serif; /* 기존에 쓰시던 폰트 활용 */
}

/* 에러 제목 */
.error-title {
    font-size: 24px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 15px;
}

/* 에러 설명 텍스트 */
.error-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
    word-break: keep-all;
}

/* 버튼 스타일 */
.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: #3b82f6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    gap: 8px;
}

.btn-home:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: #fff;
    color: #4b5563;
    border: 1px solid #d1d5db;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 10px;
    cursor:pointer;
}

.btn-back:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* 상태별 색상 변경 (옵션) */
.status-404 .error-icon { color: #f59e0b; } /* 주황 */
.status-500 .error-icon { color: #ef4444; } /* 빨강 */

/* 애니메이션 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}