/* ===========================================================
   play time app - theme-d294.css
   Prefix: ui29-
   Palette: #1C2833 / #F5DEB3 / #36454F / #D4AF37 / #FFD700
   Mobile-first, max-width: 430px
   =========================================================== */

:root{
  --ui29-bg:#1C2833;
  --ui29-bg-2:#36454F;
  --ui29-surface:#22303c;
  --ui29-surface-2:#2c3e50;
  --ui29-text:#F5DEB3;
  --ui29-text-soft:#e9d9b3;
  --ui29-muted:#b9a98a;
  --ui29-gold:#D4AF37;
  --ui29-gold-bright:#FFD700;
  --ui29-white:#ffffff;
  --ui29-border:rgba(245,222,179,.16);
  --ui29-shadow:0 10px 28px rgba(0,0,0,.38);
  --ui29-radius:14px;
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html{font-size:62.5%;scroll-behavior:smooth;}
body{
  font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  background:radial-gradient(1200px 600px at 50% -10%,#3a5266 0%,var(--ui29-bg) 55%);
  color:var(--ui29-text);
  line-height:1.5;
  font-size:1.6rem;
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:var(--ui29-gold-bright);text-decoration:none;}
a:hover{color:var(--ui29-white);}
button{font-family:inherit;cursor:pointer;border:none;}

/* ---------- Layout shell (max-width: 430px) ---------- */
.ui29-shell{
  width:100%;
  max-width:430px;
  margin:0 auto;
  background:linear-gradient(180deg,var(--ui29-bg) 0%,#1a2530 100%);
  box-shadow:0 0 60px rgba(0,0,0,.45);
  min-height:100vh;
  position:relative;
}

/* ---------- Header ---------- */
.ui29-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(90deg,#16202b 0%,#22303c 50%,#16202b 100%);
  border-bottom:2px solid var(--ui29-gold);
  padding:.7rem 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
}
.ui29-logo{
  display:flex;align-items:center;gap:.55rem;
  color:var(--ui29-text);
  font-weight:800;
  font-size:1.7rem;
  letter-spacing:.3px;
}
.ui29-logo .ui29-logo-mark{
  width:34px;height:34px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%,var(--ui29-gold-bright),var(--ui29-gold) 60%,#8a6e1d 100%);
  display:flex;align-items:center;justify-content:center;
  color:#1C2833;font-weight:900;font-size:1.5rem;
  box-shadow:0 4px 10px rgba(0,0,0,.4);
}
.ui29-logo small{display:block;font-size:1.05rem;color:var(--ui29-muted);font-weight:600;letter-spacing:.4px;}
.ui29-header-actions{display:flex;align-items:center;gap:.45rem;}
.ui29-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  padding:.65rem 1.1rem;border-radius:30px;font-weight:700;font-size:1.3rem;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  min-height:38px;line-height:1;
}
.ui29-btn i,.ui29-btn span.material-symbols-outlined{font-size:1.5rem;}
.ui29-btn-login{
  background:transparent;color:var(--ui29-text);
  border:1.5px solid var(--ui29-gold);
}
.ui29-btn-login:hover{background:rgba(212,175,55,.14);}
.ui29-btn-register{
  background:linear-gradient(135deg,var(--ui29-gold-bright) 0%,var(--ui29-gold) 100%);
  color:#1C2833;font-weight:800;
  box-shadow:0 6px 14px rgba(212,175,55,.35);
}
.ui29-btn:hover{transform:translateY(-2px);filter:brightness(1.06);}

/* ---------- Mobile menu toggle ---------- */
.ui29-menu-toggle{
  width:38px;height:38px;border-radius:10px;
  background:var(--ui29-surface);
  color:var(--ui29-text);
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--ui29-border);
}
.ui29-menu-toggle i{font-size:1.9rem;}

/* ---------- Mobile slide menu ---------- */
.ui29-side-menu{
  position:fixed;inset:0 0 0 auto;
  width:82%;max-width:340px;
  background:linear-gradient(180deg,#1b2731 0%,#22303c 100%);
  z-index:9999;
  transform:translateX(105%);
  transition:transform .28s ease;
  padding:1.4rem 1.2rem 2rem;
  overflow-y:auto;
  border-left:2px solid var(--ui29-gold);
  box-shadow:-12px 0 32px rgba(0,0,0,.5);
}
.ui29-side-menu.ui29-open{transform:translateX(0);}
.ui29-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.6);
  z-index:9998;opacity:0;visibility:hidden;
  transition:opacity .25s ease;
}
.ui29-overlay.ui29-open{opacity:1;visibility:visible;}
.ui29-menu-head{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:1rem;margin-bottom:1rem;
  border-bottom:1px dashed var(--ui29-border);
}
.ui29-menu-head h3{color:var(--ui29-gold-bright);font-size:1.7rem;}
.ui29-close{
  background:transparent;color:var(--ui29-text);
  font-size:2rem;line-height:1;width:32px;height:32px;
}
.ui29-menu-list{list-style:none;display:flex;flex-direction:column;gap:.4rem;}
.ui29-menu-list a{
  display:flex;align-items:center;gap:.7rem;
  padding:.9rem 1rem;border-radius:10px;
  color:var(--ui29-text);font-weight:600;font-size:1.4rem;
  background:rgba(245,222,179,.05);
  border:1px solid transparent;
}
.ui29-menu-list a:hover{background:rgba(212,175,55,.16);border-color:var(--ui29-border);}
.ui29-menu-list a i{color:var(--ui29-gold);font-size:1.7rem;}
.ui29-menu-cta{
  margin-top:1.2rem;display:flex;flex-direction:column;gap:.6rem;
}
.ui29-menu-cta .ui29-btn{width:100%;padding:.95rem;}

/* ---------- Main / sections ---------- */
main{padding-bottom:96px;}
.ui29-section{padding:1.6rem 1rem;}
.ui29-section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:1rem;gap:.6rem;
}
.ui29-section-title{
  display:flex;align-items:center;gap:.55rem;
  font-size:1.85rem;font-weight:800;color:var(--ui29-white);
}
.ui29-section-title .ui29-bar{
  width:5px;height:22px;border-radius:4px;
  background:linear-gradient(180deg,var(--ui29-gold-bright),var(--ui29-gold));
}
.ui29-section-title .bi,.ui29-section-title .material-symbols-outlined{color:var(--ui29-gold-bright);font-size:1.8rem;}
.ui29-link-more{font-size:1.25rem;color:var(--ui29-gold-bright);font-weight:700;}

/* ---------- Hero / Carousel ---------- */
.ui29-hero{
  position:relative;margin:1rem;border-radius:18px;overflow:hidden;
  box-shadow:var(--ui29-shadow);
  border:1px solid var(--ui29-border);
}
.ui29-hero-track{display:flex;transition:transform .45s ease;}
.ui29-slide{
  min-width:100%;position:relative;
  background:linear-gradient(135deg,#2c3e50 0%,#1C2833 100%);
}
.ui29-slide img{
  width:100%;height:200px;object-fit:cover;
  filter:saturate(1.1);
}
.ui29-slide-cap{
  position:absolute;left:0;right:0;bottom:0;
  padding:1.1rem 1.2rem 1.25rem;
  background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.82) 100%);
  color:var(--ui29-white);
}
.ui29-slide-cap h2{font-size:1.85rem;font-weight:800;margin-bottom:.25rem;color:var(--ui29-gold-bright);}
.ui29-slide-cap p{font-size:1.25rem;color:var(--ui29-text-soft);margin-bottom:.55rem;}
.ui29-hero-dots{
  position:absolute;bottom:.7rem;right:.9rem;display:flex;gap:.35rem;
}
.ui29-hero-dots span{
  width:7px;height:7px;border-radius:50%;background:rgba(245,222,179,.4);
}
.ui29-hero-dots span.ui29-active{background:var(--ui29-gold-bright);width:18px;border-radius:4px;}

/* ---------- Marquee ---------- */
.ui29-marquee{
  background:linear-gradient(90deg,#16202b,#22303c,#16202b);
  border-top:1px solid var(--ui29-border);
  border-bottom:1px solid var(--ui29-border);
  padding:.55rem 0;overflow:hidden;
  display:flex;align-items:center;gap:.6rem;
}
.ui29-marquee .ui29-mq-tag{
  flex:0 0 auto;background:var(--ui29-gold);color:#1C2833;
  font-weight:800;font-size:1.15rem;padding:.2rem .6rem;border-radius:6px;margin-left:.8rem;
}
.ui29-marquee-inner{
  display:inline-block;white-space:nowrap;color:var(--ui29-text);
  font-size:1.25rem;font-weight:600;
  animation:ui29scroll 24s linear infinite;
}
@keyframes ui29scroll{from{transform:translateX(10%);}to{transform:translateX(-100%);}}

/* ---------- Promo banner CTA ---------- */
.ui29-promo-cta{
  margin:1.2rem 1rem;padding:1.2rem;border-radius:16px;
  background:linear-gradient(135deg,rgba(212,175,55,.18),rgba(255,215,0,.08));
  border:1px solid var(--ui29-gold);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.ui29-promo-cta .ui29-pc-text h3{color:var(--ui29-gold-bright);font-size:1.6rem;margin-bottom:.2rem;}
.ui29-promo-cta .ui29-pc-text p{color:var(--ui29-text-soft);font-size:1.2rem;}

/* ---------- Category chips ---------- */
.ui29-chips{
  display:flex;gap:.5rem;overflow-x:auto;padding:.4rem 1rem 1rem;
  scrollbar-width:none;
}
.ui29-chips::-webkit-scrollbar{display:none;}
.ui29-chip{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:.4rem;
  padding:.55rem 1rem;border-radius:30px;font-size:1.25rem;font-weight:700;
  background:var(--ui29-surface);color:var(--ui29-text-soft);
  border:1px solid var(--ui29-border);
}
.ui29-chip.ui29-active{
  background:linear-gradient(135deg,var(--ui29-gold-bright),var(--ui29-gold));
  color:#1C2833;border-color:transparent;
}
.ui29-chip i,.ui29-chip .material-symbols-outlined{font-size:1.4rem;}

/* ---------- Game grid ---------- */
.ui29-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.7rem;
}
.ui29-card{
  background:var(--ui29-surface);
  border:1px solid var(--ui29-border);
  border-radius:12px;
  overflow:hidden;
  position:relative;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ui29-card:hover{transform:translateY(-3px);border-color:var(--ui29-gold);box-shadow:0 10px 20px rgba(0,0,0,.4);}
.ui29-card-img{
  position:relative;aspect-ratio:1/1;overflow:hidden;background:#0e1820;
}
.ui29-card-img img{width:100%;height:100%;object-fit:cover;}
.ui29-card-tag{
  position:absolute;top:5px;left:5px;
  background:rgba(212,175,55,.95);color:#1C2833;
  font-size:1rem;font-weight:800;padding:.1rem .45rem;border-radius:6px;
  text-transform:uppercase;letter-spacing:.4px;
}
.ui29-card-hot{
  position:absolute;top:5px;right:5px;
  background:linear-gradient(135deg,#ff5b5b,#b30000);
  color:#fff;font-size:1rem;font-weight:800;padding:.1rem .45rem;border-radius:6px;
  display:flex;align-items:center;gap:.2rem;
}
.ui29-card-body{
  padding:.5rem .55rem .65rem;display:flex;flex-direction:column;gap:.25rem;
}
.ui29-card-title{
  color:var(--ui29-white);font-size:1.2rem;font-weight:700;line-height:1.2;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.ui29-card-play{
  display:inline-flex;align-items:center;justify-content:center;gap:.3rem;
  background:linear-gradient(135deg,var(--ui29-gold-bright),var(--ui29-gold));
  color:#1C2833;font-weight:800;font-size:1.1rem;
  padding:.4rem;border-radius:8px;
}
.ui29-card-play i{font-size:1.1rem;}

/* ---------- Featured ---------- */
.ui29-feature{
  display:grid;grid-template-columns:1fr;gap:.8rem;
}
.ui29-feature-card{
  display:flex;gap:.9rem;align-items:stretch;
  background:var(--ui29-surface);border:1px solid var(--ui29-border);
  border-radius:14px;overflow:hidden;
}
.ui29-feature-card .ui29-fc-img{flex:0 0 38%;}
.ui29-feature-card .ui29-fc-img img{width:100%;height:100%;object-fit:cover;min-height:120px;}
.ui29-feature-card .ui29-fc-body{padding:.8rem .9rem;display:flex;flex-direction:column;justify-content:center;gap:.3rem;}
.ui29-feature-card h4{color:var(--ui29-gold-bright);font-size:1.5rem;}
.ui29-feature-card p{color:var(--ui29-text-soft);font-size:1.2rem;}
.ui29-feature-card .ui29-fc-cta{
  margin-top:.4rem;display:inline-flex;width:fit-content;
  background:var(--ui29-gold);color:#1C2833;font-weight:800;
  font-size:1.15rem;padding:.35rem .8rem;border-radius:20px;
}

/* ---------- Steps ---------- */
.ui29-steps{
  display:grid;grid-template-columns:1fr 1fr;gap:.7rem;
}
.ui29-step{
  background:var(--ui29-surface);border:1px solid var(--ui29-border);
  border-radius:12px;padding:.85rem;
}
.ui29-step-num{
  width:32px;height:32px;border-radius:50%;
  background:linear-gradient(135deg,var(--ui29-gold-bright),var(--ui29-gold));
  color:#1C2833;font-weight:900;font-size:1.4rem;
  display:flex;align-items:center;justify-content:center;margin-bottom:.5rem;
}
.ui29-step h4{color:var(--ui29-white);font-size:1.3rem;margin-bottom:.25rem;}
.ui29-step p{color:var(--ui29-text-soft);font-size:1.15rem;line-height:1.4;}

/* ---------- SEO content / article ---------- */
.ui29-article{
  background:rgba(245,222,179,.04);
  border:1px solid var(--ui29-border);
  border-radius:14px;padding:1.1rem 1.1rem;
}
.ui29-article h2{
  color:var(--ui29-gold-bright);font-size:1.85rem;margin-bottom:.6rem;
  display:flex;align-items:center;gap:.5rem;
}
.ui29-article h3{color:var(--ui29-white);font-size:1.5rem;margin:.9rem 0 .35rem;}
.ui29-article p{color:var(--ui29-text-soft);font-size:1.3rem;line-height:1.65;margin-bottom:.7rem;}
.ui27-article ul,.ui29-article ul{margin:.4rem 0 .8rem 1.2rem;}
.ui29-article li{color:var(--ui29-text-soft);font-size:1.25rem;line-height:1.55;margin-bottom:.35rem;}
.ui29-article a{color:var(--ui29-gold-bright);text-decoration:underline;text-underline-offset:2px;}

/* ---------- FAQ ---------- */
.ui29-faq-item{
  background:var(--ui29-surface);border:1px solid var(--ui29-border);
  border-radius:12px;margin-bottom:.55rem;overflow:hidden;
}
.ui29-faq-q{
  width:100%;text-align:left;padding:.9rem 1rem;
  background:transparent;color:var(--ui29-white);
  font-weight:700;font-size:1.3rem;
  display:flex;justify-content:space-between;align-items:center;gap:.6rem;
}
.ui29-faq-q .bi{color:var(--ui29-gold-bright);font-size:1.6rem;transition:transform .25s ease;}
.ui29-faq-item.ui29-open .ui29-faq-q .bi{transform:rotate(45deg);}
.ui29-faq-a{
  max-height:0;overflow:hidden;transition:max-height .3s ease;
  color:var(--ui29-text-soft);font-size:1.22rem;line-height:1.55;
  padding:0 1rem;
}
.ui29-faq-item.ui29-open .ui29-faq-a{max-height:520px;padding:0 1rem .9rem;}

/* ---------- Footer ---------- */
.ui29-footer{
  background:linear-gradient(180deg,#1a2530,#11181f);
  border-top:2px solid var(--ui29-gold);
  padding:1.6rem 1rem 1.4rem;
}
.ui29-footer-cols{
  display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;
}
.ui29-footer h4{
  color:var(--ui29-gold-bright);font-size:1.35rem;margin-bottom:.5rem;
  display:flex;align-items:center;gap:.4rem;
}
.ui29-footer ul{list-style:none;}
.ui29-footer li{margin-bottom:.35rem;}
.ui29-footer a{color:var(--ui29-text-soft);font-size:1.2rem;}
.ui29-footer a:hover{color:var(--ui29-gold-bright);}
.ui29-footer-bottom{
  margin-top:1.2rem;padding-top:.9rem;border-top:1px dashed var(--ui29-border);
  text-align:center;color:var(--ui29-muted);font-size:1.1rem;
}
.ui29-disclaimer{
  background:rgba(255,91,91,.08);border:1px solid rgba(255,91,91,.3);
  border-radius:10px;padding:.7rem .8rem;margin:1rem 0;
  color:#ffcccc;font-size:1.12rem;line-height:1.45;
}

/* ---------- Bottom nav ---------- */
.ui29-bottom-nav{
  position:fixed;left:50%;transform:translateX(-50%);
  bottom:0;width:100%;max-width:430px;
  background:linear-gradient(180deg,rgba(34,48,60,.96),rgba(22,32,43,.98));
  border-top:2px solid var(--ui29-gold);
  display:flex;justify-content:space-around;align-items:stretch;
  z-index:1000;height:64px;
  box-shadow:0 -8px 22px rgba(0,0,0,.45);
}
.ui29-nav-btn{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:.15rem;color:var(--ui29-text-soft);background:transparent;
  min-width:60px;min-height:60px;padding:.3rem;position:relative;
  transition:color .2s ease;
}
.ui29-nav-btn i,.ui29-nav-btn .material-symbols-outlined,
.ui29-nav-btn ion-icon{font-size:22px;color:var(--ui29-text-soft);transition:transform .2s ease,color .2s ease;}
.ui29-nav-btn span.ui29-nav-label{font-size:11px;font-weight:600;}
.ui29-nav-btn:hover i,.ui29-nav-btn:hover .material-symbols-outlined,
.ui29-nav-btn:hover ion-icon{transform:translateY(-2px);}
.ui29-nav-btn.ui29-active{color:var(--ui29-gold-bright);}
.ui29-nav-btn.ui29-active i,.ui29-nav-btn.ui29-active .material-symbols-outlined,
.ui29-nav-btn.ui29-active ion-icon{color:var(--ui29-gold-bright);}
.ui29-nav-btn.ui29-nav-promo{
  background:linear-gradient(135deg,var(--ui29-gold-bright),var(--ui29-gold));
  color:#1C2833;
}
.ui29-nav-btn.ui29-nav-promo i,
.ui29-nav-btn.ui29-nav-promo span.ui29-nav-label{color:#1C2833;}
.ui29-nav-btn.ui29-nav-promo ion-icon{color:#1C2833;}
.ui29-nav-btn .ui29-nav-badge{
  position:absolute;top:4px;right:14px;
  width:8px;height:8px;border-radius:50%;background:#ff5b5b;
}

/* ---------- Back to top ---------- */
.ui29-to-top{
  position:fixed;right:14px;bottom:78px;z-index:999;
  width:42px;height:42px;border-radius:50%;
  background:var(--ui29-gold);color:#1C2833;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--ui29-shadow);
  opacity:0;visibility:hidden;transition:opacity .25s ease, visibility .25s ease;
}
.ui29-to-top.ui29-show{opacity:1;visibility:visible;}

/* ---------- Desktop ---------- */
@media (min-width:769px){
  .ui29-bottom-nav{display:none;}
  main{padding-bottom:40px;}
  .ui29-menu-toggle{display:none;}
}

/* ---------- Misc helpers ---------- */
.ui29-text-gold{color:var(--ui29-gold-bright);}
.ui29-center{text-align:center;}
.ui29-mt{margin-top:1rem;}
.ui29-pulse{animation:ui29pulse 1.8s ease-in-out infinite;}
@keyframes ui29pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,215,0,.55);}50%{box-shadow:0 0 0 10px rgba(255,215,0,0);}}
