:root{
  --bg-deep:#070A14;

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.74);

  --green-1:#18d36b;
  --green-2:#0db657;

  --btn-top:#F6E7B8;
  --btn-mid:#E7C97E;
  --btn-bot:#CFA44C;

  /* gold */
  --gold-1: rgba(255, 235, 190, .75);
  --gold-2: rgba(226, 195, 122, .65);
  --gold-3: rgba(160, 120, 55, .45);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  text-align:center;
  overflow-x:hidden;
}

/* BG */
.bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(70% 70% at 50% 35%, rgba(255,210,120,.10), transparent 60%),
    radial-gradient(90% 100% at 50% 60%, rgba(0,0,0,.55), rgba(0,0,0,.92)),
    url("./1.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:-2;
}
.bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("./pattern.svg");
  background-size:cover;
  background-position:center;
  opacity:.22;
  mix-blend-mode: overlay;
  pointer-events:none;
}
.bg::after{
  content:"";
  position:absolute;
  inset:-20%;
  background: radial-gradient(circle at 50% 45%, transparent 18%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.88) 100%);
  pointer-events:none;
}

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 26px 12px;
}

/* CARD */
.card{
  width: min(720px, 92vw);
  padding: 24px 18px 20px;
  border-radius: 28px;
  position:relative;

  background: rgba(255,255,255,.05);
  backdrop-filter: blur(18px);

  box-shadow:
    0 24px 75px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.05) inset;
}

/* ✅ премиальная золотая обводка */
.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events:none;
  opacity:.85;
}

/* ✅ мягкое золотое сияние */
.card::after{
  content:"";
  position:absolute;
  inset:-12px;
  border-radius: 34px;
  background: radial-gradient(60% 40% at 50% 26%, rgba(255,210,120,.14), transparent 70%);
  filter: blur(18px);
  z-index:-1;
  opacity:.9;
}

/* AVA */
.avaWrap{
  position:relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 8px; /* ближе */
}
.ava{
  width: 88px;
  height: 88px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}

/* ✅ флаг крупнее */
.flagOnAva{
  position:absolute;
  right: -5px;
  bottom: -10px;
  font-size: 32px; /* было 22 */
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
}

/* TITLE */
.titleLine{
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: .2px;

  /* Главное */
  white-space: nowrap;        /* запрещаем перенос */
  overflow: hidden;           /* если вдруг слишком длинный */
  text-overflow: ellipsis;    /* защита */

  /* адаптивный размер */
  font-size: clamp(18px, 4.8vw, 34px);

  color: rgba(245, 223, 170, .95);
  text-shadow: 0 2px 18px rgba(255,205,120,.12);
}

/* TOP PANEL */
.topPanel{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 12px;

  padding: 10px 16px;   /* чуть компактнее */
  border-radius: 16px;

  background: rgba(0,0,0,.26);
  backdrop-filter: blur(10px);

  box-shadow:
    0 16px 36px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.06) inset;

  margin: 0 auto 10px;  /* ближе */
}
.topPill{
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  color:#062112;
  background: linear-gradient(180deg, var(--green-1), var(--green-2));
  box-shadow:
    0 10px 18px rgba(0,0,0,.35),
    0 0 18px rgba(22,212,107,.20);
}
.topPanelText{
  font-size: clamp(13px, 3.4vw, 15px);
  color: rgba(255,255,255,.84);
  line-height: 1.15;
}

/* MEMBERS (ближе и читаемее) */
.members{
  margin: 6px 0 14px; /* ближе */
  font-size: clamp(13px, 3.8vw, 16px);
  color: rgba(255,255,255,.78);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* BENEFITS — сгруппированы, ближе */
.benefits{
  display:flex;
  flex-direction:column;
  gap: 8px;     /* ближе строки */
  margin: 0 auto 14px; /* ближе к контакту */
  width: min(600px, 100%);
}
.bItem{
  display:flex;
  justify-content:center; /* текст по центру */
  align-items:center;
  gap: 10px;
}
.bIconImg{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.bIcon{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  line-height: 1;
}
.bText{
  font-size: clamp(14px, 4vw, 16px);
  color: rgba(255,255,255,.86);
  line-height: 1.22;
}

/* CONTACT */
.contact{
  margin: 0 0 14px; /* ближе */
  font-size: clamp(14px, 4vw, 16px);
  color: rgba(255,255,255,.80);
}
.handle{ font-weight: 700; }

/* CTA */
.cta{
  display:block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 12px;
  padding: 16px 14px;
  border-radius: 16px;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(15px, 4.5vw, 18px);
  color:#1c1c1c;

  background: linear-gradient(180deg, var(--btn-top), var(--btn-mid) 55%, var(--btn-bot));
  box-shadow: 0 16px 34px rgba(0,0,0,.45);
}

/* FINE */
.fine{
  font-size: clamp(12px, 3.5vw, 14px);
  color: rgba(255,255,255,.62);
}

/* MOBILE tweak */
@media (max-width: 420px){
  .card{ padding: 22px 16px 18px; }
  .titleLine{ white-space: normal; } /* на совсем узких пусть переносится */
  .flagOnAva{ font-size: 24px; }
}

.members{
  position: relative;
  z-index: 3;   /* поднимаем выше glow */
}

.members{
  margin: 6px 0 14px;

  font-size: clamp(13px, 3.8vw, 16px);

  color: rgba(255, 214, 150, .95);   /* тёплый золотистый */
  text-shadow: 0 0 12px rgba(255, 190, 90, .25);

  position: relative;
  z-index: 3;
}
@media (max-width: 420px){
  .titleLine{
    font-size: 20px;
  }
}

.iconImg{
  width:18px;
  height:18px;
  margin-right:0px;
  vertical-align:-3px;   /* идеальное выравнивание по тексту */
}
.topPill{
  white-space: nowrap;   /* запрещает перенос */
}

.contact{
  margin-top: 15px;   /* увеличь до 32-40px если нужно больше */
}
.benefits{
  width: min(520px, 100%);   /* фиксируем ширину блока */
  margin: 0 auto 14px;       /* блок снова по центру карточки */
  padding-left: 20px;           /* убираем сдвиг */
  display:flex;
  flex-direction:column;
  gap: 8px;
  text-align:left;           /* текст слева */
}
/* ===== Shine animation on CTA ===== */
.cta{
  position: relative;
  overflow: hidden; /* чтобы блик не выходил за края */
}

/* бегущий блик */
.cta::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-70%;
  width: 50%;
  height: 200%;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.55) 40%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,.55) 60%,
    rgba(255,255,255,0) 100%
  );

  transform: skewX(-18deg);
  opacity: .95;
  filter: blur(1px);   /* мягкость + яркость */
  pointer-events: none;

  animation: ctaShine 2.2s ease-in-out infinite;
}

@keyframes ctaShine{
  0%   { left:-70%; }
  55%  { left:120%; }
  100% { left:120%; } /* пауза в конце */
}

/* чуть сильнее при наведении на десктопе */
@media (hover:hover){
  .cta:hover::before{
    opacity: .95;
    animation-duration: 1.8s;
  }
}
/* ===== LIMITED OFFER BLOCK ===== */

.limitedBlock{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;

  padding:12px 18px;
  margin: 8px auto 18px;

  border-radius:16px;

  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.06) inset;

  position: relative;
}

.timeBadge{
  padding:6px 12px;
  border-radius:8px;

  font-size:12px;
  font-weight:700;
  letter-spacing:.8px;

  color:#fff;

  background: linear-gradient(180deg, #ff3b30, #c40000);

  box-shadow: 0 4px 10px rgba(0,0,0,.25); /* мягкая тень вместо свечения */
}
.limitedText{
  font-size: clamp(13px, 3.8vw, 15px);
  color: rgba(255,255,255,.92);
  font-weight:500;
}
