/* ============================================================
   OK968 Click - Layout (gc8a- prefix)
   Mobile-first. Color palette: #800020 / #F8F9FA / #212F3D
   Accent: #F08080 / #F8F8FF / #DDA0DD
   ============================================================ */

:root {
  --gc8a-bg: #0f0a14;
  --gc8a-bg2: #1a1023;
  --gc8a-card: #211627;
  --gc8a-deep: #212F3D;
  --gc8a-purple: #800020;
  --gc8a-purple2: #a30030;
  --gc8a-coral: #F08080;
  --gc8a-lilac: #DDA0DD;
  --gc8a-ghost: #F8F8FF;
  --gc8a-light: #F8F9FA;
  --gc8a-text: #ece6f0;
  --gc8a-muted: #b6a6c2;
  --gc8a-gold: #f5c451;
  --gc8a-radius: 14px;
  --gc8a-shadow: 0 6px 22px rgba(0, 0, 0, .35);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1a1023 0%, #0a0610 60%);
  color: var(--gc8a-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ====================== Header ====================== */
.gc8a-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1a0a1f 0%, #2a0820 50%, #1a0a1f 100%);
  border-bottom: 1px solid rgba(221, 160, 221, .25);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}

.gc8a-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 2rem;
  color: var(--gc8a-gold);
  letter-spacing: .5px;
}
.gc8a-logo .gc8a-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gc8a-purple), var(--gc8a-coral));
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.6rem;
  box-shadow: 0 3px 10px rgba(240, 128, 128, .4);
}
.gc8a-logo small {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gc8a-lilac);
  letter-spacing: 0;
}

.gc8a-header-actions { display: flex; align-items: center; gap: 8px; }

.gc8a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s;
  min-height: 38px;
}
.gc8a-btn:active { transform: scale(.96); }
.gc8a-btn-login {
  background: transparent;
  border: 1.5px solid var(--gc8a-coral);
  color: var(--gc8a-coral);
}
.gc8a-btn-login:hover { background: rgba(240, 128, 128, .12); }
.gc8a-btn-register {
  background: linear-gradient(90deg, var(--gc8a-purple), var(--gc8a-purple2));
  color: #fff;
  box-shadow: 0 4px 14px rgba(128, 0, 32, .55);
}
.gc8a-btn-register:hover { opacity: .92; }
.gc8a-btn-gold {
  background: linear-gradient(90deg, #f5c451, #e08e2a);
  color: #1a0a1f;
  box-shadow: 0 4px 14px rgba(245, 196, 81, .5);
}

.gc8a-menu-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(221, 160, 221, .12);
  display: grid; place-items: center;
  color: var(--gc8a-ghost);
  font-size: 2rem;
}

/* ====================== Mobile menu ====================== */
.gc8a-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 9998;
  opacity: 0; visibility: hidden;
  transition: opacity .25s;
}
.gc8a-menu-overlay.gc8a-show { opacity: 1; visibility: visible; }

.gc8a-mobile-menu {
  position: fixed;
  top: 0; right: -86%;
  width: 80%; max-width: 320px;
  height: 100%;
  background: linear-gradient(180deg, #1a0a1f, #0f0a14);
  z-index: 9999;
  padding: 22px 18px;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(221, 160, 221, .25);
}
.gc8a-mobile-menu.gc8a-open { right: 0; }
.gc8a-lock { overflow: hidden; }

.gc8a-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(221, 160, 221, .2);
}
.gc8a-menu-head h3 { color: var(--gc8a-gold); font-size: 1.9rem; }
.gc8a-menu-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(240, 128, 128, .15);
  color: var(--gc8a-coral); font-size: 1.8rem;
}

.gc8a-menu-list li { margin-bottom: 4px; }
.gc8a-menu-list a, .gc8a-menu-list button {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 1.5rem; font-weight: 600;
  color: var(--gc8a-text);
  width: 100%; text-align: left;
}
.gc8a-menu-list a:hover, .gc8a-menu-list button:hover {
  background: rgba(128, 0, 32, .25);
  color: var(--gc8a-gold);
}
.gc8a-menu-list .material-icons,
.gc8a-menu-list i { color: var(--gc8a-lilac); font-size: 2rem; width: 22px; }

/* ====================== Hero ====================== */
.gc8a-hero {
  position: relative;
  overflow: hidden;
  margin: 14px 12px 8px;
  border-radius: 18px;
  box-shadow: var(--gc8a-shadow);
}
.gc8a-hero-track {
  display: flex;
  transition: transform .5s ease;
}
.gc8a-hero-slide {
  min-width: 100%;
  position: relative;
  padding: 28px 18px;
  background: linear-gradient(135deg, #4a0030 0%, #800020 45%, #1a0a1f 100%);
  overflow: hidden;
}
.gc8a-hero-slide::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245, 196, 81, .35), transparent 70%);
}
.gc8a-hero-slide::after {
  content: '';
  position: absolute;
  left: -30px; bottom: -50px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(240, 128, 128, .25), transparent 70%);
}
.gc8a-hero-tag {
  display: inline-block;
  background: rgba(245, 196, 81, .18);
  color: var(--gc8a-gold);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  position: relative;
}
.gc8a-hero-slide h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}
.gc8a-hero-slide h1 em {
  color: var(--gc8a-gold);
  font-style: normal;
}
.gc8a-hero-slide p {
  font-size: 1.4rem;
  color: var(--gc8a-ghost);
  margin-bottom: 16px;
  position: relative;
  opacity: .9;
}
.gc8a-hero-cta { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.gc8a-hero-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 10px 0 4px;
}
.gc8a-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transition: all .2s;
}
.gc8a-dot.gc8a-active { background: var(--gc8a-gold); width: 20px; border-radius: 4px; }

/* ====================== Marquee trust bar ====================== */
.gc8a-trust {
  display: flex; justify-content: space-around; gap: 4px;
  margin: 8px 12px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, .03);
  border-radius: 12px;
  border: 1px solid rgba(221, 160, 221, .15);
}
.gc8a-trust-item { text-align: center; flex: 1; }
.gc8a-trust-item .material-icons,
.gc8a-trust-item i {
  color: var(--gc8a-coral); font-size: 2rem; margin-bottom: 2px;
}
.gc8a-trust-item b { display: block; font-size: 1.3rem; color: var(--gc8a-gold); }
.gc8a-trust-item span { font-size: 1.1rem; color: var(--gc8a-muted); }

/* ====================== Section ====================== */
.gc8a-section { padding: 22px 12px 8px; }
.gc8a-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gc8a-section-head h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.gc8a-section-head h2::before {
  content: '';
  width: 5px; height: 22px;
  background: linear-gradient(180deg, var(--gc8a-coral), var(--gc8a-purple));
  border-radius: 3px;
}
.gc8a-section-head a {
  font-size: 1.25rem; color: var(--gc8a-lilac); font-weight: 600;
}

/* ====================== Tabs ====================== */
.gc8a-tabs {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 6px 12px 14px;
  scrollbar-width: none;
  margin-bottom: 6px;
}
.gc8a-tabs::-webkit-scrollbar { display: none; }
.gc8a-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(221, 160, 221, .2);
  color: var(--gc8a-muted);
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s;
}
.gc8a-tab.gc8a-tab-active,
.gc8a-tab:hover {
  background: linear-gradient(90deg, var(--gc8a-purple), var(--gc8a-purple2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(128, 0, 32, .4);
}

/* ====================== Category blocks ====================== */
.gc8a-cat-block { margin-bottom: 26px; }
.gc8a-cat-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 12px 12px;
  font-size: 1.75rem; font-weight: 800; color: #fff;
}
.gc8a-cat-title .gc8a-cat-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gc8a-purple), var(--gc8a-coral));
  display: grid; place-items: center;
  color: #fff; font-size: 1.7rem;
}
.gc8a-cat-title small { color: var(--gc8a-muted); font-size: 1.2rem; font-weight: 500; }

/* ====================== Game grid ====================== */
.gc8a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 12px;
}
.gc8a-card {
  background: var(--gc8a-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(221, 160, 221, .1);
  transition: transform .18s, box-shadow .18s;
  display: block;
}
.gc8a-card:active { transform: scale(.96); }
.gc8a-card:hover { box-shadow: 0 6px 16px rgba(240, 128, 128, .25); border-color: rgba(240, 128, 128, .4); }
.gc8a-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0a0610;
  overflow: hidden;
}
.gc8a-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gc8a-card:hover .gc8a-card-img img { transform: scale(1.07); }
.gc8a-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: linear-gradient(90deg, var(--gc8a-purple), var(--gc8a-purple2));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  z-index: 2;
}
.gc8a-card-badge.hot { background: linear-gradient(90deg, #e8533f, #F08080); }
.gc8a-card-badge.new { background: linear-gradient(90deg, #f5c451, #e08e2a); color: #1a0a1f; }
.gc8a-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 6, 20, .55);
  opacity: 0;
  transition: opacity .25s;
}
.gc8a-card:hover .gc8a-card-play { opacity: 1; }
.gc8a-card-play span {
  background: linear-gradient(90deg, var(--gc8a-gold), #e08e2a);
  color: #1a0a1f;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: 4px;
}
.gc8a-card-name {
  padding: 7px 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gc8a-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* 2-col wide cards for featured */
.gc8a-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gc8a-grid-2 .gc8a-card-name { font-size: 1.35rem; }

/* ====================== Featured row ====================== */
.gc8a-feat {
  margin: 0 12px 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(128, 0, 32, .35), rgba(33, 47, 61, .6));
  border: 1px solid rgba(245, 196, 81, .25);
  position: relative;
  overflow: hidden;
}
.gc8a-feat::before {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(245, 196, 81, .25), transparent 70%);
}
.gc8a-feat h3 { color: var(--gc8a-gold); font-size: 1.7rem; margin-bottom: 6px; position: relative; }
.gc8a-feat p { color: var(--gc8a-ghost); font-size: 1.3rem; opacity: .9; margin-bottom: 12px; position: relative; }
.gc8a-feat .gc8a-btn { position: relative; }

/* ====================== Promo banner ====================== */
.gc8a-promo {
  margin: 14px 12px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, #800020, #a30030);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gc8a-promo h3 { font-size: 1.8rem; margin-bottom: 6px; }
.gc8a-promo p { font-size: 1.3rem; opacity: .9; margin-bottom: 12px; }

/* ====================== SEO content ====================== */
.gc8a-seo {
  margin: 14px 12px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(221, 160, 221, .12);
}
.gc8a-seo h3 {
  color: var(--gc8a-gold);
  font-size: 1.6rem;
  margin: 14px 0 8px;
}
.gc8a-seo h3:first-child { margin-top: 0; }
.gc8a-seo p { font-size: 1.35rem; color: var(--gc8a-text); margin-bottom: 10px; opacity: .92; }
.gc8a-seo ul { padding-left: 18px; margin-bottom: 12px; }
.gc8a-seo ul li {
  font-size: 1.3rem; color: var(--gc8a-text); opacity: .9;
  margin-bottom: 5px; list-style: disc;
}
.gc8a-seo a { color: var(--gc8a-coral); font-weight: 600; text-decoration: underline; }
.gc8a-seo a:hover { color: var(--gc8a-gold); }
.gc8a-seo strong { color: var(--gc8a-gold); }

/* ====================== FAQ ====================== */
.gc8a-faq { margin: 14px 12px; }
.gc8a-faq-item {
  background: var(--gc8a-card);
  border: 1px solid rgba(221, 160, 221, .12);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.gc8a-faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
}
.gc8a-faq-q .gc8a-faq-ico { color: var(--gc8a-coral); font-size: 1.8rem; transition: transform .2s; }
.gc8a-faq-item.gc8a-faq-open .gc8a-faq-ico { transform: rotate(45deg); }
.gc8a-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.gc8a-faq-item.gc8a-faq-open .gc8a-faq-a { max-height: 600px; }
.gc8a-faq-a p {
  padding: 0 16px 14px;
  font-size: 1.3rem;
  color: var(--gc8a-muted);
  line-height: 1.55;
}

/* ====================== Footer ====================== */
.gc8a-footer {
  background: linear-gradient(180deg, #1a0a1f, #0a0610);
  margin-top: 30px;
  padding: 26px 14px 110px;
  border-top: 1px solid rgba(221, 160, 221, .15);
}
.gc8a-footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.gc8a-footer-brand b { color: var(--gc8a-gold); font-size: 1.8rem; }
.gc8a-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.gc8a-footer-col h4 {
  color: var(--gc8a-coral); font-size: 1.35rem; font-weight: 700; margin-bottom: 8px;
}
.gc8a-footer-col li { margin-bottom: 6px; }
.gc8a-footer-col a { font-size: 1.2rem; color: var(--gc8a-muted); }
.gc8a-footer-col a:hover { color: var(--gc8a-gold); }
.gc8a-footer-pay {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.gc8a-footer-pay span {
  background: rgba(255, 255, 255, .06);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--gc8a-lilac);
  border: 1px solid rgba(221, 160, 221, .15);
}
.gc8a-footer-warn {
  font-size: 1.15rem;
  color: var(--gc8a-muted);
  line-height: 1.55;
  padding: 12px;
  border-radius: 10px;
  background: rgba(240, 128, 128, .08);
  border-left: 3px solid var(--gc8a-coral);
}
.gc8a-copy {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gc8a-muted);
  margin-top: 14px;
  opacity: .7;
}

/* ====================== Bottom nav ====================== */
.gc8a-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, rgba(26, 10, 31, .96), rgba(10, 6, 16, .98));
  border-top: 1px solid rgba(221, 160, 221, .25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .5);
}
.gc8a-nav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-width: 60px; min-height: 60px;
  color: var(--gc8a-muted);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .2s;
  position: relative;
}
.gc8a-nav-btn .material-icons,
.gc8a-nav-btn i,
.gc8a-nav-btn ion-icon { font-size: 2.2rem; }
.gc8a-nav-btn span { font-size: 1.05rem; }
.gc8a-nav-btn:hover { color: var(--gc8a-lilac); }
.gc8a-nav-btn.gc8a-nav-active { color: var(--gc8a-gold); }
.gc8a-nav-btn.gc8a-nav-active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 30px; height: 3px;
  background: var(--gc8a-gold);
  border-radius: 0 0 4px 4px;
}
.gc8a-nav-promo {
  position: relative;
  margin-top: -22px;
}
.gc8a-nav-promo .gc8a-nav-promo-core {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gc8a-purple), var(--gc8a-coral));
  display: grid; place-items: center;
  color: #fff;
  font-size: 2.4rem;
  box-shadow: 0 4px 14px rgba(240, 128, 128, .55);
  border: 3px solid #1a0a1f;
}
.gc8a-nav-promo span { color: var(--gc8a-gold); font-weight: 700; }

/* Back to top */
.gc8a-back-top {
  position: fixed;
  right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gc8a-purple), var(--gc8a-coral));
  color: #fff;
  display: grid; place-items: center;
  font-size: 2rem;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.gc8a-back-top.gc8a-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ====================== Mobile content clearance ====================== */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .gc8a-nav-btn:active { transform: scale(.92); color: var(--gc8a-gold); }
  .gc8a-nav-promo:active { transform: scale(.92); }
}

/* ====================== Desktop ====================== */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .gc8a-bottom-nav { display: none; }
  .gc8a-footer { padding-bottom: 30px; }
  .gc8a-grid { grid-template-columns: repeat(6, 1fr); }
  .gc8a-grid-2 { grid-template-columns: repeat(4, 1fr); }
  .gc8a-section, .gc8a-hero, .gc8a-trust, .gc8a-feat, .gc8a-promo, .gc8a-seo, .gc8a-faq, .gc8a-footer { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .gc8a-cat-title { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .gc8a-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .gc8a-header { max-width: 100%; }
  .gc8a-menu-btn { display: none; }
}

@media (min-width: 431px) and (max-width: 768px) {
  body { max-width: 768px; }
  .gc8a-grid { grid-template-columns: repeat(4, 1fr); }
  .gc8a-grid-2 { grid-template-columns: repeat(3, 1fr); }
}
