/* 섹션 1 스타일 */
.section1-container {
    width: 100%;
    height: 100vh;
    background: linear-gradient(-45deg, #30267E, #3521A6, #5C2DD5, #7B3FFF, #9D59FF, #30267E);
    background-size: 500% 500%;
    animation: aurora 6s ease-in-out infinite;
    display: flex;
    align-items: center; /* 세로 가운데 정렬 */
    padding: clamp(140px, 18vh, 200px) clamp(25px, 12.5vw, 240px);
    position: relative;
    overflow: hidden;
}

.section1-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(157, 89, 255, 0.4) 0%, 
        rgba(123, 63, 255, 0.3) 25%, 
        rgba(92, 45, 213, 0.2) 50%, 
        rgba(157, 89, 255, 0.5) 75%, 
        rgba(92, 45, 213, 0.3) 100%);
    background-size: 400% 400%;
    animation: auroraOverlay 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes auroraOverlay {
    0% {
        background-position: 0% 0%;
        opacity: 0.7;
    }
    25% {
        background-position: 100% 100%;
        opacity: 0.9;
    }
    50% {
        background-position: 0% 100%;
        opacity: 0.5;
    }
    75% {
        background-position: 100% 0%;
        opacity: 0.8;
    }
    100% {
        background-position: 0% 0%;
        opacity: 0.7;
    }
}

.section1-content {
    width: 100%;
    max-width: 82vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: clamp(30px, 5vw, 80px);
    margin-top: clamp(80px, 6vh, 140px);
}

.left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 4vw, 64px);
}
.section1-container .left-content-text {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
    gap: clamp(20px, 4vw, 40px);
    min-width: clamp(300px, 26vw, 500px);
}

/* 섹션1 텍스트 중앙정렬 */
.section1-container .left-content-text .title,
.section1-container .left-content-text .description,
.section1-container .left-content-text .small-text {
    text-align: center;
}

/* 투자 주의사항 텍스트 */
.notice-text {
    font-size: clamp(12px, 1.2vw, 20px);
    font-weight: 400;
    line-height: clamp(18px, 2vw, 36px);
    text-align: center;
    color: white;
    white-space: nowrap;
}

.notice-text .mobile-break::before {
    content: none;
}

/* 기존 개별 클래스들 제거 - 이제 공통 .title, .description 클래스 사용 */

.button-group {
    display: flex;
    flex-direction: row;
}

.button-group a {
    width: 50%;
    display: flex;
}

/* 버튼 그룹 스타일 */
.download-btn {
    width: 100%;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* 오른쪽 핸드폰 이미지 스타일 */
.phones-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(15px, 1.5vw, 30px);
}

.phone-img {
    width: clamp(220px, 25vw, 350px);
    height: clamp(440px, 50vw, 700px);
    object-fit: contain;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .section1-container {
        width: 100%;
        padding: 100px 25px !important;
        flex-direction: column;
        justify-content: center;
        gap: 40px !important;
    }
    
    .section1-content {
        width: 100%;
        flex-direction: column;
        gap: 40px;
    }
    
    .left-content {
        width: 100%;
        max-width: none;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    .left-content-text {
        gap: 20px;
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }
    
    /* Section1 모바일 텍스트 가운데 정렬 강제 적용 */
    .left-content-text .title {
        text-align: center !important;
        align-self: center !important;
        margin: 0 auto !important;
    }
    
    .left-content-text .description {
        text-align: center !important;
        align-self: center !important;
        margin: 0 auto !important;
    }
    
    /* 모바일 주의사항 텍스트 */
    .notice-text {
        font-size: 12px;
        line-height: 18px;
        text-align: center;
        white-space: normal;
    }
    
    .notice-text .mobile-break::before {
        content: '\A';
        white-space: pre;
    }
    
    .button-group {
        width: 100%;
        justify-content: center;
        gap: 10px;
        flex-direction: row !important;
        display: flex !important;
    }
    
    .button-group a {
        width: 135px !important;
        height: auto;
        display: block !important;
        flex: none !important;
    }
    
    .download-btn {
        width: 135px !important;
        height: auto;
    }
    
    .phones-container {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    
    .phone-img {
        width: auto;
        max-width: 140px;
        height: auto;
        max-height: min(320px, 40vh);
        object-fit: contain;
    }
}

