/* Палитра сиба‑ину: апельсиновый, крем, графит, акцент красный */
:root{
  --bg-top:#1e1b1a;
  --bg-bottom:#0d0c0c;
  --sunset:#ff7a00;
  --sunset-2:#ffae00;
  --cream:#fff7e6;
  --ink:#0b0b0b;
  --red:#ff3b3b;
  --lime:#7cff2e; /* маленький неоновый акцент */
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Changa",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--cream);
  background:linear-gradient(180deg,var(--bg-top),var(--bg-bottom));
}
/* Prevent horizontal scroll on mobile */
html, body{ overflow-x:hidden; width:100%; max-width:100% }
img, canvas, svg, video{ max-width:100%; height:auto }
a{color:inherit; text-decoration:none}
.container{width:min(1120px,100% - 32px); margin:0 auto}

/* Header */
.site-header{
  position:sticky; top:0; z-index:10;
  background:rgba(14,13,13,.6);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand__logo{width:28px; height:28px; display:grid; place-items:center; background:linear-gradient(135deg,var(--sunset),var(--sunset-2)); border-radius:8px; box-shadow:0 6px 18px rgba(255,122,0,.35)}
.brand__name{font-weight:800; letter-spacing:.04em}
.nav{display:flex; gap:16px; align-items:center}
.nav__link{opacity:.85}
.nav__link:hover{opacity:1}
.nav__cta{
  padding:10px 14px; border-radius:10px; color:#000;
  background:linear-gradient(135deg,var(--sunset),var(--sunset-2));
  box-shadow:0 10px 24px rgba(255,122,0,.35);
}

/* Hero */
.hero{
  position:relative; overflow:hidden;
  padding:72px 0 48px;
}
.hero__bg{
  position:absolute; inset:-10% -10% 0 -10%; pointer-events:none;
  background:
    radial-gradient(800px 420px at 20% 0%, rgba(255,122,0,.28), transparent 60%),
    radial-gradient(900px 480px at 90% 10%, rgba(255,174,0,.22), transparent 60%),
    radial-gradient(600px 320px at 60% 100%, rgba(124,255,46,.12), transparent 70%);
  filter:blur(10px);
}
.hero__grid{
  position:relative; display:grid; grid-template-columns: 1.1fr .9fr; align-items:center; gap:24px;
}
.hero__title{
  font-size:clamp(36px,8vw,64px);
  line-height:1.05;
  margin:0 0 12px;
  text-shadow:0 2px 0 rgba(0,0,0,.4);
}
.hero__subtitle{ margin:0 0 20px; opacity:.9 }
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap }
.btn{
  display:inline-block; padding:12px 18px; border-radius:12px; transition:.2s transform cubic-bezier(.2,.8,.2,1);
}
.btn:hover{ transform:translateY(-2px) }
.btn--primary{ color:#000; background:linear-gradient(135deg,var(--sunset),var(--sunset-2)); box-shadow:0 12px 26px rgba(255,122,0,.35) }
.btn--ghost{ border:1px solid rgba(255,255,255,.2) }
.btn--lg{ padding:14px 22px; border-radius:14px; }

.hero__badges{
  position:absolute; top:14px; left:50%; transform:translateX(-50%);
  display:flex; gap:10px; z-index:5; pointer-events:none;
}
.meme-tag{
  position:relative;
  padding:6px 10px; border-radius:999px; font-weight:800; font-size:12px;
  background:#222; border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 18px rgba(0,0,0,.35);
  animation:float 7s ease-in-out infinite;
}
.meme-tag--wow{ color:#fff; }
.meme-tag--such{ color:#ffed7a; }
.meme-tag--very{ color:#7cff2e; }
.meme-tag--much{ color:#ff7a00; }
@keyframes float{
  0%,100%{ transform:translateY(0) rotate(-2deg) }
  50%{ transform:translateY(-10px) rotate(2deg) }
}

/* Coin */
.hero__coin{ position:relative; display:grid; place-items:center }
.hero__coin.has-3d .coin{ display:none } /* скрываем CSS-версию, если активна 3D */
#coin3d{ position:relative; width:min(56vw,520px); height:min(56vw,520px) }
#coin3d canvas{ display:block; width:100% !important; height:100% !important }
.coin{ position:relative; width:min(56vw,520px); height:min(56vw,520px); transform-style:preserve-3d; animation:spinY 9s linear infinite }
.coin--paused{ animation-play-state:paused }
.coin__face{
  position:absolute; inset:0; display:grid; place-items:center; border-radius:50%; backface-visibility:hidden;
  box-shadow:inset 0 0 0 6px rgba(255,255,255,.95), inset 0 0 0 16px rgba(255,122,0,.55), 0 22px 60px rgba(0,0,0,.6);
  background:radial-gradient(circle at 32% 30%, #ffd27a, #ffb74a 55%, #ff7a00 85%);
  overflow:hidden;
}
.coin__face img{ width:90%; height:90%; object-fit:contain }
.coin__face--front{ transform:translateZ(16px) }
.coin__face--back{ transform:rotateY(180deg) translateZ(16px); filter:hue-rotate(8deg) brightness(1.02) }
.coin__face-img{
  position:absolute; width:70%; height:70%; object-fit:cover; border-radius:50%;
  mix-blend-mode:multiply; opacity:.92; mask-image:radial-gradient(circle,#000 70%,transparent 71%);
}
.coin__edge{ position:absolute; inset:0; border-radius:50% }
.coin__edge::before{
  content:""; position:absolute; inset:-2px; border-radius:50%;
  transform:translateZ(-16px) rotateY(90deg);
  background:repeating-linear-gradient(90deg, rgba(255,122,0,.95), rgba(255,122,0,.95) 6px, rgba(255,255,255,.9) 6px, rgba(255,255,255,.9) 8px);
  box-shadow:inset 0 0 24px rgba(0,0,0,.5);
}
.coin-glow{ position:absolute; width:80%; height:80%; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.35), transparent 62%); filter:blur(16px); z-index:-1 }
.coin-hint{ margin-top:12px; opacity:.7; font-size:12px }
@keyframes spinY{ from{ transform:rotateY(0) rotateX(7deg)} to{ transform:rotateY(360deg) rotateX(7deg)} }

/* About */
.about{ padding:72px 0 24px }
.section-title{ margin:0 0 24px; font-size:clamp(28px,6vw,40px) }
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px }
.feature{
  position:relative;
  background-color:#1b1713; /* тёплая база вместо «серой» */
  background-image:
    radial-gradient(120% 140% at -10% -30%, rgba(255,168,46,.20), transparent 45%),
    radial-gradient(110% 120% at 120% -20%, rgba(129,255,108,.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,174,0,.22);
  border-radius:16px; padding:16px; min-height:140px;
  box-shadow:
    0 12px 30px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.feature::after{
  content:""; position:absolute; inset:-1px; border-radius:16px;
  pointer-events:none; opacity:.6;
  background:linear-gradient(135deg, rgba(255,174,0,.35), rgba(124,255,46,.25));
  filter:blur(14px);
  z-index:-1;
}
.feature:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  border-color:rgba(255,174,0,.35);
  background-image:
    radial-gradient(120% 140% at -10% -30%, rgba(255,168,46,.28), transparent 48%),
    radial-gradient(110% 120% at 120% -20%, rgba(129,255,108,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.feature__icon{
  font-size:18px; margin-bottom:10px; /* чуть выше и компактнее */
  display:inline-grid; place-items:center; width:30px; height:30px;
  border-radius:8px; transform:none;
  background:linear-gradient(135deg,#ffb22e,#ff7a00);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 4px 12px rgba(255,174,0,.28);
  line-height:1;
}
.feature__title{ margin:0 0 6px; letter-spacing:.2px }
.feature__text{ margin:0; opacity:.92 }

/* Trade */
.trade{ position:relative; padding:128px 0 20px; background:#0f0f0f }
.trade__bg{ position:absolute; inset:0; pointer-events:none; }
.trade__bg::before{
  content:""; display:none;
}
.trade__bg-text{
  position:absolute; left:0; right:0; top:32px; text-align:center;
  z-index:0; opacity:1; overflow:hidden;
}
.trade__bg-text span{
  display:inline-block; font-weight:800; letter-spacing:.02em;
  font-size:clamp(40px,9vw,120px); color:#fff;
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.25));
  text-transform:uppercase;
}
.trade__heading{ margin:0 0 16px; font-size:clamp(28px,6vw,44px) }
.trade__heading--visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.accent{ color:var(--sunset-2) }
.trade__grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:76px }
.trade-card{
  position:relative; padding:18px; border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  min-height:160px; display:flex; flex-direction:column; justify-content:space-between;
}
.trade-card--pool{ background:rgba(124,255,46,.08) }
.trade-card--dex{ background:rgba(255,174,0,.08) }
.trade-card__text{ margin:0 0 12px; font-size:18px; line-height:1.35 }
.trade-card__btn{ align-self:flex-start }
.btn--outline{
  color:#fff; border:2px solid rgba(255,255,255,.8); background:transparent;
  box-shadow:inset 0 -2px 0 rgba(255,255,255,.3);
}
.btn--outline:hover{ background:rgba(255,255,255,.06) }

/* Buy */
.buy{ padding:36px 0 24px }
.steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:12px }
.step{ background:linear-gradient(180deg, rgba(255,122,0,.12), rgba(255,122,0,.04)); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:16px; display:flex; gap:12px; align-items:flex-start }
.step__num{ width:32px; height:32px; border-radius:10px; display:grid; place-items:center; background:linear-gradient(135deg,var(--sunset),var(--sunset-2)); color:#000; font-weight:800; box-shadow:0 10px 20px rgba(255,122,0,.28) }
.step__title{ margin:0 0 4px }
.step__text{ margin:0; opacity:.9 }
.buy__cta{ margin-top:16px; display:flex; gap:12px; flex-wrap:wrap }

/* Community */
.community{
  padding:48px 0 64px;
  background:linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
}

/* Unified grey band for adjacent sections */
.band{
  background:linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
  padding: 16px 0 0; /* убираем лишний нижний зазор */
  border-top:1px solid rgba(255,255,255,.06);
}
.community__text{ margin:0 0 16px; opacity:.9 }
.socials{ display:flex; gap:12px; flex-wrap:wrap }
.socials__btn{
  padding:12px 16px; border-radius:12px; border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.socials__btn:hover{ border-color:rgba(255,255,255,.3) }

/* Roadmap - timeline */
.roadmap{
  padding:32px 0 24px;
  background:#0f0f0f;
}
.timeline{ position:relative; padding:32px 0 }
.tl-line{
  position:absolute; left:50%; top:16px; bottom:16px; width:2px;
  background:rgba(255,255,255,.08); transform:translateX(-50%);
  z-index:0; pointer-events:none;
}
.tl-item{ position:relative; display:flex; gap:12px; margin:22px 0 }
.tl-item.left{ justify-content:flex-start }
.tl-item.right{ justify-content:flex-end }
.tl-dot{
  flex:0 0 auto; width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center; color:#000; font-weight:800;
  background:linear-gradient(135deg,var(--sunset),var(--sunset-2));
  box-shadow:0 6px 22px rgba(255,174,0,.35);
  position:relative; z-index:2;
}
.tl-content{
  width:42%; min-width:300px; max-width:500px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08); border-radius:14px;
  padding:14px 16px; position:relative; z-index:1;
}
.tl-item.left .tl-content{ margin-right:28px }
.tl-item.right .tl-content{ margin-left:28px }
.tl-quarter{ font-weight:800; color:var(--sunset-2); margin-bottom:4px }
.tl-title{ margin:0 0 6px; font-size:18px }
.tl-desc{ margin:0; opacity:.92 }

@media (max-width:980px){
  .tl-line{ left:22px; transform:none; top:12px; bottom:12px }
  .tl-item{ margin:18px 0 }
  .tl-item.right, .tl-item.left{ justify-content:flex-start }
  .tl-dot{ margin-left:0 }
  .tl-content{ width:auto; margin-left:12px }
}

/* Wallet promo */
.wallet{
  position:relative;
  padding:160px 0 60px; /* обрезали нижний отступ */
  margin-top:0;          /* без зазора, чтобы фон совпадал */
  margin-bottom:0;       /* убрали нижний внешний отступ */
  overflow:visible;
  /* Простой тёмный фон */
  background:#0f0f0f;
  border-top:none;
}
.wallet__bg{ display:none }
.wallet__grid{ position:relative; z-index:1; display:grid; grid-template-columns: 1.05fr .95fr; align-items:center; gap:16px }
.wallet__title{ margin:0 0 10px; font-size:clamp(28px,6vw,52px) }
.wallet__subtitle{ margin:0 0 18px; opacity:.92 }
.wallet__cta{ width:max-content }
.wallet__mock{ display:grid; place-items:center; justify-self:end }
.wallet__img{ width:min(180px,21vw); height:auto; display:block; filter:drop-shadow(0 20px 60px rgba(0,0,0,.5)); border-radius:22px }


/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:8px 0;
  background:linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
}
.footer__grid{ display:flex; align-items:center; justify-content:space-between; gap:12px }
.brand--footer .brand__logo{ box-shadow:none }
.footer__legal{ opacity:.7; font-size:12px }

/* Responsive */
@media (max-width:980px){
  .hero__grid{ grid-template-columns:1fr; gap:18px }
  .trade{ padding-top:96px }
  .trade__grid{ margin-top:48px }
  .wallet{ padding-top:120px; padding-bottom:60px; margin-top:96px; margin-bottom:0 }
  .trade__grid{ grid-template-columns:1fr }
  .features{ grid-template-columns:1fr }
  .steps{ grid-template-columns:1fr }
  .meme-tag--such{ left:86px }
  .meme-tag--very{ left:178px }
  .meme-tag--much{ left:260px }
}

/* iPhone 15 Pro target (logical width ~393px, safe max 430px) */
@media (max-width:430px){
  /* Hero badges: не заезжают на текст, центрируются и уменьшаются */
  .hero__badges{ display:none !important }
  .meme-tag{
    font-size:clamp(8px,2.5vw,10px);
    padding:3px 5px; animation:float 9s ease-in-out infinite; margin:0;
    white-space:nowrap; line-height:1.1;
  }
  /* Fallback не нужен, бейджи скрыты на мобильном */
  .meme-tag--such{ order:2 }
  .meme-tag--very{ order:3 }
  .meme-tag--much{ order:4 }
  .site-header .container{ padding:4px 0 }
  .nav{ gap:6px; flex-wrap:wrap; justify-content:center }
  .nav__link{ font-size:12px; line-height:1 }
  /* Скрываем часть пунктов навигации на телефоне */
  .nav .nav__link[href*="#buy"],
  .nav .nav__link[href*="#trade"],
  .nav__cta{ display:none !important }
  .brand__logo{ width:20px; height:20px }
  .hero{ padding:48px 0 24px }
  .hero__title{ font-size:clamp(28px, 9.5vw, 40px) }
  .bg-text{ font-size:16vw }
  #coin3d,
  .coin{
    width:min(84vw,360px); height:min(84vw,360px);
  }
  .trade{ padding:56px 0 16px }
  .trade__bg-text span{ font-size:14vw }
  .trade__grid{ margin-top:64px }
  .timeline{ padding:24px 0 }
  .tl-item{ justify-content:flex-start; align-items:flex-start }
  .tl-dot{ width:32px; height:32px; margin-right:12px; flex:0 0 32px }
  .tl-content{ width:auto; max-width:none; margin-left:0; flex:1 1 auto }
  .tl-item.right .tl-content{ margin-left:0 !important }
  .timeline{ padding-left:6px }
  .tl-line{ left:22px }
  .wallet{ padding:88px 0 40px }
  .wallet__title{ font-size:clamp(20px, 7vw, 26px); line-height:1.08 }
  .wallet__subtitle{ font-size:clamp(12px, 3.6vw, 14px) }
  .wallet__img{ width:clamp(120px, 34vw, 160px) }
  .section-title{ font-size:clamp(24px, 8vw, 32px) }
  .btn--lg{ padding:12px 18px }
}
/* Reduce motion respect */
@media (prefers-reduced-motion:reduce){
  .coin{ animation:none }
  .meme-tag{ animation:none }
}


