/* 888p win base stylesheet - prefix g5d5- */
:root{
  --g5d5-sky:#87CEEB;
  --g5d5-grey:#EEEEEE;
  --g5d5-dark:#0F0F23;
  --g5d5-red:#FF0000;
  --g5d5-pink:#AD1457;
  --g5d5-peru:#CD853F;
  --g5d5-bg:#0b0b1e;
  --g5d5-card:#15152e;
  --g5d5-text:#f1f1f5;
  --g5d5-muted:#b8b8c8;
  --g5d5-gold:#ffcf55;
  --g5d5-radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:62.5%;scroll-behavior:smooth}
body{
  font-family:"Segoe UI","Roboto","Helvetica Neue",Arial,sans-serif;
  background:radial-gradient(circle at top,#15153a 0%,#0b0b1e 70%);
  color:var(--g5d5-text);
  line-height:1.5;
  max-width:430px;
  margin:0 auto;
  position:relative;
  overflow-x:hidden;
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ===== Header ===== */
.g5d5-header{
  position:sticky;top:0;z-index:1000;
  background:linear-gradient(90deg,#0F0F23 0%,#1b1b3e 100%);
  border-bottom:2px solid var(--g5d5-gold);
  padding:.9rem 1rem;
  display:flex;align-items:center;justify-content:space-between;
}
.g5d5-logo{display:flex;align-items:center;gap:.6rem;min-width:0}
.g5d5-logo img{width:34px;height:34px;border-radius:8px}
.g5d5-logo strong{
  font-size:1.6rem;color:var(--g5d5-sky);font-weight:800;
  white-space:nowrap;letter-spacing:.3px;
}
.g5d5-logo span{color:var(--g5d5-gold)}
.g5d5-head-btns{display:flex;gap:.5rem;align-items:center}
.g5d5-btn{
  border:0;border-radius:30px;padding:.7rem 1.3rem;font-size:1.3rem;
  font-weight:700;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;
}
.g5d5-btn:active{transform:scale(.95)}
.g5d5-btn-login{background:transparent;color:var(--g5d5-sky);border:1.5px solid var(--g5d5-sky)}
.g5d5-btn-register{
  background:linear-gradient(90deg,var(--g5d5-red),var(--g5d5-pink));
  color:#fff;box-shadow:0 4px 12px rgba(255,0,0,.35);
}
.g5d5-menu-toggle{
  background:transparent;border:0;color:var(--g5d5-sky);
  font-size:2.1rem;cursor:pointer;padding:.2rem .5rem;
}

/* ===== Top expandable nav ===== */
.g5d5-topnav{
  background:#10102a;border-bottom:1px solid #25254a;
  display:flex;overflow-x:auto;gap:.3rem;padding:.5rem .8rem;
  scrollbar-width:none;
}
.g5d5-topnav::-webkit-scrollbar{display:none}
.g5d5-topnav a{
  font-size:1.25rem;color:var(--g5d5-muted);white-space:nowrap;
  padding:.5rem .9rem;border-radius:20px;transition:all .2s;
}
.g5d5-topnav a:hover,.g5d5-topnav a.active{
  background:var(--g5d5-sky);color:#0F0F23;font-weight:700;
}

/* ===== Hero ===== */
.g5d5-hero{
  position:relative;border-radius:0 0 22px 22px;overflow:hidden;
  margin-bottom:1.4rem;
  background:linear-gradient(135deg,#AD1457 0%,#0F0F23 70%);
}
.g5d5-hero img{
  width:100%;height:230px;object-fit:cover;opacity:.55;
}
.g5d5-hero-text{
  position:absolute;inset:0;display:flex;flex-direction:column;
  justify-content:center;padding:1.4rem 1.6rem;gap:.6rem;
}
.g5d5-hero-text h1{
  font-size:2.3rem;color:#fff;line-height:1.2;text-shadow:0 2px 8px rgba(0,0,0,.7);
}
.g5d5-hero-text h1 em{color:var(--g5d5-gold);font-style:normal}
.g5d5-hero-text p{font-size:1.25rem;color:#e9e9f5;max-width:88%}
.g5d5-hero-cta{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--g5d5-gold);color:#0F0F23;font-weight:800;
  padding:.75rem 1.6rem;border-radius:30px;font-size:1.3rem;width:fit-content;
  margin-top:.4rem;box-shadow:0 4px 14px rgba(255,207,85,.4);
}

/* ===== Section ===== */
.g5d5-section{padding:0 1rem 1.6rem}
.g5d5-sec-head{
  display:flex;align-items:center;justify-content:space-between;margin:1.6rem 0 1rem;
}
.g5d5-sec-head h2{
  font-size:1.7rem;color:var(--g5d5-sky);font-weight:800;
  display:flex;align-items:center;gap:.5rem;
}
.g5d5-sec-head h2::before{
  content:"";width:5px;height:18px;background:var(--g5d5-gold);border-radius:3px;display:inline-block;
}
.g5d5-sec-more{font-size:1.2rem;color:var(--g5d5-gold)}

/* ===== Game grid ===== */
.g5d5-filter{
  display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.8rem;
  scrollbar-width:none;
}
.g5d5-filter::-webkit-scrollbar{display:none}
.g5d5-filter button{
  border:1px solid #2a2a55;background:#15152e;color:var(--g5d5-muted);
  padding:.5rem 1.1rem;border-radius:20px;font-size:1.2rem;cursor:pointer;
  white-space:nowrap;transition:all .2s;
}
.g5d5-filter button.g5d5-active{
  background:linear-gradient(90deg,var(--g5d5-red),var(--g5d5-pink));
  color:#fff;border-color:transparent;font-weight:700;
}
.g5d5-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;
}
.g5d5-card{
  background:var(--g5d5-card);border-radius:var(--g5d5-radius);
  overflow:hidden;border:1px solid #25254a;position:relative;
  transition:transform .15s;
}
.g5d5-card:active{transform:scale(.96)}
.g5d5-card-img{
  width:100%;aspect-ratio:1;object-fit:cover;background:#0b0b1e;
}
.g5d5-card-body{padding:.5rem .55rem .6rem}
.g5d5-card-body h3{
  font-size:1.1rem;color:#fff;font-weight:600;line-height:1.25;
  height:2.8em;overflow:hidden;
}
.g5d5-card-tag{
  position:absolute;top:.4rem;left:.4rem;
  background:rgba(255,0,0,.85);color:#fff;font-size:.95rem;
  padding:.15rem .5rem;border-radius:8px;font-weight:700;
}
.g5d5-card-play{
  position:absolute;bottom:36px;right:5px;width:28px;height:28px;
  background:rgba(0,0,0,.6);border-radius:50%;display:flex;
  align-items:center;justify-content:center;color:var(--g5d5-gold);font-size:1.2rem;
}

/* ===== Promo banner ===== */
.g5d5-promo{
  background:linear-gradient(90deg,#CD853F,#AD1457);
  border-radius:var(--g5d5-radius);padding:1.2rem 1.4rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  margin:1rem 0 1.6rem;box-shadow:0 6px 18px rgba(173,20,87,.4);
}
.g5d5-promo-text h3{font-size:1.5rem;color:#fff;margin-bottom:.3rem}
.g5d5-promo-text p{font-size:1.15rem;color:#fff;opacity:.92}
.g5d5-promo-btn{
  background:#fff;color:var(--g5d5-pink);font-weight:800;
  padding:.65rem 1.3rem;border-radius:30px;font-size:1.2rem;white-space:nowrap;
}

/* ===== SEO content ===== */
.g5d5-content{
  background:var(--g5d5-card);border-radius:var(--g5d5-radius);
  padding:1.4rem;border:1px solid #25254a;
}
.g5d5-content h3{font-size:1.5rem;color:var(--g5d5-sky);margin:1.2rem 0 .6rem}
.g5d5-content h3:first-child{margin-top:0}
.g5d5-content p{font-size:1.25rem;color:var(--g5d5-muted);line-height:1.7;margin-bottom:.8rem}
.g5d5-content p a{color:var(--g5d5-gold);text-decoration:underline}
.g5d5-content ul{padding-left:1.4rem;margin-bottom:.8rem}
.g5d5-content li{font-size:1.2rem;color:var(--g5d5-muted);line-height:1.7}

/* ===== FAQ ===== */
.g5d5-faq-item{border-bottom:1px solid #25254a;padding:.8rem 0;cursor:pointer}
.g5d5-faq-q{
  font-size:1.3rem;color:#fff;font-weight:600;
  display:flex;justify-content:space-between;align-items:center;gap:.6rem;
}
.g5d5-faq-q .g5d5-ico{color:var(--g5d5-gold);transition:transform .2s}
.g5d5-faq-a{font-size:1.2rem;color:var(--g5d5-muted);line-height:1.7;margin-top:.5rem;display:none}
.g5d5-faq-item.g5d5-open .g5d5-faq-a{display:block}
.g5d5-faq-item.g5d5-open .g5d5-ico{transform:rotate(45deg)}

/* ===== Footer ===== */
.g5d5-footer{
  background:#0a0a1c;border-top:2px solid var(--g5d5-gold);
  padding:1.8rem 1rem 8rem;margin-top:1.5rem;
}
.g5d5-footer h4{font-size:1.35rem;color:var(--g5d5-sky);margin-bottom:.7rem}
.g5d5-footer p{font-size:1.15rem;color:var(--g5d5-muted);line-height:1.6;margin-bottom:.5rem}
.g5d5-footer-links{
  display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1rem;margin:1rem 0;
}
.g5d5-footer-links a{
  font-size:1.15rem;color:var(--g5d5-muted);padding:.3rem 0;border-bottom:1px dashed #25254a;
}
.g5d5-footer-links a:hover{color:var(--g5d5-gold)}
.g5d5-copy{
  font-size:1.1rem;color:#7a7a92;text-align:center;margin-top:1rem;padding-top:1rem;
  border-top:1px solid #1c1c3a;
}

/* ===== Mobile bottom nav ===== */
.g5d5-bottomnav{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:430px;z-index:1000;
  background:linear-gradient(180deg,#15152e 0%,#0a0a1c 100%);
  border-top:2px solid var(--g5d5-gold);
  display:flex;justify-content:space-around;align-items:center;
  height:62px;padding:0 .2rem;
}
.g5d5-bottomnav a,.g5d5-bottomnav button{
  background:transparent;border:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:.15rem;
  min-width:60px;min-height:58px;color:var(--g5d5-muted);cursor:pointer;
  font-size:1rem;font-family:inherit;transition:color .15s;
}
.g5d5-bottomnav .material-icons,
.g5d5-bottomnav .fas,
.g5d5-bottomnav .ion{font-size:22px}
.g5d5-bottomnav a.g5d5-active{color:var(--g5d5-gold)}
.g5d5-bottomnav a:active,.g5d5-bottomnav button:active{color:var(--g5d5-red);transform:scale(.92)}
.g5d5-bottomnav .g5d5-nav-center{
  width:46px;height:46px;border-radius:50%;
  background:linear-gradient(135deg,var(--g5d5-red),var(--g5d5-pink));
  color:#fff;display:flex;align-items:center;justify-content:center;
  margin-top:-18px;box-shadow:0 4px 12px rgba(255,0,0,.5);
}
.g5d5-bottomnav .g5d5-nav-center .fas{font-size:24px}

/* ===== Mobile menu drawer ===== */
.g5d5-drawer{
  position:fixed;top:0;right:-100%;width:78%;max-width:330px;height:100%;
  background:#0c0c22;z-index:9999;transition:right .25s ease;
  padding:1.4rem;overflow-y:auto;
}
.g5d5-drawer.g5d5-open{right:0}
.g5d5-drawer-backdrop{
  position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9998;display:none;
}
.g5d5-drawer-backdrop.g5d5-open{display:block}
.g5d5-drawer h4{font-size:1.5rem;color:var(--g5d5-gold);margin:1.2rem 0 .6rem;border-bottom:1px solid #25254a;padding-bottom:.5rem}
.g5d5-drawer a{
  display:block;font-size:1.3rem;color:var(--g5d5-muted);padding:.6rem 0;border-bottom:1px solid #181838;
}
.g5d5-drawer a:hover{color:var(--g5d5-sky)}
.g5d5-drawer-close{
  background:transparent;border:0;color:var(--g5d5-sky);font-size:2.2rem;float:right;cursor:pointer;
}

/* ===== Desktop ===== */
@media (min-width:769px){
  .g5d5-bottomnav{display:none}
  body{max-width:768px}
  .g5d5-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:768px){
  main{padding-bottom:80px}
}
