/* NPS Portfolio Masterclass Home Section v5.3.0 */
.npm-home-section{padding:48px 0 58px;background:radial-gradient(circle at 87% 12%,rgba(28,185,255,.13),transparent 28%),linear-gradient(180deg,rgba(4,13,25,.98),#020914)}
.npm-home-guest,.npm-home-active{border:1px solid rgba(56,149,210,.25);border-radius:30px;background:linear-gradient(135deg,rgba(8,29,50,.98),rgba(4,16,29,.98));padding:34px;box-shadow:0 28px 80px rgba(0,0,0,.24)}
.npm-home-guest{display:grid;grid-template-columns:1.35fr .65fr;gap:32px;align-items:center}
.npm-home-kicker,.npm-home-active small,.npm-home-minihead small,.npm-home-status-card small,.npm-home-personal-card small{font-size:12px;letter-spacing:.14em;font-weight:900;color:#29d8ff}
.npm-home-copy h2,.npm-home-active h2,.npm-home-status-card h2{font-size:clamp(30px,4.5vw,50px);line-height:1.08;margin:10px 0 14px;color:#f7fbff}
.npm-home-copy p,.npm-home-active p,.npm-home-status-card p,.npm-home-personal-card p{color:#9cb4c9;line-height:1.65}
.npm-home-benefits{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.npm-home-benefits span{padding:8px 11px;border-radius:999px;border:1px solid rgba(80,180,238,.22);background:rgba(4,18,31,.58);color:#c9e7f7;font-size:12px}
.npm-home-actions{display:flex;gap:10px;flex-wrap:wrap}
.npm-home-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:13px;text-decoration:none;font-weight:900;color:#eff8ff;border:1px solid rgba(90,162,216,.3);background:#0b2136}
.npm-home-btn.primary{background:linear-gradient(135deg,#2776ff,#17cffa);color:#00121c;border:0}
.npm-home-preview{position:relative;min-height:300px;border-radius:26px;display:grid;place-items:center;text-align:center;overflow:hidden;background:radial-gradient(circle at 50% 40%,#103e68,#061423 66%);border:1px solid rgba(53,181,255,.28)}
.npm-home-preview:before{content:"";position:absolute;inset:18px;border:1px solid rgba(33,212,255,.3);border-radius:50%}
.npm-home-preview strong{position:relative;font-size:92px;line-height:1;color:white;font-style:italic;letter-spacing:-.08em}
.npm-home-preview span{position:relative;font-weight:950;letter-spacing:.12em;color:#27d9ff}
.npm-home-preview small{position:relative;color:#7f9db5;letter-spacing:.08em}
.npm-home-orbit{position:absolute;width:320px;height:320px;border-radius:50%;border:2px solid rgba(32,179,255,.35);box-shadow:0 0 36px rgba(26,178,255,.2)}
.npm-home-showcase{margin-top:22px}
.npm-home-minihead{display:flex;justify-content:space-between;align-items:end;margin:0 4px 12px}
.npm-home-minihead h3{margin:4px 0 0;color:white;font-size:22px}
.npm-home-member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.npm-home-member-card{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-decoration:none;color:white;background:#061421;border:1px solid rgba(64,133,184,.22);border-radius:18px;padding:13px}
.npm-home-member-photo{width:56px;height:56px;border-radius:15px;overflow:hidden;background:#0b2842;display:grid;place-items:center;color:#22d8ff;font-size:22px}
.npm-home-member-photo img{width:100%;height:100%;object-fit:cover}
.npm-home-member-card small{color:#24d6ff;font-weight:900}.npm-home-member-card strong{display:block;margin-top:2px}.npm-home-member-card p{font-size:11px;color:#7f9db5;margin:4px 0 0}.npm-home-member-card b{font-size:25px;color:#4abfff}
.npm-home-status-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;border-radius:26px;border:1px solid rgba(69,145,201,.27);background:linear-gradient(135deg,#071a2d,#04111f);padding:28px}
.npm-home-status-card.pending{border-color:rgba(44,200,255,.3)}
.npm-home-status-icon{width:70px;height:70px;border-radius:20px;display:grid;place-items:center;font-size:30px;color:#54e6a8;background:rgba(84,230,168,.1);border:1px solid rgba(84,230,168,.3)}
.npm-home-status-card h2{font-size:30px;margin:7px 0}.npm-home-status-card p{margin:0}
.npm-home-active{display:grid;gap:20px}
.npm-home-active-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.npm-home-active-profile{display:flex;align-items:center;gap:16px}
.npm-home-active-photo{width:84px;height:84px;border-radius:22px;overflow:hidden;background:#0a2945;display:grid;place-items:center;color:#25dcff;font-size:32px;flex:0 0 auto}
.npm-home-active-photo img{width:100%;height:100%;object-fit:cover}
.npm-home-active h2{font-size:32px;margin:6px 0}.npm-home-active p{margin:0}
.npm-home-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.npm-home-personal-card{text-decoration:none;color:white;padding:19px;border-radius:18px;background:#04111f;border:1px solid rgba(62,130,180,.22)}
.npm-home-personal-card h3{margin:6px 0 5px;font-size:21px}.npm-home-personal-card p{margin:0;font-size:13px}
@media(max-width:820px){.npm-home-section{padding:28px 0 38px}.npm-home-guest{grid-template-columns:1fr;padding:24px 20px}.npm-home-preview{min-height:230px}.npm-home-member-grid{grid-template-columns:1fr}.npm-home-status-card{grid-template-columns:auto 1fr;padding:20px}.npm-home-status-card .npm-home-btn{grid-column:1/-1}.npm-home-active{padding:22px 18px}.npm-home-active-head{align-items:flex-start}.npm-home-active-profile{align-items:flex-start}}
@media(max-width:620px){.npm-home-preview strong{font-size:70px}.npm-home-copy h2{font-size:34px}.npm-home-actions{display:grid}.npm-home-btn{width:100%}.npm-home-status-card{grid-template-columns:1fr;text-align:center}.npm-home-status-icon{margin:auto}.npm-home-active-head{display:grid}.npm-home-active-head>.npm-home-btn{width:100%}.npm-home-personal-grid{grid-template-columns:1fr}.npm-home-active-photo{width:72px;height:72px;border-radius:18px}.npm-home-active h2{font-size:26px}}

/* v5.5 Brand Growth CTA */
.npm-growth-cta{padding:0 0 54px}
.npm-growth-box{text-align:center;padding:46px 28px;border-radius:30px;background:linear-gradient(135deg,#07182a,#0a2744);color:#fff;box-shadow:0 28px 80px rgba(2,18,31,.18)}
.npm-growth-box>small{color:#20cfff;font-weight:900;letter-spacing:.13em}
.npm-growth-box h2{font-size:clamp(30px,5vw,50px);margin:10px 0}
.npm-growth-box p{max-width:760px;margin:0 auto 22px;color:#b8c9d7;line-height:1.7}
@media(max-width:640px){.npm-growth-box{padding:32px 18px;border-radius:24px}}

/* v5.5.2 LINE Login button */
.npm-home-btn.npm-line-login-btn{
  background:#06C755;
  color:#00160a;
  border-color:#06C755;
  box-shadow:0 10px 28px rgba(6,199,85,.20);
}
.npm-home-btn.npm-line-login-btn:hover{
  background:#05b84d;
  border-color:#05b84d;
}


/* v5.9.0 — Active Member Priority Home */
.npm-member-priority-section{
  padding:22px 0 10px;
  background:
    radial-gradient(circle at 50% 0,rgba(25,174,255,.08),transparent 52%);
}
.npm-member-priority-section .npm-home-active{
  margin:0;
}
.npm-member-priority-section .npm-home-active-head{
  align-items:center;
}
.npm-member-priority-section .npm-home-personal-ready{
  border-color:rgba(40,213,255,.26);
  background:linear-gradient(135deg,rgba(10,37,61,.94),rgba(5,20,34,.98));
}
@media(max-width:720px){
  .npm-member-priority-section{
    padding:14px 0 4px;
  }
  .npm-member-priority-section .npm-home-active{
    border-radius:24px;
  }
}


/* v5.9.1 — Logged-in Member Above-the-fold UX
   Only active members get a shorter Home hero. Guests keep the original hero. */
@media(max-width:720px){
  .v3-home-hero.npm-home-hero-member{
    min-height:54svh !important;
    height:54svh !important;
    max-height:560px;
    overflow:hidden;
  }

  .v3-home-hero.npm-home-hero-member .v3-home-hero-bg{
    min-height:54svh !important;
    height:54svh !important;
    background-position:center 34% !important;
  }

  .v3-home-hero.npm-home-hero-member .v3-home-hero-inner{
    min-height:54svh !important;
    height:54svh !important;
    padding-top:34px !important;
    padding-bottom:24px !important;
    align-items:center !important;
  }

  .v3-home-hero.npm-home-hero-member .v3-home-hero-copy h1{
    font-size:clamp(42px,13vw,58px) !important;
    line-height:.93 !important;
    margin-top:8px !important;
    margin-bottom:12px !important;
  }

  .v3-home-hero.npm-home-hero-member .v3-home-hero-copy p{
    margin-top:8px !important;
    font-size:18px !important;
  }

  .v3-home-hero.npm-home-hero-member .v3-hero-note{
    display:none !important;
  }

  .npm-member-priority-section{
    padding-top:10px !important;
  }

  .npm-member-priority-section .npm-home-active{
    padding:18px !important;
  }

  .npm-member-priority-section .npm-home-active-head{
    gap:14px !important;
  }

  .npm-member-priority-section .npm-home-active-profile{
    gap:13px !important;
  }

  .npm-member-priority-section .npm-home-active-photo{
    width:76px !important;
    height:76px !important;
    border-radius:18px !important;
  }

  .npm-member-priority-section .npm-home-active-profile h2{
    font-size:28px !important;
    line-height:1.02 !important;
    margin:4px 0 5px !important;
  }

  .npm-member-priority-section .npm-home-active-profile p{
    font-size:14px !important;
    line-height:1.4 !important;
    margin:0 !important;
  }

  .npm-member-priority-section .npm-home-active-head>.npm-home-btn{
    min-height:48px !important;
    margin-top:4px !important;
  }

  .npm-member-priority-section .npm-home-personal-grid{
    margin-top:12px !important;
  }
}

@media(max-width:390px){
  .v3-home-hero.npm-home-hero-member,
  .v3-home-hero.npm-home-hero-member .v3-home-hero-bg,
  .v3-home-hero.npm-home-hero-member .v3-home-hero-inner{
    min-height:50svh !important;
    height:50svh !important;
  }

  .v3-home-hero.npm-home-hero-member .v3-home-hero-copy h1{
    font-size:clamp(39px,12.5vw,52px) !important;
  }
}


/* v5.12.7 — Home status account controls */
.npm-home-status-actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:7px;
}
.npm-home-status-link{
  text-align:center;
  color:#79c9e9;
  text-decoration:none;
  font-size:12px;
  padding:6px 8px;
}
.npm-home-status-link.subtle{color:#70899b}
.npm-home-status-link:hover{color:#e1f9ff}


/* v5.15.0 — Home portfolio teaser */
.npm-home-portfolio-teaser{
  margin-top:22px;
  padding:22px 24px;
  border:1px solid rgba(53,161,221,.22);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 18%,rgba(45,174,255,.08),transparent 32%),
    linear-gradient(135deg,#071a2b,#05111d);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.npm-home-portfolio-teaser-copy small{
  color:#2bd8ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.npm-home-portfolio-teaser-copy h3{
  margin:5px 0 6px;
  color:#f5fbff;
  font-size:24px;
}
.npm-home-portfolio-teaser-copy p{
  margin:0;
  color:#8fa9ba;
  line-height:1.55;
  max-width:720px;
}
.npm-home-portfolio-teaser .npm-home-btn{
  flex:0 0 auto;
  white-space:nowrap;
}
@media(max-width:720px){
  .npm-home-portfolio-teaser{
    display:grid;
    padding:19px;
    border-radius:20px;
  }
  .npm-home-portfolio-teaser-copy h3{font-size:21px}
  .npm-home-portfolio-teaser .npm-home-btn{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}
