#proleague_top{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 4rem);
    background: #CFE6FF;
    padding: 0 clamp(1rem, 3vw, 3rem);
    box-sizing: border-box;
}

.proleague_top_title{
    font: 700 clamp(1.5rem, 3vw, 3rem)/1.4 'Pretendard';
    color: #000;
    text-align: center;
    word-break: keep-all;
}   

#proleague_top > img{
    width: clamp(300px, 50vw, 800px);
    height: auto;
    object-fit: contain;
}   

.proleague_top_txt{
    width: 100%;
    min-height: clamp(250px, 40vh, 408px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(240,247,255);
    background: linear-gradient(0deg, rgba(240,247,255,1) 100%, rgba(255,255,255,0) 100%);
    box-sizing: border-box;
    padding: clamp(1rem, 2vw, 2rem);
}

.proleague_top_txt_title{
    font: 600 clamp(1rem, 1.75vw, 28px)/1.7 'Pretendard';
    color: #000;
    text-align: center;
    word-break: keep-all;
    max-width: 90%;
}

#intro {
    position: relative;
    width: 100%;
    height: auto;
    background: #F2F9FF;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.intro_text_wrap{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    padding: 3vh 3vw;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.intro_text{
    height: 25vh;
    display: flex;
    gap: 2vw;
    align-items: center;
}

.intro_text_title {
    font: 600 20vh 'Pretendard';
    color: #473DC6;
    white-space: nowrap;
}

/* 이미지 공통 스타일 */
.intro_text img {
    border-radius: 1vh;
    object-fit: cover;
}

/* 가로가 긴 이미지 */
.intro_text_img1,
.intro_text_img3-1,
.intro_text_img4 {
    width: 35vw;
    height: 25vh;
}

/* 정사각형 이미지 */
.intro_text_img2,
.intro_text_img3-2 {
    width: 25vh;
    height: 25vh;
}

#info {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #CFE6FF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4vh;
    box-sizing: border-box;
    padding: 3vh 3vw;
}

.imgbox {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vh;
    width: 80vw;
    height: 50vh;
    background: url('/starbattle/images/proleague_imgbox.png') no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    padding: 2vh 2vw;
}

.imgbox_title {
    font: 700 clamp(1.5rem, 3vw, 40px)/1.2 'Pretendard';
    color: #000;
    text-align: center;
    word-break: keep-all;
}

.imgbox_text {
    font: 400 clamp(1rem, 1.5vw, 20px)/1.2 'Pretendard';
    color: #000;
    text-align: center;
    word-break: keep-all;
    width: 90%;
}

.icon_wrap {
    display: flex;
    gap: 4vw;
    flex-wrap: wrap;
    justify-content: center;
}

.icon_wrap > li {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 1vw;
    font: 600 clamp(1rem, 1.5vw, 20px) 'Pretendard';
    color: #473DC6;
}

.icon_wrap > li > img {
    width: clamp(25px, 3vw, 40px);
    height: auto;
    aspect-ratio: 40/43;
}

#battlesystem{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background: #CFE6FF;
    padding: 0 2.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

.battlesystem_title_wrap{
    position: relative;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.battlesystem_title_en{
    font:700 2.25rem 'Pretendard';
    color: #473DC6;
}   

.battlesystem_title_ko{
    font:400 1.25rem 'Pretendard';
    color: #473DC6;
}

.diagram{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    z-index: 2;
}

.line_wrap{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: 2px;
    background: #473DC6;
    z-index: 1;
}

.diagram_1_wrap,
.diagram_2_wrap{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    z-index: 3;
}

.diagram_1_wrap{
    background: #fff;
}

.diagram_2_wrap{
    background: #473DC6;
}

.diagram_1_title_en,
.diagram_2_title_en{
    font:700 1.25rem 'Pretendard';
    margin-bottom: 0.25rem;
}

.diagram_1_title_ko,
.diagram_2_title_ko{
    font:500 1rem 'Pretendard';
    margin-bottom: 0.5rem;
}

.diagram_list_white,
.diagram_list_black{
    font:400 0.875rem 'Pretendard';
    text-align: center;
    line-height: 1.4;
}

.diagram_1_wrap .diagram_1_title_en,
.diagram_1_wrap .diagram_1_title_ko,
.diagram_1_wrap .diagram_list_white{
    color: #000;
}

.diagram_2_wrap .diagram_2_title_en,
.diagram_2_wrap .diagram_2_title_ko,
.diagram_2_wrap .diagram_list_black{
    color: #fff;
}

.red {
    color: #FF0000;
}

#leveling{
    position: relative;
    width: 100%;
    height: 120vh;
    background: #CFE6FF;
    padding-left: 2.5rem;
    padding-bottom: 5rem;
    box-sizing: border-box;
}

.leveling_title_wrap{
    position: relative;
    top: 10rem;
    display: flex;
    flex-direction: column;
}

.leveling_title_en{
    font:700 2.25rem 'Pretendard';
    color: #473DC6;
    margin-bottom: 0.5rem;
}

.leveling_title_ko{
    font:400 1.25rem 'Pretendard';
    color: #473DC6;
    margin-bottom: 3.75rem;
}

.leveling_text{
    font:400 1rem 'Pretendard';
    color: #473DC6;
}

#leveling > img{
    position: absolute;
    top: 12rem;
    right: -8rem;
    width: 90vw;
    height: 80vh;
    padding-left: 2.5rem;
    box-sizing: border-box;
    object-fit: contain;
}

.leveling_mobile_images {
    display: none;
}

.level_img {
    width: 100%;
    height: 280px;  /* 모든 이미지 높이 고정 */
    object-fit: contain;  /* 비율 유지하면서 크기 맞춤 */
    margin: 0 auto;
}

#ad{
    position: relative;
    width: 100%;
    height: 120vh;
    background: #CFE6FF;
    padding-left: 2.5rem;
    padding-bottom: 5rem;
    box-sizing: border-box;
}

.ad_title_wrap{
    position: relative;
    top: 10rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ad_title_en{
    font:700 2.25rem 'Pretendard';
    color: #473DC6;
    margin-bottom: 0.5rem;
}

.ad_title_ko{
    font:400 1.25rem 'Pretendard';
    color: #473DC6;
    margin-bottom: 3.75rem;
}

#ad > img{
    position: absolute;
    top: 12rem;
    right: -8rem;
    width: 90vw;
    height: 80vh;
    padding-left: 2.5rem;
    box-sizing: border-box;
    object-fit: contain;
}

.ad_pc_img {
    display: block;
    width: 100%;
    height: auto;
}

.ad_mobile_images {
    display: none;
}

.ad_img {
    width: 100%;
    height: 280px;  /* 모든 이미지 높이 고정 */
    object-fit: contain;  /* 비율 유지하면서 크기 맞춤 */
    margin: 0 auto;
}

#end{
    position: relative;
    width: 100%;
    height: 97.75rem;
    background: #CFE6FF;
    box-sizing: border-box;
}   

.end_title{
    position: relative;
    top: 17.5rem;
    font:700 3.125rem/1.5 'Pretendard';
    color: #473DC6;
    padding-left: 2.5rem;
}

#end > img{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 47vw;
    height: 67%;
    object-fit: cover;
}

#policy {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    padding: 10vh 2vw 10vh;
    box-sizing: border-box;
    background: #CFE6FF;
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    align-items: center;
}

.policy_title {
    font: 700 clamp(1.5rem, 2.25vw, 2.25rem) 'Pretendard';
    color: #473DC6;
    margin-bottom: 5vh;
    margin-left: 2.5rem;
    align-self: flex-start;

}

.policy_img {
    display: block;
    max-width: 85%;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}



#producing{
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/starbattle/images/producing_bg.png') no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.producing_txtbox{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    gap: clamp(15px, 2vh, 30px);
    gap: 20px;
}

.producing_txtbox_title{
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: clamp(32px, 5vw, 60px); /* 반응형 폰트 크기 */
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.producing_txtbox_txt{
    font-family: 'Pretendard';
    font-weight: 300;
    font-size: clamp(16px, 2vw, 20px); /* 반응형 폰트 크기 */
    line-height: 1.5;
    color: #fff;
    text-align: center;
    max-width: 90%; /* 텍스트 최대 너비 */
}

.semibold{
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: clamp(16px, 2vw, 20px); /* 반응형 폰트 크기 */
}


@media screen and (max-width: 768px) {
    .proleague_top_txt_title br {
        display: none;  /* 모바일에서는 자동 줄바꿈 */
    }
    
    .proleague_top_txt {
        min-height: clamp(200px, 30vh, 300px);
    }

    .intro_text_title {
        font-size: 10vh;
    }

    .intro_text {
        height: 20vh;
    }

    /* 모바일에서의 이미지 크기 */
    .intro_text_img1,
    .intro_text_img3-1,
    .intro_text_img4 {
        width: 60vw;
        height: 20vh;
    }

    .intro_text_img2,
    .intro_text_img3-2 {
        width: 20vh;
        height: 20vh;
    }

    .imgbox {
        width: 90vw;
        height: 60vh;
    }

    .icon_wrap {
        gap: 3vh 5vw;
    }

    .icon_wrap > li {
        min-width: 40%;
        justify-content: center;
    }

    .imgbox_title br,
    .imgbox_text br {
        display: none;  /* 모바일에서 자동 줄바꿈 */
    }

    #battlesystem {
        height: auto;
        min-height: 100vh;
        padding: 2rem;
    }

    .battlesystem_title_wrap {
        top: 3rem;
        margin-bottom: 4rem;
    }

    .battlesystem_title_en {
        font-size: 2.5rem;  /* 3rem → 2.5rem */
    }

    .battlesystem_title_ko {
        font-size: 1.7rem;  /* 2rem → 1.7rem */
        margin-bottom: 1.5rem;
    }

    .diagram {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        gap: 3rem;
        margin: 5rem 0;
        padding: 0;
    }

    .diagram_1_wrap,
    .diagram_2_wrap {
        width: 16rem;
        height: 16rem;
    }

    .diagram_1_title_en,
    .diagram_2_title_en {
        font-size: 1.8rem;  /* 2.2rem → 1.8rem */
    }

    .diagram_1_title_ko,
    .diagram_2_title_ko {
        font-size: 1.5rem;  /* 1.8rem → 1.5rem */
    }

    .diagram_list_white,
    .diagram_list_black {
        font-size: 1.3rem;  /* 1.6rem → 1.3rem */
    }

    .line_wrap {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 100%;
        background: #473DC6;
        z-index: 1;
        display: block;
    }

    #leveling {
        height: auto;
        min-height: 300vh;
        padding: 2rem;
    }

    .leveling_title_wrap {
        top: 3rem;
        margin-bottom: 4rem;
    }

    .leveling_title_en {
        font-size: 2.5rem;
    }

    .leveling_title_ko {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    .leveling_text{
        font-size: 1.2rem;
    }

    #leveling > img {
        display: none;
    }

    .leveling_pc_img {
        display: none;
    }

    .leveling_mobile_images {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;  /* 간격 증가 */
        box-sizing: border-box;
        width: 100%;
        box-sizing: border-box;
    }

    .level_img {
        width: 100%;
        height: auto;
    }

    #ad {
        height: auto;
        min-height: 300vh;
        padding: 2rem;
    }

    .ad_title_wrap {
        top: 3rem;
        margin-bottom: 4rem;
    }

    .ad_title_en {
        font-size: 2.5rem;
    }

    .ad_title_ko {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    #ad > img {
        display: none;
    }

    .ad_mobile_images {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;  /* 간격 증가 */
        box-sizing: border-box;
        width: 100%;
        box-sizing: border-box;
    }

    .ad_img {
        width: 100%;
        height: auto;
    }

    #end {
        height: auto;
        padding-top: 4rem;
    }

    .end_title {
        position: absolute;
        top: 5rem;
        font-size: 1.2rem;
        margin-bottom: 2rem;
        padding-left: 1rem;
    }

    #end > img {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 2rem;
    }

    #policy {
        position: relative;
        width: 100%;
        height: auto;
        overflow-x: auto; /* 가로 스크롤 활성화 */
        padding: 10vh 1vw 5vh; /* 좌우 패딩 약간 유지 */
        box-sizing: border-box;
        display: none;
    }

    #producing {
        height: auto; /* 높이 자동 조정 */
        min-height: 100vh; /* 최소 높이 설정 */
        padding: 50px 0; /* 상하 패딩 추가 */
    }
    
    .producing_txtbox {
        width: 95%;
        gap: 15px;
    }
    
    .producing_txtbox_txt {
        max-width: 100%;
    }
}

















