
/* ==============================
   1. CSS 변수 및 기본 설정
   ============================== */
:root {
    --bg-color: #fcfcfc;
    --text-color: #333333;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --primary-color: #7db4e6; /* 쿠모 블루 */
}

/* 다크 모드일 때 적용될 색상 */
body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --card-bg: #2d2d2d;
    --card-shadow: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

a { text-decoration: none; color: inherit; }

/* ==============================
   2. [중요] 헤더 다크모드 고치기
   ============================== */
/* 다크모드 상태일 때 헤더의 링크와 아이콘을 흰색으로 변경 */
body.dark-mode .non-login-header .nav-menu a,
body.dark-mode .non-login-header .icon-btn {
    color: #ffffff !important;
}

/* ==============================
   3. 메인 컨텐츠 레이아웃
   ============================== */
.home-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* [추가] 고정 헤더 높이만큼 여백 확보 */
    padding-bottom: 60px;
}

/* [수정] 헤더 다크모드 강제 코드는 이제 NonLoginHeader.css에서 변수로 처리하므로 삭제하거나 정리합니다. */
body.dark-mode .non-login-header {
    background-color: transparent; /* 투명 유지 확인 */
}

.cloud-img {
    width: 120px;
    height: auto;
    opacity: 0.8;
}

/* 텍스트 그룹 */
.text-group h1 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-color);
}

.text-group p {
    font-size: 16px;
    margin-bottom: 50px;
    color: var(--text-color);
    opacity: 0.7;
}

/* ==============================
   4. [중요] 버튼 복구하기
   ============================== */
.button-group {
    display: flex;
    gap: 20px;
}

/* 카드 버튼 공통 스타일 */
.card-btn {
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    background-color: var(--card-bg);
    box-shadow: 0 4px 10px var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-btn:hover {
    transform: translateY(-5px);
}

/* 파란색 버튼 (강제 색상 적용으로 복구) */
.card-btn.primary {
    background-color: #7db4e6 !important;
    color: white !important;
    border: none;
}

/* 흰색 버튼 */
.card-btn.secondary {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid #eee;
}

/* 다크모드일 때 흰색 버튼 테두리 조정 */
body.dark-mode .card-btn.secondary {
    border-color: #444;
}

/* 버튼 내부 텍스트 */
.btn-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
}

.btn-text small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.7;
}