/* V2 extras: social icons + scrollbar */

/* ── Presale Modal ── */
.v2-presale-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 2rem;
  box-sizing: border-box;
}
.v2-presale-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.v2-presale-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 1, 6, 0.8);
  backdrop-filter: blur(4px);
}
.v2-presale-modal-box {
  position: relative;
  width: min(880px, 100%);
  background: linear-gradient(135deg, rgba(12, 7, 4, 0.97), rgba(22, 12, 7, 0.97));
  padding: 3rem 2rem 3rem 3rem;
  box-sizing: border-box;
  overflow: visible;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-presale-modal.active .v2-presale-modal-box {
  transform: translateY(0) scale(1);
}
.v2-presale-modal-box::after {
  content: "";
  position: absolute;
  border: 2rem solid transparent;
  border-image: url('/images/frame_withPoint.png');
  border-image-slice: 40 40 fill;
  left: -0.6rem;
  right: -0.6rem;
  top: -0.6rem;
  bottom: -0.6rem;
  z-index: 3;
  filter: brightness(120%);
  pointer-events: none;
  box-sizing: border-box;
}
.v2-presale-modal-box::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 50%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(200, 20, 20, 0.5), transparent 70%);
  transform: translateY(-50%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.v2-presale-modal-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.v2-presale-modal-title {
  font-family: "Arpona", serif;
  font-weight: bold;
  font-size: 2.6rem;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 1rem 0;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}
.v2-presale-modal-dates {
  font-family: "Arpona", serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 2rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.v2-presale-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
}
.v2-presale-modal-btn {
  position: relative;
  display: block;
  padding: 0.85rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(44, 30, 16, 0.9), rgba(10, 6, 3, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: wheat;
  text-decoration: none;
  font-family: "Strong Sword", sans-serif;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.v2-presale-modal-btn::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  background: linear-gradient(135deg, #8b6914, #d4af37);
  border: 1px solid rgba(255, 248, 208, 0.8);
  transform: translateY(-50%) rotate(45deg);
}
.v2-presale-modal-btn::after {
  content: "›";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.85);
  font-size: 1.3rem;
  font-family: Arial, sans-serif;
}
.v2-presale-modal-btn:hover {
  background: linear-gradient(180deg, rgba(70, 48, 20, 0.95), rgba(20, 12, 6, 0.98));
  border-color: rgba(212, 175, 55, 0.9);
  transform: translateX(4px);
}
.v2-presale-modal-char {
  position: absolute;
  right: -1rem;
  bottom: 0;
  width: 40%;
  height: auto;
  object-fit: contain;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)) saturate(1.12) brightness(1.05) contrast(1.03);
}
.v2-presale-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 4;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.v2-presale-modal-close svg {
  width: 0.9rem;
  height: 0.9rem;
}
.v2-presale-modal-close svg path {
  fill: rgba(212, 175, 55, 0.85);
}
.v2-presale-modal-close:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.9);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .v2-presale-modal-box {
    padding: 2.4rem 1.6rem;
  }
  .v2-presale-modal-content {
    max-width: 100%;
  }
  .v2-presale-modal-title {
    font-size: 1.9rem;
  }
  .v2-presale-modal-char {
    position: relative;
    height: auto;
    width: 55%;
    max-width: 55%;
    margin: 1.5rem auto 0;
    right: auto;
    top: auto;
    display: block;
  }
  .v2-presale-modal-actions {
    max-width: 100%;
  }
}

/* ── FAQ Section ── */
.v2-faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  position: relative;
  z-index: 1;
}
.v2-faq-title {
  font-family: "TheOneLord", serif;
  font-weight: normal;
  font-size: 3.5rem;
  color: wheat;
  text-align: center;
  letter-spacing: 0.05em;
  margin: 0 0 3rem 0;
  text-shadow: 0 0 3rem rgba(0,0,0,1), 0 0.3rem 1rem rgba(0,0,0,0.8);
}
.v2-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.v2-faq-item {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(70, 20, 22, 0.55), rgba(10, 6, 6, 0.85) 65%);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.v2-faq-item.active {
  border-color: rgba(212, 175, 55, 0.75);
}
.v2-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.3rem 1.8rem;
  cursor: pointer;
  text-align: left;
  font-family: "Arpona", serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fdf6e3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.v2-faq-icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  color: rgba(212, 175, 55, 0.55);
  transition: color 0.3s ease, transform 0.3s ease;
}
.v2-faq-item.active .v2-faq-icon {
  color: rgba(212, 175, 55, 0.95);
  transform: scale(1.1);
}
.v2-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.v2-faq-answer p {
  margin: 0;
  padding: 0 1.8rem 1.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Strong Sword", sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .v2-faq-title {
    font-size: 1.8rem;
  }
  .v2-faq-question {
    padding: 1.1rem 1.3rem;
    font-size: 0.95rem;
  }
  .v2-faq-answer p {
    padding: 0 1.3rem 1.2rem;
  }
}

/* ── Preloader ── */
#v2-preloader {
  position: fixed;
  inset: 0;
  background: #050209;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#v2-preloader.v2-preloader-hidden {
  opacity: 0;
  visibility: hidden;
}
.v2-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.v2-preloader-logo {
  width: 160px;
  animation: v2-preloader-pulse 1.8s ease-in-out infinite;
}
@keyframes v2-preloader-pulse {
  0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 8px rgba(212,175,55,0.3)); }
  50%       { opacity: 1;   filter: drop-shadow(0 0 24px rgba(212,175,55,0.8)); }
}
.v2-preloader-bar {
  width: 220px;
  height: 2px;
  background: rgba(212,175,55,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.v2-preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b6914, #d4af37, #fff8d0);
  border-radius: 2px;
  animation: v2-preloader-load 3.5s ease-in-out forwards;
}
@keyframes v2-preloader-load {
  0%   { width: 0%; }
  60%  { width: 75%; }
  90%  { width: 95%; }
  100% { width: 100%; }
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #050209; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8b6914, #d4af37, #c0392b);
  border-radius: 4px;
}
::selection { background: rgba(212,175,55,0.3); color: #fff8d0; }

/* Social bar is mostly empty transparent space — let clicks pass through it
   (icons sit only at the bottom) so it can't steal clicks from the slider arrows */
.un_social { pointer-events: none; }
.un_social ul,
.un_social ul li,
.un_social ul li a { pointer-events: auto; }

.un_social ul li a {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(212,175,55,0.12) !important;
  border-radius: 6px !important;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1) !important;
  backdrop-filter: blur(6px) !important;
}
.un_social ul li a::after { display: none !important; }
.un_social ul li a:hover {
  background: rgba(212,175,55,0.1) !important;
  border-color: rgba(212,175,55,0.45) !important;
  transform: translateX(6px) scale(1.1) !important;
  box-shadow: 0 0 18px rgba(212,175,55,0.3), 0 4px 16px rgba(0,0,0,0.5) !important;
}
.un_social ul li a svg path { fill: rgba(212,175,55,0.7) !important; }
.un_social ul li a:hover svg path { fill: #f0d060 !important; }

/* ── Section navigation arrows ── */
.v2-section-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
  background: transparent;
}

.v2-nav-btn {
  width: 2.8rem;
  height: 2.8rem;
  background: rgba(6, 3, 15, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  padding: 0;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  animation: v2-glow-pulse 3s ease-in-out infinite;
}

/* Пульсирующее золотое свечение */
@keyframes v2-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(212,175,55,0.15), 0 0 0 0 rgba(212,175,55,0);
  }
  50% {
    box-shadow: 0 0 18px rgba(212,175,55,0.45), 0 0 32px rgba(212,175,55,0.15);
  }
}

/* Золотой sweep при наведении */
.v2-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(212,175,55,0.18) 50%, transparent 70%);
  transform: translateX(-100%) rotate(0deg);
  transition: transform 0.5s ease;
}
.v2-nav-btn:hover::before {
  transform: translateX(100%);
}

.v2-nav-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 24px rgba(212,175,55,0.5), 0 0 48px rgba(212,175,55,0.2);
  animation: none;
}

.v2-nav-btn svg {
  transform: rotate(-45deg);
  width: 0.9rem;
  height: 0.9rem;
  pointer-events: none;
  transition: filter 0.4s ease;
}

.v2-nav-btn svg path {
  fill: rgba(212, 175, 55, 0.7);
  transition: fill 0.4s ease;
}
.v2-nav-btn:hover svg path { fill: #fff8d0; }
.v2-nav-btn:hover svg {
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.8));
}

.v2-nav-flash {
  background: rgba(212,175,55,0.2) !important;
  border-color: rgba(212,175,55,0.95) !important;
  box-shadow: 0 0 28px rgba(212,175,55,0.7), 0 0 56px rgba(212,175,55,0.3) !important;
  animation: none !important;
}
.v2-nav-flash svg path {
  fill: #fff8d0 !important;
}

/* ── Innovations block shifted down visually only ── */
.un_new-section {
  transform: translateY(40px);
}

.inno-btn-prev,
.inno-btn-next {
  pointer-events: auto !important;
  cursor: pointer;
}

.v2-trailer-section {
  margin-top: -20px;
  transform: translateY(-50px);
}

/* ── Trailer section ── */
.v2-trailer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.v2-trailer-title {
  font-family: "TheOneLord", serif;
  font-size: 3.5rem;
  color: wheat;
  text-align: center;
  margin: 0 0 2rem 0;
  letter-spacing: 0.05em;
  text-shadow: 0 0 3rem rgba(0,0,0,1), 0 0.3rem 1rem rgba(0,0,0,0.8);
  position: relative;
  z-index: 9999;
}
.v2-trailer-wrap {
  position: relative;
  width: 60%;
}
.v2-trailer-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.v2-trailer-wrap::after {
  content: "";
  position: absolute;
  border: 2rem solid transparent;
  border-image: url('/images/frame_withPoint.png');
  border-image-slice: 40 40 fill;
  left: -0.6rem;
  right: -0.6rem;
  top: -0.6rem;
  bottom: -0.6rem;
  z-index: 2;
  filter: brightness(120%);
  pointer-events: none;
  box-sizing: border-box;
}
.v2-trailer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
  cursor: pointer;
}
.v2-trailer-overlay.hidden {
  display: none;
}
.v2-trailer-play {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(6,3,15,0.7);
  border: 2px solid rgba(212,175,55,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}
.v2-trailer-play:hover {
  background: rgba(212,175,55,0.2);
  box-shadow: 0 0 36px rgba(212,175,55,0.6);
  transform: scale(1.1);
}
.v2-trailer-play svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.2rem;
}
.v2-trailer-play svg path {
  fill: rgba(212,175,55,0.9);
}

/* ── Page footer ── */
.v2-page-footer {
  text-align: center;
  padding: 1rem 0 1.5rem;
}
.v2-page-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.v2-page-footer ul li a {
  font-size: 0.75rem;
  color: rgba(212,175,55,0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}
.v2-page-footer ul li a:hover {
  color: rgba(212,175,55,0.9);
}

/* ── Fancybox: рамка вокруг видео ── */
.fancybox-slide--video .fancybox-content,
.fancybox-slide--iframe .fancybox-content {
  border: 2px solid rgba(212, 175, 55, 0.7);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.15),
    0 0 40px rgba(212, 175, 55, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.8);
}

/* ── Fancybox: заметный крестик ── */
.fancybox-button--close {
  width: 44px !important;
  height: 44px !important;
  background: rgba(212, 175, 55, 0.15) !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px) !important;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}
.fancybox-button--close:hover {
  background: rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
  transform: scale(1.1) rotate(90deg) !important;
}
.fancybox-button--close svg path {
  fill: #f0d060 !important;
  stroke: #f0d060 !important;
}
