*:focus {
    outline: none;
}

button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent; /* iOS, Android */
    outline: none;
}
   
   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Pretendard', sans-serif;
        }


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    width: 100%;
}

.header img {
    /* height: 40px; */ 
}

.header_1 {flex: 3; padding: 0px 0px 0px 0px; justify-content: space-between;  display: flex;}
.header_2 {flex: 1; padding: 20px 20px 0px; margin-left: 20px;}


        .container {
            /* display: flex; */
            width: 100%;
            height: auto;
            padding: 0px;
        }

.main {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    margin-right: 0px;
}

.main.main-guest {
    padding: 30px 0px 30px;
}

.main.main-logged-in {
    padding: 30px 0px 0px;
}

.main video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(-1, -1); /* 상하좌우 반전 */
    z-index: -1;
}

        .main-content {
            position: relative;
            z-index: 1;
            padding: 20px;
            color: white;
            border-radius: 20px;
        }

        .sidebar {
            flex: 1;
            background-color: white;
            padding: 20px;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            margin-left: 20px;  overflow: hidden;
        }

        .countdown-container {
            position: absolute;
            top: -7px;
            right: -7px;
            width: 140px;
            height: 140px;
        }

        .countdown-svg {
            transform: rotate(-90deg);
        }

        .countdown-circle {
            fill: none;
            stroke-width: 10;
        }

        .countdown-progress {
            fill: none;
            stroke: #000;
            stroke-width: 10;
            stroke-linecap: round;
            stroke-dasharray: 314;
            transition: stroke-dashoffset 1s ease-in-out;
            opacity: 0.2;
        }

        .countdown-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 20px;
            font-weight: bold;
            color: #b165c8;
        }


		.dday-bar-wrapper {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: 'Pretendard', sans-serif;
  margin-top: 20px;
}

.dday-label {
  color: #6f7fff;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

.dday-progress-bar {
  flex: 1;
  height: 10px;
  background-color: #d0d7ff;
  border-radius: 10px;
  overflow: hidden;
}

.dday-progress-fill {
  height: 100%;
  background-color: #7c88ff;
  width: 0%;
  transition: width 0.4s ease;
}


        .top_right {
            position: absolute;
            top: -1px;
            right: -1px;
        }

       /* 상단 네비게이션 바 */
        .navbar {
            display: flex;
            align-items: center;
            gap: 30px;
            padding: 10px 30px;
            position: relative;
        }

       /* 홈 버튼 (처음에는 숨김) */
        .home-button {
           display:none;
        }

        .home-button i {
            color: #fff;
            font-size: 18px;
        }

        /* 네비게이션 버튼 */
        .nav-button {
            background: white;
            border: none;
            border-radius: 50px;
            padding: 10px 20px;
           /*  font-size: 16px; */
            font-weight: bold;
            color: #7a3fd7;
            display: flex;
            align-items: center;
            justify-content: space-between;
           /*  width: clamp(100px, 9vw, 200px); */
		    width: clamp(80px, 9vw, 160px);  /* 최소, 기본(9vw), 최대 너비 */
  font-size: clamp(14px, 1.2vw, 18px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            font-family: 'Pretendard', sans-serif;
        }

        /* 아이콘 스타일 */
        .nav-button span {
            margin-left: auto;
            font-size: 30px;
            font-weight: 100;
            transition: transform 0.3s ease-in-out;
        }

        /* 클릭 시 활성화된 버튼 스타일 */
        .nav-button.active {
            background: #7a3fd7;
            color: white;
        }

        /* 클릭된 버튼의 아이콘 변경 */
        .nav-button.active span {
            /* transform: rotate(180deg); */
font-size: 16px;
    padding: 8px 0px;
        }

        .nav-button:hover {
            background: #7a3fd7;
            color: white;
        }


.nav-icon {
    width: 12px; /* 아이콘 크기 조절 */
    height: 12px;
    margin-left: 8px; /* 아이콘과 텍스트 간격 조절 */
    vertical-align: middle;
}





.colored-text {
    font-size: 48px;
    font-weight: 900;
    font-family: "Pretendard", sans-serif;
    display: inline-block;
    background: url("images/top_t2.svg"); /* SVG 배경 */
    background-size: cover;
    background-clip: text; /* 텍스트 부분만 배경이 보이도록 */
    -webkit-background-clip: text;
    color: transparent; /* 텍스트 색상을 투명하게 설정 */
}

.main_text {padding:0px 30px;}
.main_top_t1 {font-size:1.5vw; padding:3vw 0px 0px; background: linear-gradient(90deg, #448de5, #000092, #a062b5); /* 왼쪽 → 오른쪽 그라데이션 */
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;  display: inline-block;}
.main_top_t2 {font-size:2.3vw; line-height:3vw; padding: 0px 0px;font-weight: 600; background: linear-gradient(90deg, #6200b6, #0000b6, #000092, #8000a5);
    background-clip: text;  -webkit-background-clip: text;  -webkit-text-fill-color: transparent;  display: block;}
.main_top_t3 {font-size:74px; padding:0px 0px;}
#t3 {font-size:4vw; font-weight: 600; line-height: 6vw;}

.info-section {
    
    border-radius: 20px;
    padding: 10px 30px;
    width: 80%;
    max-width: 800px;
   
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
    font-family: 'Pretendard', sans-serif;
}

.info-title {
    font-weight: bold;
    color: #2312A0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 14px;
    margin-right: 20px; width: 100px;
    text-align: center;     font-weight: 400;
}

.info-title2 {
    font-weight: bold;
    color: #2312A0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 14px;
    margin-right: 20px;
    /* width: 230px; */
	width: 190px;
    text-align: center;
    display: flex; justify-content: space-between;
    align-items: center;     font-weight: 400;
}

.info-content {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #6200b6, #0000b6, #000092, #8000a5);
    -webkit-background-clip: text;     font-weight: 400;
    background-clip: text;
    color: transparent;
}



.arrow-icon {
    background: white;
    border-radius: 50%;
    padding: 5px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    color: #666;
    margin-left: 10px;
}

.left-m40 {margin-left:40px;}
.diagonal-arrow {
    width: 30px;
    height: 30px;
    background: #b6cde3;
    border-radius: 50%;
    position: relative;
   color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}


.timeline-container {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    padding: 40px 20px;
    position: relative;
    width: 100%;
    max-width: 1100px;
gap:30px;
    
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}


.timeline-container2 {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    padding: 30px 20px 10px;
    position: relative;
    width: 100%;
    max-width: 1100px;
gap:30px;
    
}

.timeline-container2::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}



.timeline-stage {
    position: relative;
    text-align: center;
    z-index: 2;
}

.stage-circle {
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 42px;
    font-size: 12px;
    font-weight: bold;
    color: #666;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.line-connector {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.stage-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
   
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
   
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.event {
   
    padding: 10px 10px;
    text-align: center;
  
    /* min-width: 130px; */
    position: relative;
    overflow: hidden;
}

.event:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: rgba(255, 255, 255, 0.2);
    border-left: 1px dashed rgba(255, 255, 255, 0.3);
}

.event-date {
    font-size: 15px;
    font-weight: bold;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 8px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); width:110px; font-weight:400;
}

.event-place {
    font-size: 14px;
    color: #4a4a4a;
    margin-top: 5px;
}

.event-place2 {
    font-size: 13px; margin-top: 4px;
    color: #4a4a4a;
    background: rgba(255, 255, 255, 0.4);
    padding: 5px 8px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); width:110px; font-weight:400;
}


/* 검색창 */
        .search-bar {
            display: flex;
            align-items: center; flex-direction: row-reverse;
            background: #f0f0f0;
            border-radius: 15px; 
            padding: 20px 15px;    
        }

        .search-bar input {
            border: none;
            background: none;
            outline: none;
            font-size: 16px;
            width: 100%;
            padding-left: 10px;
        }

        .search-bar i {
            font-size: 18px;
            color: #666; cursor:pointer;
        }

        /* 비디오 섹션 */
        /* 비디오 섹션 */
        .left-video-section {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }



.left-video-t-section {display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px 0px;}

       .left-video-section h3 {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    
}

.left-video-t-section h4 {font-size: 14px; font-weight:300;}

        .left-video-card {
            display: flex;
            align-items: center;
            gap: 10px;
            
            padding: 6px 0px; 
         
            cursor: pointer;
        }

     /*    .video-card:hover {
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        } */

        .left-video-card img {
            width: 100%;
           /*  height: 60px; */
            border-radius: 10px;
        }

        .left-video-card .left-video-info {
            display: flex;
            flex-direction: column;
        }

        .left-video-card .left-video-info h4 {
            font-size: 14px;
            font-weight: bold;
            color: #333;
        }

        .left-video-card .left-video-info p {
            font-size: 12px;
            color: #666;
        }

        
   .scrollable-container {
        max-height: 77vh; /* 최대 높이 설정 */
        overflow-y: auto; /* 스크롤 가능 */
    }

    /* 비디오 카드 스타일 */
    .left-video-card {
        margin-bottom: 10px;
       /*  padding: 10px;
        background: #f5f5f5; */
        border-radius: 8px;
        text-align: center;
    }

    .left-video-card img {
        width: 100%;
        border-radius: 5px;
    }

.qa-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 4em;
    height: 4em;
    background: transparent linear-gradient(180deg, #E3E3E3 0%, #55AEF1 100%) 0% 0% no-repeat padding-box;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer; z-index:10;
    transition: all 0.2s ease-in-out; font-size:1.8em; font-weight:400;
}

.qa-button:hover {
    background: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.7);
}

/* .reg-button {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 4.5em;
    height: 4.5em;
    background: transparent linear-gradient(180deg, #E3E3E3 0%, #DC9CF3 100%) 0% 0% no-repeat padding-box;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center; text-align:center;
    justify-content: center;
   
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer; z-index:10;
    transition: all 0.2s ease-in-out; font-size:1.6em; font-weight:400;
}
 */
.max {background: url(../images/bak_v3.png) no-repeat center/cover #F0F4FC; width:100%;}
.video-container-wrap {  background: url(../images/bak_v3.png) no-repeat center/cover #F0F4FC; width:100%;}

.reg-button {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 4.5em;
    height: 4.5em;
    
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center; text-align:center;
    justify-content: center;
   
    font-weight: bold;
    /* color: rgba(255, 255, 255, 0.8);     */
	cursor: pointer; z-index:10;
    transition: all 0.2s ease-in-out; font-size:1.6em; font-weight:400;
}

.reg-button img {width:100%;}

.reg-button:hover {
    background: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.7);
}


.info_text {text-align:center; padding-top:0px;}
.info_t1 {font-size:1.8vw; padding:2vw 0px 0px; background: linear-gradient(90deg, #448de5, #000092, #a062b5); font-weight:700;
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;  display: inline-block;}

.info_t1_v2 {
    font-size: 1.8vw;
   
    background: linear-gradient(90deg, #448de5, #000092, #a062b5);
    font-weight: 400;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.info_t1_out {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info_t1_sub {
    margin-top: 6px;
    font-size: 1.2vw;
    line-height: 1.4;
     background: linear-gradient(90deg, #448de5, #000092, #a062b5);
    font-weight: 400;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
   

    text-align: center;
    font-weight: 400;
}

.info_t1_v3 {
    font-size: 1.8vw;
   
    background: linear-gradient(90deg, #448de5, #000092, #a062b5);
    font-weight: 400;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.info_t1_out {
    background: #FFFFFF3B 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF;
    border-radius: 25px;
    display: inline-block; /* 핵심! */
    margin: 1.6vw ; padding:4px 20px;
}
.custom-info-section {
            width: 100%;
            max-width: 1000px;
            margin: 10px 0px 0px;
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

		 .custom-info-section2 {
            width: 100%;
            max-width: 1000px;
            margin: 0px 0px;
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

        .custom-info-item {
            display: flex;
            align-items: center;
                margin: 10px 20px;
            border-radius: 50px;
			 background: rgba(255, 255, 255, 0.4);
           
           position: relative;
            font-size: 16px;
        }

		.custom-info-item2 {
            display: flex;
            align-items: start;
                margin: 10px 20px;
            border-radius: 50px;
			
           
           position: relative;
            font-size: 16px;
        }

        .custom-info-title {
            font-weight: bold;
            color: #7901C6;
            background: rgba(255, 255, 255, 0.7);
            padding: 8px 25px;
            border-radius: 20px;
            margin-right: 15px;
            white-space: nowrap;
            font-size: 1vw;
        }


        .custom-info-content {
            font-size: 0.9vw;
            color: #242424;
            font-weight: 400;
        }

		/* 타임라인 전체 컨테이너 */
.event-timeline{
    display: flex
;
    align-items: center;
    margin: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    font-size: 16px;
}
/* 개별 타임라인 항목 */
.event-timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 10px;
    border-radius: 20px;
    text-align: center;
    min-width: 140px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); height: 100px;
    justify-content: center;
}

.event_timeline-wrap {width: -webkit-fill-available;  display: flex;   justify-content: space-between;}

/* 첫 번째 진행일정 타임라인 스타일 */
.event-timeline-item.active {
    font-weight: bold;
    color: #7901C6;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 25px;
    border-radius: 20px;
    margin-right: 15px;
    white-space: nowrap;
    font-size: 1vw;
}

/* 타임라인 텍스트 */
.event-timeline-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* 날짜 스타일 */
.event-timeline-date {
    font-size: 12px;
    background: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    color: #666;
    margin-top: 5px;
}



		 /*  참가 신청 카드 컨테이너 */
        .apply-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            width: 100%;
    max-width: 1100px;
    padding: 20px 30px;
        }

        /*  개별 카드 */
        .apply-card {
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(15px);
            border-radius: 20px;
            padding: 10px 20px;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* gap: 10px; */
            position: relative;
        }

        /*  상단 주차 태그 */
        .week-tag {
    position: absolute;
    top: -18px;
    left: -18px;
    background: white;
    padding: 14px 7px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); */
    color: #555;
}

        /*  날짜 */
        .apply-date {
    background: rgba(255, 255, 255, 1);
    padding: 4px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    width: 100%;
    text-align: center; margin-bottom:10px;
}

        /*  로고 */
        .city-logo {
            /* width: 80px; */
            height: 35px;
            /* margin-top: 5px; */
        }

        /*  도시명 */
        .city-name {
            font-size: 20px;
            font-weight: bold;
            color: #222;
        }

        /*  모집 인원 */
        .apply-people {
            font-size: 16px;
            color: #12009b;
            font-weight: bold;
            /* margin-bottom: 10px; */  margin-bottom:10px;
        }

        /*  장소 정보 */
        .apply-location {
            background: rgba(255, 255, 255, 0.6);
            
            border-radius: 10px;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            width: 100%; padding: 8px 0px; height:45px;
            display: flex;
    justify-content: center;
    align-items: center;  margin-bottom:10px;
        }

        /*  신청 버튼 */
        .apply-button { text-decoration: none;
             background: linear-gradient(to right, #7856e7, #9e63e5, #8da6fb);
            color: white;
            font-size: 16px;
            font-weight: bold;
            padding: 8px 12px;
            width: 100%;
            border-radius: 10px;
            cursor: pointer;
			 position: relative;
            transition: all 0.3s ;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;     height: 45px;
           /*  margin-top: 10px; */

        }



        .apply-button:hover {
    filter: brightness(1.1); /* hover 시 살짝 밝아지는 효과 */color: white;
            font-size: 16px;
            font-weight: bold;
            padding: 8px 12px;
            width: 100%;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;     height: 45px;
}

        /*  버튼 아이콘 */
        .apply-button span {
            font-size: 18px; 
        }

		#span {
   font-size: 18px;
    position: absolute;
    right: 30px;
    transition: color 0.3s ease-in-out; /* 색상만 변경, 위치 변경 X */
}
		
.info-box {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 15px 25px;
    width: 100%;
    max-width: 1000px;
    margin: 20px 30px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-box ul {
    list-style: none; /* 기본 리스트 스타일 제거 */
    padding: 0;
    margin: 0;
}

.info-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-box ul li::before {
    content: "-"; /* 리스트 앞에 점 */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #666;
}


        .form-container {
          
            border-radius: 20px;
            padding: 60px 30px;
            width: 100%;
            max-width: 1100px; margin:0 auto;
        }

        /* 입력 필드 묶음 */
        .input-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            gap: 20px;
        }

        .input-group {
            display: flex;
            align-items: center;
            flex: 1;
            /* background: rgba(255, 255, 255, 0.3); */
            border-radius: 30px;
            /* padding: 5px; */
        }

		.input-group2 {
            display: flex;
            align-items: center;
            flex: 1;
            background: none;
            border-radius: 30px;
            /* padding: 5px; */
        }


        /* 큰 제목용 라벨 */
.input-group .section-title {
    background: #7a3fd7;
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    min-width: 120px;
    text-align: center;
    display: inline-block;
    margin-right: 40px;
}

        /* 큰 제목용 라벨 */
.input-group .section-title2 {
    background: none;
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    min-width: 120px;
    text-align: center;
    display: inline-block;
    margin-right: 40px;
}

/* 체크박스 라벨 */
.input-group .input-label {
    display: block;
    margin-top: 8px;
    font-size: 1em;
    color: #333; padding-right:20px;
}

        .input-group input {
            flex: 1;
            padding: 12px 10px;
            border: none;
            border-radius: 30px;
            /* background: transparent; */
			    background: #f0f0f0;
            color: #333;
            font-size: 1.1em;
            outline: none;
        }

        .input-group input::placeholder {
            color: rgba(0, 0, 0, 0.3);
        }

        /* 참가 형태 선택 */
        .participation-type {
            display: flex;
            justify-content: start;
            gap: 10px;
           /*  margin-bottom: 15px; */
        }

        .participation-button {
            padding: 3px 20px; margin-left: 12px;
            border-radius: 30px;
            /* border: 2px solid rgba(255, 255, 255, 0.5); */
            background: #acacac;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: 0.3s;
        }

        .participation-button.active {
            background: #7a3fd7;
            color: white;
            border-color: #7a3fd7;
        }

        /* 참가자명 입력 */
        .participant-name {
            display: none;
        }

        /* 개인정보 동의 */
    .privacy-section {
    background: #ededed;
   /*  padding: 15px; */
    border-radius: 20px;
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.privacy-header {
    display: flex;
       justify-content: space-between;
        /* align-items: flex-start;  */      align-items: center;
}

.privacy-title {
    font-size: 16px; height:auto;
    font-weight: bold; width: 280px;
    text-align: center;
    justify-content: center;
    color: #7a3fd7;
    padding: 16px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6); align-items: center; display:flex;
}
.left-group {
    display: flex; 
    gap: 10px; /* 1번과 2번 사이 간격 조절 */
}
.privacy-options  {
    /* padding-top: 16px; */
    display: flex
;
    flex-direction: column;
    /* margin-bottom: 0px; */
    justify-content: space-evenly;
    padding-left: 10px;
}

.privacy-options label {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    font-size: 14px;
    color: #333;
}

.privacy-options input {
    margin-right: 10px;
}


/* 커스텀 라디오 버튼 */
.custom-radio {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    cursor: pointer;

}

.custom-radio input {
    display: none;
}

.radio-mark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #bbb;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    transition: all 0.3s;
}

.custom-radio input:checked + .radio-mark {
    border-color: #7a3fd7;
    background: #7a3fd7;
}

.custom-radio input:checked + .radio-mark::after {
    content: "✔";
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toggle-button {
    width: 130px;
    margin-top: 0px;
    display: flex;
    align-items: center;
    background: rgba(204, 204, 204, 0.2);
    border-radius: 20px;
    border: 1px solid #fff;
    padding: 6px 6px 6px 14px;
    cursor: pointer;
    font-size: 14px;
    justify-content: space-between;
    color: #828282;
    font-weight: bold;
    transition: background 0.3s;
}

.toggle-button-div {
    margin-right: 10px;
}


.toggle-button2 {
   
   
    display: flex;
    align-items: center;
    background: none;
    border-radius: 20px;
    border: none;
   
    cursor: pointer;
    font-size: 14px;
    justify-content: space-between;
    color: #828282;
    font-weight: bold;
    transition: background 0.3s;
}

.toggle-button-div2 {
    position:absolute; right:10px;
}

/* .toggle-button:hover {
    background: rgba(255, 255, 255, 0.8);
} */
.toggle-icon {
    transition: transform 0.2s ease-in-out;
}

.rotated {
    transform: rotate(180deg);
}

.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* 숨김 콘텐츠 */
.privacy-content { /* height: 150px; */ height:auto;
    overflow: auto;
    display: none;
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    padding: 15px;
    /* background: rgba(255, 255, 255, 0.3); */
	background: #ededed;
    border-radius: 10px;
}

.right {display: flex
;
    /* justify-content: flex-start; */
    /* flex-wrap: wrap; */
    flex-direction: row-reverse;}

        /* 참가 등록 버튼 */
        .register-button {
            display: flex;
            justify-content: center;
            align-items: center;
            background: none;
            color: #5369f1;
            font-size: 18px;
            font-weight: bold;
           /*  padding: 15px 30px; */
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: 0.3s;
            width: 100%;
            max-width: 300px;
            margin: 30px 0px;
        }

      /*   .register-button:hover {
            background: #5a2dbd;
        } */

        .register-button span {
            margin-left: 10px;
        }
.info_logo {padding: 2vw 30px 0px; font-size: 2.5em; color: #343434;}
.logo_t1{ display: flex; align-items: center;}
.logo_t2  {height:45px;}
.logo_t3  {height:38px;}

/* #filePlaceholder {color:#333; padding:0px 10px;}
#fileList li {color:#333; margin-right: 10px;}
 */

  .file-upload-group {
        display: flex;
        /* flex-direction: column; */
    }

    .custom-file-upload {
        display: flex;
        align-items: center;
        justify-content: space-between;
       /*  border: 1px solid #ccc; */
       padding: 0px 0px 0px 15px;
        border-radius: 8px;
      /*   background: #fff; */
        cursor: pointer;
        width: 100%;
    }

    .custom-file-upload span {
        color: #888;
        font-size: 1em;
        pointer-events: none;
    }

   .upload-btn {
    background: #6200b6;
    color: white;
    padding: 4px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 400;
    transition: background 0.3s;
}

    .upload-btn:hover {
        background: #4a0099;
    }

    #fileList {
        margin-top: 10px;
        padding-left: 0;
        list-style: none;
    }

    #fileList li {
        font-size: 0.9em;
        color: #333;
        padding: 5px 0; display:none;
    }


.qa-modal-box {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%; align-items: center;
    background-color: rgba(0, 0, 0, 0.4); justify-content:center;
}

.qa-modal-content-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 700px;
  margin: 50px auto;
  font-family: 'Pretendard', sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.qa-subtitle {
  color: #555;
  margin: 25px 0px;
}

.qa-grid-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2열 정렬 */
  gap: 10px; grid-column: span 2; 
}

.qa-input-wrapper {
  position: relative;
}

.qa-input-wrapper.qa-full {
  grid-column: span 2;
}

.qa-input-wrapper i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #888;
}

.qa-input-wrapper input,
.qa-input-wrapper textarea {
  width: 100%;
  padding: 10px 10px 10px 36px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.qa-input-wrapper textarea {
  resize: vertical;
}

.qa-submit-btn {
  grid-column: span 2;
  margin-top: 10px;
  padding: 12px;
  background: #2d6cdf;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.qa-submit-btn:hover {
  background: #1e52b3;
}

.qa-close-btn {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 24px;
    cursor: pointer;
}

.qa-group {
  position: relative;
}
.qa-group input {
  padding-left: 36px; /* 아이콘 공간 확보 */
}
.qa-group::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('icon.svg');
  background-size: cover;
}


.qa-agree-text {font-size:0.8em; display: flex;}


	/* 참가신청 확인 모달 */
.reg-modal-box {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    font-family: 'Pretendard', sans-serif;
}

.reg-modal-content-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 420px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.reg-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #555;
}

.reg-modal-content-box h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

#regForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reg-row {
    display: flex;
    flex-direction: column;
}

.reg-row label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.reg-row input[type="text"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.reg-submit-btn {
    margin-top: 10px;
    padding: 12px;
    background-color: #5E3FDB;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.reg-submit-btn:hover {
    background-color: #4c34b4;
}

#reg-result {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}


/* 🌟 영상 페이지 컨테이너 */
.video-container {
    display: flex;
    flex-direction: column; /* 상단 검색 바, 아래 컨텐츠 정렬 */
    gap: 30px;
    padding: 60px 0px ; 
    max-width: 1400px; margin:0 auto; width:100%;
}
/* 검색 바 스타일 */
.video-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 10px 30px 10px 15px;
    position: relative;
    width: 80%; margin: 1.8vw auto;
    
}


.video-list-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0px 0px;
}

.mobile-video-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.mobile-video-card:hover {
  transform: translateY(-2px);
}

.mobile-video-link {
  display: flex;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.mobile-video-thumbnail img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.mobile-video-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mobile-video-title {
  font-size: 15px;
  font-weight: 600;
  color: #212121;
  line-height: 1.4;
}

.mobile-video-views {
  font-size: 13px;
  color: #888;
}



/* 드롭다운 버튼 스타일 */
.custom-dropdown {
    position: relative;
}

.dropdown-btn { -webkit-tap-highlight-color: transparent;
    outline: none;
    background: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 220px; color: #1A22C1; height: 39px;
}

.dropdown-icon {
    margin-left: 5px;
}

/* 드롭다운 리스트 */
.dropdown-content {
    display: none; color: #1A22C1;
    position: absolute;
   background: rgba(255, 255, 255, 0.96);
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    width: 200px;
    top: 40px;
    left: 0;
    z-index: 100;
    overflow: hidden;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

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


/* 검색 입력창 스타일 */
#search-input {
    border: none;
    outline: none;
    padding: 10px;
    flex: 1;
    margin-left: 10px;  background: rgba(255, 255, 255, 0);
}

/* 검색 아이콘 */
.search-icon {
    cursor: pointer;
    margin-left: 5px;
    font-size: 18px;
    color: #666;
}

/* 🔽 검색창 내부 요소 스타일 */
.video-search-bar select {
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    padding: 8px;
    border-radius: 10px;
    margin-right: 10px;
}

.video-search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.video-search-bar i {
    color: #888;
    cursor: pointer;
}

/* 카테고리 + 영상 리스트 래퍼 */
.video-content-wrapper {
    display: flex;
    gap: 40px;
}

/* 📌 전체 콘텐츠 정렬 */
.video-main-section {
    display: flex;
    flex: 1;
    width: 100%;
}

.video-sidebar {
    width: 100%;
    max-width: 100%;
    background: rgba(0,0,0,0.2);
    padding: 0px 20px;
    border-radius: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-category-list {
    display: flex;
    flex-direction: row;  /* ✅ 가로 정렬 */
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.video-category-item { -webkit-tap-highlight-color: transparent;
    outline: none;
    position: relative;
    white-space: normal;
    text-align: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 400;
    color: #ffffff;
    padding: 0px 15px;
    transition: all 0.3s ease-in-out;
    min-height: 80px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-category-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
}

.video-category-item:hover {
    color: #eeeeee;
}



/* 영상 리스트 */
.video-content {
    flex: 3;
}

/* .video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
} */

.video-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ 항상 3개씩 고정 */
    gap: 20px;
}

/* 영상 카드 */
.video-card {
    background: white;
    border-radius: 15px;
   height: auto;
   /*  height: 260px; */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* 썸네일 */
/* .video-thumbnail {
    width: 100%;
    border-radius: 10px 10px 0px 0px; height: 200px;
} */

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9; /* ✅ 16:10 비율 설정 */
    border-radius: 10px 10px 0 0;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 20px 14px;
    text-align: center; /* ✅ 가운데 정렬 */
}

.video-title {
    font-size: 0.9vw;
    font-weight: bold;
    color: #212121;
    margin-bottom: 8px; /* 간격 추가 (선택사항) */
}

.video-views {
    font-size: 12px;
    color: #666;
    border: 1px solid #BEBEBE24;
    width: 100px;
    text-align: center;
    border-radius: 20px;
    margin: 0 auto; /* ✅ 수평 가운데 정렬 */
    padding: 4px 0px;
    background-color: #BEBEBE24;
}
/* 페이징 전체 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 0px;
}

/* 이전/다음 버튼 */
.page-btn {
    background: rgba(110, 38, 157, 0.4);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* 화살표 */
.arrow {
    font-size: 18px;
    color: #5a3fb6;
}

/* 숫자 부분 */
.page-numbers {
    display: flex;
    gap: 8px;
    font-size: 16px;
}

/* 숫자 버튼 */
.page-numbers span {
    cursor: pointer;
    color: #7c7c7c;
    transition: color 0.3s ease-in-out;
}

/* 현재 페이지 스타일 */
.page-numbers .active {
    font-weight: bold;
    color: #000;
}

/* 
.event-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.event-modal-content {
  background: linear-gradient(to bottom, #e6ecff, #e0dfff);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  width: 350px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-family: 'Pretendard', sans-serif;
}

.event-title {
  font-size: 18px;
  font-weight: bold;
  color: #3a3aff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.event-main-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.event-blue {
  color: #0078d4;
}

.event-img {
  width: 90px;
  margin: 10px 0;
}

.event-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.event-highlight {
  font-weight: bold;
  color: #7a3fd7;
}

.event-button {
  background: #7a3fd7;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}

.event-close {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 20px;
  color: #666;
  cursor: pointer;
}
.event-footer {
  margin-top: 20px;
  font-size: 13px;
  color: #444;
}
.event-footer input {
  margin-right: 5px;
} */

.event-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.event-modal-inner {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.event-image {
  width: 100%;
  display: block;
}

/* 이미지 하단에 오늘하루 + 닫기 버튼 */
.event-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  background: #f9f9f9;
}

.event-bottom label {
  color: #555;
  user-select: none;
}

.event-close-btn {
  background: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 18px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: background 0.2s;
}

.event-close-btn:hover {
  background: #eee;
}

.custom-submit-button-div {
  padding: 40px 0px;
  display: flex;
  justify-content: center; 
  align-items: center;     
  text-align: center;
}

.custom-submit-button {
  background: linear-gradient(90deg, #7B4DF3, #9D6EF0); /* 보라색 계열 그라디언트 */
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(123, 77, 243, 0.3);
  transition: background 0.3s ease;
}



.custom-submit-button .arrow {
  margin-left: 10px;
  font-size: 1.4em;
  transition: transform 0.2s; color:#fff;
}

.custom-submit-button:hover .arrow {
  transform: translateX(4px);
}

.custom-submit-button:hover {
  background: linear-gradient(90deg, #6A3DE0, #8B5DF0);
}
/* 버튼 스타일 (기존 .reg-button과 연결) */


	
        /* 미디어 쿼리 */
        @media (max-width: 1024px) {
            .container {
                flex-direction: column;
                align-items: center;
            }

            .sidebar {
                width: 100%;
                margin-left: 0;
                margin-top: 20px; display:none;
            }

			.header_2 {
    flex: 1;
    padding: 20px 20px 0px;
    margin-left: 20px; display:none;
}

.container {
    display: flex;
    width: 100%;
    height: 94vh;
    padding: 20px 0px;
}

.header {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0px;
    width: 100%;
}



        }


@media (min-width: 1024px) and (max-width: 1400px) {
  .main-content {
    transform: scale(0.9);
    transform-origin: left top;
  }

  .video-content-wrapper {
    transform: scale(0.9);
    transform-origin: left top;
  }
}

@media (max-height: 800px) {
  .main-content {
    transform: scale(0.8);
	 transform-origin: top left;
	
  }

/*   .video-content-wrapper {
    transform: scale(0.9);
  	 transform-origin: top left;
  	
  }
  
  .video-sidebar {
    transform: scale(0.9);
  	 transform-origin: top left;
  	
  } */
}


.mobile-nav {
  display: none;
}

/* 햄버거 버튼 */
.hamburger {
  background: none;
  font-size: 24px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  color: #7a3fd7;
}

/* 전체화면 메뉴 배경 */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* 메뉴 내부 링크 정렬 */
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.mobile-menu-inner a {
  font-size: 20px;
  font-weight: bold;
  color: #7a3fd7;
  text-decoration: none;
  transition: 0.3s;
}

.mobile-menu-inner a:hover {
  color: white;
  background: #7a3fd7;
  padding: 8px 16px;
  border-radius: 8px;
}

/* 닫기 버튼 */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #7a3fd7;
}

#pc {display:block;}
#pc2 {display:flex;}
#mo {display:none;}
#mo2 {display:none;}

.hamburger_flex {padding: 0px 0px 0px 0px; display: flex; gap: 10px;}

/* 768px 이하일 때 모바일 메뉴 보이기 + 기존 navbar 숨기기 */
@media (max-width: 768px) {

.qa-subtitle {
font-size: 1em;
    color: #555;
    margin: 10px 0px;
}
.qa-agree-text {
    font-size: 0.5em;
    display: flex
;
}

.video-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.qa-modal-content-box {
        padding: 24px 20px; /* 상하24, 좌우20 */
        margin: 20px 16px;  /* 상하20, 좌우16 */
    }

.video-sidebar {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    background: none;
    padding: 20px 0px 0px;

    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.video-sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.video-category-list {
    display: inline-flex;
    gap: 12px;
    padding: 0 12px; /* 좌우 간격만 주기 */
    align-items: center;
}

.video-search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
}

.video-category-item {
    flex-shrink: 0;     min-height: auto;
    /* background: #f0f0f0; */
	background: rgba(255,255,255,0.3);
    padding: 6px 12px; /* 버튼 내부 여백 최소화 */
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #ddd;
    color: #333;
    transition: background 0.2s, color 0.2s;
    line-height: 1.2; /* 텍스트 줄 간격 최소화 */
}

.video-category-item.active {
    background: #333;
    color: #fff;
    border: 1px solid #333;
}



.video-category-item.active::before {
   display:none;
}


.main video {
    display:none;
}

.dropdown-btn {
    background: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90px;
    color: #606060;
    height: auto; font-size:12px;

    /* 🔽 텍스트 말줄임 처리 추가 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

  .navbar {
    display: none;
  }

  .mobile-nav {
   display: flex; align-items: center;  justify-content: space-between; width:100%;
  }

  .main {
        flex: none; padding: 30px 0px;
        margin-right: 0px;
        position: relative;
        overflow: visible;
        border-radius: 0px;
        height: 100%;
        width: 100%; 
		 background: linear-gradient(
    135deg,
    #f3e7fe,  /* 연보라 */
    #e5d4ff,  /* 연핑크 */
    #c6e5fb,  /* 연하늘 */
    #f0eaff   /* 아주 연한 보라 */
  );
  background-size: 400% 400%;
  animation: gradientFlow 20s ease infinite;
    }

	/* 부드럽게 흐르는 애니메이션 */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


  /* 큰 제목용 라벨 */
.input-group .section-title {
        font-weight: bold;
        color: #2312A0;
        background: none;
        padding: 8px 0px;
        border-radius: 20px;
        margin-right: 15px;
        white-space: nowrap;
        font-size: 4vw;
        width: 100px;
        text-align: left;
    }

        /* 큰 제목용 라벨 */
.input-group .section-title2 {
        font-weight: bold; display:none;
        color: #2312A0;
        background: none;
        padding: 8px 0px;
        border-radius: 20px;
        margin-right: 15px;
        white-space: nowrap;
        font-size: 4vw;
        width: 100px;
        text-align: left;
    }
/* 체크박스 라벨 */
.input-group .input-label {
    display: block;
    margin-top: 8px;
    font-size: 1em;
    color: #333; padding-right:20px;
}

	#vv {display:none;}
.custom-info-item2 {display:none;}


.custom-info-item {
    display: flex
;
    align-items: center;
    margin: 10px 20px;
    border-radius: 50px;
    background: none;
    position: relative;
    font-size: 16px;
}

    .custom-info-title {
        font-weight: bold;
        color: #2312A0;
        background: rgba(255, 255, 255, 0.7);
        padding: 8px 10px;
        border-radius: 20px;
        margin-right: 15px;
        white-space: nowrap;
        font-size: 3vw;         width: 100px;
        text-align: center;
    }
.custom-info-content {
    font-size: 3.3vw; word-break: keep-all;         width: 80%;
    color: #7901C6;
    font-weight: 400;
}
.main-content {
    position: relative; width: 100%;
    z-index: 1;
    padding: 0px;
    color: white;
    border-radius: 20px; display:inline;
}
.info_t1_v2 {
    font-size: 3.5vw;
    padding: 1vw 0px 0px;
    background: linear-gradient(90deg, #448de5, #000092, #a062b5);
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;         word-break: keep-all;
}

.info_t1_v3 {
    font-size: 5vw;
    padding: 5vw 0px 0px;
    background: linear-gradient(90deg, #448de5, #000092, #a062b5);
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;         word-break: keep-all;
}

.header_1 {
   
    padding: 0px 0px 0px 0px;
    justify-content: space-between;
    display: flex
;
    gap: 10px;
}

.header img {
    height: 15px;
}
.container { display: flex;    width: 100%;
        height: auto; padding: 20px 0px 0px;    }

.timeline-container2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 20px 10px;
    position: relative;
    width: 100%;
    max-width: 1100px;
    gap: 60px;     flex-direction: column;
}

.video-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0px 0px;
}


.home-button {
display:block;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 10px;
    top: 10px;
    /* display: none; */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.top_right {
    position: absolute;
    top: -1px;
    right: -1px;
    display: none;
}

.countdown-container {
    position: relative; display:none;
    top: -7px;
    right: -7px;
    width: 140px;
    height: 140px;
}



		.dday-bar-wrapper {
  display: flex; padding:0px 20px;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
}
#pc {display:none;}
#pc2 {display:none;}
#mo {display:block;}
#mo2 {display:flex;}
/* 
.qa-button {
    position: relative;
    bottom: 0px;
    right: 0px;
    width: 4.5em;
    height: 1.5em;
    background: #FFFFFFB8;
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #8326DC;
    box-shadow: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease-in-out;
    font-size: 1.2em;
    font-weight: 400;
} */


.parent-of-dropdown {
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

.qa-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 3em;
    height: 3em;
    background: transparent linear-gradient(180deg, #E3E3E3 0%, #55AEF1 100%) 0% 0% no-repeat padding-box;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer; z-index:10;
    transition: all 0.2s ease-in-out; font-size:1.2em; font-weight:400;
}

.apply-container {
    display: flex
;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    padding: 20px 30px;
    flex-direction: column;
}

.week-tab-container {

  margin: 0 auto;
  padding: 20px;
}

.week-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.week-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  background-color: #e0e0e0;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.week-btn.active {
  background-color: #7a3fd7;
  color: white;
}

.week-btn:hover {
  background-color: #b29be3;
}

.week-content {
  text-align: center;
}

.week-content img {
 height:135px;
}

.stage-content {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex
;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-direction: column;
}

.event:not(:last-child)::after {
    content: none;
  
}

.main_top_t1 {
    font-size: 3vw;
    padding: 3vw 0px 0px;
    background: linear-gradient(90deg, #448de5, #000092, #a062b5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.main_top_t2 {
    font-size: 4vw;
    padding: 2vw 4px;
    font-weight: 600; line-height: 6vw;
    background: linear-gradient(90deg, #6200b6, #0000b6, #000092, #8000a5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
   
}

.info_t1_out {
    background: #FFFFFF3B 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF;
    border-radius: 25px;
    display: inline-block;
    margin: 0px;         width: auto;
    padding: 4px 20px;
}

#t3 {
    font-size: 7vw;
    font-weight: 600;
    line-height: 10vw;
}

   .reg-button{

   width: 3em;font-size: 1.2em;
        height: 3em; bottom: 90px;
        right: 20px;
        
    }


	.video-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 6px 15px 6px 8px;
    position: relative;
    width: 90%;
    margin: 1.8vw auto;
}

	.info-box {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 15px 25px;
    width: auto;
    max-width: 1000px;
    margin: 20px 30px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.max {width:100%;}
.input-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
    flex-direction: column;
}

.logo_t2  {height:30px;}
.logo_t3  {height:25px;}
.right {  display: flex;
    /* justify-content: flex-start; */
    /* flex-wrap: wrap; */
    flex-direction: unset;
}

.right img {width:70%;}

.left-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 100%;
}

.privacy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.register-button {
    display: flex
;
    justify-content: left;
    align-items: center;
    background: none;
    color: #5369f1;
    font-size: 18px;
    font-weight: bold;
    /* padding: 15px 30px; */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    max-width: 300px;
    margin: 30px 0px;
}

  .input-group label {
        font-weight: bold;
        color: #2312A0;
        background: none;
        padding: 8px 0px;
        border-radius: 20px;
        margin-right: 15px;
        white-space: nowrap;
        font-size: 4vw;
        width: 100px;
        text-align: left;
    }

	.input-group {
    display: flex;
    align-items: flex-start;
    flex: 1;
    background: none;
    border-radius: 30px;
    /* padding: 5px; */
    flex-direction: column;
    gap: 6px;
}

.participation-button {
    padding: 3px 20px;
    margin-left: 0px;
    border-radius: 30px;
    /* border: 2px solid rgba(255, 255, 255, 0.5); */
    background: #acacac;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

    .input-group input {
        flex: 1;
        padding: 12px 10px;
        border: none;
        border-radius: 30px;
        background: #f9f9f9;
        color: #333;
        font-size: 0.9em;
        outline: none;
        width: 100%;
    }

	.info_text {
    padding: 0px 0px 0px;
}

.input-group input[type="checkbox"]  {width:30px;}
.input-group input[type="radio"]  {width:30px;}

.form-container {
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1100px;
}

.info_logo {
    padding: 2vw 20px 0px;
    font-size: 2.5em;
    color: #343434;
}

}

