*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --blue:#15589e;
  --blue2:#229ed9;
  --green:#138808;
  --orange:#ff9933;
  --text:#0d253f;
  --muted:#65758a;
  --line:#dde9f6;
  --card:#ffffff;
  --soft:#f3f8ff;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)),
    url("assets/back.jpg") center top / cover no-repeat fixed;
  color:var(--text);
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

.page{
  width:100%;
  max-width:520px;
  margin:0 auto;
  padding:16px 14px 34px;
  opacity:0;
  transform:translateY(14px);
  transition:opacity .65s ease, transform .65s ease;
}

body.page-ready .page{
  opacity:1;
  transform:translateY(0);
}

/* ENTRY SCREEN */

.entry-modal{
  position:fixed;
  inset:0;
  z-index:999;
  background:
    url("assets/back1.jpg") center center / cover no-repeat;
  overflow:hidden;
  transition:opacity .55s ease, visibility .55s ease;
}

.entry-modal.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.entry-screen{
  width:100%;
  max-width:520px;
  height:100dvh;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px 14px 24px;
  animation:entryIn .55s ease both;
  overflow:hidden;
}

.entry-top{
  position:relative;
  flex:1;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
  border-radius:30px;
  min-height:0;
  box-shadow:0 18px 45px rgba(15,45,90,.12);
  background:#eef6ff;
}

.entry-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.entry-logo{
  position:absolute;
  top:22px;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  width:clamp(170px,46vw,230px);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

/* CLOUDS */

.cloud{
  position:absolute;
  top:0;
  width:230px;
  height:auto;
  z-index:1;
  pointer-events:none;
  user-select:none;
  opacity:.95;
}

.cloud-left{
  left:-230px;
  animation:cloudLeft 3s ease-out forwards;
}

.cloud-right{
  right:-230px;
  animation:cloudRight 3s ease-out forwards;
}

@keyframes cloudLeft{
  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(170px);
  }
}

@keyframes cloudRight{
  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(-170px);
  }
}

.entry-top::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(248,251,255,.08) 65%,
      rgba(248,251,255,.45) 100%
    );
}

.entry-founder{
  position:relative;
  z-index:2;
  height:clamp(430px,58vh,620px);
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 24px 36px rgba(15,45,90,.22));
  animation:founderFloat 3s ease-in-out infinite;
}

.entry-content{
  margin-top:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:32px;
  padding:24px 20px 20px;
  box-shadow:0 18px 48px rgba(15,45,90,.14);
  position:relative;
  overflow:hidden;
  transform:translateY(-10px);
}

.entry-content:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:7px;
  background:linear-gradient(90deg,var(--orange),#fff,var(--green));
}

.entry-content h1{
  font-size:34px;
  line-height:1.04;
  letter-spacing:-1.1px;
  color:var(--text);
  margin-bottom:14px;
  text-align:center;
}

.entry-content p{
  font-size:17px;
  line-height:1.42;
  color:#4f6074;
  font-weight:750;
  text-align:center;
  margin-bottom:10px;
}

.entry-content button{
  width:100%;
  min-height:58px;
  margin-top:14px;
  border:none;
  border-radius:20px;
  background:linear-gradient(180deg,#1565b3,#0f4f90);
  color:#fff;
  font-size:20px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 16px 36px rgba(21,88,158,.30);
  transition:.18s ease;
}

.entry-content button:active{
  transform:scale(.98);
}

@keyframes entryIn{
  from{
    opacity:0;
    transform:translateY(20px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes founderFloat{
  0%,100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-7px);
  }
}

/* HERO */

.hero{
  background:var(--card);
  border-radius:30px;
  padding:22px 18px 18px;
  box-shadow:0 18px 44px rgba(15,45,90,.10);
  border:1px solid var(--line);
  position:relative;
  overflow:hidden;
}

.sebi-strip{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:6px;
  background:linear-gradient(90deg,var(--orange) 0%,#fff 50%,var(--green) 100%);
}


.hero h1{
  font-size:36px;
  line-height:1.03;
  letter-spacing:-0.6px;
  font-weight:950;
  text-align:center;
  color:var(--text);
  margin-bottom:12px;
}


.hero p{
  font-size:17px;
  line-height:1.45;
  color:#5d6878;
  text-align:center;
}

.hero-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  font-weight:900;
  gap:10px;
  margin-top:16px;
}

.hero-stats div{
  background:var(--soft);
  border:1px solid #e0ecfa;
  border-radius:18px;
  padding:13px;
  text-align:center;
}

.hero-stats strong{
  display:block;
  color:var(--blue);
  font-size:22px;
  line-height:1;
}

.hero-stats span{
  display:block;
  color:#66788d;
  font-size:13px;
  margin-top:5px;
  font-weight:700;
}

/* VIDEO */

.video-section{
  margin-top:18px;
}




.section-title{
  text-align:center;
  font-family:"Bebas Neue",sans-serif;
  font-size:30px;
  letter-spacing:1.5px;
  color:var(--blue);
  margin-bottom:14px;
  text-transform:uppercase;
}

.video-card{
  position:relative;
  width:100%;
  max-width:420px;
  margin:0 auto;
  overflow:hidden;
  border-radius:28px;
  background:#000;
  border:4px solid #fff;
  box-shadow:0 20px 45px rgba(15,45,90,.16);
  cursor:pointer;
}

.video-card video{
  width:100%;
  display:block;
  aspect-ratio:9/16;
  object-fit:cover;
}

.play-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.25s;
  margin-top: 100px;
}

.play-overlay.hidden{
  opacity:0;
  visibility:hidden;
}

.play-overlay img{
  width:65px;
  height:65px;
  object-fit:contain;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.35));
  opacity: 0.9;
}

/* CTA */

.cta-section{
  margin-top:22px;
  text-align:center;
}

.telegram-btn{
  width:100%;
  min-height:62px;
  border-radius:22px;
  background:linear-gradient(180deg,#2AABEE,#229ED9);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#fff;
  font-size:20px;
  font-weight:900;
  box-shadow:0 16px 34px rgba(34,158,217,.32);
  transition:.18s;
}

.telegram-btn:hover{
  transform:translateY(-2px);
}

.telegram-btn:active{
  transform:scale(.98);
}

.telegram-btn img{
  width:28px;
  height:28px;
}

.cta-section p{
  margin-top:12px;
  color:#3f4f63;

  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  font-size:13px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:0.2px;

  text-align:center;
}

/* VALUE BOARD */

.value-board{
  margin-top:22px;
  background:#fff;
  border-radius:30px;
  border:1px solid var(--line);
  padding:22px;
  position:relative;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(15,45,90,.10);
  opacity:0;
  transform:translateY(20px);
  transition:.6s;
}

.value-board.is-visible{
  opacity:1;
  transform:none;
}

.value-board:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:6px;
  background:linear-gradient(90deg,var(--blue),var(--blue2));
}

.value-top{
  text-align:center;
}

.value-top h2{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:30px;
  font-weight:900;
  letter-spacing:-0.5px;
  color:var(--text);
  text-align:center;
}

.value-top p{
  color:#627286;
  font-size:15px;
  line-height:1.45;
}

.amount-card{
  margin-top:20px;
  border-radius:26px;
  padding:24px;
  text-align:center;
  background:
    radial-gradient(circle at 20% 0%, rgba(34,158,217,.18), transparent 34%),
    linear-gradient(180deg,#f6fbff,#ffffff);
  border:1px solid #dceafb;
}

.amount-card span{
  display:block;
  color:#6c7c8f;
  font-size:14px;
  margin-bottom:10px;
  font-weight:700;
}

.amount-card strong{
  display:block;
  font-size:48px;
  color:#0d8a42;
  font-weight:900;
  letter-spacing:-2px;
  text-shadow:0 10px 24px rgba(13,138,66,.15);
}

.amount-card small{
  display:block;
  margin-top:10px;
  color:#8b98a8;
  font-size:12px;
}

.value-list{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.value-list div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 16px;
  background:#f5f9ff;
  border-radius:18px;
  border:1px solid #e3edf9;
  opacity:0;
  transform:translateY(12px);
  transition:.45s;
}

.value-board.is-visible .value-list div:nth-child(1){
  opacity:1;
  transform:none;
  transition-delay:.15s;
}

.value-board.is-visible .value-list div:nth-child(2){
  opacity:1;
  transform:none;
  transition-delay:.30s;
}

.value-board.is-visible .value-list div:nth-child(3){
  opacity:1;
  transform:none;
  transition-delay:.45s;
}

.value-list span{
  color:#657588;
  font-size:14px;
  font-weight:700;
}

.value-list b{
  color:var(--blue);
  font-size:15px;
  font-weight:900;
}


/* FINAL CTA */

.final-card{
  margin-top:22px;
  background:#fff;
  border-radius:30px;
  border:1px solid var(--line);
  padding:24px 22px;
  text-align:center;
  box-shadow:0 18px 45px rgba(15,45,90,.10);
}

.final-card h2{
  font-size:28px;
  line-height:1.1;
  letter-spacing:-.8px;
  color:var(--text);
  margin-bottom:10px;
}

.final-card p{
  color:#63758a;
  font-size:15px;
  line-height:1.45;
  margin-bottom:18px;
}

.site-footer{
  text-align:center;
  margin-top:24px;
  padding:10px 0;
  font-size:14px;
  color:#7f8ea3;
  font-weight:600;
}

.site-footer::after{
  content:"";
  display:block;
  margin:10px auto 0;
  width:120px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, #15589e, #229ed9, transparent);
  opacity:.8;
}
/* FOUNDER HELPER */

.founder-helper{
  position:fixed;
  right:6px;
  bottom:max(0px, env(safe-area-inset-bottom));
  z-index:999;
  width:92px;
  pointer-events:none;
  opacity:0;
  transform:translateY(18px) scale(.94);
  transition:.45s ease;
}

.founder-helper.show{
  opacity:1;
  transform:translateY(0) scale(1);
}

.founder-helper.changing{
  opacity:.35;
  transform:translateY(8px) scale(.96);
}

.founder-helper img{
  width:100%;
  display:block;
  filter:drop-shadow(0 14px 22px rgba(15,45,90,.24));
}

.founder-bubble{
  position:absolute;
  left:50%;
  top:-48px;
  transform:translateX(-50%);

  width:max-content;
  max-width:96px;

  background:#fff;
  color:var(--text);

  padding:7px 9px;
  border-radius:999px;

  font-size:11px;
  font-weight:900;
  line-height:1.15;

  text-align:center;

  box-shadow:0 10px 22px rgba(15,45,90,.16);
  border:1px solid var(--line);

  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.founder-bubble:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-5px;
  width:10px;
  height:10px;
  background:#fff;
  transform:translateX(-50%) rotate(45deg);
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* MOBILE */

@media(max-width:430px){

  .entry-screen{
    padding:16px 12px 22px;
  }

  .entry-top{
    border-radius:28px;
  }

  .entry-logo{
    width:clamp(150px,50vw,210px);
    top:20px;
  }

  .cloud{
    width:200px;
  }

  .cloud-left{
    left:-200px;
  }

  .cloud-right{
    right:-200px;
  }

  .entry-founder{
    height:clamp(360px,54vh,520px);
  }

  .entry-content{
    padding:22px 18px 18px;
    border-radius:28px;
  }

  .entry-content h1{
    font-size:32px;
  }

  .entry-content p{
    font-size:16px;
  }

  .hero{
    border-radius:28px;
  }

  .hero h1{
    font-size:34px;
  }

  .amount-card strong{
    font-size:44px;
  }
}

@media(max-width:380px){

  .page{
    padding-left:12px;
    padding-right:12px;
  }

  .entry-screen{
    padding:14px 10px 20px;
  }

  .entry-top{
    border-radius:24px;
  }

  .entry-logo{
    width:170px;
    top:18px;
  }

  .cloud{
    width:175px;
  }

  .cloud-left{
    left:-175px;
  }

  .cloud-right{
    right:-175px;
  }

  .entry-founder{
    height:clamp(320px,50vh,470px);
  }

  .entry-content{
    padding:20px 16px 16px;
    border-radius:26px;
  }

  .entry-content h1{
    font-size:29px;
  }

  .entry-content p{
    font-size:15px;
  }

  .entry-content button{
    min-height:56px;
    font-size:18px;
  }

  .hero h1{
    font-size:31px;
  }

  .hero p{
    font-size:16px;
  }

  .telegram-btn{
    min-height:58px;
    font-size:18px;
  }

  .value-top h2{
    font-size:26px;
  }

  .amount-card strong{
    font-size:38px;
  }

  .final-card h2{
    font-size:25px;
  }

  .founder-helper{
    width:98px;
    right:4px;
  }

  .founder-bubble{
    width:122px;
    right:68px;
    font-size:11.5px;
  }
}

@media(max-height:680px){

  .entry-screen{
    padding-top:12px;
    padding-bottom:16px;
  }

  .entry-logo{
    top:16px;
  }

  .cloud{
    width:190px;
  }

  .cloud-left{
    left:-190px;
  }

  .cloud-right{
    right:-190px;
  }

  .entry-founder{
    height:clamp(280px,46vh,430px);
  }

  .entry-content{
    padding-top:18px;
    padding-bottom:16px;
  }

  .entry-content h1{
    font-size:28px;
    margin-bottom:10px;
  }

  .entry-content p{
    font-size:15px;
    margin-bottom:8px;
  }

  .entry-content button{
    min-height:52px;
  }
}

/* DESKTOP */

@media(min-width:700px){

  .entry-screen{
    max-width:430px;
  }

  .entry-logo{
    width:190px;
    top:18px;
  }

  .cloud{
    top:0;
    width:190px;
  }

  .cloud-left{
    left:-170px;
  }

  .cloud-right{
    right:-170px;
  }

  @keyframes cloudLeft{
    from{
      transform:translateX(0);
    }

    to{
      transform:translateX(145px);
    }
  }

  @keyframes cloudRight{
    from{
      transform:translateX(0);
    }

    to{
      transform:translateX(-145px);
    }
  }

  .entry-founder{
    height:480px;
  }
}

#memberCounter{
  transition: all .25s ease;
}

#memberCounter.pulse{
  transform: scale(1.12);
  color: #15589e;
}

.hero p{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  font-weight:600;
  color:#4f6074;
  line-height:1.5;
  text-align:center;
}
