:root{
  --bg:#07080a;
  --bg-soft:#0d1014;
  --surface:#11151b;
  --line:rgba(255,255,255,.11);
  --text:#f7f8fa;
  --muted:#a7adb7;
  --gold:#d7b16a;
  --gold-light:#efd291;
  --orange:#f26322;
  --green:#78d79a;
  --container:1180px;
  --shadow:0 30px 80px rgba(0,0,0,.38);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:var(--bg);
  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}
.container{width:min(calc(100% - 40px),var(--container));margin:0 auto}

.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(7,8,10,.78);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:46px;height:46px;object-fit:contain;border-radius:12px}
.brand span{display:flex;flex-direction:column;line-height:1.15}
.brand strong{font-size:16px;letter-spacing:.14em}
.brand small{margin-top:5px;color:var(--gold);font-size:9px;letter-spacing:.2em}
.main-nav{display:flex;align-items:center;gap:28px}
.main-nav a{font-size:14px;color:#d6dae1;transition:.25s}
.main-nav a:hover{color:#fff}
.nav-download{
  padding:10px 18px!important;
  color:#17120a!important;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  font-weight:800;
}
.menu-toggle{display:none;width:42px;height:42px;border:1px solid var(--line);background:transparent;border-radius:50%}
.menu-toggle span{display:block;width:17px;height:1px;margin:5px auto;background:#fff}

.hero{
  min-height:760px;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg{position:absolute;inset:0}
.hero-bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(7,8,10,.98) 0%,rgba(7,8,10,.87) 42%,rgba(7,8,10,.28) 100%),
    linear-gradient(0deg,var(--bg),transparent 32%);
}
.hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.55}
.hero-grid{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:center;
  padding:90px 0 110px;
}
.eyebrow,.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--gold-light);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hero h1{
  margin:22px 0 24px;
  font-size:clamp(52px,6vw,86px);
  line-height:1.02;
  letter-spacing:-.055em;
}
.hero h1 em{font-style:normal;color:var(--gold-light)}
.hero-copy>p{max-width:590px;color:#c5cad2;font-size:17px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.button{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:0 24px;
  border:1px solid transparent;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  transition:.25s ease;
}
.button:hover{transform:translateY(-2px)}
.button-primary{color:#17120a;background:linear-gradient(135deg,var(--gold-light),var(--gold))}
.button-secondary{border-color:var(--line);background:rgba(255,255,255,.04)}
.hero-note{display:flex;align-items:center;gap:12px;margin-top:34px;color:var(--muted);font-size:13px}
.hero-note>span{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 18px var(--green)}

.hero-phones{position:relative;min-height:590px}
.orbit{position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%}
.orbit-one{width:520px;height:520px;right:0;top:30px}
.orbit-two{width:370px;height:370px;right:75px;top:105px}
.phone{
  position:absolute;
  padding:8px;
  background:#07090c;
  border:1px solid rgba(255,255,255,.14);
  border-radius:36px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.phone img{width:100%;height:100%;object-fit:cover;border-radius:28px}
.phone-a{width:210px;height:455px;left:20px;top:100px;transform:rotate(-8deg)}
.phone-b{width:270px;height:550px;left:50%;top:10px;transform:translateX(-45%);z-index:3}
.phone-c{width:210px;height:455px;right:0;top:110px;transform:rotate(8deg)}
.app-badge{
  position:absolute;left:5%;bottom:0;z-index:5;
  display:flex;align-items:center;gap:12px;
  padding:14px 17px;
  background:rgba(13,16,20,.88);
  border:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.app-badge img{width:45px;height:45px;border-radius:10px}
.app-badge div{display:flex;flex-direction:column;line-height:1.2}
.app-badge span{color:var(--muted);font-size:12px}

.mobile-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#0b0d10}
.summary-row{display:grid;grid-template-columns:repeat(4,1fr)}
.summary-row div{padding:26px 30px;border-right:1px solid var(--line);display:flex;flex-direction:column}
.summary-row div:last-child{border-right:0}
.summary-row strong{font-size:18px}
.summary-row span{color:var(--muted);font-size:12px}

.section{padding:110px 0}
.section-intro{max-width:760px;margin-bottom:60px}
.section-intro h2,.showcase-copy h2,.download-heading h2,.experience-copy h2,.gallery-heading h2,.final-inner h2{
  margin:12px 0 18px;
  font-size:clamp(38px,4.6vw,60px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.section-intro p,.showcase-copy p,.experience-copy>p{color:var(--muted)}

.features{background:linear-gradient(180deg,#090b0e,#101318)}
.feature-flow{display:grid;gap:18px}
.feature-flow article{
  min-height:280px;
  display:grid;
  grid-template-columns:90px 1fr 360px;
  gap:34px;
  align-items:center;
  padding:34px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.feature-flow article.reverse{grid-template-columns:90px 360px 1fr}
.feature-flow article.reverse .feature-copy{grid-column:3}
.feature-flow article.reverse .feature-visual{grid-column:2;grid-row:1}
.feature-number{font-size:12px;color:var(--gold);letter-spacing:.16em}
.feature-copy h3{margin:0 0 12px;font-size:28px}
.feature-copy p{margin:0;color:var(--muted)}
.feature-visual{
  min-height:210px;
  display:grid;
  place-items:center;
  background:#080a0d;
  border:1px solid var(--line);
  overflow:hidden;
}
.feature-visual img{width:100%;height:100%;object-fit:cover}
.feature-visual.small-visual img{object-fit:contain;padding:20px}

.showcase{position:relative;overflow:hidden;background:#efece5;color:#14161a}
.showcase-bg{position:absolute;inset:0}
.showcase-bg::after{content:"";position:absolute;inset:0;background:rgba(239,236,229,.92)}
.showcase-bg img{width:100%;height:100%;object-fit:cover}
.showcase-inner{position:relative;z-index:2;display:grid;grid-template-columns:.75fr 1.25fr;gap:70px;align-items:center}
.showcase-copy p{color:#64686f}
.showcase-phones{min-height:620px;position:relative}
.showcase-phone{
  position:absolute;
  background:#0c0e12;
  padding:8px;
  border-radius:34px;
  box-shadow:0 35px 80px rgba(0,0,0,.22);
  overflow:hidden;
}
.showcase-phone img{width:100%;height:100%;object-fit:cover;border-radius:27px}
.showcase-phone.left{width:205px;height:450px;left:0;top:100px;transform:rotate(-7deg)}
.showcase-phone.center{width:280px;height:560px;left:50%;top:15px;transform:translateX(-50%);z-index:3}
.showcase-phone.right{width:205px;height:450px;right:0;top:100px;transform:rotate(7deg)}

.download-section{background:#0a0c10}
.download-heading{text-align:center;margin-bottom:50px}
.os-split{display:grid;grid-template-columns:1fr 1fr}
.os-panel{min-height:620px;display:grid;grid-template-rows:280px 1fr;overflow:hidden}
.os-visual{position:relative;overflow:hidden}
.os-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.55),transparent)}
.os-visual img{width:100%;height:100%;object-fit:cover}
.os-mark{
  position:absolute;left:30px;top:26px;z-index:2;
  width:72px;height:72px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(0,0,0,.62);
  border:1px solid rgba(255,255,255,.25);
  font-weight:900;
}
.os-copy{padding:42px}
.os-copy>span{font-size:11px;font-weight:800;letter-spacing:.16em}
.os-copy h3{margin:8px 0 12px;font-size:34px}
.os-copy p{color:rgba(255,255,255,.74)}
.os-copy ul{padding:0;margin:22px 0 28px;list-style:none}
.os-copy li{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.os-copy li::before{content:"—";margin-right:9px}
.android-panel{background:#dceadd;color:#111}
.android-panel .os-copy p{color:#4e5950}
.android-panel .os-copy li{border-bottom-color:rgba(0,0,0,.11)}
.ios-panel{background:#1b1e24}
.button-dark{background:#111;color:#fff}
.button-light{background:#fff;color:#111}

.experience{background:#f4f1eb;color:#111318}
.experience-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.experience-visual{position:relative}
.experience-frame{height:580px;overflow:hidden;background:#111318}
.experience-frame img{width:100%;height:100%;object-fit:cover}
.experience-mini{
  position:absolute;right:-25px;bottom:34px;
  display:flex;align-items:center;gap:13px;
  padding:16px 19px;
  background:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.18);
}
.experience-mini img{width:48px;height:48px;border-radius:11px}
.experience-mini div{display:flex;flex-direction:column}
.experience-mini span{font-size:12px;color:#777b82}
.experience-copy>p{color:#60656c}
.experience-list{margin-top:32px}
.experience-list>div{display:flex;gap:18px;padding:20px 0;border-top:1px solid rgba(0,0,0,.13)}
.experience-list b{color:#9b722d}
.experience-list span{display:flex;flex-direction:column}
.experience-list small{color:#72767c}

.gallery-section{background:#101318}
.gallery-heading{text-align:center;margin-bottom:48px}
.ui-gallery{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px}
.ui-card{margin:0;background:#090b0e;border:1px solid var(--line)}
.ui-card img{width:100%;height:300px;object-fit:cover}
.ui-card.large img{object-fit:contain;padding:24px}
.ui-card figcaption{display:flex;flex-direction:column;padding:20px}
.ui-card figcaption span{color:var(--muted);font-size:13px}

.final-cta{position:relative;overflow:hidden;padding:95px 0}
.final-bg{position:absolute;inset:0}
.final-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(35,16,7,.96),rgba(35,16,7,.55))}
.final-bg img{width:100%;height:100%;object-fit:cover}
.final-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:50px}
.final-inner>div{max-width:760px}
.final-inner p{color:rgba(255,255,255,.75)}
.button-white{background:#fff;color:#111;min-width:220px}

.site-footer{padding:38px 0;border-top:1px solid var(--line);background:#07080a}
.footer-inner{display:grid;grid-template-columns:auto 1fr auto;gap:36px;align-items:center}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand img{width:40px;height:40px;border-radius:9px}
.footer-brand div{display:flex;flex-direction:column;line-height:1.2}
.footer-brand span,.site-footer p{color:var(--muted);font-size:12px}
.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-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}
.modal-panel{
  position:relative;z-index:2;
  width:min(100%,480px);
  padding:44px;
  text-align:center;
  background:#11151b;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.modal-panel img{width:74px;margin:0 auto 20px;border-radius:15px}
.modal-panel h2{margin:12px 0}
.modal-panel p{color:var(--muted)}
.modal-panel code{color:var(--gold-light)}
.modal-close{position:absolute;right:14px;top:8px;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}

@media(max-width:980px){
  .menu-toggle{display:block}
  .main-nav{
    position:absolute;left:20px;right:20px;top:74px;
    display:none;flex-direction:column;align-items:stretch;gap:0;
    padding:16px;background:#0d1014;border:1px solid var(--line)
  }
  .main-nav.is-open{display:flex}
  .main-nav a{padding:13px 8px}
  .hero-grid,.showcase-inner,.experience-grid{grid-template-columns:1fr}
  .hero-phones{min-height:520px}
  .summary-row{grid-template-columns:1fr 1fr}
  .feature-flow article,.feature-flow article.reverse{grid-template-columns:70px 1fr}
  .feature-flow article .feature-visual,
  .feature-flow article.reverse .feature-visual{grid-column:1/-1;grid-row:auto}
  .feature-flow article.reverse .feature-copy{grid-column:2}
  .os-split{grid-template-columns:1fr}
  .ui-gallery{grid-template-columns:1fr 1fr}
  .ui-card.large{grid-column:1/-1}
  .final-inner{flex-direction:column;align-items:flex-start}
  .footer-inner{grid-template-columns:1fr}
}
@media(max-width:700px){
  .container{width:min(calc(100% - 28px),var(--container))}
  .header-inner{min-height:68px}
  .brand img{width:40px;height:40px}
  .hero{min-height:auto}
  .hero-grid{padding:74px 0 90px;gap:25px}
  .hero h1{font-size:44px}
  .hero-copy>p{font-size:15px}
  .hero-actions{flex-direction:column}
  .button{width:100%}
  .hero-phones{min-height:390px}
  .orbit-one{width:330px;height:330px}
  .orbit-two{width:240px;height:240px;right:45px;top:45px}
  .phone-a,.phone-c{width:135px;height:300px;top:70px}
  .phone-b{width:190px;height:370px}
  .app-badge{left:0;bottom:-5px;padding:10px 12px}
  .summary-row{grid-template-columns:1fr 1fr}
  .summary-row div{padding:18px;border-bottom:1px solid var(--line)}
  .section{padding:76px 0}
  .section-intro h2,.showcase-copy h2,.download-heading h2,.experience-copy h2,.gallery-heading h2,.final-inner h2{font-size:34px}
  .feature-flow article,.feature-flow article.reverse{grid-template-columns:1fr;padding:26px 0}
  .feature-flow article .feature-copy,.feature-flow article.reverse .feature-copy{grid-column:1}
  .feature-number{margin-bottom:-16px}
  .showcase-phones{min-height:470px}
  .showcase-phone.left,.showcase-phone.right{width:140px;height:315px;top:100px}
  .showcase-phone.center{width:205px;height:410px}
  .os-panel{grid-template-rows:220px 1fr;min-height:auto}
  .os-copy{padding:28px}
  .experience-frame{height:420px}
  .experience-mini{right:10px;bottom:18px}
  .ui-gallery{grid-template-columns:1fr}
  .ui-card.large{grid-column:auto}
  .ui-card img{height:auto;min-height:230px}
  .final-inner .button{min-width:0}
  .modal-panel{padding:36px 22px 26px}
}

/* 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: radial-gradient(circle at 78% 14%, rgba(55, 226, 173, .34), transparent 30%), linear-gradient(135deg, #07151d 0%, #12322b 54%, #081017 100%); }
.hero-bg { opacity: .34; mix-blend-mode: screen; }
.hero-grid { grid-template-columns: .82fr 1.18fr; }
.hero-phones { transform: translateY(10px) rotate(-2deg); }
.phone-b { filter: drop-shadow(0 26px 34px rgba(0,0,0,.42)); }
