/*!
 * 6613.click - Core stylesheet
 * Mobile-first, max-width 430px. All classes use the g781- prefix.
 * Palette: #FF4500 (primary) | #00FA9A (accent) | #34495E (dark) | #0C0C0C (bg)
 * Comments in English. Content language: Vietnamese (vi).
 */
:root {
  --g781-primary: #FF4500;
  --g781-accent: #00FA9A;
  --g781-dark: #34495E;
  --g781-bg: #0C0C0C;
  --g781-bg-soft: #141414;
  --g781-card: #1B1B1B;
  --g781-card-2: #232323;
  --g781-text: #F5F6F7;
  --g781-text-soft: #B8BCC2;
  --g781-border: rgba(255, 255, 255, 0.08);
  --g781-gold: #FFD27A;
  --g781-radius: 14px;
  --g781-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --g781-header-h: 56px;
  --g781-bottom-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Inter", "Roboto", system-ui, -apple-system, Arial, sans-serif;
  background: var(--g781-bg);
  color: var(--g781-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}
a { color: var(--g781-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.g781-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g781-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* Header */
.g781-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--g781-header-h);
  background: linear-gradient(180deg, #1A1A1A 0%, #0C0C0C 100%);
  border-bottom: 1px solid var(--g781-border);
}
.g781-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.g781-brand { display: flex; align-items: center; gap: 0.7rem; }
.g781-brand img { width: 30px; height: 30px; border-radius: 8px; }
.g781-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--g781-primary), var(--g781-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g781-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g781-btn {
  border: none; cursor: pointer; border-radius: 10px;
  font-size: 1.25rem; font-weight: 700; padding: 0.6rem 1.1rem;
  min-height: 36px; transition: transform 0.15s ease, filter 0.15s ease;
}
.g781-btn:active { transform: scale(0.96); }
.g781-btn-primary { background: var(--g781-primary); color: #fff; }
.g781-btn-primary:hover { filter: brightness(1.08); }
.g781-btn-ghost {
  background: transparent; color: var(--g781-text); border: 1px solid var(--g781-border);
}
.g781-menu-toggle {
  background: transparent; border: 1px solid var(--g781-border); color: var(--g781-text);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; margin-left: 0.3rem;
}
.g781-menu-toggle.g781-active { border-color: var(--g781-primary); }

/* Mobile expandable menu */
.g781-mobile-menu {
  position: fixed; top: var(--g781-header-h); left: 0; right: 0; z-index: 9999;
  background: var(--g781-bg-soft); border-bottom: 1px solid var(--g781-border);
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
}
.g781-mobile-menu.g781-menu-open { max-height: 420px; }
.g781-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 0.8rem 1.2rem 1.2rem; }
.g781-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--g781-border);
  color: var(--g781-text); font-size: 1.35rem; font-weight: 500;
}
.g781-mobile-menu a:last-child { border-bottom: none; }
.g781-mobile-menu a i { color: var(--g781-primary); width: 22px; text-align: center; }
.g781-mobile-menu a:hover { color: var(--g781-accent); }

/* Main content with mobile bottom-nav clearance */
.g781-main { padding-top: calc(var(--g781-header-h) + 0.6rem); padding-bottom: calc(var(--g781-bottom-h) + 1.2rem); }
.g781-section { padding: 1.6rem 0; }
.g781-section-title {
  font-size: 1.7rem; font-weight: 800; margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.6rem; color: var(--g781-text);
}
.g781-section-title .g781-tag {
  font-size: 1.05rem; font-weight: 700; color: var(--g781-primary);
  background: rgba(255, 69, 0, 0.12); padding: 0.2rem 0.6rem; border-radius: 6px;
}
.g781-text-soft { color: var(--g781-text-soft); }
.g781-h1 {
  font-size: 2.2rem; font-weight: 900; line-height: 2.6rem; margin: 1rem 0;
  background: linear-gradient(90deg, #fff 0%, var(--g781-gold) 60%, var(--g781-primary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g781-lead { font-size: 1.4rem; color: var(--g781-text-soft); margin-bottom: 1rem; }

/* Carousel */
.g781-carousel {
  position: relative; border-radius: var(--g781-radius); overflow: hidden;
  box-shadow: var(--g781-shadow); margin-bottom: 0.6rem;
}
.g781-carousel-track { position: relative; height: 200px; }
.g781-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer; border: none; background: none; padding: 0; width: 100%; height: 100%;
}
.g781-carousel-slide.g781-active { opacity: 1; }
.g781-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g781-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  padding: 1.4rem 1rem 0.8rem; color: #fff; font-size: 1.3rem; font-weight: 700;
}
.g781-carousel-dots {
  position: absolute; bottom: 0.8rem; right: 0.9rem; display: flex; gap: 0.4rem; z-index: 2;
}
.g781-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0;
}
.g781-carousel-dot.g781-active { background: var(--g781-primary); width: 18px; border-radius: 4px; }

/* Game grid + cards */
.g781-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.g781-card {
  background: var(--g781-card); border: 1px solid var(--g781-border);
  border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex; flex-direction: column; align-items: center; padding: 0.5rem 0.4rem 0.6rem;
}
.g781-card:active { transform: scale(0.95); border-color: var(--g781-primary); }
.g781-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.g781-card-name {
  font-size: 1.05rem; font-weight: 600; color: var(--g781-text);
  text-align: center; margin-top: 0.4rem; line-height: 1.25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5rem;
}
.g781-card-type {
  font-size: 0.95rem; color: var(--g781-primary); font-weight: 700; margin-top: 0.2rem;
}
.g781-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Promo banner / CTA */
.g781-cta {
  background: linear-gradient(120deg, var(--g781-primary) 0%, #b8330d 100%);
  border-radius: var(--g781-radius); padding: 1.2rem 1.1rem; color: #fff;
  display: flex; flex-direction: column; gap: 0.5rem; margin: 0.4rem 0 1.2rem;
}
.g781-cta h2 { font-size: 1.7rem; font-weight: 800; }
.g781-cta p { font-size: 1.25rem; opacity: 0.95; }
.g781-cta .g781-btn { background: #fff; color: var(--g781-primary); align-self: flex-start; margin-top: 0.3rem; }
.g781-link-bold { color: var(--g781-accent); font-weight: 800; cursor: pointer; }

/* Feature / info blocks */
.g781-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.g781-info-card {
  background: var(--g781-card); border: 1px solid var(--g781-border);
  border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.g781-info-card .g781-ic {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 250, 154, 0.12); color: var(--g781-accent); font-size: 20px;
}
.g781-info-card h3 { font-size: 1.3rem; font-weight: 700; }
.g781-info-card p { font-size: 1.15rem; color: var(--g781-text-soft); line-height: 1.4rem; }

/* Lists with promo links */
.g781-list { display: flex; flex-direction: column; gap: 0.6rem; }
.g781-list-item {
  background: var(--g781-card); border: 1px solid var(--g781-border); border-radius: 10px;
  padding: 0.9rem 1rem; display: flex; gap: 0.8rem; align-items: flex-start;
}
.g781-list-item .g781-num {
  flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--g781-primary);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.g781-list-item p { font-size: 1.2rem; color: var(--g781-text-soft); }
.g781-list-item h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }

/* Testimonial / winners */
.g781-testi {
  background: var(--g781-card); border-radius: 12px; padding: 1rem; margin-bottom: 0.7rem;
  border-left: 3px solid var(--g781-accent);
}
.g781-testi .g781-testi-user { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.2rem; color: var(--g781-gold); }
.g781-testi p { font-size: 1.2rem; color: var(--g781-text-soft); }

/* Payment chips */
.g781-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g781-chip {
  background: var(--g781-card-2); border: 1px solid var(--g781-border); border-radius: 20px;
  padding: 0.45rem 0.9rem; font-size: 1.15rem; color: var(--g781-text); display: flex; align-items: center; gap: 0.4rem;
}
.g781-chip i { color: var(--g781-accent); }

/* App download CTA */
.g781-app {
  background: linear-gradient(120deg, #34495E 0%, #1a242e 100%);
  border-radius: var(--g781-radius); padding: 1.2rem; display: flex; gap: 1rem; align-items: center;
}
.g781-app .g781-app-icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(255,69,0,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--g781-primary); font-size: 28px; flex-shrink: 0;
}
.g781-app h3 { font-size: 1.5rem; font-weight: 800; }
.g781-app p { font-size: 1.15rem; color: var(--g781-text-soft); margin: 0.2rem 0 0.6rem; }

/* Footer */
.g781-footer {
  background: #080808; border-top: 1px solid var(--g781-border);
  padding: 1.6rem 1.2rem calc(var(--g781-bottom-h) + 1.4rem);
  max-width: 430px; margin: 0 auto;
}
.g781-footer-brand { font-size: 1.4rem; color: var(--g781-text-soft); margin-bottom: 0.8rem; }
.g781-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; margin: 0.8rem 0;
}
.g781-footer-links a {
  font-size: 1.2rem; color: var(--g781-text); background: var(--g781-card);
  border: 1px solid var(--g781-border); border-radius: 8px; padding: 0.4rem 0.8rem;
}
.g781-footer-links a:hover { color: var(--g781-primary); }
.g781-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.g781-footer-promo .g781-btn { font-size: 1.2rem; padding: 0.5rem 0.9rem; }
.g781-footer-copy { font-size: 1.1rem; color: #6c7076; margin-top: 0.8rem; }

/* Mobile bottom navigation */
.g781-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--g781-bottom-h); background: #111111; border-top: 1px solid var(--g781-border);
  display: flex; justify-content: space-around; align-items: stretch;
}
.g781-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--g781-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  cursor: pointer; transition: color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent; padding: 0;
}
.g781-bottom-nav-btn i, .g781-bottom-nav-btn span.material-symbols-outlined { font-size: 22px; line-height: 1; }
.g781-bottom-nav-btn .ion { font-size: 24px; }
.g781-bottom-nav-btn .g781-bn-label { font-size: 10px; font-weight: 600; }
.g781-bottom-nav-btn:active { transform: scale(0.92); color: var(--g781-primary); }
.g781-bottom-nav-btn.g781-nav-active { color: var(--g781-primary); }
.g781-bottom-nav-btn.g781-nav-active .g781-bn-label { color: var(--g781-primary); }
.g781-bn-badge {
  position: absolute; top: 6px; right: 22%; background: var(--g781-primary); color: #fff;
  font-size: 9px; font-weight: 800; border-radius: 10px; padding: 0 5px; line-height: 14px;
}

/* Desktop: hide bottom nav + show inline nav */
@media (min-width: 769px) {
  .g781-bottom-nav { display: none; }
  .g781-header-actions .g781-desktop-nav { display: flex; gap: 0.5rem; }
  .g781-container, .g781-wrapper, .g781-footer, .g781-header-inner, .g781-mobile-menu-inner { max-width: 1100px; }
  .g781-grid { grid-template-columns: repeat(5, 1fr); }
  .g781-info-grid { grid-template-columns: repeat(4, 1fr); }
}
.g781-desktop-nav { display: none; }

/* Utility */
.g781-mt-sm { margin-top: 0.6rem; }
.g781-mb-sm { margin-bottom: 0.6rem; }
.g781-row { display: flex; gap: 0.8rem; align-items: center; }
.g781-hidden { display: none; }
