html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,
blockquote,pre,abbr,address,cite,code,del,dfn,em,img,
ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,figcaption,figure,footer,header,hgroup,
menu,nav,section,summary,time,mark,audio,video{margin:0; padding:0; outline:0; border:0;}
ol, ul, li {list-style:none;}
html, body {
    margin: 0; padding: 0; height: 100%;
    overflow: hidden; /* 스크롤바 숨기기 */
  }
  #container {
    height: 100vh;
    width: 100vw;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
  }
  #container {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

#container::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
.section {
	position: relative;
	height: 100vh;
	width: 100vw;
	scroll-snap-align: start;
}
.section1 {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.img-button img {
	width: 30vw;
	max-width: 510px;
	min-width: 200px;
	height: auto;
}
.img-input-form {
/*	width: 41vw;*/
	width: 771px;
	height: 648px;
	min-width: 771px;
	min-width: 648px;
/*	aspect-ratio: 771 / 648;*/
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.numbers{
	font-size:16pt;font-family: 'Nanum Barun Gothic', sans-serif; position:absolute;
	background-color: #ffffffe6; color : #000; opacity:1; border: 1px solid #a52121; text-align:center;
}
.shine-layer {
  position: absolute;
  top: 476px; 
  left: 523px;
  width: 245px;
  height: 77px;
  overflow: hidden;
}
.sg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, transparent, rgba(255,244,227,0.4), transparent, transparent);
  animation: animate-wipes 2s linear infinite;
  pointer-events: none;
  content: "";
}
@keyframes animate-wipes {
	from {left:-100%;}
	to {left:90%;}
}
.img-media-title {
	width: 50vw;
	max-width: 929px;
	min-width: 698px;
	aspect-ratio: 929 / 698;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.section2 {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 1;
}
.section3 {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.section4 {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.arrow {
  position: absolute;
  top: 50%;
  width: 9.15%;
  height: 15.47%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
  margin-top: 12%;
}

.arrow-left {
  left: -2%;
  background-image: url('https://imgcdn.topgame.kr/tqgame/zb/pre-register/arrow_left.png');
}

.arrow-right {
  right: -2%;
  background-image: url('https://imgcdn.topgame.kr/tqgame/zb/pre-register/arrow_right.png');
}

.banner-box {
	width: 84.17%;
	aspect-ratio: 782 / 418;
	overflow: hidden;
	position: relative;
	z-index: 1;
	margin-top: 23%;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.indicator-wrap {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 1;
}

.dot {
  width: 69px;
  height: 6px;
  background-color: rgba(255, 231, 231, 0.36);
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #FFE7E7;
}

#fixed-arrow-visual {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 120px;
  z-index: 9;
  opacity: 1;
  transition: opacity 0.3s ease;
  animation: bounce 1.5s infinite;
}

#fixed-arrow-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
#fixed-arrow-visual.rotate-up img {
  transform: rotate(-180deg);
  transition: transform 0.3s ease;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.slide-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 슬라이드 이미지 */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* 버튼 컨테이너: 우하단 정렬 */
.slide-buttons {
  position: absolute;
  right: 28%;
  bottom: 25%;
  transform: translate(50%, 50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

/* 버튼 이미지 스타일 */
.slide-btn {
  width: 8.2vw;                /* 화면 비율에 따라 자동 조절 */
  max-width: 158px;
  min-width: 72px;
  aspect-ratio: 1 / 1;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
  cursor: pointer;
  object-fit: contain;
}

/* 선택된 버튼은 흑백 해제 */
.slide-btn.active {
  filter: grayscale(0%);
}

/* 푸터 */
#tail {
	color: white;
	position:relative; float: left;min-width:1920px;max-width:1920px;width:100%; left:50%; margin-left:-960px; background-color:#0a0a0a; overflow:hidden;;
	background: -moz-linear-gradient(bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to top, rgba(0,0,0,1) 0%,rgba(0,0,0,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	background-repeat : no-repeat;
	 background-position:center top;
}
#tail ul {width:1400px; margin:0 auto; padding:10px 0;padding-top:0px; overflow:hidden;}
#tail .btn {padding-bottom:10px; overflow:hidden; border-bottom:1px solid #ddd;}
#tail .btn .b_01 {float:left; color:#fff; font-size:13px; font-family : "Nanum Gothic"; line-height: 20px;margin-right:0px;margin-top: 12px;}
#tail .btn .b_01 a {color:white; font-weight:bold; margin-right:10px;}
#tail .btn .b_02 {float:right;}
#tail .copy {width:100%; overflow:hidden; padding:20px 0 0 0;}
#tail .copy .logo {float:left; width:180px;}
#tail .copy .text {float:left; width:700px; color:#fff; font-size:10px; line-height:18px;font-weight: 500;}
#tail .copy .game {float:left; width:470px; color:#fff; font-size:11px; line-height:18px;font-weight: bold;}
.gamegrade { float: right;}

/* 모달 구성 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 400px;
  height: 200px;
  background-image: url('https://imgcdn.topgame.kr/tqgame/zb/pre-register/modal.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 30px 20px 20px;
  box-sizing: border-box;
}

/* 메시지 */
.modal-message {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* 버튼 */
.modal-button {
  width: 126px;
  height: 36px;
  background-image: url('https://imgcdn.topgame.kr/tqgame/zb/pre-register/modal_confirm.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  cursor: pointer;
}