/* good88 vip - design-ab15.css
   Mobile-first PH/VN gaming site styles. All custom classes use the v5c7- prefix. */

:root {
  --v5c7-red: #B22222;
  --v5c7-dark: #0D1117;
  --v5c7-blue: #B0E0E6;
  --v5c7-navy: #191970;
  --v5c7-gold: #CD853F;
  --v5c7-bg: #0a0d14;
  --v5c7-bg2: #11161f;
  --v5c7-card: #161c27;
  --v5c7-line: rgba(176, 224, 230, 0.12);
  --v5c7-text: #eaf0f6;
  --v5c7-mute: #93a0b3;
  --v5c7-grad: linear-gradient(135deg, #B22222 0%, #7a1414 60%, #191970 100%);
  --v5c7-gold-grad: linear-gradient(135deg, #f0c27b 0%, #CD853F 50%, #8a5a23 100%);
  --v5c7-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --v5c7-radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Be Vietnam Pro", "Roboto", system-ui, sans-serif;
  background: var(--v5c7-bg);
  color: var(--v5c7-text);
  line-height: 1.5;
  font-size: 1.6rem;
  overflow-x: hidden;
}

a { color: var(--v5c7-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--v5c7-gold); }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.v5c7-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v5c7-line);
}
.v5c7-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.v5c7-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 2rem;
  color: var(--v5c7-text);
  letter-spacing: .5px;
}
.v5c7-logo .v5c7-logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--v5c7-grad);
  display: grid; place-items: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(178, 34, 34, .45);
}
.v5c7-logo .v5c7-logo-mark .material-icons { font-size: 22px; }
.v5c7-logo b { color: var(--v5c7-gold); }

.v5c7-header-actions { display: flex; align-items: center; gap: 8px; }
.v5c7-menu-btn {
  background: transparent;
  border: 1px solid var(--v5c7-line);
  color: var(--v5c7-text);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  cursor: pointer;
}
.v5c7-menu-btn .material-icons { font-size: 24px; }

.v5c7-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 1.35rem;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.v5c7-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.v5c7-btn-register {
  background: var(--v5c7-grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(178, 34, 34, .45);
}
.v5c7-btn-login {
  background: transparent;
  color: var(--v5c7-blue);
  border: 1.5px solid var(--v5c7-blue);
}

/* ===== Mobile Menu ===== */
.v5c7-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.v5c7-menu-overlay.v5c7-open { opacity: 1; pointer-events: auto; }
.v5c7-side-menu {
  position: fixed;
  top: 0; right: -86%;
  width: 86%; max-width: 340px;
  height: 100%;
  background: var(--v5c7-bg2);
  z-index: 9999;
  padding: 20px 18px;
  overflow-y: auto;
  transition: right .3s ease;
  border-left: 1px solid var(--v5c7-line);
}
.v5c7-side-menu.v5c7-open { right: 0; }
.v5c7-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.v5c7-menu-head h3 { color: var(--v5c7-gold); font-size: 1.8rem; }
.v5c7-menu-close {
  background: transparent; border: none; color: var(--v5c7-text);
  font-size: 2rem; cursor: pointer; line-height: 1;
}
.v5c7-menu-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.v5c7-menu-list a, .v5c7-menu-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--v5c7-text);
  background: transparent;
  border: none;
  font-size: 1.45rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.v5c7-menu-list a:hover, .v5c7-menu-list button:hover {
  background: rgba(176, 224, 230, .08);
  color: var(--v5c7-blue);
}
.v5c7-menu-list .material-icons,
.v5c7-menu-list ion-icon { font-size: 20px; color: var(--v5c7-gold); }
.v5c7-menu-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ===== Layout ===== */
main { max-width: 430px; margin: 0 auto; padding: 0 0 80px; }
.v5c7-section { padding: 22px 14px; }
.v5c7-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.v5c7-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--v5c7-text);
  display: flex; align-items: center; gap: 8px;
}
.v5c7-section-title::before {
  content: "";
  width: 5px; height: 22px;
  background: var(--v5c7-gold-grad);
  border-radius: 4px;
}
.v5c7-section-more { color: var(--v5c7-blue); font-size: 1.3rem; }

/* ===== Hero ===== */
.v5c7-hero { position: relative; overflow: hidden; }
.v5c7-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--v5c7-shadow);
}
.v5c7-slides { display: flex; transition: transform .5s ease; }
.v5c7-slide {
  min-width: 100%;
  position: relative;
  padding: 28px 20px 30px;
  background: var(--v5c7-grad);
  color: #fff;
}
.v5c7-slide.s2 { background: linear-gradient(135deg, #191970 0%, #0d1117 100%); }
.v5c7-slide.s3 { background: linear-gradient(135deg, #8a5a23 0%, #B22222 100%); }
.v5c7-slide.s4 { background: linear-gradient(135deg, #1c3a7a 0%, #191970 60%, #B0E0E6 140%); }
.v5c7-slide-tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}
.v5c7-slide h2 { font-size: 2.4rem; line-height: 1.25; margin-bottom: 8px; }
.v5c7-slide p { font-size: 1.35rem; opacity: .92; margin-bottom: 16px; }
.v5c7-slide .v5c7-btn-register { background: #fff; color: var(--v5c7-red); box-shadow: none; }
.v5c7-dots {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.v5c7-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: all .25s ease;
}
.v5c7-dots span.v5c7-active { background: #fff; width: 20px; border-radius: 999px; }

/* ===== Feature cards ===== */
.v5c7-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.v5c7-feature {
  background: var(--v5c7-card);
  border: 1px solid var(--v5c7-line);
  border-radius: var(--v5c7-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v5c7-feature .v5c7-feat-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(205, 133, 63, .15);
  display: grid; place-items: center;
  color: var(--v5c7-gold);
}
.v5c7-feature .v5c7-feat-ico .material-icons { font-size: 22px; }
.v5c7-feature h4 { font-size: 1.4rem; color: var(--v5c7-text); }
.v5c7-feature p { font-size: 1.2rem; color: var(--v5c7-mute); line-height: 1.4; }

/* ===== Marquee promo strip ===== */
.v5c7-strip {
  background: var(--v5c7-navy);
  color: var(--v5c7-blue);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.3rem;
  font-weight: 600;
}
.v5c7-strip-track {
  display: inline-block;
  padding-left: 100%;
  animation: v5c7marq 22s linear infinite;
}
@keyframes v5c7marq { to { transform: translateX(-100%); } }
.v5c7-strip-track b { color: var(--v5c7-gold); margin: 0 6px; }

/* ===== Category tabs ===== */
.v5c7-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.v5c7-tabs::-webkit-scrollbar { display: none; }
.v5c7-tab {
  flex: 0 0 auto;
  background: var(--v5c7-card);
  border: 1px solid var(--v5c7-line);
  color: var(--v5c7-mute);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v5c7-tab.v5c7-active {
  background: var(--v5c7-grad);
  color: #fff;
  border-color: transparent;
}
.v5c7-tab ion-icon { font-size: 16px; }

/* ===== Game grid ===== */
.v5c7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v5c7-card {
  background: var(--v5c7-card);
  border: 1px solid var(--v5c7-line);
  border-radius: var(--v5c7-radius);
  overflow: hidden;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.v5c7-card:active { transform: scale(.97); }
.v5c7-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0d1117;
}
.v5c7-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v5c7-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--v5c7-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}
.v5c7-card-badge.hot { background: var(--v5c7-gold-grad); color: #2a1a05; }
.v5c7-card-play {
  position: absolute;
  inset: 0;
  background: rgba(10,13,20,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.v5c7-card:hover .v5c7-card-play { opacity: 1; }
.v5c7-card-play .v5c7-btn { transform: scale(.85); }
.v5c7-card-name {
  padding: 8px 6px;
  font-size: 1.18rem;
  text-align: center;
  color: var(--v5c7-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ===== Featured / Hot showcase ===== */
.v5c7-showcase {
  background: linear-gradient(135deg, #191970 0%, #0d1117 100%);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--v5c7-line);
}
.v5c7-showcase h3 {
  color: var(--v5c7-gold);
  font-size: 1.7rem;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.v5c7-showcase .v5c7-grid { grid-template-columns: repeat(2, 1fr); }
.v5c7-showcase .v5c7-card-img { aspect-ratio: 4/3; }

/* ===== SEO content ===== */
.v5c7-seo {
  background: var(--v5c7-bg2);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--v5c7-line);
}
.v5c7-seo h2 {
  font-size: 1.8rem;
  color: var(--v5c7-gold);
  margin: 18px 0 8px;
  line-height: 1.3;
}
.v5c7-seo h2:first-child { margin-top: 0; }
.v5c7-seo h3 { font-size: 1.5rem; color: var(--v5c7-blue); margin: 14px 0 6px; }
.v5c7-seo p { font-size: 1.35rem; color: var(--v5c7-text); margin-bottom: 10px; line-height: 1.6; }
.v5c7-seo ul { padding-left: 20px; margin-bottom: 12px; }
.v5c7-seo li { font-size: 1.3rem; margin-bottom: 6px; line-height: 1.55; color: var(--v5c7-text); }
.v5c7-seo strong { color: var(--v5c7-gold); }
.v5c7-seo a { color: var(--v5c7-blue); text-decoration: underline; }

/* ===== FAQ ===== */
.v5c7-faq-item {
  background: var(--v5c7-card);
  border: 1px solid var(--v5c7-line);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.v5c7-faq-q {
  padding: 13px 14px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--v5c7-text);
  gap: 10px;
}
.v5c7-faq-q .material-icons { color: var(--v5c7-gold); transition: transform .25s ease; }
.v5c7-faq-item.v5c7-open .v5c7-faq-q .material-icons { transform: rotate(180deg); }
.v5c7-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 14px;
  color: var(--v5c7-mute);
  font-size: 1.28rem;
  line-height: 1.55;
}
.v5c7-faq-item.v5c7-open .v5c7-faq-a {
  max-height: 400px;
  padding: 0 14px 14px;
}

/* ===== CTA banner ===== */
.v5c7-cta {
  background: var(--v5c7-grad);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--v5c7-shadow);
}
.v5c7-cta h3 { font-size: 2rem; color: #fff; margin-bottom: 6px; }
.v5c7-cta p { color: rgba(255,255,255,.9); font-size: 1.3rem; margin-bottom: 14px; }
.v5c7-cta .v5c7-btn { background: #fff; color: var(--v5c7-red); font-size: 1.5rem; padding: 12px 28px; }

/* ===== Footer ===== */
.v5c7-footer {
  background: var(--v5c7-bg2);
  border-top: 1px solid var(--v5c7-line);
  padding: 26px 14px 20px;
}
.v5c7-footer-inner { max-width: 430px; margin: 0 auto; }
.v5c7-footer h4 {
  color: var(--v5c7-gold);
  font-size: 1.5rem;
  margin: 16px 0 8px;
}
.v5c7-footer p { color: var(--v5c7-mute); font-size: 1.25rem; line-height: 1.55; margin-bottom: 8px; }
.v5c7-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}
.v5c7-footer-links a {
  color: var(--v5c7-text);
  font-size: 1.25rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.v5c7-footer-links a:hover { color: var(--v5c7-blue); }
.v5c7-footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--v5c7-line);
  text-align: center;
  color: var(--v5c7-mute);
  font-size: 1.15rem;
  line-height: 1.5;
}

/* ===== Bottom Nav ===== */
.v5c7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--v5c7-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 0 4px;
}
.v5c7-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v5c7-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  transition: color .2s ease;
}
.v5c7-nav-btn .material-icons,
.v5c7-nav-btn ion-icon { font-size: 22px; }
.v5c7-nav-btn .v5c7-bi { font-size: 22px; }
.v5c7-nav-btn:hover { color: var(--v5c7-blue); }
.v5c7-nav-btn.v5c7-active { color: var(--v5c7-gold); }
.v5c7-nav-btn.v5c7-promo {
  color: #fff;
}
.v5c7-nav-btn.v5c7-promo .v5c7-nav-ico {
  width: 40px; height: 40px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--v5c7-grad);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(178, 34, 34, .55);
  border: 3px solid var(--v5c7-bg);
}
.v5c7-nav-btn.v5c7-promo .v5c7-nav-ico .material-icons { font-size: 22px; color: #fff; }

/* ===== Utilities ===== */
.v5c7-hide-desktop { display: block; }
.v5c7-text-link {
  color: var(--v5c7-gold);
  font-weight: 700;
  text-decoration: underline;
}
.v5c7-icon-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  color: var(--v5c7-mute);
}
.v5c7-icon-row span { display: inline-flex; align-items: center; gap: 4px; font-size: 1.2rem; }

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  .v5c7-bottom-nav { display: none; }
  main { max-width: 960px; padding-bottom: 0; }
  .v5c7-header-inner { max-width: 960px; }
  .v5c7-footer-inner { max-width: 960px; }
  .v5c7-grid { grid-template-columns: repeat(6, 1fr); }
  .v5c7-features { grid-template-columns: repeat(4, 1fr); }
  .v5c7-footer-links { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 431px) and (max-width: 768px) {
  main { max-width: 430px; }
}
