/* =========================================================
   HOME (BNBVillage.fun) — capa a pantalla completa sobre la app
   Todo con prefijo h- y dentro de #home para no chocar con style.css

   IMÁGENES DE FONDO — coloca los archivos en web/img/
   img/hero.webp         -> fondo superior (planeta, aldea, logo BNB)
   img/sidebar-logo.webp -> globo con aldea arriba del menú
   img/sidebar-city.webp -> ciudad con logo BNB abajo del menú
   img/stake.webp        -> fondo del bloque "Stake & Earn"
   img/page-bg.webp      -> fondo general (espacio morado)
   ========================================================= */
#home{position:fixed;inset:0;z-index:500;overflow:hidden;background:#07041a;
  font-family:"Roboto Condensed",Arial,sans-serif;color:#fff}
#home.hidden{display:none}
body.home-on{overflow:hidden}
#home *{box-sizing:border-box;margin:0;padding:0}
#home button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
#home .h-click{cursor:pointer;transition:filter .15s,transform .15s}
#home .h-click:hover{filter:brightness(1.12)}

#home .h-stage{
  position:absolute;left:0;top:0;width:1672px;height:941px;
  transform-origin:0 0;overflow:hidden;
  background:
    radial-gradient(ellipse 30% 40% at 100% 22%, rgba(120,50,220,.55) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 25% 20%, rgba(70,30,160,.45) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 100%, #120830 0%, transparent 60%),
    #07041a;
}
#home .h-abs{position:absolute}

/* ---------- HERO ---------- */
/* imagen del home solo en la franja superior (planeta + logo BNB + aldea), como en el diseño;
   se funde hacia abajo y hacia la izquierda con el fondo oscuro */
#home .h-hero{left:380px;top:-60px;width:1254px;height:706px;
  background:url("../img/home-bg.webp?v=2") center/100% 100% no-repeat;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 52%,transparent 80%),linear-gradient(to right,transparent 0%,#000 22%,#000 92%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,#000 0%,#000 52%,transparent 80%),linear-gradient(to right,transparent 0%,#000 22%,#000 92%,transparent 100%);
  mask-composite:intersect}
#home .h-title{
  left:308px;top:100px;font-family:"Poppins",sans-serif;font-style:italic;font-weight:900;
  font-size:83px;letter-spacing:-3px;line-height:1;filter:drop-shadow(0 4px 6px rgba(0,0,0,.6));
}
#home .h-gold{background:linear-gradient(180deg,#fff27a 0%,#ffd21e 40%,#f3a90a 75%,#d98a00 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
#home .h-white{background:linear-gradient(180deg,#fff 0%,#f2f0ff 55%,#c9c4e8 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
#home .h-tagline{
  top:198px;width:520px;left:342px;text-align:center;font-family:"Poppins",sans-serif;font-style:italic;
  font-weight:800;font-size:32px;line-height:39px;color:#fff;text-shadow:0 3px 6px rgba(0,0,0,.7);
}
#home .h-pills{left:300px;top:293px;width:562px;height:52px;border-radius:16px;
  background:rgba(14,8,36,.82);border:1px solid rgba(140,110,230,.25);display:flex;align-items:center}
#home .h-pill{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:500;padding:0 16px;height:100%}
#home .h-pill + .h-pill{border-left:1px solid rgba(255,255,255,.14)}
#home .h-pill svg{width:28px;height:28px}

/* ---------- SIDEBAR ---------- */
#home .h-sidebar{left:0;top:0;width:262px;height:941px;
  background:linear-gradient(180deg,#0d0828 0%,#0a0620 60%,#090519 100%);border-right:1px solid rgba(140,110,230,.18)}
#home .h-sb-logo{left:0;top:-24px;width:262px;height:262px;background:url("../img/sidebar-logo.webp?v=2") center/cover no-repeat;-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,#000 72%,transparent 100%)}
#home .h-sb-brand{left:0;top:180px;width:262px;text-align:center;font-family:"Poppins",sans-serif;font-style:italic;
  font-weight:900;font-size:40px;letter-spacing:-1.5px;line-height:1;filter:drop-shadow(0 3px 4px rgba(0,0,0,.8))}
#home .h-sb-brand .h-fun{display:block;font-size:30px;margin-top:2px;letter-spacing:-.5px}
#home .h-btn-launchpad{left:24px;top:269px;width:217px;height:55px;border-radius:14px;
  background:linear-gradient(180deg,#ffe055 0%,#f9c51a 55%,#efab07 100%);
  box-shadow:0 0 18px rgba(248,195,21,.45), inset 0 1px 0 rgba(255,255,255,.6);
  display:flex;align-items:center;padding-left:30px;gap:16px;color:#1a1205;font-size:19px;font-weight:600}
#home .h-btn-launchpad svg{width:32px;height:32px}
#home .h-menu{left:40px;top:329px;width:210px}
#home .h-item{height:61px;display:flex;align-items:center;gap:22px;font-size:19.5px;font-weight:500;color:#fff;width:100%;text-align:left}
#home .h-item:nth-child(1){height:62px}
#home .h-item:nth-child(3){height:57px}
#home .h-item:nth-child(4){height:53px}
#home .h-item:hover{color:#ffd84a}
#home .h-item svg{width:36px;height:36px;flex:none}
#home .h-btn-wallet{left:24px;top:632px;width:217px;height:53px;border-radius:14px;
  background:linear-gradient(180deg,#9442ff 0%,#7424ef 100%);
  box-shadow:0 0 18px rgba(123,47,247,.55), inset 0 1px 0 rgba(255,255,255,.35);
  display:flex;align-items:center;padding-left:28px;gap:16px;font-size:18.5px;font-weight:500}
#home .h-btn-wallet svg{width:30px;height:30px;flex:none}
#home .h-sb-city{left:0;top:694px;width:262px;height:247px;background:url("../img/sidebar-city.webp?v=2") center bottom/cover no-repeat;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 22%);mask-image:linear-gradient(to bottom,transparent 0%,#000 22%)}

/* ---------- PANELES ---------- */
#home .h-panel{background:rgba(13,8,34,.86);border:1.5px solid rgba(150,110,255,.28);border-radius:20px;
  box-shadow:0 0 22px rgba(90,50,200,.18), inset 0 0 30px rgba(80,40,180,.08)}
#home .h-create{left:285px;top:367px;width:962px;height:326px}
#home .h-rocket{left:20px;top:16px;width:52px;height:52px}
#home .h-create h2{left:87px;top:18px;font-size:26px;font-weight:600;letter-spacing:-.2px}
#home .h-sub{left:87px;top:51px;font-size:14.5px;color:#e6e2f3}
#home .h-btn-guide{left:787px;top:20px;width:154px;height:46px;border-radius:14px;
  border:2px solid #f8c315 !important;background:rgba(20,12,10,.6) !important;
  display:flex;align-items:center;justify-content:center;gap:8px;color:#f8c315 !important;font-size:17px;font-weight:600;text-decoration:none}
#home .h-btn-guide svg{width:24px;height:24px}

#home .h-track{left:22px;top:96px;width:704px;height:6px;border-radius:3px;background:#2f2a52}
#home .h-track-fill{left:22px;top:96px;width:148px;height:6px;border-radius:3px;
  background:linear-gradient(90deg,#f7b80c,#ffd84a);box-shadow:0 0 8px rgba(248,195,21,.7)}
#home .h-step{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;top:85px}
#home .h-step.on{background:radial-gradient(circle at 40% 35%,#ffe46b,#f2b40a);color:#1a1205;
  box-shadow:0 0 0 3px rgba(248,195,21,.25),0 0 12px rgba(248,195,21,.8)}
#home .h-step.off{background:#3a3560;color:#e8e6f5;border:1px solid #57518a}
#home .h-step-lbl{top:117px;font-size:16px;font-weight:500;transform:translateX(-50%);white-space:nowrap}
#home .h-step-lbl.on{color:#f8c315}

#home .h-form{left:22px;top:147px;width:919px;height:168px;border-radius:14px;background:rgba(32,26,62,.72)}
#home .h-upload{left:4px;top:9px;width:154px;height:153px;border-radius:12px;background:rgba(20,15,44,.9);border:1px solid rgba(140,120,220,.25)}
#home .h-avatar{left:31px;top:20px;width:92px;height:92px;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 45% 35%,#d9d3f5,#a79bdc 70%,#8e81c8);display:flex;align-items:center;justify-content:center}
#home .h-avatar svg{width:50px;height:50px}
#home .h-avatar img{width:100%;height:100%;object-fit:cover}
#home .h-btn-upload{left:8px;top:106px;width:139px;height:40px;border-radius:12px;
  background:linear-gradient(180deg,#ffe055,#f3b60c);color:#1a1205;font-size:17.5px;font-weight:500;
  display:flex;align-items:center;justify-content:center}
#home .h-lbl{font-size:17px;font-weight:500;color:#fff}
#home .h-input{height:43px;border-radius:12px;background:#3a3462;border:0;outline:none;
  padding:0 15px;font-family:inherit;font-size:18px;color:#fff}
#home .h-input::placeholder{color:#bdb7d8;opacity:1}
#home .h-input:focus{box-shadow:0 0 0 2px rgba(248,195,21,.6)}
#home .h-input[readonly]{color:#bdb7d8}
#home .h-fee-val{font-size:20px;font-weight:500}
#home .h-btn-launch{left:650px;top:101px;width:247px;height:57px;border-radius:14px;
  background:linear-gradient(180deg,#9a4bff 0%,#7224ef 100%);
  box-shadow:0 0 18px rgba(123,47,247,.6), inset 0 1px 0 rgba(255,255,255,.35);
  display:flex;align-items:center;justify-content:center;gap:12px;font-size:19px;font-weight:500}
#home .h-btn-launch svg{width:26px;height:26px}

/* listas */
#home .h-hot{left:1265px;top:368px;width:386px;height:325px}
#home .h-trend{left:285px;top:711px;width:594px;height:211px}
#home .h-ph-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:600}
#home .h-ph-title svg{width:28px;height:28px}
#home .h-viewall{color:#a78bff;font-size:17px;text-decoration:underline;text-underline-offset:3px;display:flex;align-items:center;gap:6px}
#home .h-viewall svg{width:16px;height:16px}
#home .h-sep{height:1px;background:rgba(150,120,255,.18)}
#home .h-medal{width:34px;height:44px}
#home .h-tok{border-radius:50%;background:#2a2150 center/cover no-repeat;display:flex;align-items:center;justify-content:center;
  font-weight:700;color:#fff;overflow:hidden}
#home .h-tok img{width:100%;height:100%;object-fit:cover}
#home .h-tname{font-size:19px;font-weight:600;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#home .h-tmc{font-size:16px;color:#e2deef;white-space:nowrap}
#home .h-pct{font-size:21px;font-weight:600;color:#22e07a;text-align:right}
#home .h-pct.down{color:#ff5c7a}
#home .h-pct.flat{color:#c9c3dd}
#home .h-rank{width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;color:#1a1205}
#home .h-row{left:0;right:0}
#home .h-row:hover{background:rgba(150,120,255,.07)}
#home .h-empty{left:0;right:0;text-align:center;color:#c9c3dd;font-size:16px}

/* stake */
#home .h-stake{left:898px;top:711px;width:753px;height:211px;border-radius:20px;overflow:hidden;
  border:2px solid rgba(248,195,21,.55);box-shadow:0 0 20px rgba(248,195,21,.25);
  background:url("../img/stake.webp?v=2") center/cover no-repeat, linear-gradient(90deg,#2a1260 0%,#1a0b40 45%,#2c1060 100%)}
#home .h-stake h3{left:310px;top:26px;font-family:"Poppins",sans-serif;font-style:italic;font-weight:800;font-size:39px;letter-spacing:-.5px;line-height:1.1}
#home .h-stake p{left:311px;top:74px;font-size:24px;line-height:27px;font-weight:500;width:280px}
#home .h-btn-stake{left:311px;top:143px;width:222px;height:50px;border-radius:14px;
  background:linear-gradient(180deg,#ffe055,#f3b60c);box-shadow:0 0 14px rgba(248,195,21,.45);
  color:#1a1205;font-size:21px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px}
#home .h-btn-stake svg{width:22px;height:22px}
#home #h-hot-list > :not(.h-row), #home #h-trend-list > :not(.h-row){pointer-events:none}

/* la sidebar del home la pone #appside (la misma en todas las vistas) */
