:root{
  --bg:#07100d;
  --bg-2:#0b1712;
  --panel:#0f2019;
  --green:#86e09f;
  --green-2:#b8f0c6;
  --lime:#c6f36f;
  --text:#f4f8f5;
  --muted:#9eb2a7;
  --line:rgba(255,255,255,.12);
  --ink:#101813;
  --paper:#eef4ef;
  --shell:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}
.shell{width:min(calc(100% - 40px),var(--shell));margin:auto}

.site-header{
  position:sticky;top:0;z-index:1000;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(7,16,13,.8);
  backdrop-filter:blur(18px);
}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:45px;height:45px;border-radius:11px;object-fit:contain}
.brand span{display:flex;flex-direction:column;line-height:1.15}
.brand strong{font-size:15px;letter-spacing:.15em}
.brand small{margin-top:5px;color:var(--green);font-size:9px;letter-spacing:.16em}
.main-nav{display:flex;align-items:center;gap:27px}
.main-nav a{font-size:14px;color:#d6e0da}
.nav-cta{padding:10px 18px!important;border-radius:4px;background:var(--green);color:#102015!important;font-weight:900}
.menu-button{display:none;width:42px;height:42px;border:1px solid var(--line);background:transparent}
.menu-button i{display:block;width:17px;height:1px;margin:5px auto;background:#fff}

.hero{
  position:relative;
  min-height:760px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-media{position:absolute;inset:0}
.hero-media::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(7,16,13,.98) 0%,rgba(7,16,13,.88) 47%,rgba(7,16,13,.3) 100%),
    linear-gradient(0deg,var(--bg),transparent 35%);
}
.hero-media img{width:100%;height:100%;object-fit:cover;opacity:.42}
.hero-grid-overlay{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(134,224,159,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(134,224,159,.055) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to right,#000,transparent 78%);
}
.hero-layout{position:relative;z-index:2;display:grid;grid-template-columns:.92fr 1.08fr;gap:60px;align-items:center;padding:90px 0 110px}
.android-label,.kicker{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--green);
  font-size:11px;font-weight:900;letter-spacing:.18em;
}
.android-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 18px var(--green)}
.hero h1{
  margin:20px 0 24px;
  font-size:clamp(58px,7vw,94px);
  line-height:.98;
  letter-spacing:-.055em;
}
.hero h1 em{font-style:normal;color:var(--green-2)}
.hero-copy>p{max-width:600px;color:#bed0c5;font-size:17px}
.hero-actions{display:flex;align-items:center;gap:26px;margin-top:34px}
.primary-action{
  min-height:56px;padding:0 25px;
  display:inline-flex;align-items:center;gap:26px;
  background:var(--green);color:#102015;font-weight:900;
}
.text-action{color:#dbe6df;font-weight:800}
.text-action span{color:var(--green);margin-left:8px}
.hero-meta{display:flex;gap:34px;margin-top:44px}
.hero-meta div{display:flex;flex-direction:column;border-left:1px solid rgba(134,224,159,.36);padding-left:14px}
.hero-meta b{font-size:15px}
.hero-meta span{color:var(--muted);font-size:11px}

.hero-device{position:relative;min-height:600px}
.system-ring{position:absolute;border:1px solid rgba(134,224,159,.18);border-radius:50%}
.ring-a{width:520px;height:520px;right:5px;top:38px}
.ring-b{width:340px;height:340px;right:95px;top:128px}
.android-symbol{
  position:absolute;right:4px;top:50px;
  font-size:190px;font-weight:900;line-height:1;
  color:rgba(134,224,159,.07);
}
.phone-main,.phone-side{
  position:absolute;
  background:#06100c;
  border:1px solid rgba(255,255,255,.17);
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  overflow:hidden;
}
.phone-main{width:286px;height:568px;left:50%;top:0;transform:translateX(-50%);padding:8px;border-radius:34px;z-index:3}
.phone-side{width:175px;height:390px;top:120px;padding:7px;border-radius:28px}
.phone-side.left{left:8px;transform:rotate(-9deg)}
.phone-side.right{right:0;transform:rotate(9deg)}
.phone-main img,.phone-side img{width:100%;height:100%;object-fit:cover;border-radius:26px}

.download-bar{position:relative;z-index:5;margin-top:-34px}
.download-bar-inner{
  min-height:116px;
  display:grid;
  grid-template-columns:1.5fr .7fr .7fr auto;
  align-items:center;
  background:#f1f6f2;color:var(--ink);
  box-shadow:0 24px 65px rgba(0,0,0,.32);
}
.download-app{display:flex;align-items:center;gap:16px;padding:22px 28px}
.download-app img{width:58px;height:58px;border-radius:13px}
.download-app div,.download-info{display:flex;flex-direction:column}
.download-app span,.download-info span{font-size:11px;color:#68756d}
.download-app strong{font-size:20px}
.download-info{padding:0 28px;border-left:1px solid rgba(0,0,0,.11)}
.download-info strong{font-size:16px}
.download-button{
  height:116px;padding:0 34px;
  display:flex;align-items:center;gap:24px;
  background:var(--green);font-weight:900;
}

.section{padding:110px 0}
.intro-section{background:var(--bg)}
.intro-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:center}
.intro-copy h2,.section-head h2,.steps-title h2,.preview-heading h2,.final-content h2{
  margin:13px 0 18px;
  font-size:clamp(40px,5vw,64px);
  line-height:1.06;letter-spacing:-.045em;
}
.intro-copy p,.steps-title p,.preview-heading p{color:var(--muted)}
.intro-art{height:470px;position:relative;overflow:hidden;background:#102019}
.intro-art img{width:100%;height:100%;object-fit:cover;opacity:.74}
.intro-art::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,16,13,.75),transparent)}
.intro-chip{
  position:absolute;left:28px;bottom:28px;z-index:2;
  display:flex;align-items:center;gap:16px;
  padding:15px 18px;background:rgba(7,16,13,.82);
  border:1px solid var(--line);backdrop-filter:blur(12px)
}
.intro-chip b{font-size:24px;color:var(--green)}
.intro-chip span{font-size:12px;color:var(--muted)}

.requirements{background:var(--paper);color:var(--ink)}
.section-head{max-width:760px;margin-bottom:50px}
.requirements .kicker{color:#477957}
.requirements-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(0,0,0,.14);border-bottom:1px solid rgba(0,0,0,.14)}
.requirements-grid article{min-height:280px;padding:34px;border-right:1px solid rgba(0,0,0,.14)}
.requirements-grid article:last-child{border-right:0}
.req-no{display:block;margin-bottom:70px;color:#5b936a;font-size:12px;font-weight:900;letter-spacing:.16em}
.requirements-grid h3{font-size:25px;margin:0 0 12px}
.requirements-grid p{margin:0;color:#626d65}

.steps-section{position:relative;overflow:hidden;background:#0c1b15}
.steps-image{position:absolute;inset:0}
.steps-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,16,13,.97),rgba(7,16,13,.78))}
.steps-image img{width:100%;height:100%;object-fit:cover;opacity:.34}
.steps-layout{position:relative;z-index:2;display:grid;grid-template-columns:.82fr 1.18fr;gap:80px}
.steps-title{position:sticky;top:120px;align-self:start}
.steps-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.steps-list li{display:grid;grid-template-columns:80px 1fr;gap:20px;padding:28px 0;border-bottom:1px solid var(--line)}
.steps-list li>span{color:var(--green);font-size:13px;font-weight:900}
.steps-list h3{margin:0 0 8px;font-size:24px}
.steps-list p{margin:0;color:var(--muted)}

.preview-section{background:#08110e}
.preview-heading{display:flex;align-items:end;justify-content:space-between;gap:50px;margin-bottom:50px}
.preview-heading>div{max-width:650px}
.preview-heading p{max-width:430px;margin:0}
.preview-stage{display:grid;grid-template-columns:230px 1fr 230px;gap:22px;align-items:center}
.preview-phone{height:500px;padding:7px;border:1px solid var(--line);background:#050a08;border-radius:30px;overflow:hidden}
.preview-phone.first{transform:rotate(-4deg)}
.preview-phone.second{transform:rotate(4deg)}
.preview-phone img{width:100%;height:100%;object-fit:cover;border-radius:23px}
.preview-center{height:520px;position:relative;overflow:hidden}
.preview-center::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,16,13,.92),transparent 62%)}
.preview-center img{width:100%;height:100%;object-fit:cover}
.preview-copy{position:absolute;left:32px;right:32px;bottom:28px;z-index:2;display:flex;flex-direction:column}
.preview-copy strong{font-size:30px}
.preview-copy span{color:var(--muted)}

.ui-section{background:#eef4ef;color:var(--ink)}
.section-head.compact{text-align:center;margin:0 auto 48px}
.ui-section .kicker{color:#477957}
.ui-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:15px}
.ui-grid figure{margin:0;background:#fff;border:1px solid rgba(0,0,0,.11)}
.ui-grid img{width:100%;height:290px;object-fit:cover}
.ui-grid .wide img{object-fit:contain;padding:25px;background:#0a120f}
.ui-grid figcaption{display:flex;flex-direction:column;padding:18px}
.ui-grid figcaption span{font-size:12px;color:#6b756e}

.final-cta{position:relative;overflow:hidden;padding:78px 0}
.final-media{position:absolute;inset:0}
.final-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,16,13,.96),rgba(7,16,13,.64))}
.final-media img{width:100%;height:100%;object-fit:cover}
.final-content{position:relative;z-index:2;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.final-content>img{width:78px;height:78px;border-radius:17px}
.final-content h2{font-size:44px;margin:7px 0 4px}
.final-content p{margin:0;color:var(--muted)}
.final-button{min-height:58px;padding:0 27px;display:flex;align-items:center;gap:24px;background:var(--green);color:var(--ink);font-weight:900}

.site-footer{padding:38px 0;border-top:1px solid var(--line)}
.footer-inner{display:grid;grid-template-columns:auto 1fr auto;gap:36px;align-items:center}
.footer-brand{display:flex;align-items:center;gap:11px}
.footer-brand img{width:40px;height:40px;border-radius:9px}
.footer-brand span{display:flex;flex-direction:column;line-height:1.2}
.footer-brand small,.site-footer p{font-size:11px;color:var(--muted)}
.site-footer p{margin:0}

.download-modal{position:fixed;inset:0;z-index:2000;display:none;place-items:center;padding:20px}
.download-modal.is-open{display:grid}
.modal-shade{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(9px)}
.modal-card{position:relative;z-index:2;width:min(100%,470px);padding:43px;text-align:center;background:#102019;border:1px solid var(--line)}
.modal-card img{width:72px;margin:0 auto 20px;border-radius:15px}
.modal-card h2{margin:12px 0}
.modal-card p{color:var(--muted)}
.modal-card code{color:var(--green)}
.modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}
.modal-confirm{min-height:48px;padding:0 24px;border:0;background:var(--green);font-weight:900;cursor:pointer}

@media(max-width:980px){
  .menu-button{display:block}
  .main-nav{position:absolute;left:20px;right:20px;top:74px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:15px;background:#0b1712;border:1px solid var(--line)}
  .main-nav.is-open{display:flex}
  .main-nav a{padding:13px}
  .hero-layout,.intro-grid,.steps-layout{grid-template-columns:1fr}
  .hero-device{min-height:540px}
  .download-bar-inner{grid-template-columns:1fr 1fr}
  .download-app{grid-column:1/-1}
  .download-button{height:86px}
  .requirements-grid{grid-template-columns:1fr}
  .requirements-grid article{border-right:0;border-bottom:1px solid rgba(0,0,0,.14)}
  .req-no{margin-bottom:24px}
  .steps-title{position:static}
  .preview-heading{display:block}
  .preview-heading p{margin-top:18px}
  .preview-stage{grid-template-columns:180px 1fr 180px}
  .ui-grid{grid-template-columns:1fr 1fr}
  .ui-grid .wide{grid-column:1/-1}
  .final-content{grid-template-columns:auto 1fr}
  .final-button{grid-column:1/-1;justify-content:center}
  .footer-inner{grid-template-columns:1fr}
}
@media(max-width:700px){
  .shell{width:min(calc(100% - 28px),var(--shell))}
  .header-inner{min-height:68px}
  .brand img{width:39px;height:39px}
  .hero{min-height:auto}
  .hero-layout{padding:75px 0 90px;gap:25px}
  .hero h1{font-size:48px}
  .hero-copy>p{font-size:15px}
  .hero-actions{align-items:stretch;flex-direction:column}
  .primary-action{justify-content:space-between}
  .hero-meta{gap:15px;flex-wrap:wrap}
  .hero-device{min-height:395px}
  .ring-a{width:340px;height:340px}
  .ring-b{width:230px;height:230px;right:55px;top:80px}
  .phone-main{width:194px;height:380px}
  .phone-side{width:125px;height:275px;top:78px}
  .android-symbol{font-size:110px}
  .download-bar{margin-top:-20px}
  .download-bar-inner{grid-template-columns:1fr}
  .download-app{grid-column:auto;padding:20px}
  .download-info{padding:14px 20px;border-left:0;border-top:1px solid rgba(0,0,0,.1)}
  .download-button{height:64px;justify-content:space-between}
  .section{padding:76px 0}
  .intro-copy h2,.section-head h2,.steps-title h2,.preview-heading h2,.final-content h2{font-size:35px}
  .intro-art{height:340px}
  .requirements-grid article{min-height:auto;padding:28px 4px}
  .preview-stage{grid-template-columns:1fr;gap:16px}
  .preview-phone{height:430px;width:220px;margin:auto}
  .preview-phone.first,.preview-phone.second{transform:none}
  .preview-center{height:360px;grid-row:1}
  .ui-grid{grid-template-columns:1fr}
  .ui-grid .wide{grid-column:auto}
  .ui-grid img{height:auto;min-height:220px}
  .final-content{grid-template-columns:1fr;text-align:left}
  .final-content>img{width:62px;height:62px}
  .modal-card{padding:36px 22px 28px}
}

/* Standard HH Poker brand assets */
.brand img[src$="hhpoker-brand-logo.png"],
.logo img[src$="hhpoker-brand-logo.png"],
.footer-brand img[src$="hhpoker-brand-logo.png"],
.footer-grid img[src$="hhpoker-brand-logo.png"],
.foot img[src$="hhpoker-brand-logo.png"] {
  width: min(176px, 48vw);
  height: auto;
  max-height: 48px;
  border-radius: 0;
  object-fit: contain;
}

/* Page-specific hero refresh */
.hero { background: linear-gradient(142deg, #061710 0%, #0f2b1c 48%, #03100c 100%); }
.hero::after { content: ""; position: absolute; inset: auto -12% -18% 38%; height: 46%; background: linear-gradient(90deg, rgba(54, 231, 139, .26), transparent); transform: skewY(-8deg); pointer-events: none; }
.hero-device, .phone-stack, .安卓-visual { transform: translateY(18px) rotate(-2.5deg); }
.download-bar { border-top: 1px solid rgba(72, 235, 156, .28); }
