/* 전체 레이아웃 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* 우측 상단 로그인 영역 */
.top-right-login {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 1000;
}

.login-trigger {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    user-select: none;
}

.login-trigger:hover {
    background: rgba(156, 175, 136, 0.15);
    color: #9CAF88;
}

/* 드롭다운 메뉴 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    overflow: hidden;
    display: none;
    animation: dropdownFadeIn 0.2s ease;
}

.dropdown-menu.show {
    display: block;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 14px 20px;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f8f8;
}

.dropdown-item:active {
    background: #e8e8e8;
}

.container {
    width: 85%;
    max-width: 900px;
    max-height: 85vh;
    padding: 0;
}

.landing-box {
    background: white;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* 타이틀 섹션 */
.title-section {
    text-align: center;
    margin-bottom: 30px;
}

.app-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.app-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* 버튼 섹션 */
.button-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

/* 웹 환경 경고 */
.web-warning {
    font-size: 0.7rem;
    color: #e74c3c;
    text-align: center;
    margin: -5px 0 5px 0;
    line-height: 1.5;
    font-weight: 500;
}

/* 공통 버튼 스타일 */
button {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

/* 시작하기 버튼 (Primary) */
.primary-btn {
    background: white;
    color: #9CAF88;
    border: 2px solid #9CAF88;
}

.primary-btn:hover {
    background: #9CAF88;
    color: white;
}

/* 다운로드 버튼 (Secondary) */
.secondary-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #718096;
    background: white;
    color: #718096;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.secondary-btn:hover {
    background: #718096;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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


/* 사용 방법 섹션 */
.guide-section {
    margin-top: 30px;
    padding: 25px;
    background: #fafafa;
    border-radius: 12px;
}

.guide-title {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide-line {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.guide-line strong {
    color: #9CAF88;
    font-weight: 600;
    margin-right: 8px;
}

/* 반응형 */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .landing-box {
        padding: 40px 30px;
    }

    .app-title {
        font-size: 2rem;
    }

    button {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .top-right-login {
        top: 20px;
        right: 20px;
    }
}

