/* ===========================================================
   phlwin-apk.homes - Core Base Stylesheet
   Mobile-first Philippine casino gaming portal (320-430px)
   Prefix: v32c-
   Palette: #F5F5F5 | #A9A9A9 | #696969 | #273746 | #FFCC02
   =========================================================== */

/* -------- Base reset -------- */
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:#1c2932;
  color:#F5F5F5;
  line-height:1.55;
  font-size:15px;
  min-width:320px;
  max-width:430px;
  margin:0 auto;
  position:relative;
  overflow-x:hidden;
}
img{max-width:100%;display:block;border:0}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul,ol{list-style:none}
h1,h2,h3,h4{font-weight:700;line-height:1.3;color:#FFCC02}
h1{font-size:24px}
h2{font-size:20px}
h3{font-size:17px}
h4{font-size:15px}
p{margin:0 0 12px;color:#D6D6D6}

/* -------- Layout helpers -------- */
.v32c-wrap{padding:0 14px}
.v32c-section{padding:22px 0 6px}
.v32c-section::after{content:"";display:block;clear:both}
.v32c-eyebrow{display:inline-block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#FFCC02;font-weight:700;margin-bottom:8px;background:rgba(255,204,2,.08);padding:3px 9px;border-radius:20px}

/* ============ Header ============ */
.v32c-header{
  position:sticky;top:0;z-index:60;
  background:linear-gradient(180deg,#273746 0%,#1f2d39 100%);
  border-bottom:1px solid rgba(255,204,2,.18);
  box-shadow:0 3px 10px rgba(0,0,0,.25);
}
.v32c-topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;gap:8px;
}
.v32c-brand{display:flex;align-items:center;gap:9px;min-width:0}
.v32c-brand img{width:36px;height:36px;border-radius:8px;object-fit:cover;background:#FFCC02;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.v32c-brand b{font-size:17px;color:#FFCC02;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.v32c-brand small{display:block;font-size:10px;color:#A9A9A9;font-weight:500;letter-spacing:.05em}
.v32c-head-actions{display:flex;align-items:center;gap:7px}
.v32c-btn{
  font-size:13px;font-weight:700;
  padding:8px 14px;border-radius:22px;
  letter-spacing:.03em;transition:transform .15s ease, box-shadow .15s ease;
  min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;
}
.v32c-btn:active{transform:scale(.96)}
.v32c-btn--ghost{background:transparent;color:#F5F5F5;border:1px solid rgba(245,245,245,.32)}
.v32c-btn--ghost:hover{border-color:#FFCC02;color:#FFCC02}
.v32c-btn--gold{background:linear-gradient(135deg,#FFCC02 0%,#f0b100 100%);color:#273746;box-shadow:0 3px 10px rgba(255,204,2,.35)}
.v32c-btn--gold:hover{box-shadow:0 4px 14px rgba(255,204,2,.55)}
.v32c-menu-btn{
  width:34px;height:34px;border-radius:50%;
  background:rgba(245,245,245,.07);display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(245,245,245,.14);
}
.v32c-menu-btn span,.v32c-menu-btn span::before,.v32c-menu-btn span::after{
  content:"";display:block;width:16px;height:2px;background:#F5F5F5;border-radius:2px;position:relative;transition:.25s;
}
.v32c-menu-btn span::before{position:absolute;top:-6px;left:0}
.v32c-menu-btn span::after{position:absolute;top:6px;left:0}

/* -------- Top nav strip -------- */
.v32c-navstrip{
  display:flex;gap:6px;overflow-x:auto;padding:8px 14px;
  border-top:1px solid rgba(245,245,245,.06);
  scrollbar-width:none;-ms-overflow-style:none;
}
.v32c-navstrip::-webkit-scrollbar{display:none}
.v32c-navstrip a{
  font-size:12px;font-weight:600;color:#D6D6D6;
  padding:6px 12px;border-radius:16px;white-space:nowrap;
  background:rgba(245,245,245,.05);transition:.18s;
}
.v32c-navstrip a:hover,.v32c-navstrip a.active{background:#FFCC02;color:#273746}

/* -------- Drawer (mobile menu) -------- */
.v32c-drawer{
  position:fixed;top:0;right:-86%;width:78%;height:100vh;z-index:80;
  background:#1f2d39;padding:18px 18px 30px;
  transform:translateX(0);transition:transform .3s ease;
  overflow-y:auto;box-shadow:-4px 0 22px rgba(0,0,0,.4);
}
.v32c-drawer[data-open="false"]{right:-86%}
.v32c-drawer[data-open="true"]{right:0}
.v32c-drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(245,245,245,.08)}
.v32c-drawer-head b{color:#FFCC02;font-size:18px;display:flex;align-items:center;gap:8px}
.v32c-drawer-head img{width:30px;height:30px;border-radius:7px}
.v32c-drawer-close{font-size:22px;color:#A9A9A9;width:30px;height:30px;line-height:28px;text-align:center;border-radius:50%;background:rgba(245,245,245,.06)}
.v32c-drawer a{
  display:flex;align-items:center;gap:10px;
  padding:11px 12px;border-radius:10px;color:#F5F5F5;font-size:14px;font-weight:600;
  border-bottom:1px solid rgba(245,245,245,.05);
}
.v32c-drawer a:hover{background:rgba(255,204,2,.1);color:#FFCC02}
.v32c-drawer a .v32c-ico{width:22px;text-align:center;color:#FFCC02;font-size:16px}
.v32c-drawer-cta{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.v32c-drawer-cta .v32c-btn{width:100%;padding:11px}

.v32c-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:75;display:none}
.v32c-overlay[data-open="true"]{display:block}

/* ============ Hero ============ */
.v32c-hero{position:relative;overflow:hidden;background:#1c2932}
.v32c-hero-slides{display:flex;transition:transform .5s ease}
.v32c-hero-slide{min-width:100%;position:relative}
.v32c-hero-slide img{width:100%;height:200px;object-fit:cover;filter:brightness(.55)}
.v32c-hero-cap{
  position:absolute;left:0;right:0;bottom:0;padding:18px 16px 22px;
  background:linear-gradient(0deg,rgba(13,19,24,.95) 0%,rgba(13,19,24,.4) 70%,transparent 100%);
}
.v32c-hero-cap .v32c-eyebrow{background:rgba(255,204,2,.18)}
.v32c-hero-cap h2{font-size:22px;margin-bottom:6px;color:#FFCC02}
.v32c-hero-cap p{font-size:13px;margin-bottom:12px;color:#E0E0E0;max-width:90%}
.v32c-hero-cta{display:flex;gap:8px}
.v32c-hero-dots{display:flex;gap:5px;justify-content:center;padding:8px 0;background:#1c2932}
.v32c-hero-dots span{width:7px;height:7px;border-radius:50%;background:#696969;transition:.2s}
.v32c-hero-dots span.active{background:#FFCC02;width:18px;border-radius:6px}

/* ============ Marquee ============ */
.v32c-marquee{
  background:linear-gradient(90deg,#273746 0%,#1f2d39 100%);
  border-top:1px solid rgba(255,204,2,.15);border-bottom:1px solid rgba(255,204,2,.15);
  padding:8px 0;overflow:hidden;white-space:nowrap;
}
.v32c-marquee-track{display:inline-block;animation:v32c-scroll 28s linear infinite;font-size:12px;color:#FFCC02;font-weight:600}
.v32c-marquee-track span{margin:0 22px;color:#D6D6D6}
.v32c-marquee-track b{color:#FFCC02}
@keyframes v32c-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ============ Section title ============ */
.v32c-sect-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:14px}
.v32c-sect-head h2{position:relative;padding-left:14px}
.v32c-sect-head h2::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;background:#FFCC02;border-radius:3px}
.v32c-sect-head a{font-size:11px;color:#FFCC02;font-weight:600;letter-spacing:.05em}
.v32c-sect-head a:hover{text-decoration:underline}

/* ============ Category chips ============ */
.v32c-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}
.v32c-chips::-webkit-scrollbar{display:none}
.v32c-chips button{
  padding:7px 14px;font-size:12px;font-weight:700;border-radius:18px;
  background:rgba(245,245,245,.05);color:#A9A9A9;white-space:nowrap;
  border:1px solid rgba(245,245,245,.08);
}
.v32c-chips button.active{background:#FFCC02;color:#273746;border-color:#FFCC02}

/* ============ Game grid ============ */
.v32c-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
@media(min-width:360px){.v32c-grid{gap:8px}}
@media(min-width:400px){.v32c-grid{grid-template-columns:repeat(5,1fr)}}
.v32c-card{
  background:linear-gradient(180deg,#273746 0%,#1f2d39 100%);
  border-radius:10px;overflow:hidden;
  border:1px solid rgba(255,204,2,.1);
  transition:transform .18s, box-shadow .18s, border-color .18s;
  position:relative;
}
.v32c-card:hover{transform:translateY(-2px);border-color:rgba(255,204,2,.45);box-shadow:0 6px 16px rgba(0,0,0,.4)}
.v32c-card figure{position:relative}
.v32c-card img{width:100%;aspect-ratio:1;object-fit:cover;background:#0d1318}
.v32c-card-flag{
  position:absolute;top:5px;left:5px;
  font-size:9px;font-weight:800;letter-spacing:.05em;
  background:#FFCC02;color:#273746;padding:2px 6px;border-radius:8px;
}
.v32c-card-flag.hot{background:#ff5a3c;color:#fff}
.v32c-card-cap{padding:6px 6px 8px}
.v32c-card-cap b{display:block;font-size:10.5px;font-weight:600;color:#F5F5F5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v32c-card-cap small{font-size:9px;color:#A9A9A9;text-transform:uppercase;letter-spacing:.05em}
.v32c-play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(13,19,24,.55);opacity:0;transition:.2s;
}
.v32c-card:hover .v32c-play{opacity:1}
.v32c-play span{
  width:36px;height:36px;border-radius:50%;
  background:#FFCC02;color:#273746;font-size:14px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(255,204,2,.5);
}

/* ============ Promo CTA banner ============ */
.v32c-promo{
  display:flex;align-items:center;gap:14px;
  background:linear-gradient(135deg,#FFCC02 0%,#f0a800 60%,#e09800 100%);
  color:#273746;border-radius:14px;padding:14px 16px;margin:6px 0;
  box-shadow:0 6px 18px rgba(255,204,2,.25);
}
.v32c-promo-text{flex:1;min-width:0}
.v32c-promo-text b{font-size:16px;display:block;margin-bottom:2px;color:#273746;font-weight:800}
.v32c-promo-text small{font-size:11px;color:#273746;opacity:.8;display:block}
.v32c-promo .v32c-btn{background:#273746;color:#FFCC02;padding:9px 16px;font-size:13px;white-space:nowrap}

/* ============ Two-col mini cards ============ */
.v32c-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v32c-mini{
  background:#273746;border:1px solid rgba(255,204,2,.1);border-radius:10px;
  padding:12px;display:flex;gap:10px;align-items:center;
}
.v32c-mini img{width:46px;height:46px;border-radius:8px;object-fit:cover;flex-shrink:0;background:#0d1318}
.v32c-mini b{display:block;font-size:12.5px;color:#F5F5F5;font-weight:700;margin-bottom:2px}
.v32c-mini small{font-size:10.5px;color:#A9A9A9;display:block;line-height:1.4}
.v32c-mini:hover{border-color:#FFCC02}

/* ============ Feature rows ============ */
.v32c-feature{
  display:flex;gap:12px;padding:14px;background:#273746;border-radius:10px;
  border:1px solid rgba(245,245,245,.06);margin-bottom:8px;
}
.v32c-feature-ico{
  flex-shrink:0;width:38px;height:38px;border-radius:10px;
  background:rgba(255,204,2,.12);color:#FFCC02;
  display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;
}
.v32c-feature b{display:block;font-size:14px;color:#FFCC02;font-weight:700;margin-bottom:3px}
.v32c-feature p{margin:0;font-size:12.5px;color:#D6D6D6;line-height:1.5}

/* ============ Steps ============ */
.v32c-steps{counter-reset:step}
.v32c-step{
  position:relative;padding:14px 14px 14px 48px;background:#273746;border-radius:10px;
  margin-bottom:8px;border:1px solid rgba(245,245,245,.05);
}
.v32c-step::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:12px;top:14px;width:26px;height:26px;border-radius:50%;
  background:#FFCC02;color:#273746;font-weight:800;font-size:13px;
  display:flex;align-items:center;justify-content:center;
}
.v32c-step b{display:block;font-size:14px;color:#FFCC02;margin-bottom:3px}
.v32c-step p{margin:0;font-size:12.5px;color:#D6D6D6}

/* ============ FAQ ============ */
.v32c-faq{background:#273746;border:1px solid rgba(245,245,245,.06);border-radius:10px;margin-bottom:8px;overflow:hidden}
.v32c-faq summary{
  padding:14px;cursor:pointer;list-style:none;font-weight:600;color:#F5F5F5;font-size:13.5px;
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  position:relative;
}
.v32c-faq summary::-webkit-details-marker{display:none}
.v32c-faq summary::after{content:"+";color:#FFCC02;font-size:18px;font-weight:700;flex-shrink:0;transition:transform .2s}
.v32c-faq[open] summary::after{content:"–"}
.v32c-faq-body{padding:0 14px 14px;font-size:12.5px;color:#D6D6D6;line-height:1.55}

/* ============ Footer ============ */
.v32c-footer{
  background:#1f2d39;border-top:1px solid rgba(255,204,2,.15);
  padding:22px 14px 96px;margin-top:18px;
}
.v32c-foot-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.v32c-foot-brand img{width:36px;height:36px;border-radius:8px}
.v32c-foot-brand b{font-size:17px;color:#FFCC02}
.v32c-foot-brand small{display:block;font-size:11px;color:#A9A9A9}
.v32c-foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.v32c-foot-col h4{font-size:12px;color:#FFCC02;text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px}
.v32c-foot-col a{display:block;font-size:12.5px;color:#A9A9A9;padding:4px 0}
.v32c-foot-col a:hover{color:#FFCC02}
.v32c-foot-about{font-size:12.5px;color:#A9A9A9;line-height:1.6;margin-bottom:14px}
.v32c-foot-cta{display:flex;gap:8px;margin-bottom:18px}
.v32c-foot-cta .v32c-btn{flex:1;padding:10px;font-size:13px}
.v32c-payments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.v32c-payments span{
  font-size:10px;font-weight:700;padding:5px 10px;border-radius:6px;
  background:rgba(245,245,245,.06);color:#A9A9A9;letter-spacing:.05em;
  border:1px solid rgba(245,245,245,.08);
}
.v32c-disclaimer{
  font-size:11px;color:#696969;padding:10px;background:rgba(0,0,0,.18);border-radius:8px;
  line-height:1.5;margin-bottom:12px;border-left:3px solid #FFCC02;
}
.v32c-copy{text-align:center;font-size:11px;color:#696969;padding-top:12px;border-top:1px solid rgba(245,245,245,.05)}

/* ============ Floating action button ============ */
.v32c-fab{
  position:fixed;bottom:74px;right:12px;z-index:55;
  width:52px;height:52px;border-radius:50%;
  background:linear-gradient(135deg,#FFCC02 0%,#f0a800 100%);
  color:#273746;font-size:13px;font-weight:800;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(255,204,2,.45);
  line-height:1;text-align:center;
}
.v32c-fab small{font-size:8px;font-weight:700;margin-top:1px}
.v32c-fab:active{transform:scale(.93)}

/* ============ Bottom nav (fixed) ============ */
.v32c-bottomnav{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;z-index:70;
  width:100%;max-width:430px;
  background:linear-gradient(180deg,#273746 0%,#1c2932 100%);
  border-top:1px solid rgba(255,204,2,.2);
  display:grid;grid-template-columns:repeat(5,1fr);
  padding:6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow:0 -4px 18px rgba(0,0,0,.35);
}
.v32c-bottomnav button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;padding:5px 2px;color:#A9A9A9;font-size:9.5px;font-weight:600;
  border-radius:8px;transition:.18s;position:relative;min-height:48px;
}
.v32c-bottomnav button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.v32c-bottomnav button:hover{color:#F5F5F5}
.v32c-bottomnav button.active{color:#FFCC02}
.v32c-bottomnav button.active::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:24px;height:2px;background:#FFCC02;border-radius:2px}
.v32c-bottomnav button.v32c-cta-nav{
  background:linear-gradient(135deg,#FFCC02 0%,#f0a800 100%);
  color:#273746;border-radius:24px;margin:0 4px;font-weight:800;
  box-shadow:0 4px 12px rgba(255,204,2,.4);
}
.v32c-bottomnav button.v32c-cta-nav svg{stroke:#273746}
.v32c-bottomnav button.v32c-cta-nav::before{display:none}

/* -------- Body bottom clearance for fixed nav -------- */
body{padding-bottom:72px}

/* -------- Responsive wider screen centering -------- */
@media(min-width:431px){
  body{box-shadow:0 0 40px rgba(0,0,0,.4)}
}

/* -------- Utility -------- */
.v32c-hide{display:none !important}
.v32c-mt{margin-top:14px}
.v32c-text-center{text-align:center}
.v32c-badge{display:inline-block;font-size:10px;font-weight:700;padding:3px 8px;border-radius:6px;background:rgba(255,204,2,.15);color:#FFCC02;margin-left:6px;vertical-align:middle}
.v32c-pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;padding:4px 10px;border-radius:14px;background:rgba(255,204,2,.1);color:#FFCC02;margin-right:5px;margin-bottom:4px}

/* -------- Editorial additions for guide pages -------- */
.v32c-article{padding-bottom:10px}
.v32c-lede{font-size:16px;line-height:1.65;color:#F0F0F0;background:rgba(255,204,2,.06);border-left:3px solid #FFCC02;border-radius:0 10px 10px 0;padding:14px;margin:12px 0 4px}
.v32c-prose p{font-size:13.5px;line-height:1.7;color:#D6D6D6;margin-bottom:14px}
.v32c-prose strong,.v32c-prose b{color:#F5F5F5}
.v32c-prose a,.v32c-resource a{color:#FFCC02;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.v32c-callout{background:#273746;border:1px solid rgba(255,204,2,.2);border-radius:12px;padding:15px;margin:14px 0}
.v32c-callout h3{font-size:16px;margin-bottom:7px}
.v32c-callout p{font-size:13px;margin:0;line-height:1.65}
.v32c-checklist{display:grid;gap:8px;margin:10px 0 14px}
.v32c-check{display:flex;gap:10px;align-items:flex-start;background:#273746;border-radius:9px;padding:11px 12px;border:1px solid rgba(245,245,245,.06)}
.v32c-check strong{display:block;color:#FFCC02;font-size:13px;margin-bottom:2px}
.v32c-check span:last-child{font-size:12.5px;color:#D6D6D6;line-height:1.5}
.v32c-resource{background:#273746;border-radius:11px;border:1px solid rgba(255,204,2,.12);padding:13px;margin-bottom:9px}
.v32c-resource h3{font-size:15px;margin-bottom:5px}
.v32c-resource p{font-size:12.5px;color:#D6D6D6;line-height:1.55;margin:0 0 7px}
.v32c-resource-grid{display:grid;gap:8px}
.v32c-promo-list{display:grid;gap:8px;margin:10px 0}
.v32c-promo-list .v32c-promo{margin:0;min-height:64px}
.v32c-promo-list .v32c-btn{flex-shrink:0}
.v32c-game-section{padding-top:22px}
.v32c-game-section h2{margin-bottom:12px}
.v32c-game-card{display:block;background:linear-gradient(180deg,#273746,#1f2d39);border:1px solid rgba(255,204,2,.12);border-radius:10px;overflow:hidden;transition:transform .18s,border-color .18s}
.v32c-game-card:hover{transform:translateY(-2px);border-color:#FFCC02}
.v32c-game-card img{width:100%;aspect-ratio:1;object-fit:cover;background:#0d1318}
.v32c-game-card b{display:block;font-size:10.5px;line-height:1.25;color:#F5F5F5;padding:7px 6px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v32c-disclaimer strong{color:#FFCC02}
@media(min-width:380px){.v32c-resource-grid{grid-template-columns:1fr 1fr}}
