/* Alfa Star Trade — cinematic landing */
html:has(body.home-landing){
  height:100%;
}
body.home-landing{
  min-height:100dvh;
  height:100dvh;
  display:flex;
  flex-direction:column;
  background:#050b18;
  color:#e8eef8;
  overflow:hidden;
}
body.home-landing main{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding-top:0;
}
body.home-landing .home-nav-shell{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:0;
  padding-top:env(safe-area-inset-top, 0px);
  pointer-events:none;
}
body.home-landing .home-nav{
  pointer-events:auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  min-height:58px;
  padding:8px 14px;
  background:rgba(5,11,24,.78);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
body.home-landing .home-nav.is-scrolled{
  background:rgba(5,11,24,.96);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  border-bottom-color:rgba(244,180,0,.18);
}
.home-nav-brand{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  text-decoration:none;
  color:#fff;
}
.home-nav-logo{
  width:32px;
  height:32px;
  flex:0 0 32px;
  object-fit:contain;
  filter:drop-shadow(0 4px 10px rgba(244,180,0,.35));
}
.home-nav-name{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.home-nav-name strong{
  font-size:.74rem;
  letter-spacing:.12em;
  font-weight:800;
}
.home-nav-name small{
  margin-top:3px;
  font-size:.5rem;
  letter-spacing:.28em;
  color:#f4b400;
  font-weight:700;
}
.home-nav-toggle{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:42px;
  height:42px;
  margin-left:auto;
  padding:0;
  border:0;
  border-radius:11px;
  background:rgba(255,255,255,.08);
}
.home-nav-toggle span{
  display:block;
  width:16px;
  height:1.8px;
  border-radius:2px;
  background:#fff;
  transition:transform .25s ease,opacity .25s ease;
}
.home-nav-toggle.is-open,
.home-nav-toggle[aria-expanded="true"]{
  background:rgba(244,180,0,.16);
}
.home-nav-toggle.is-open span:nth-child(1),
.home-nav-toggle[aria-expanded="true"] span:nth-child(1){
  transform:translateY(6.8px) rotate(45deg);
}
.home-nav-toggle.is-open span:nth-child(2),
.home-nav-toggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.home-nav-toggle.is-open span:nth-child(3),
.home-nav-toggle[aria-expanded="true"] span:nth-child(3){
  transform:translateY(-6.8px) rotate(-45deg);
}
.home-nav-panel{
  flex-basis:100%;
  width:100%;
  margin-top:8px;
  padding:8px 0 4px;
  display:none;
}
.home-nav-panel.show{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.home-nav-link{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  padding:0 14px;
  border-radius:12px;
  color:rgba(255,255,255,.86);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  background:rgba(255,255,255,.04);
}
.home-nav-link i{width:16px;color:#f4b400}
.home-nav-link.is-active,
.home-nav-link:hover{
  color:#fff;
  background:rgba(244,180,0,.12);
}
.home-nav-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:6px;
}
.home-nav-btn{
  position:relative;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
}
.home-nav-btn.gold{
  color:#1a1200;
  background:linear-gradient(180deg,#f6d56a,#e0b33a);
}
.home-nav-btn.ghost{
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}

body.home-landing .luxury-footer{
  flex:0 0 auto;
  margin-top:0;
  padding:10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background:#050b18;
  border-top:1px solid rgba(255,255,255,.08);
}
body.home-landing .luxury-footer:before,
body.home-landing .footer-wave,
body.home-landing .luxury-footer .row,
body.home-landing .socials,
body.home-landing .back-to-top{display:none}
body.home-landing .footer-bottom{
  margin:0;
  padding:0;
  border:0;
  justify-content:center;
  text-align:center;
  color:#7d8fa8;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-size:.62rem;
}
body.home-landing .footer-bottom span:last-child{display:none}

.home-main{
  flex:1 1 auto;
  min-height:0;
  width:100%;
  margin:0;
  padding:calc(66px + env(safe-area-inset-top, 0px)) 0 0;
  display:flex;
  flex-direction:column;
  text-align:center;
}
.home-hero-text{
  flex:0 0 auto;
  margin:0;
  padding:8px 16px 6px;
}
.hero-kicker{
  margin:0 0 4px;
  color:#f4b400;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.home-hero-text h1{
  margin:0 0 4px;
  color:#fff;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(1.15rem,4.6vw,1.55rem);
  line-height:1.22;
  font-weight:700;
}
.home-hero-text h1 span{
  color:#f4b400;
}
.hero-lead{
  margin:0;
  color:#9eb0c7;
  font-size:.82rem;
  line-height:1.4;
  font-weight:600;
}
.home-brand{
  flex:1 1 auto;
  min-height:0;
  width:auto;
  max-width:none;
  margin:8px 16px;
  padding:4px;
  display:flex;
  align-items:stretch;
  justify-content:center;
  border-radius:18px;
  background:
    linear-gradient(145deg,#fff6d4 0%,#f4b400 28%,#a67c1a 52%,#ffe38d 78%,#d4a017 100%);
  box-shadow:
    0 0 0 1px rgba(255,227,141,.35),
    0 10px 28px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.home-brand img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  border-radius:14px;
  box-shadow:inset 0 0 0 1px rgba(26,18,0,.12);
  background:#f4f1ea;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}
.home-cta{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  width:100%;
  padding:14px 18px 12px;
}
.home-cta-btn{
  position:relative;
  width:100%;
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-size:.84rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
}
.home-cta-btn.gold{
  color:#1a1200;
  background:linear-gradient(180deg,#f6d56a,#e0b33a);
  box-shadow:0 8px 20px rgba(224,179,58,.28);
}
.home-cta-btn.ghost{
  color:#fff;
  background:rgba(255,255,255,.06);
  border:1.5px solid rgba(244,180,0,.55);
}
.home-cta-btn.is-loading,
.home-nav-btn.is-loading{
  pointer-events:none;
  color:transparent!important;
}
.home-cta-btn.is-loading:after,
.home-nav-btn.is-loading:after{
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid rgba(26,18,0,.18);
  border-top-color:#1a1200;
  animation:spin .6s linear infinite;
}
.home-cta-btn.ghost.is-loading:after,
.home-nav-btn.ghost.is-loading:after{
  border-color:rgba(255,255,255,.25);
  border-top-color:#f4b400;
}

@keyframes spin{to{transform:rotate(360deg)}}

@media(max-width:379.98px){
  .home-nav-name strong{font-size:.66rem;letter-spacing:.08em}
  .home-nav-name small{letter-spacing:.18em}
  .home-cta{padding-left:14px;padding-right:14px}
}

@media(min-width:768px){
  body.home-landing .home-nav{
    min-height:66px;
    padding:10px 24px;
  }
  .home-nav-logo{width:36px;height:36px}
  .home-main{padding-top:calc(74px + env(safe-area-inset-top, 0px))}
  .home-cta{
    max-width:420px;
    margin:0 auto;
    padding-left:24px;
    padding-right:24px;
  }
}

@media(min-width:992px){
  .home-nav-toggle{display:none}
  .home-nav-panel,
  .home-nav-panel.collapse{
    display:flex!important;
    flex-basis:auto;
    width:auto;
    flex:1;
    flex-direction:row;
    align-items:center;
    justify-content:flex-end;
    gap:4px;
    margin:0;
    padding:0;
    height:auto!important;
    visibility:visible!important;
  }
  .home-nav-link{
    min-height:40px;
    width:auto;
    padding:0 14px;
    background:transparent;
    font-size:.72rem;
  }
  .home-nav-link.is-active,
  .home-nav-link:hover{
    background:rgba(244,180,0,.12);
  }
  .home-nav-actions{
    width:auto;
    margin:0 0 0 10px;
    grid-template-columns:auto auto;
  }
  .home-nav-btn{
    min-width:104px;
    min-height:40px;
    padding:0 18px;
  }
}

@media(min-width:1200px){
  .home-nav{max-width:1180px;margin:0 auto}
  body.home-landing .home-nav{
    padding-left:8px;
    padding-right:8px;
  }
}

@media(prefers-reduced-motion:reduce){
  .ceremony-glow,.ceremony-sparkles,.ceremony-star{animation:none}
}
