/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    width: 100%;
    height: 100%;
}
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 메인 비주얼 풀스크린 섹션 */
.main-visual-fullscreen {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../images/main-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 메인 비주얼 오버레이 효과 */
.main-visual-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 메인 콘텐츠 스타일 */
.main-content {
    padding: 2rem 0;
    min-height: 100vh;
    color: white;
    width: 100%;
}

/* 메인 디자인 영역 */
    .main-design {
        text-align: center;
        margin-bottom: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* 헤더 로고 컨테이너 */
.header-logo-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.header-logo-image {
    height: 80vh;
    width: auto;
    max-width: 90vw;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
    object-fit: contain;
}

.header-logo-image:hover {
    transform: scale(1.05);
}

.design-images {
    display: none; /* 완전히 숨김 */
}

.image-placeholder {
    display: none; /* 완전히 숨김 */
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.scroll-to-form-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border: none;
    border-radius: 15px;
    padding: 2rem 4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-top: 43rem;
    width: 95%;
    max-width: 600px;
    min-height: 80px;
    position: relative;
    z-index: 20;
}

.scroll-to-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #ff7676 100%);
}

.btn-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* 신청 섹션 풀스크린 */
.application-section-fullscreen {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../images/form-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 신청 섹션 오버레이 효과 */
.application-section-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 신청 섹션 */
.application-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

/* 상승구간 포착 섹션 */
/* 상승구간 포착 섹션 오버레이 효과 */
.rising-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.rising-section {
    background: transparent;
    background-image: url('../images/3-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* 상승구간 포착 섹션 오버레이 효과 */
.rising-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.rising-header {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.rising-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.rising-title-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) brightness(1.2) contrast(1.3);
    position: relative;
    z-index: 3;
}

.rising-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rising-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.rising-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    z-index: 1;
}

.rising-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.2);
}

.rising-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.rising-item p {
    color: #34495e;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.application-header {
    text-align: center;
    margin-bottom: 2rem;
}



.application-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: visible;
    line-height: 1.3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.animated-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInFromBottom 1s ease-out 0.5s forwards;
}

.title-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-red {
    color: #ff6b6b;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 30px rgba(255, 107, 107, 0.6);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.application-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}



.red-highlight {
    color: white;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}





/* 신청 폼 스타일 */
.application-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}

.form-group select option {
    background: #333;
    color: white;
}

.privacy-agreement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.privacy-agreement input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-button {
    padding: 1rem 2rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #ff5252;
}

/* 문제점 섹션 */
.problem-section {
    background: white;
    padding: 5rem 0;
}

.problem-section h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 3rem;
    color: #333;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.problem-item p {
    color: #666;
    line-height: 1.6;
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 0;
}



section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 후기 섹션 */
.reviews-section {
    background: white;
    padding: 5rem 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.reviews-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInFromBottom 1s ease-out 0.5s forwards;
}

.title-main {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.title-highlight {
    font-size: 3rem;
    font-weight: 900;
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-avatar {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.avatar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-icon:hover {
    transform: scale(1.1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.review-header h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.header-content h3 {
    margin-bottom: 0;
    flex: 1;
    text-align: left;
}

.review-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.user-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.user-age {
    color: #666;
}

.user-investment {
    color: #ff6b6b;
    font-weight: 500;
}

.review-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}



/* 4번째 섹션 */
.fourth-section {
    width: 100%;
    height: 110vh;
    background-image: url('../images/4-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* 모바일 전용 이미지 - 기본적으로 숨김 */
.fourth-section-mobile-img {
    display: none;
}

.fourth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.fourth-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 신청현황 섹션 */
.applications-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.applications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.applications-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    z-index: 2;
}

.applications-list {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.application-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    animation: slideInFromRight 0.5s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.application-item:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* 새로운 신청자 애니메이션 */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 새로운 신청자 하이라이트 효과 */
.application-item.new-application {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    animation: newApplicationPulse 2s ease-out;
}

@keyframes newApplicationPulse {
    0% {
        background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
        transform: scale(1);
    }
    50% {
        background: linear-gradient(135deg, #ff5252, #ff7676);
        transform: scale(1.02);
    }
    100% {
        background: white;
        transform: scale(1);
    }
}

.new-application .applicant,
.new-application .status {
    color: white;
}

.new-application.animation-complete .applicant,
.new-application.animation-complete .status {
    color: #333;
}

.applicant {
    color: #333;
    font-weight: 500;
}

.status {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 0.9rem;
}

.status.completed {
    color: #28a745;
}

/* 잠금 아이콘 스타일 */
.lock-icon {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.lock-icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.lock-icon:active {
    transform: scale(0.95);
}



/* 푸터 스타일 */
.footer {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.footer:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7676 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



/* 반응형 디자인 */
@media (max-width: 768px) {
    .header-logo-container {
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .header-logo-image {
        height: 100vh;
        width: 100vw;
        max-width: 100vw;
        object-fit: contain;
        transform: scale(2.0);
    }
    
    .main-visual-fullscreen {
        height: 100vh; /* 전체 화면 높이 */
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-content {
        padding: 0;
        height: 100vh;
        color: white;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    
    .design-images {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .image-placeholder {
        width: 150px;
        height: 100px;
    }
    
    .application-header h1 {
        font-size: 1.6rem;
        white-space: nowrap;
        line-height: 1.4;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .animated-title {
        font-size: 1.8rem;
    }
    
    .application-form {
        margin: 0 1rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .reviews-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .avatar-icon {
        width: 50px;
        height: 50px;
    }
    
    .header-content {
        gap: 0.8rem;
    }
    
    .header-content h3 {
        font-size: 1rem;
    }
    
    .user-info {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .review-card {
        padding: 2rem;
    }
    

    
    .applications-list {
        margin: 0 1rem;
    }
    
    .fourth-section {
        width: 100%;
        height: auto;
        background-image: none;
        background-color: transparent;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: auto;
    }
    
    .fourth-section-mobile-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin: 0;
        padding: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .back-to-top {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .scroll-to-form-btn {
        width: 95%;
        padding: 1.5rem 1rem;
        min-height: 70px;
        border-radius: 15px;
        max-width: 500px;
        margin-bottom: 2rem;
        position: relative;
        z-index: 20;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-text {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    /* 상승구간 포착 섹션 모바일 최적화 */
    .rising-section {
        padding: 3rem 0;
    }
    
    .rising-header h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .rising-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem;
    }
    
    .rising-item {
        padding: 2rem 1.5rem;
    }
    
    .rising-item h3 {
        font-size: 1.5rem;
    }
    
    .rising-item p {
        font-size: 0.9em;
    }
}