/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body의 기본 스타일 (라이트 모드) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 컨테이너를 화면 가운데 정렬 */
.container {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
    transition: color 0.3s ease;
}

/* 토글 버튼 스타일 */
.toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

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

.toggle-btn .icon {
    font-size: 1.5rem;
}

/* 다크 모드 스타일 */
body.dark-mode {
    background-color: #1a1a2e;
    color: #eee;
}

body.dark-mode .container {
    background: #16213e;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode h1 {
    color: #eee;
}

body.dark-mode p {
    color: #aaa;
}

body.dark-mode .toggle-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

body.dark-mode .toggle-btn:hover {
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
}
