@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo+Black&family=Bungee&family=Monoton&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&family=Teko:wght@300..700&display=swap');

@font-face {
    font-family:'GmarketSans';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight:500;
    font-style:normal;
}

@font-face {
    font-family:'GmarketSans';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight:300;
    font-style:normal;
}

@font-face {
    font-family:'GmarketSans';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight:800;
    font-style:normal;
}

/* CSS Reset */
body,html,
header,footer,aside,nav,section,article,details,figure,figcaption,menu,command,
div,dl,dd,ol,ul,li,form,fieldset,legend,iframe,table,caption,thead,tfoot,tbody,tr,th,td, /* Block Element */
h1,h2,h3,h4,h5,h6,dt,summary,input,textarea,button,select,datalist,
img,embed,object,canvas,audio,video,meter,progress,keygen, /* Inline Block Element */
a,label,output,dialog, /* Inline Element */
address,blockquote, /* Text Block Element */
p,pre,/* Text Inline Block Element */
span,b,strong,i,em,dfn,var,u,ins,s,del,q,mark,small,sub,sup,abbr,bdi,bdo,cite,time,ruby,rp,rt,code,kbd,samp, /* Text Inline Element */
acronym,big,frame,frameset,noframes,tt, /* Not HTML5 Used Element */
map,option,hr,*{border:0;padding:0;margin:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;}
header,footer,aside,nav,section,article,details,summary,figure,figcaption,menu,command{display:block} /* HTML5 Block Element */
applet,basefont,center,dir,font,strike{display:none} /* XHTML4, HTML5 Element Not Used Remove */
q,blockquote{quotes:none;content:none}
li,menu{list-style:none;word-break:break-all}

table{width:100%;border-spacing:0;border-collapse:separate;} /* Table Border (separate) */
caption{text-align:left}
th,td{text-align:center;vertical-align:middle}

address{font-style:normal}
label{display:inline-block;}
a{text-decoration:none;display:inline-block;} /* A Attribute  */

/* Common Setting */
html{overflow-y:auto;}
html,body{height:100%;} /* Horizen Scroll */
body {color:#333;font-size:17px;font-family:"GmarketSans", "Montserrat", 'Noto Sans KR',  Pretendard, -apple-system, BlinkMacSystemFont, 'GmarketSans', 'Noto Sans KR', sans-serif, "Nanum Gothic";font-weight:400;min-width:320px;background-color:#F3F3F3;}
div{outline:0}
img {vertical-align:middle;}

::selection {background-color:#af1c1c;color:#fff;}

.clear{position:relative;clear:both;}

.warp {position:relative;width:500px;margin:30px auto;padding:0;background-color:white;text-align:center;}

/* .topphoto {position:relative;width:100%;min-height:590px;background-position:center;background-size:auto;background-attachment:fixed;background-position:top;} */

/* Видео */
.topphoto {
    position: relative;
    width: 100%;
    min-height: 590px;
    overflow: hidden;
    background: #000;
}

.topphoto-video-bg,
.topphoto-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.topphoto-video-bg {
    object-fit: cover;
    object-position: center center;
    filter: blur(28px) brightness(0.75);
    transform: scale(1.12);
}

.topphoto-video {
    z-index: 2;
    object-fit: contain;
    object-position: center center;
}

@media only screen and (max-width: 500px) {
    .topphoto {
        min-height: 72.5vh;
    }
}

/* .topphoto {
    aspect-ratio: 406 / 720;
    min-height: auto;
    height: auto;
} */

.profile {position:relative;background-color:white;margin-top:-40px;border-top-left-radius:50px;border-top-right-radius:50px; z-index:3}
.profile .profile_photo {width:170px;border-radius:50%;border:solid 5px #FFF;margin-top:-85px;}
.profile h1 {font-family:'Montserrat';font-weight:400;font-size:42px;padding:15px 0 10px 0;}
.profile h1 b {font-weight:800;}
.profile p {opacity:0.7;line-height:30px;}
.profile span {font-family:'Montserrat';font-weight:700;font-size:15px;}

.sns {position:relative;padding:20px 0;}
.sns a {padding:0 5px;}
.sns a img {width:40px;}

.link {position:relative;padding:0 20px 0 20px;}
.link li {margin:10px 0;background-color:#f2f2f2;border-radius:25px;border:dashed 1px #a3a3a3;}
.link li a {display:block;font-size:17px;padding:35px 0;}
.link .imp {background-color:#000;color:#FFF;border:0px;}
.link .en {font-family:'Montserrat';font-weight:700;}
.link .viewchat {color:#ca3e00;}
.link .imp b {color:#ffc600;}

.thum {position:relative;padding:0px 20px 0 20px;border-top:solid 20px #f2f2f2;}
.thum li {float:left;width:calc(50% - 10px);margin-right:10px;margin-bottom:10px}
.thum li:nth-child(even) {margin-right:0px;}

.thum h1 {font-size:24px;padding-top:40px;}
.thum span {font-size:13px;opacity:0.5;}

.swiper-slide {padding:20px 0 60px 0;}
.swiper-slide img {width:100%;border-radius:15px;filter:grayscale(0);opacity:0.9;}


/* ---- Spoiler-style gate (blur-block + dots + hint + FX variants) ---- */
.thum .swiper-slide a.gallery-item.gated {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px;
  -webkit-tap-highlight-color: transparent;
}

.thum .swiper-slide a.gallery-item.gated img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
}

/* main icon (lock/play) */
.thum .swiper-slide a.gallery-item .gate-lock-icon {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  color: #fff;
  line-height: 1;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);

  font-variation-settings:
    "FILL" 1,
    "wght" 640,
    "GRAD" -10,
    "opsz" 48;

  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* centered icon when locked (чуть выше, чтобы был отступ до текста) */
.thum .swiper-slide a.gallery-item.gated.is-locked .gate-lock-icon,
.thum .swiper-slide a.gallery-item.gated.is-revealing .gate-lock-icon {
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 58px;
  padding: 14px;
  border-radius: 999px;

  background:
    radial-gradient(circle at 28% 22%,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.08) 45%,
      rgba(0,0,0,0.22) 100%);
  border: 1px solid rgba(255,255,255,0.20);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 18px 44px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

/* corner icon when unlocked */
.thum .swiper-slide a.gallery-item.gated.is-unlocked:not(.is-revealing) .gate-lock-icon {
  top: 10px;
  right: 10px;
  left: auto;
  transform: none;
  font-size: 32px;
  padding: 8px;
  border-radius: 999px;

  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.92;
}

.thum .swiper-slide a.gallery-item.gated.is-revealing .gate-lock-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
}

/* blur overlay base (для dot-стиля оставляем плотнее) */
.thum .swiper-slide a.gallery-item.gated .blur-block {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 15px;
  overflow: hidden;

  /* default alpha if not overridden per card */
  --gate-blur-alpha-default: 0.68;

  /* use per-card override if set: --gate-blur-alpha */
  background: rgb(0 0 0 / var(--gate-blur-alpha, var(--gate-blur-alpha-default, 0.68)));
  backdrop-filter: blur(40px) brightness(1.05) saturate(1.15);
  -webkit-backdrop-filter: blur(40px) brightness(1.05) saturate(1.15);

  opacity: var(--gate-blur-layer-opacity, 1);

  transition: opacity .3s ease;
  pointer-events: none;
}

/* gradient/dual — прозрачнее (как на твоём примере), но всё ещё закрыто */
.thum .swiper-slide a.gallery-item.gated.gate-fx-gradient.is-locked .blur-block,
.thum .swiper-slide a.gallery-item.gated.gate-fx-dual.is-locked .blur-block {
  --gate-blur-alpha-default: 0.52;
  backdrop-filter: blur(34px) brightness(1.08) saturate(1.18);
  -webkit-backdrop-filter: blur(34px) brightness(1.08) saturate(1.18);
}

/* artificial lighting (soft) */
.thum .swiper-slide a.gallery-item.gated.is-locked .blur-block::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(closest-side at 55% 45%,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.06) 32%,
      rgba(255,255,255,0.00) 68%);
  mix-blend-mode: screen;
  animation: gateLightMove 4.2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes gateLightMove {
  0%, 100% { transform: translate3d(-2%, -1%, 0) rotate(-2deg); opacity: 0.52; }
  50%      { transform: translate3d( 3%,  2%, 0) rotate( 2deg); opacity: 0.62; }
}

/* ===== FX: Gradient blur (animated, ALWAYS visible; NO pulsing) ===== */
.thum .swiper-slide a.gallery-item.gated.gate-fx-gradient.is-locked .blur-block::after,
.thum .swiper-slide a.gallery-item.gated.gate-fx-dual.is-locked .blur-block::after {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;

  /* заметный, но аккуратный (фиолет/циан под сайт) */
  background:
    radial-gradient(closest-side at 25% 30%,
      rgba(122,  92, 255, 0.42) 0%,
      rgba(122,  92, 255, 0.00) 64%),
    radial-gradient(closest-side at 72% 55%,
      rgba( 80, 196, 255, 0.34) 0%,
      rgba( 80, 196, 255, 0.00) 62%),
    linear-gradient(120deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.14) 30%,
      rgba(255,255,255,0.00) 66%);

  opacity: 0.72;                 /* видно, но не “кричит” */
  filter: blur(22px) saturate(1.25);
  mix-blend-mode: screen;

  transform: rotate(10deg);
  animation: gateGradientFlow 4.6s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes gateGradientFlow {
  0%   { transform: translate3d(-14%, -8%, 0) rotate(10deg); opacity: 0.66; }
  50%  { transform: translate3d(  6%,  8%, 0) rotate(10deg); opacity: 0.78; }
  100% { transform: translate3d( 16%, 14%, 0) rotate(10deg); opacity: 0.66; }
}

/* ===== FX: Dual blur pulse (только dual) ===== */
.thum .swiper-slide a.gallery-item.gated.gate-fx-dual.is-locked .blur-block {
  animation: gateBlurPulse 2.8s ease-in-out infinite;
}

/* ✅ NEW: snow + pulse */
.thum .swiper-slide a.gallery-item.gated.gate-fx-dots-dual.is-locked .blur-block {
  animation: gateBlurPulse var(--gate-pulse-duration, 2.8s) ease-in-out infinite;
}

@keyframes gateBlurPulse {
  0%, 100% { opacity: var(--gate-blur-layer-opacity, 1); }
  50%      { opacity: calc(var(--gate-blur-layer-opacity, 1) * 0.92); }
}

/* ===== FX: blur — настоящий blur через backdrop-filter ===== */
.thum .swiper-slide a.gallery-item.gated.gate-fx-blur.is-locked .blur-block,
.thum .swiper-slide a.gallery-item.gated.gate-fx-blur-dots.is-locked .blur-block {
  background: rgb(0 0 0 / 0.05);
  backdrop-filter: blur(var(--gate-blur-max, 18px));
  -webkit-backdrop-filter: blur(var(--gate-blur-max, 18px));
  animation: gateRealBlur var(--gate-blur-pulse-duration, 3s) ease-in-out infinite;
}

@keyframes gateRealBlur {
  0%, 100% {
    backdrop-filter: blur(var(--gate-blur-max, 18px));
    -webkit-backdrop-filter: blur(var(--gate-blur-max, 18px));
    background: rgb(0 0 0 / 0.05);
  }
  45%, 55% {
    backdrop-filter: blur(var(--gate-blur-min, 2px));
    -webkit-backdrop-filter: blur(var(--gate-blur-min, 2px));
    background: rgb(0 0 0 / 0.0);
  }
}

/* dots overlay (snow) — ONLY for gate-fx-dots */
.thum .swiper-slide a.gallery-item.gated .dots {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity .3s ease;
}

.thum .swiper-slide a.gallery-item.gated .dot {
  position: absolute;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  animation: move-dot 10s infinite ease-in-out;
  will-change: transform;
  mix-blend-mode: screen;
}

@keyframes move-dot {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(50px, -30px); }
  50%  { transform: translate(-20px, 50px); }
  75%  { transform: translate(-30px, -20px); }
  100% { transform: translate(0, 0); }
}

/* IMPORTANT: убираем снег на градиентных карточках */
.thum .swiper-slide a.gallery-item.gated.gate-fx-gradient.is-locked .dots,
.thum .swiper-slide a.gallery-item.gated.gate-fx-dual.is-locked .dots {
  opacity: 0 !important;
  display: none !important;
}

/* hint capsule (Korean) — ниже, чтобы был отступ от иконки */
.thum .swiper-slide a.gallery-item.gated .gate-hint {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 72%;
  transform: translate(-50%, -50%);
  pointer-events: none;

  padding: 12px 16px;
  border-radius: 999px;

  color: rgba(255,255,255,0.96);
  font-weight: 750;
  letter-spacing: -0.25px;
  white-space: nowrap;

  background:
    radial-gradient(120% 140% at 20% 10%,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.07) 35%,
      rgba(0,0,0,0.24) 100%);
  border: 1px solid rgba(255,255,255,0.20);

  box-shadow:
    0 18px 46px rgba(0,0,0,0.44),
    inset 0 1px 0 rgba(255,255,255,0.14);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: clamp(13px, 3.2vw, 16px);
  transition: opacity .24s ease, transform .24s ease;
}

.thum .swiper-slide a.gallery-item.gated.is-hint-dismissed .gate-hint {
  opacity: 0;
  transform: translate(-50%, -56%) scale(0.985);
}

/* Optional: toggle hint visibility without touching JS.
   - Add/remove class `gate-hint-hidden` to hide/show.
   - Or set data-gate-hint="off" to disable completely (JS will also remove). */
.thum .swiper-slide a.gallery-item.gated.gate-hint-hidden .gate-hint {
  opacity: 0;
  transform: translate(-50%, -56%) scale(0.985);
}

.thum .swiper-slide a.gallery-item.gated[data-gate-hint="off"] .gate-hint,
.thum .swiper-slide a.gallery-item.gated[data-gate-hint="0"] .gate-hint,
.thum .swiper-slide a.gallery-item.gated[data-gate-hint="false"] .gate-hint {
  display: none !important;
}

/* reveal -> fade overlays out */
.thum .swiper-slide a.gallery-item.gated.is-revealing .blur-block,
.thum .swiper-slide a.gallery-item.gated.is-revealing .dots,
.thum .swiper-slide a.gallery-item.gated.is-revealing .gate-hint {
  opacity: 0;
}

/* unlocked safety */
.thum .swiper-slide a.gallery-item.gated.is-unlocked .blur-block,
.thum .swiper-slide a.gallery-item.gated.is-unlocked .dots,
.thum .swiper-slide a.gallery-item.gated.is-unlocked .gate-hint {
  opacity: 0;
  display: none;
}

/* mobile tuning */
@media (max-width: 480px) {
  .thum .swiper-slide a.gallery-item.gated { border-radius: 14px; }
  .thum .swiper-slide a.gallery-item.gated .blur-block { border-radius: 14px; }

  .thum .swiper-slide a.gallery-item.gated.is-locked .gate-lock-icon {
    top: 45%;
    font-size: 54px;
    padding: 13px;
  }

  .thum .swiper-slide a.gallery-item.gated .gate-hint {
    top: 74%;
    padding: 11px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thum .swiper-slide a.gallery-item.gated .dot { animation: none; }
  .thum .swiper-slide a.gallery-item.gated .blur-block { animation: none; }
  .thum .swiper-slide a.gallery-item.gated.is-locked .blur-block::before,
  .thum .swiper-slide a.gallery-item.gated.is-locked .blur-block::after {
    animation: none;
  }
  .thum .swiper-slide a.gallery-item.gated .blur-block,
  .thum .swiper-slide a.gallery-item.gated .dots,
  .thum .swiper-slide a.gallery-item.gated .gate-hint,
  .thum .swiper-slide a.gallery-item .gate-lock-icon {
    transition: none;
  }
}

.copy {clear:both;font-size:12px;font-family:'Montserrat';font-weight:600;color:#333;padding:20px 0 20px 0;letter-spacing:1px;border-top:solid 2px #f2f2f2;background-color:#e9e9e9;}


.faqtop {position:relative;background-color:#333;color:white;padding:20px 0;}
.faqtop a {position:absolute;top:20px;left:10px;}
.faqtop a span {font-size:30px;}
.faqtop h1 {font-size:20px;}

.faq {position:relative;text-align:left;padding:20px;}
.faq li {position:relative;}
.faq li a {font-size:20px;}
.faq li span {font-size:20px;position:absolute;top:26px;right:0px;color:#999;}
.faq li b {color:#da0100;}
.faq li:first-child {border-bottom:solid 1px #e5e5e5;padding:22px 0;}
.faq li:last-child {font-size:17px;line-height:28px;padding:24px 20px;border-bottom:solid 1px #e5e5e5;background-color:#fffef9;display:none;}
.faq ul:last-child li:first-child {border-bottom:0;}

.faq .on li span {transform:rotate(180deg);}
.faq .on li:last-child {display:block;}

@media only screen and (max-width:500px) {

.warp {width:100%;margin:0px}

.topphoto {min-height:72.5vh;}

.profile {margin-top:-50px;border-top-left-radius:25px;border-top-right-radius:25px;}
.profile .profile_photo {width:120px;margin-top:-60px;}
.profile h1 {font-size:36px;padding:10px 0 5px 0;}
.profile p {line-height:24px;font-size:15px;}
.profile span {font-size:13px;}

.sns a img {width:35px;}

.link {padding:0 10px 30px 10px;}
.link li {margin:5px 0;border-radius:15px;}
.link li a {font-size:15px;padding:25px 0;}

.thum {position:relative;padding:30px 10px 0 10px;border-top:solid 10px #f2f2f2;}
.thum li {float:left;width:calc(50% - 3px);margin-right:5px;margin-bottom:5px}
.thum li:nth-child(even) {margin-right:0px;}
.thum li img {border-radius:5px;width:auto;}

.copy {clear:both;font-size:11px;}

.faq {padding:10px;}
.faq li a {font-size:17px;}
.faq li span {top:22px;}
.faq li:first-child {padding:20px 0;}
.faq li:last-child {font-size:15px;line-height:26px;padding:20px 18px;}

}



/* ── Photo modal page (photo.html) ── */
body.photo-page {
  margin: 0;
  overflow: hidden;
  background: #000;
}

.photo-modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.86);
}

.photo-modal {
  position: relative;
  width: min(100%, 980px);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.photo-close {
  position: absolute;
  top: -12px;
  right: -12px;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.photo-error {
  position: absolute;
  bottom: -38px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.thum .swiper-slide a video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;       
  display: block;
  pointer-events: none;
}
.link ul li.imp a,
.link ul li.imp.en a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px 72px;
    text-decoration: none;
    box-sizing: border-box;
}

.link-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 10px;
}

.imp-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.imp-more {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1;
    display: block;
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 24;
}

.link li.imp > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 16px 58px 16px 84px;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

.link li.imp > a .link-text {
    position: relative;
    z-index: 4;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.18;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.link li.imp > a .link-text span {
    display: inline;
}

.link li.imp > a .imp-more {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    font-size: 24px;
    line-height: 1;
    opacity: 0.98;
}

.link li.imp > a .link-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    object-fit: cover;
    border-radius: 14px;
    z-index: 5;
    backface-visibility: hidden;
    filter:
        saturate(1.04)
        brightness(1.02)
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
    animation: premiumIconFloat 5.4s ease-in-out infinite;
}

.link li.imp > a::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%) scale(0.94);
    border-radius: 14px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.72;
    background:
        radial-gradient(circle at 28% 25%,
            rgba(255,255,255,0.30) 0%,
            rgba(255,255,255,0.12) 24%,
            rgba(255,255,255,0.00) 68%),
        radial-gradient(circle at 70% 75%,
            rgba(255,220,150,0.18) 0%,
            rgba(255,220,150,0.00) 62%);
    filter: blur(8px);
    animation: premiumIconGlow 5.4s ease-in-out infinite;
}

.link li.imp > a::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    border-radius: 14px;
    pointer-events: none;
    z-index: 6;
    opacity: 0.95;
    background:
        linear-gradient(
            115deg,
            rgba(255,255,255,0.00) 0%,
            rgba(255,255,255,0.00) 34%,
            rgba(255,255,255,0.16) 43%,
            rgba(255,255,255,0.82) 50%,
            rgba(255,255,255,0.16) 57%,
            rgba(255,255,255,0.00) 66%,
            rgba(255,255,255,0.00) 100%
        );
    background-size: 220% 220%;
    background-position: 140% 50%;
    animation: premiumIconShine 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.link li.imp.en > a .link-icon,
.link li.imp.en > a::after {
    animation-delay: 0.9s;
}

.link li.imp.en > a::before {
    animation-delay: 1.15s;
}

.link li.imp > a .button-star-layer {
    position: absolute;
    left: 86px;
    right: 10px;
    top: 8px;
    bottom: 8px;
    border-radius: 18px;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.link li.imp > a .button-star {
    --x: 40px;
    --y: 20px;
    --size: 8px;
    --life: 1200ms;
    --rot: 0deg;
    --alpha: 1;

    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.14) rotate(var(--rot));
    transform-origin: center;
    will-change: transform, opacity;
    mix-blend-mode: screen;
    animation: buttonStarTwinkle var(--life) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.link li.imp > a .button-star-halo,
.link li.imp > a .button-star-core,
.link li.imp > a .button-star-line {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    transform: translate(-50%, -50%);
}

.link li.imp > a .button-star-halo {
    width: calc(var(--size) * 2.6);
    height: calc(var(--size) * 2.6);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(225,245,246,0.28) 0%,
        rgba(225,245,246,0.14) 34%,
        rgba(225,245,246,0.00) 74%
    );
    filter: blur(2px);
    opacity: calc(var(--alpha) * 0.85);
}

.link li.imp > a .button-star-core {
    width: calc(var(--size) * 0.34);
    height: calc(var(--size) * 0.34);
    border-radius: 50%;
    background: #f8feff;
    box-shadow:
        0 0 8px rgba(255,255,255,0.92),
        0 0 16px rgba(195,234,230,0.34);
}

.link li.imp > a .button-star-line {
    border-radius: 999px;
    opacity: calc(var(--alpha) * 0.98);
    box-shadow:
        0 0 6px rgba(240,255,255,0.78),
        0 0 12px rgba(195,234,230,0.24);
}

.link li.imp > a .button-star-line.is-h {
    width: calc(var(--size) * 4.8);
    height: 1.25px;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(243,252,255,0.98) 50%,
        rgba(255,255,255,0) 100%
    );
}

.link li.imp > a .button-star-line.is-v {
    width: 1.25px;
    height: calc(var(--size) * 6.2);
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(243,252,255,0.98) 50%,
        rgba(255,255,255,0) 100%
    );
}

.link li.imp > a .button-star-line.is-d1,
.link li.imp > a .button-star-line.is-d2 {
    width: calc(var(--size) * 2.4);
    height: 1px;
    opacity: calc(var(--alpha) * 0.44);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(220,244,242,0.88) 50%,
        rgba(255,255,255,0) 100%
    );
}

.link li.imp > a .button-star-line.is-d1 {
    transform: translate(-50%, -50%) rotate(45deg);
}

.link li.imp > a .button-star-line.is-d2 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes premiumIconShine {
    0% {
        background-position: 140% 50%;
        opacity: 0;
    }
    10% {
        opacity: 0.95;
    }
    45% {
        background-position: -60% 50%;
        opacity: 0.95;
    }
    100% {
        background-position: -60% 50%;
        opacity: 0;
    }
}

@keyframes premiumIconFloat {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        filter:
            saturate(1.04)
            brightness(1.02)
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
    }
    50% {
        transform: translateY(calc(-50% - 1px)) scale(1.035);
        filter:
            saturate(1.10)
            brightness(1.06)
            drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
    }
}

@keyframes premiumIconGlow {
    0%, 100% {
        opacity: 0.48;
        transform: translateY(-50%) scale(0.96);
    }
    50% {
        opacity: 0.82;
        transform: translateY(-50%) scale(1.08);
    }
}

@keyframes buttonStarTwinkle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.14) rotate(var(--rot));
        filter: blur(1px);
    }
    12% {
        opacity: calc(var(--alpha) * 0.95);
    }
    30% {
        opacity: calc(var(--alpha) * 1);
        transform: translate(-50%, -50%) scale(1) rotate(calc(var(--rot) + 2deg));
        filter: blur(0);
    }
    58% {
        opacity: calc(var(--alpha) * 0.92);
        transform: translate(-50%, -50%) scale(1.06) rotate(calc(var(--rot) + 5deg));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(calc(var(--rot) + 10deg));
    }
}

@media only screen and (max-width: 500px) {
    .link li.imp > a {
        min-height: 70px;
        padding: 12px 50px 12px 72px;
    }

    .link li.imp > a .link-icon {
        left: 14px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .link li.imp > a::before,
    .link li.imp > a::after {
        left: 14px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .link li.imp > a .button-star-layer {
        left: 68px;
        right: 8px;
        top: 6px;
        bottom: 6px;
        border-radius: 14px;
    }

    .link li.imp > a .link-text {
        font-size: 15px;
    }

    .link li.imp > a .imp-more {
        right: 14px;
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .link li.imp > a .link-icon,
    .link li.imp > a::before,
    .link li.imp > a::after,
    .link li.imp > a .button-star {
        animation: none !important;
    }
}


.link-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    transform: translateY(-50%);
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 14px;
    pointer-events: none;
    background: #111;
}

/* optional: smoother rendering for video icons */
video.link-icon {
    overflow: hidden;
}

.cta-guide {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    --spot-x: 50vw;
    --spot-y: 50vh;
}

.cta-guide.is-hidden {
    display: none;
}

.cta-guide-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(
            circle at var(--spot-x) var(--spot-y),
            rgba(0, 0, 0, 0.00) 0,
            rgba(0, 0, 0, 0.02) 82px,
            rgba(0, 0, 0, 0.12) 118px,
            rgba(0, 0, 0, 0.34) 168px,
            rgba(0, 0, 0, 0.58) 250px,
            rgba(0, 0, 0, 0.76) 100%
        );
    transition: opacity 0.24s ease;
}

.cta-guide-bubble {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    transform: translate(-14%, calc(-100% - 22px));
    opacity: 0;
    will-change: transform, opacity, left, top;
}

.cta-guide-text {
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.cta-guide-arrow {
    font-size: 56px;
    line-height: 1;
    color: #ff5a00;
    transform: rotate(180deg);
    transform-origin: center;
    margin-right: 18px; /* левее */
    margin-top: 15px;    /* чуть ниже */    
    text-shadow:
        0 12px 26px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(255, 90, 0, 0.26);
}

.cta-guide.is-active .cta-guide-backdrop {
    opacity: 1;
    animation: ctaGuideBackdrop 1.8s ease forwards;
}

.cta-guide.is-active .cta-guide-bubble {
    animation: ctaGuideBurstDiagonal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cta-guide.is-active .cta-guide-arrow {
    animation: ctaGuideArrowNudge 0.8s ease-in-out 2;
}

.link li.imp:first-child > a {
    position: relative;
    z-index: 10000;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.link li.imp:first-child > a::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    pointer-events: none;
    opacity: 0;
    box-shadow:
        0 0 0 0 rgba(255, 90, 0, 0.00),
        0 0 0 0 rgba(255, 255, 255, 0.00);
}

.link li.imp:first-child > a.is-guide-active {
    filter: brightness(1.08) saturate(1.05);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.24),
        0 18px 44px rgba(255, 90, 0, 0.18);
}

.link li.imp:first-child > a.is-guide-active::after {
    animation: ctaTargetBurst 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ctaGuideBackdrop {
    0% {
        opacity: 0;
    }
    14%,
    78% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes ctaGuideBurstDiagonal {
    0% {
        opacity: 0;
        transform: translate(-10%, calc(-100% - 8px)) scale(0.94) rotate(-2deg);
    }
    16% {
        opacity: 1;
        transform: translate(-14%, calc(-100% - 24px)) scale(1) rotate(0deg);
    }
    38% {
        opacity: 1;
        transform: translate(-10%, calc(-100% - 16px)) scale(1.02) rotate(0deg);
    }
    64% {
        opacity: 1;
        transform: translate(-14%, calc(-100% - 22px)) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-4%, calc(-100% - 2px)) scale(0.98) rotate(1deg);
    }
}

@keyframes ctaGuideArrowNudge {
    0%, 100% {
        transform: rotate(180deg) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) translate(8px, 8px);
    }
}

@keyframes ctaTargetBurst {
    0% {
        opacity: 0;
        box-shadow:
            0 0 0 0 rgba(255, 90, 0, 0.00),
            0 0 0 0 rgba(255, 255, 255, 0.00);
    }
    16% {
        opacity: 1;
        box-shadow:
            0 0 0 10px rgba(255, 90, 0, 0.12),
            0 0 0 2px rgba(255, 255, 255, 0.22);
    }
    46% {
        opacity: 1;
        box-shadow:
            0 0 0 14px rgba(255, 90, 0, 0.16),
            0 0 0 4px rgba(255, 255, 255, 0.18);
    }
    100% {
        opacity: 0;
        box-shadow:
            0 0 0 26px rgba(255, 90, 0, 0.00),
            0 0 0 10px rgba(255, 255, 255, 0.00);
    }
}

@media only screen and (max-width: 500px) {
    .cta-guide-text {
        font-size: 13px;
        padding: 10px 13px;
    }

    .cta-guide-arrow {
        font-size: 48px;
        margin-right: 26px; /* на мобиле ещё левее */
        margin-top: 8px;         
    }

    .cta-guide-bubble {
        transform: translate(-10%, calc(-100% - 18px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-guide.is-active .cta-guide-backdrop,
    .cta-guide.is-active .cta-guide-bubble,
    .cta-guide.is-active .cta-guide-arrow,
    .link li.imp:first-child > a.is-guide-active::after {
        animation: none !important;
    }

    .cta-guide-backdrop,
    .cta-guide-bubble {
        opacity: 1;
    }
}

.topphoto {
    position: relative;
    overflow: hidden;
    background: #000;
}

.topphoto-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    z-index: 1;
}

.topphoto[data-gate-fx="blur"]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgb(0 0 0 / 0.05);
    backdrop-filter: blur(var(--gate-blur-max, 18px));
    -webkit-backdrop-filter: blur(var(--gate-blur-max, 18px));
    animation: none;
}

.link li.imp > a .link-icon {
    --icon-blur: 0px;

    position: absolute;
    left: 16px;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    object-fit: cover;
    border-radius: 14px;
    z-index: 5;
    backface-visibility: hidden;
    filter:
        blur(var(--icon-blur))
        saturate(1.04)
        brightness(1.02)
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
    animation: premiumIconFloat 5.4s ease-in-out infinite;
}

/* 2) этот селектор применится сразу к ОБЕИМ video.link-icon,
      потому что у обеих уже есть data-gate-fx="blur" */
.link li.imp > a video.link-icon[data-gate-fx="blur"] {
    --icon-blur: clamp(2px, calc(var(--gate-blur-max, 18px) * 0.10), 2px);
}

/* 3) замени текущие keyframes premiumIconFloat на эти */
@keyframes premiumIconFloat {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        filter:
            blur(var(--icon-blur))
            saturate(1.04)
            brightness(1.02)
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
    }
    50% {
        transform: translateY(calc(-50% - 1px)) scale(1.035);
        filter:
            blur(var(--icon-blur))
            saturate(1.10)
            brightness(1.06)
            drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
    }
}

/* 4) мобилка */
@media only screen and (max-width: 500px) {
    .link li.imp > a .link-icon {
        left: 14px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

.topphoto {
  background-image: url('img/top_back.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* На мобилке подстраиваем кадрирование */
@media (max-width: 768px) {
  .topphoto {
    background-position: 45% center;
  }
}