/* 🎨 Painlink 초기 화면 (Landing Page) 복구 CSS */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 1. 좌우 반반 분할을 만들어주는 핵심 컨테이너 */
.split-container {
    display: flex;          /* 💡 내부 요소들을 위아래가 아닌 '좌우'로 나란히 배치합니다 */
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* 2. 각 영역(스킨 / 머슬) 공통 스타일 */
.split {
    flex: 1;                /* 💡 두 영역이 정확히 50%씩 화면을 균등하게 나눠 갖도록 합니다 */
    height: 100%;
    display: flex;
    align-items: center;    /* 수직 중앙 정렬 */
    justify-content: center;/* 수평 중앙 정렬 */
    position: relative;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s; /* 부드러운 모션 */
}

/* 3. 왼쪽 피부 모드 (Skin Care) 전용 디자인 */
.split.skin {
    background-color: #f5f6fa; /* 부드럽고 깨끗한 스킨케어 톤 배경 */
    color: #2d3436;
}

/* 4. 오른쪽 통증 모드 (Muscle & Joint) 전용 디자인 */
.split.muscle {
    background-color: #2d3436; /* 신뢰감 있고 묵직한 다크 배경 */
    color: #ffffff;
}

/* 🔥 마우스 오버 시 선택한 쪽이 부드럽게 넓어지는 고급 인터랙션 효과 */
.split:hover {
    flex: 1.25; /* 마우스가 올라간 쪽이 화면의 약 55%로 넓어짐 */
}
.split.skin:hover {
    background-color: #ebedf2;
}
.split.muscle:hover {
    background-color: #1e2224;
}

/* 5. 내부 텍스트 및 콘텐츠 정렬 */
.content {
    text-align: center;
    max-width: 80%;
    pointer-events: none; /* 클릭 이벤트 방해 금지 */
}

.content h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.content p {
    font-size: 16px;
    margin: 0 0 35px 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* 6. 하단 버튼 (입장하기 뱃지) 스타일 */
.badge {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

/* 스킨 모드 버튼 */
.split.skin .badge.enter {
    background: #4a69bd;
    color: #ffffff;
}
.split.skin:hover .badge.enter {
    background: #3b5998;
    transform: translateY(-2px);
}

/* 머슬 모드 버튼 */
.split.muscle .badge.enter {
    background: #ff4757;
    color: #ffffff;
}
.split.muscle:hover .badge.enter {
    background: #ee5253;
    transform: translateY(-2px);
}

/* 토스트 알림창 스타일 (혹시 모를 대비) */
#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}