/* af88 58k - Core stylesheet (Vietnamese market)
   All custom classes use the gce1- prefix.
   Color palette: #CC99FF | #333333 | #8B008B | #E65100 | #DA70D6 */

:root {
  --gce1-primary: #8B008B;
  --gce1-accent: #DA70D6;
  --gce1-lavender: #CC99FF;
  --gce1-flame: #E65100;
  --gce1-bg: #1a1020;
  --gce1-bg-2: #2a1830;
  --gce1-text: #f5ecff;
  --gce1-text-dim: #cdb6e0;
  --gce1-card: #2c1a38;
  --gce1-border: rgba(204, 153, 255, 0.22);
  --gce1-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 10%, #3a1f47 0%, var(--gce1-bg) 55%);
  color: var(--gce1-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: var(--gce1-lavender); text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.gce1-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.4rem; }
.gce1-wrapper { padding-top: 6.4rem; padding-bottom: 1rem; }
.gce1-section { margin: 2.6rem 0; }
.gce1-section-title {
  font-size: 2rem; margin: 0 0 1.2rem; padding-left: 1rem;
  border-left: 4px solid var(--gce1-accent); color: #fff; font-weight: 700;
}
.gce1-eyebrow {
  display: inline-block; font-size: 1.2rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gce1-lavender); margin-bottom: 0.6rem;
}

/* Header */
.gce1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--gce1-primary), #5a005a 60%, var(--gce1-bg-2));
  border-bottom: 1px solid var(--gce1-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.gce1-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.gce1-logo { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.gce1-logo img { width: 28px; height: 28px; border-radius: 6px; }
.gce1-logo-text { font-size: 1.6rem; font-weight: 800; color: #fff; white-space: nowrap; letter-spacing: 0.02em; }
.gce1-logo-text span { color: var(--gce1-accent); }

.gce1-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.gce1-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; border: none; cursor: pointer;
  padding: 0.7rem 1.2rem; border-radius: 999px; transition: transform .15s ease, filter .15s ease;
  min-height: 38px;
}
.gce1-btn:active { transform: scale(0.95); }
.gce1-btn-login { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid var(--gce1-border); }
.gce1-btn-register {
  background: linear-gradient(90deg, var(--gce1-flame), var(--gce1-accent));
  color: #fff; box-shadow: 0 4px 12px rgba(230,81,0,0.4);
}
.gce1-btn-promo { background: linear-gradient(90deg, var(--gce1-accent), var(--gce1-flame)); color: #fff; }

.gce1-menu-toggle {
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid var(--gce1-border);
  width: 38px; height: 38px; border-radius: 10px; font-size: 1.8rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Mobile expandable menu */
.gce1-mobile-menu {
  position: fixed; top: 6rem; left: 0; right: 0; z-index: 9999;
  background: var(--gce1-bg-2); border-bottom: 1px solid var(--gce1-border);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.gce1-mobile-menu.gce1-menu-open { max-height: 420px; }
.gce1-mobile-menu ul { list-style: none; margin: 0; padding: 0.6rem 1.2rem; }
.gce1-mobile-menu li { border-bottom: 1px solid rgba(204,153,255,0.12); }
.gce1-mobile-menu li:last-child { border-bottom: none; }
.gce1-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem; color: var(--gce1-text);
  padding: 1.05rem 0.4rem; font-size: 1.45rem; font-weight: 600;
}
.gce1-mobile-menu a i { color: var(--gce1-accent); font-size: 1.6rem; width: 22px; text-align: center; }

/* Hero / Carousel */
.gce1-carousel { position: relative; border-radius: var(--gce1-radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.gce1-slide {
  display: none; position: relative; cursor: pointer;
}
.gce1-slide.gce1-slide-active { display: block; }
.gce1-slide img { width: 100%; height: 200px; object-fit: cover; }
.gce1-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(26,16,32,0.92));
  padding: 1.2rem 1.2rem 1.4rem;
}
.gce1-slide-title { font-size: 1.7rem; font-weight: 800; color: #fff; margin: 0 0 0.3rem; }
.gce1-slide-sub { font-size: 1.25rem; color: var(--gce1-text-dim); margin: 0 0 0.8rem; }
.gce1-dots { position: absolute; bottom: 0.6rem; right: 1rem; display: flex; gap: 0.4rem; }
.gce1-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.gce1-dot.gce1-dot-active { background: var(--gce1-accent); }

/* Hero intro card */
.gce1-hero-card {
  background: linear-gradient(135deg, rgba(139,0,139,0.5), rgba(218,112,214,0.25));
  border: 1px solid var(--gce1-border); border-radius: var(--gce1-radius);
  padding: 1.6rem; margin: 1.6rem 0;
}
.gce1-hero-card h1 { font-size: 2.2rem; margin: 0 0 0.6rem; color: #fff; line-height: 1.25; }
.gce1-hero-card p { margin: 0 0 1rem; color: var(--gce1-text-dim); font-size: 1.35rem; }
.gce1-cta-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.gce1-cta-row .gce1-btn { flex: 1; min-width: 130px; }

/* Game grid */
.gce1-cat-head {
  display: flex; align-items: center; gap: 0.6rem; margin: 2.2rem 0 1rem;
}
.gce1-cat-head h2 { font-size: 1.7rem; margin: 0; color: #fff; }
.gce1-cat-head .gce1-cat-tag {
  font-size: 1.05rem; color: var(--gce1-bg); background: var(--gce1-accent);
  padding: 0.15rem 0.7rem; border-radius: 999px; font-weight: 700;
}
.gce1-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.gce1-game {
  display: block; background: var(--gce1-card); border: 1px solid var(--gce1-border);
  border-radius: 12px; padding: 0.6rem; text-align: center; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gce1-game:active { transform: scale(0.96); }
.gce1-game img { width: 100%; height: 76px; object-fit: cover; border-radius: 8px; margin-bottom: 0.4rem; }
.gce1-game-name { font-size: 1.15rem; color: var(--gce1-text); line-height: 1.25; min-height: 2.4em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gce1-game-badge {
  position: relative;
}
.gce1-game-badge::after {
  content: "HOT"; position: absolute; top: 4px; left: 4px;
  background: var(--gce1-flame); color: #fff; font-size: 0.95rem; font-weight: 800;
  padding: 0.1rem 0.4rem; border-radius: 5px;
}

/* Feature / info cards */
.gce1-card {
  background: var(--gce1-card); border: 1px solid var(--gce1-border);
  border-radius: var(--gce1-radius); padding: 1.4rem; margin-bottom: 1rem;
}
.gce1-card h3 { margin: 0 0 0.6rem; font-size: 1.5rem; color: #fff; }
.gce1-card p { margin: 0 0 0.6rem; color: var(--gce1-text-dim); font-size: 1.3rem; }
.gce1-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.gce1-feature {
  background: rgba(204,153,255,0.08); border: 1px solid var(--gce1-border);
  border-radius: 12px; padding: 1rem; text-align: center;
}
.gce1-feature i { font-size: 2.2rem; color: var(--gce1-accent); margin-bottom: 0.4rem; }
.gce1-feature h4 { margin: 0 0 0.3rem; font-size: 1.3rem; color: #fff; }
.gce1-feature p { margin: 0; font-size: 1.15rem; color: var(--gce1-text-dim); }

/* RTP table */
.gce1-rpt-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px dashed rgba(204,153,255,0.18); font-size: 1.3rem;
}
.gce1-rpt-row:last-child { border-bottom: none; }
.gce1-rpt-name { color: var(--gce1-text); }
.gce1-rpt-val { color: var(--gce1-accent); font-weight: 700; }

/* Testimonials */
.gce1-testi {
  background: var(--gce1-card); border-left: 3px solid var(--gce1-flame);
  border-radius: 10px; padding: 1.1rem; margin-bottom: 0.8rem;
}
.gce1-testi p { margin: 0 0 0.5rem; font-size: 1.3rem; color: var(--gce1-text); }
.gce1-testi-meta { font-size: 1.15rem; color: var(--gce1-lavender); font-weight: 600; }

/* Winners */
.gce1-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.9rem; background: rgba(204,153,255,0.08);
  border-radius: 10px; margin-bottom: 0.5rem; font-size: 1.25rem;
}
.gce1-winner-amount { color: #ffd57a; font-weight: 700; }

/* Payment chips */
.gce1-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gce1-chip {
  background: rgba(255,255,255,0.06); border: 1px solid var(--gce1-border);
  padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 1.2rem; color: var(--gce1-text-dim);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* App download CTA */
.gce1-app-cta {
  background: linear-gradient(120deg, var(--gce1-flame), var(--gce1-primary));
  border-radius: var(--gce1-radius); padding: 1.6rem; text-align: center; margin: 1.4rem 0;
}
.gce1-app-cta h3 { margin: 0 0 0.4rem; color: #fff; font-size: 1.6rem; }
.gce1-app-cta p { margin: 0 0 1rem; color: #ffe9c7; font-size: 1.25rem; }

/* SEO text link */
.gce1-seo-link { color: var(--gce1-lavender); font-weight: 700; border-bottom: 1px dotted var(--gce1-accent); }
.gce1-list { margin: 0.8rem 0 0; padding-left: 1.8rem; color: var(--gce1-text-dim); font-size: 1.3rem; }
.gce1-list li { margin-bottom: 0.55rem; }
.gce1-step { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed rgba(204,153,255,0.16); }
.gce1-step:last-child { border-bottom: none; }
.gce1-step-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--gce1-accent); color: var(--gce1-bg); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.gce1-step-body h3 { margin: 0 0 0.4rem; font-size: 1.45rem; color: #fff; }
.gce1-step-body p { margin: 0; color: var(--gce1-text-dim); font-size: 1.3rem; }
.gce1-faq-item { background: rgba(204,153,255,0.07); border: 1px solid var(--gce1-border); border-radius: 12px; padding: 1.1rem; margin-bottom: 0.8rem; }
.gce1-faq-item h3 { margin: 0 0 0.5rem; color: #fff; font-size: 1.45rem; }
.gce1-faq-item p { margin: 0; color: var(--gce1-text-dim); font-size: 1.3rem; }
.gce1-note { border-left: 3px solid var(--gce1-flame); background: rgba(230,81,0,0.09); padding: 1rem; border-radius: 10px; color: var(--gce1-text); font-size: 1.3rem; }

/* Footer */
.gce1-footer {
  margin-top: 2rem; padding: 2rem 0 9rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  border-top: 1px solid var(--gce1-border);
}
.gce1-footer-brand { color: var(--gce1-text-dim); font-size: 1.25rem; margin-bottom: 1.2rem; }
.gce1-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem;
}
.gce1-footer-links a { color: var(--gce1-text); font-size: 1.15rem; }
.gce1-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.gce1-footer-copy { font-size: 1.1rem; color: var(--gce1-text-dim); }

/* Bottom navigation (mobile only) */
.gce1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--gce1-primary), #4a004a 60%, var(--gce1-bg-2));
  border-top: 1px solid var(--gce1-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; padding: 0; box-shadow: 0 -3px 12px rgba(0,0,0,0.4);
}
.gce1-bottom-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--gce1-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; font-size: 1.05rem; font-weight: 600;
  transition: color .15s ease, transform .15s ease; position: relative;
}
.gce1-bottom-btn i, .gce1-bottom-btn .material-icons-outlined { font-size: 22px; }
.gce1-bottom-btn:active { transform: scale(0.9); }
.gce1-bottom-active { color: var(--gce1-accent); }
.gce1-bottom-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; background: var(--gce1-accent); border-radius: 0 0 4px 4px;
}
.gce1-bottom-promo { color: #ffd57a; }

/* Reveal animation */
.gce1-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.gce1-reveal-show { opacity: 1; transform: translateY(0); }

@media (min-width: 769px) {
  .gce1-bottom-nav { display: none; }
  .gce1-container { max-width: 720px; }
  .gce1-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
