@import url('variables.css');

/* 메인 배너 */
.main-banner {
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-banner-container {
  position: relative;
  width: 1920px;
  height: 569px;
  overflow: visible;
  background-color: #000;
}

.main-banner-container img {
  /* width: 100%; */
  height: 456px;
  object-fit: contain;
  display: block;
  display: flex;
}

.main-video-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 996px;
  height: 100%;
  overflow: hidden;
}

.main-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-content-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 828px;
  height: 100%;
  position: absolute;
  z-index: 2;
}

.main-text-content {
  width: 590px;
  align-items: center;
}

.main-text-content h2 {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  color: #fff;
}

.main-text-content h2 > span {
  font-weight: 300;
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 2;
}

.main-buy-btn {
  position: absolute;
  top: 280px;
  left: 280px;
  max-width: 202px;
  cursor: pointer;
  z-index: 5;
}

.main-title {
    position: relative;
}

.ricetock-image {
    position: relative;
    z-index: 1;
    max-width: 490px;
}

.main-text-content h2 strong {
  font-weight: 700;
  display: block;
}

/* 메인 상단 기능 설명 */
.main-top-feature-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 30px 58px;
}

.main-feature-item img {
  width: auto;
  min-height: 110px;
}
.main-feature-item {
  cursor: pointer;
}

.main-feature-divider {
  width: 1px;
  height: 138px;
  background-color: #cccccc;
}

/* 메인 슬라이드 */
.main-slide {
  width: 100%;
  min-height: 845px;
  background: url("../img/main/main_slide_bg.png") no-repeat center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-content-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.swiper-wrapper {
  height: 100%;
  position: relative;
  z-index: 2;
}
.swiper-slide {
  height: 845px;
}
.swiper-slide:not(.slide-content-back) {
  position: relative;
  z-index: 2;
}
.slide-text-content-absolute {
  position: absolute;
  top: 205px;
}
.slide-text-content-absolute .title, .slide-text-content-absolute .desc {
  padding-left: 10px;
}

.slide-img-01, .slide-img-02, .slide-img-03 {
  width: 845px;
  height: 739px;
}
.slide-img-01-pot {
  position: absolute;
  top: 125px;
  right: -25px;
  width: 606px;
} 
.slide-img-circle {
  position: absolute;
  animation: blink 1.5s ease-in-out infinite;
}
.slide-img-01 .slide-img-circle {
  width: 34.89px;
  bottom: 135px;
  right: 127.5px;
}
.slide-img-02 .slide-img-circle {
  width: 44px;
  bottom: 125px;
  right: 263px;
}
.slide-img-03 .slide-img-circle {
  width: 41px;
  bottom: 95px;
  right: 342px;
}
@keyframes blink {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-img-02-pot {
  position: absolute;
  top: 140px;
  right: 30px;
  width: 402px;
}
.slide-img-03-1, .slide-img-03-2, .slide-img-03-3, .slide-img-03-4,
.slide-img-03-5, .slide-img-03-6, .slide-img-03-7, .slide-img-03-8 {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-img-03-1 { max-width: 412px; left: 7px; top: 43px; }
.slide-img-03-2 { max-width: 354px; left: 40px; top: 43px;}
.slide-img-03-3 { max-width: 355px; left: 45px; bottom: 21px; }
.slide-img-03-4 { max-width: 406px; left: 65px; top: 95px; }
.slide-img-03-5 { max-width: 464px; left: -95px; top: 100px; }
.slide-img-03-6 { max-width: 473px; left: -100px; bottom: -18px; }
.slide-img-03-7 { max-width: 174px; left: 110px; top: 70px; }
.slide-img-03-8 { max-width: 252px; left: 130px; bottom: 200px; }

.slide-img-03.animate .slide-img-03-1 { animation: fadeInOut 3.5s 0s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-2 { animation: fadeInOut 3.5s 3s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-3 { animation: fadeInOut 3.5s 6s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-4 { animation: fadeInOut 3.5s 9s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-5 { animation: fadeInOut 3.5s 12s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-6 { animation: fadeInOut 3.5s 15s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-7 { animation: fadeInOut 3.5s 18s forwards ease-in-out; }
.slide-img-03.animate .slide-img-03-8 { animation: fadeInOut 3.5s 21s forwards ease-in-out; }

@keyframes fadeInOut {
  0% { opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

.slide-content {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 60px 0 70px;
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-text .title {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  margin-bottom: 33px;
}

.slide-text .desc {
  font-size: 22px;
  line-height: 33px;
}

.slide-text-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.slide-text-content-back {
  height: 290px;
  justify-content: flex-end;
  margin: 143px 0 156px 0;
}
.slide-logo-img {
  margin-left: 10px;
}
.slide-logo-img img {
  width: auto;
  height: 24px;
}

.slide-btns {
  display: flex;
  gap: 10px;
  margin-top: 35px;
}

.slide-btns button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 141px;
  height: 40px;
  border-radius: 100px;
  font-size: 17px;
  border: none;
}

.btn-more {
  background: #8c8c8c;
  color: #fff;
}

.btn-buy {
  background: #ea6000;
  color: #fff;
}

.slide-img {
  width: auto;
}

.slide-img-back img {
  width: 845px;
}

/* 네비게이션 버튼 스타일 */
.swiper-button-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  z-index: 10;
}

.swiper-button-next,
.swiper-button-prev {
  width: 45px;
  height: 45px;
  background: #bcbcbc;
  border-radius: 50%;
  position: absolute;
}

.swiper-button-next {
  right: 0;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  text-align: center;
  font-size: 24px;
  color: #d8d8d8;
}

.intro-content:first-child {
  padding-top: 111px;
  padding-bottom: 97px;
}

.intro-content {
  text-align: center;
  padding: 100px 0;
  position: relative;
}

/* 구분선 추가 */
.intro-content:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: #7f7f7f;
}

/* 메인 제품 소개 */
.intro-main {
  text-align: center;
}

.intro-img-00 {
  margin-bottom: 50px;
  position: relative;
}

.intro-img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.intro-img-00 img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}

.intro-img-00 img:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.slide-navigation {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #8c8c8c91;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.next-btn .nav-arrow img {
  transform: rotate(180deg);
}

.intro-product-desc {
  text-align: left;
  font-size: 40px;
  color: #fff;
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
}

.intro-product-desc span {
  color: #ff6b00;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text h2 {
  font-size: 44px;
  font-weight: 700;
  color: #002c23;
}

.intro-text-00 h2 {
  margin-bottom: 21px;
}

.intro-text-01 h2 {
  margin-bottom: 34px;
}

.intro-text-02 h2 {
  margin-bottom: 31px;
}

.intro-text-03 h2 {
  margin-bottom: 37px;
}

.intro-text-00 .title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 42px;
}
.intro-text-00-desc {
  font-size: 28px;
  line-height: 40px;
}
.intro-text .desc {
  font-size: 22px;
  line-height: 32px;
}

.intro-text-01 .desc {
  margin-bottom: 74px;
}

.intro-text-02 .desc {
  margin-bottom: 60px;
}

.intro-text-03 .desc {
  margin-bottom: 70px;
}

/* 제품 라인업 */
.lineup-title {
  font-size: 44px;
  font-weight: 700;
  color: #002c23;
  margin-bottom: 45px;
  text-align: center;
}

.lineup-items {
  display: flex;
  align-items: flex-end;
  gap: 25px;
}

.lineup-item-left-img,
.lineup-item .lineup-item,
.lineup-item .item-img {
  position: relative;
  overflow: hidden;
}

.product-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.product-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.lineup-item-left-img .product-link img {
  height: 536px;
  object-fit: cover;
}

.hover-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.product-link:hover .hover-button {
  opacity: 1;
}

.view-product {
  display: inline-block;
  width: 219px;
  height: 61px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 100px;
  font-size: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  line-height: 61px;
}

.view-product.disabled {
  cursor: default;
}

/* .view-product:not(.disabled):hover {
  background: #fff;
  color: #000;
} */

.lineup-item-left-info {
  margin-top: 25px;
  text-align: center;
}

.lineup-item-left-info h2 {
  font-size: 31px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #0e1011;
}

.lineup-item-dec {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.lineup-item-right {
  flex: 1;
}

.lineup-item-right-flex {
  display: flex;
  gap: 7px;
}

.lineup-item-right-info {
  margin-top: 30px;
  text-align: center;
}

.lineup-item-right-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* 상단 설명 텍스트 */
.lineup-item-right-desc {
  display: flex;
  gap: 18px;
  padding-left: 10px;
  margin-bottom: 160px;
}

.lineup-item-right-desc div:first-child {
  padding-top: 5px;
  font-size: 14px;
}

.lineup-item-right-desc p {
  font-size: 22px;
  line-height: 27px;
  margin: 0;
  text-align: left;
}

/* 아미크론 Shop */
.shop-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 55px 20px;
}

.shop-item {
  width: calc((100% - 50px) / 3);
}

.shop-item img {
  width: 450px;
}

.shop-item-info {
  text-align: center;
  margin-top: 30px;
}

.shop-item-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 29px;
}

.shop-item-info p {
  font-size: 20px;
  color: #434343;
  line-height: 24px;
  word-break: auto-phrase;
}

/* 진행 중인 이벤트 */
.event-items {
  display: flex;
  justify-content: space-between;
}

.event-item {
  flex: 0 0 calc(33.333% - 20px);
}

.event-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.event-item img {
  width: 460px;
  height: auto;
  display: block;
  border-radius: 25px;
}

.event-item-info {
  text-align: center;
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.event-item-info h3 {
  font-size: 31px;
  font-weight: 700;
  margin-bottom: 20px;
}

.event-item-info p {
  font-size: 22px;
  line-height: 27px;
  font-weight: 300;
  width: 355px;
  word-break: auto-phrase;
}

.event-item:nth-child(2) .event-item-info p {
  width: 360px;
}

.event-item:nth-child(1) .event-item-info p {
  width: 310px;
}

.event-item:nth-child(3) .event-item-info p {
  width: 310px;
}

.intro-text-01 .product-detail-container {
  text-align: left;
  padding: 65px 0 0 0;
}

.main-video {
  cursor: pointer;
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
}

.video-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 40vw;
  background: #000;
}

.popup-video {
  width: 100%;
  height: 100%;
}

.video-popup-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.video-popup-close:hover {
  opacity: 0.8;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 80px;
  height: 80px;
  transition: transform 0.3s;
}

.video-play-btn:hover {
  transform: scale(1.1);
}

.video-play-btn img {
  width: 100%;
  height: 100%;
}

:fullscreen .video-container::after,
:-webkit-full-screen .video-container::after,
:-moz-full-screen .video-container::after,
:-ms-fullscreen .video-container::after {
  content: '×';
  position: fixed;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  z-index: 9999;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  transition: opacity 0.3s;
}

:fullscreen .video-container::after:hover,
:-webkit-full-screen .video-container::after:hover,
:-moz-full-screen .video-container::after:hover,
:-ms-fullscreen .video-container::after:hover {
  opacity: 0.8;
}