@charset "UTF-8";
/* =========================================================
   main.css : 메인(index.html) 섹션 스타일
   breakpoint : md 770px / lg 1024px (원본 React 사이트 기준)
   ========================================================= */

.site {
  position: relative;
}

.sec {
  position: relative;
  width: 100%;
}

/* =========================================================
   GNB
   - DMM 헤더 아래에 붙어 있다가, 헤더를 지나면 화면 상단에 고정 (is-fixed)
   ========================================================= */
.gnb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.gnb.is-fixed {
  position: fixed;
}

.gnb.is-scrolled,
.gnb.is-open {
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gnb__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 4%;
}

.gnb__logo {
  flex: 0 0 auto;
  transition: opacity 0.2s;
}

.gnb__logo:hover {
  opacity: 0.8;
}

.gnb__logo img {
  width: auto;
  height: 54px;
}

.gnb__menu {
  display: none;
}

.gnb__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.gnb__img {
  width: auto;
  height: auto;
  max-width: none;
  transition: opacity 0.3s;
}

.gnb__img--sub {
  display: none;
}

.gnb__img--on {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.gnb.is-scrolled .gnb__menu .gnb__img--top { display: none; }
.gnb.is-scrolled .gnb__menu .gnb__img--sub { display: block; }

.gnb__item:hover .gnb__img--top,
.gnb__item:hover .gnb__img--sub,
.gnb__item.is-active .gnb__img--top,
.gnb__item.is-active .gnb__img--sub {
  opacity: 0;
}

.gnb__item:hover .gnb__img--on,
.gnb__item.is-active .gnb__img--on {
  opacity: 1;
}

/* 모바일 햄버거 */
.gnb__toggle {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gnb__toggle span {
  position: absolute;
  left: 7px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #374151;
  transition: transform 0.3s, opacity 0.3s;
}

.gnb__toggle span:nth-child(1) { top: 11px; }
.gnb__toggle span:nth-child(2) { top: 17px; }
.gnb__toggle span:nth-child(3) { top: 23px; }

.gnb.is-open .gnb__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gnb.is-open .gnb__toggle span:nth-child(2) { opacity: 0; }
.gnb.is-open .gnb__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 모바일 드롭다운 */
.gnb__mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.gnb.is-open .gnb__mobile {
  max-height: 320px;
  padding: 16px 20px;
  border-top: 1px solid #f3f4f6;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.gnb__mobile-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 0;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.gnb__mobile-item:hover {
  background: #f9fafb;
}

.gnb__mobile-item.is-active {
  background: #eff6ff;
}

.gnb__mobile-item .gnb__img {
  width: auto;
  height: 32px;
}

.gnb__mobile-item .gnb__img--on {
  position: absolute;
}

.gnb__mobile-item.is-active .gnb__img--top { opacity: 0; }
.gnb__mobile-item.is-active .gnb__img--on { opacity: 1; }

@media (min-width: 770px) {
  .gnb__logo img { height: 64px; }

  /* 로고와 같은 폭의 빈 공간을 우측에 두어 메뉴를 가운데 정렬 (언어 선택 영역 삭제분) */
  .gnb__inner::after {
    content: '';
    flex: 0 0 auto;
    width: 106px;
  }

  .gnb__menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-left: 16px;
  }

  .gnb__toggle,
  .gnb__mobile {
    display: none;
  }
}

@media (min-width: 1024px) {
  .gnb__inner { padding: 0 6%; }
  .gnb__logo img { height: 72px; }
  .gnb__inner::after { width: 119px; }
  .gnb__menu { gap: 60px; }
}

/* =========================================================
   Hero
   ========================================================= */
/* 첫 화면에 꽉 차도록 DMM 헤더 높이(--dmm-h, JS 에서 갱신)만큼 뺌 */
.hero {
  display: flex;
  justify-content: center;
  height: calc(100vh - var(--dmm-h, 0px));
  height: calc(100dvh - var(--dmm-h, 0px));
  min-height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
}

.hero__video {
  display: none;
  width: auto;
  height: 100%;
  min-width: 1920px;
  max-width: none;
  object-fit: cover;
  object-position: top;
}

.hero__bg-mo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  /* 하단 플로팅 사전등록 영역만큼 띄움 */
  padding: 0 16px calc(20px + var(--float-h));
}

.hero__play {
  position: relative;
  z-index: 30;
  margin-bottom: -35px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.hero__play:hover { transform: scale(1.1); }
.hero__play:active { transform: scale(0.95); }

.hero__play img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

.hero__title img {
  width: auto;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

@media (min-width: 770px) {
  .hero { min-height: 900px; }
  .hero__video { display: block; }
  .hero__bg-mo { display: none; }
  .hero__content { padding-bottom: calc(32px + var(--float-h)); }
  .hero__play { margin-bottom: -45px; }
  .hero__play img { width: 130px; }
}

/* =========================================================
   Pre-registration
   ========================================================= */
.prereg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 24px) 16px calc(32px + var(--float-h));
  overflow: hidden;
  background: url(../img/preregister/bg_prereg.jpg) center top / cover no-repeat;
}

.prereg__content {
  position: relative;
  z-index: 10;
  /* 모바일 : 세로형 이미지(650×1314), 폭 기준 */
  width: min(650px, 100%);
}

.prereg__content img {
  width: 100%;
  height: auto;
}

@media (min-width: 770px) {
  .prereg {
    padding: calc(var(--nav-h) + 32px) 48px calc(32px + var(--float-h));
  }

  /* PC : 가로형 이미지(1151×795), 첫 화면 안에 들어오도록 높이 기준으로도 제한 */
  .prereg__content {
    width: min(1151px, 100%, calc((100vh - var(--nav-h) - var(--float-h) - 64px) * 1151 / 795));
    width: min(1151px, 100%, calc((100dvh - var(--nav-h) - var(--float-h) - 64px) * 1151 / 795));
    min-width: min(640px, 100%);
  }
}

/* =========================================================
   Character (시안 2026-10-21)
   - 배경 : 캐릭터별 풀스크린 비주얼 (PC visual.jpg 1920×1080 / MO visual_m.jpg 720×1600)
   - .chara__stage : 시안 캔버스(PC 1920×1080 / MO 720×1600) 좌표 그대로 배치,
     main.js 가 --chara-scale 을 계산해 화면 크기에 맞춰 축소/확대
   ========================================================= */
.chara {
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #dfe8f8;
}

.chara__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.chara__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.chara__bg-img.is-active {
  opacity: 1;
}

.chara__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--chara-scale, 1));
}

.chara__info,
.chara__skill {
  transition: opacity 0.3s;
}

.chara__stage.is-changing .chara__info,
.chara__stage.is-changing .chara__skill {
  opacity: 0;
}

/* ---------- 이름 / 라인 / 설명 → 컷신 (PC : 시안 x=1200 중심 세로 컬럼) ---------- */
.chara__col {
  position: absolute;
  top: 314px;
  left: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 640px;
  transform: translateX(-50%);
}

.chara__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

/* 한 줄 유지 — 폭을 넘는 긴 이름은 main.js(fitCharaName)가 글자 크기를 줄임 */
.chara__name {
  max-width: 100%;
  color: #424c70;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.chara__line {
  width: 364px;
  height: 2px;
  margin-top: 22px;
  background: #5089d8;
}

.chara__desc {
  margin-top: 9px;
  color: #424c70;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  white-space: pre-line; /* 설명 줄바꿈(\n) 반영 */
}

/* ---------- 궁극기 컷신 + 보이스 (sound-btn.png 는 원형이 이미지의 약 55% → 시안 원 지름 39px 기준 71px) ---------- */
/* 설명 한 줄일 때 시안 위치(top 476 / left 1013) 와 일치 : 설명 아래 44px, 컬럼 중심에서 왼쪽으로 4px */
.chara__skill {
  position: relative;
  left: -4px;
  width: 366px;
  margin-top: 44px;
}

/* PC : 설명이 여러 줄이면 컷신 위 간격을 줄여 보이스 버튼이 아래 탭 바에 닿지 않게 함 */
@media (min-width: 770px) {
  .chara__stage.is-multiline .chara__skill {
    margin-top: 22px;
  }
}

.chara__cutscene {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

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

.chara__voice {
  position: absolute;
  right: -27px;
  bottom: -24px;
  z-index: 2;
  width: 71px;
  height: 71px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.chara__voice[hidden] {
  display: none;
}

.chara__voice:hover {
  transform: scale(1.1);
}

.chara__voice img {
  width: 100%;
  height: 100%;
}

.chara__voice.is-playing img {
  animation: voice-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes voice-pulse {
  to { transform: scale(1.08); filter: brightness(1.15); }
}

/* ---------- 진영 탭 ---------- */
.chara__tabs {
  position: absolute;
  top: 731px;
  left: 511px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 899px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #fe6df0;
  box-shadow: 0 4px 25px rgba(255, 86, 249, 0.3);
}

.chara__tab {
  height: 28px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.chara__tab.is-active {
  background: #fff;
  color: #ff56f9;
}

/* ---------- 썸네일 ---------- */
.chara__thumbs {
  position: absolute;
  top: 788px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.chara__thumb {
  position: relative;
  width: 112px;
  height: 112px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.8;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s, transform 0.2s;
}

.chara__thumb:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

.chara__thumb.is-active {
  opacity: 1;
  filter: none;
}

.chara__thumb-frame {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.chara__thumb-face {
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 12%;
}

.chara__thumb-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
}

.chara__thumb-name {
  position: absolute;
  bottom: 13%;
  left: 0;
  right: 0;
  z-index: 30;
  margin-left: 8px;
  padding: 0 8px;
  overflow: hidden;
  color: #9377ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 모바일 : 시안 캔버스 720×1600 ---------- */
@media (max-width: 769px) {
  /* 모바일 : 섹션 자체를 시안 비율(720:1600)로 → 폭 기준 배율로 시안과 동일한 배치, 넘치는 부분은 스크롤 */
  .chara {
    height: auto;
    min-height: 0;
    aspect-ratio: 720 / 1600;
  }

  .chara__stage {
    width: 720px;
    height: 1600px;
  }

  .chara__col {
    display: contents;
  }

  .chara__info {
    position: absolute;
    top: 122px;
    left: 360px;
    width: 680px;
    transform: translateX(-50%);
  }

  .chara__line {
    width: 368px;
    margin-top: 23px;
  }

  .chara__skill {
    position: absolute;
    top: 821px;
    left: 137px;
    width: 433px;
    margin-top: 0;
  }

  .chara__voice {
    right: -29px;
    bottom: -27px;
    width: 80px;
    height: 80px;
  }

  .chara__tabs {
    top: 1142px;
    left: 36px;
    gap: 7px;
    width: 645px;
    height: 80px;
  }

  .chara__tab {
    height: 35px;
    padding: 0 16.5px;
    font-size: 21px;
    line-height: 35px;
  }

  /* 시안에는 없지만 같은 진영 내 캐릭터 선택을 위해 탭 아래에 배치 */
  .chara__thumbs {
    top: 1240px;
    gap: 14px;
  }

  .chara__thumb {
    width: 100px;
    height: 100px;
  }

  .chara__thumb-name {
    font-size: 10px;
  }
}

/* =========================================================
   Game Feature (coverflow)
   ========================================================= */
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 calc(40px + var(--float-h));
  background: #bad9f8 url(../img/gallery/bg_game_feature.jpg) center / cover no-repeat;
}

.feature__title {
  position: relative;
  z-index: 10;
  padding: 0 16px;
}

.feature__title img {
  width: auto;
  height: auto;
}

.feature__carousel {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1250px;
}

.feature__viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.feature__track {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 530; /* 슬라이드 폭 70% 기준 */
}

.feature__slide {
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  cursor: pointer;
  user-select: none;
  transition: transform 0.5s ease, opacity 0.3s ease, visibility 0.3s;
}

.feature__slide img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

.feature__arrow {
  position: absolute;
  z-index: 30;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.1s, filter 0.2s;
}

.feature__arrow:hover { filter: brightness(1.1); }
.feature__arrow:active { transform: scale(0.9); }

.feature__arrow--prev { left: 0; }
.feature__arrow--next { right: 0; }

.feature__arrow img {
  width: 55px;
  height: auto;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.feature__dots {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 32px;
}

.feature__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.feature__dot::before {
  content: '';
  width: 9px;
  height: 9px;
  background: #9fbdff;
  transform: rotate(45deg);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.feature__dot.is-active::before {
  background: var(--color-pink-strong);
  box-shadow: 0 0 10px rgba(255, 76, 195, 0.8);
}

@media (min-width: 770px) {
  .feature {
    justify-content: flex-start;
    min-height: max(100vh, 900px);
    padding-bottom: var(--float-h);
    overflow: hidden;
  }

  .feature__arrow img { width: 65px; }
}

@media (min-width: 1380px) {
  .feature__arrow--prev { left: -60px; }
  .feature__arrow--next { right: -60px; }
}

/* =========================================================
   Footer : 문의처 + 저작권 (원본 사이트 푸터 톤)
   ========================================================= */
.footer {
  position: relative;
  z-index: 10;
  padding: 32px 0 calc(32px + var(--float-h));
  border-top: 1px solid #334155;
  background: #1e293b;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer__contact {
  color: #cbd5e1;
  font-size: 13px;
}

.footer__mail {
  color: #60a5fa;
}

a.footer__mail {
  text-decoration: none;
}

a.footer__mail:hover {
  text-decoration: underline;
}

.footer__note {
  margin-top: 4px;
}

.footer__copy {
  margin-top: 16px;
}

@media (min-width: 770px) {
  .footer { text-align: left; }
  .footer__inner { padding: 0 32px; }
}

/* =========================================================
   사전등록 플로팅 폼
   ========================================================= */
.prereg-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -6px 24px rgba(30, 41, 59, 0.18);
}

.prereg-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}

.prereg-form__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}

.prereg-form__check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.prereg-form__check input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
}

.prereg-form__box {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.prereg-form__check input:checked + .prereg-form__box {
  border-color: var(--color-sky);
  background: var(--color-sky);
}

.prereg-form__check input:checked + .prereg-form__box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.prereg-form__check input:focus-visible + .prereg-form__box {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.btn-prereg--float {
  width: 100%;
  height: 48px;
  font-size: 18px;
}

@media (min-width: 770px) {
  .prereg-float {
    left: 50%;
    right: auto;
    bottom: 16px;
    width: min(880px, calc(100% - 32px));
    padding: 10px 10px 10px 32px;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .prereg-form {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .prereg-form__checks {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .prereg-form__check {
    font-size: 14px;
  }

  .btn-prereg--float {
    width: auto;
    min-width: 280px;
    height: 56px;
    font-size: 20px;
  }
}

/* =========================================================
   모달 : 트레일러 / 게임 특징
   ========================================================= */
.modal__video {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 24px;
  aspect-ratio: 16 / 9;
}

.modal__close--video {
  top: -56px;
  right: 0;
}

.modal__frame,
.modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.modal__frame iframe {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal--gallery .modal__dim {
  background: rgba(0, 0, 0, 0.95);
}

.modal__image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 85vh;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  user-select: none;
  touch-action: pan-y;
  transition: opacity 0.2s;
}

.modal__image.is-changing {
  opacity: 0;
}

.modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}

.modal__nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal__nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: solid #fff;
  border-width: 3px 3px 0 0;
}

.modal__nav--prev { left: 16px; }
.modal__nav--next { right: 16px; }
.modal__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.modal__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }

.modal__count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transform: translateX(-50%);
}
