/* 33win68 base CSS - prefix: g11a- */
/* Mobile-first casino gaming site for Vietnam market */

:root {
  --g11a-bg: #2C2C2C;
  --g11a-bg2: #1f1f1f;
  --g11a-primary: #CD853F;
  --g11a-accent: #00FFFF;
  --g11a-purple: #7B68EE;
  --g11a-soft: #E8F5E8;
  --g11a-muted: #D3D3D3;
  --g11a-text: #f5f5f5;
  --g11a-border: rgba(205,133,63,0.35);
  --g11a-radius: 10px;
  --g11a-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--g11a-bg);
  color: var(--g11a-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-text-size-adjust: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

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

/* ===== Header ===== */
.g11a-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #2C2C2C 100%);
  border-bottom: 2px solid var(--g11a-primary);
  box-shadow: var(--g11a-shadow);
  max-width: 430px;
  margin: 0 auto;
}
.g11a-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 0.8rem;
}
.g11a-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--g11a-primary);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}
.g11a-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g11a-logo .g11a-logo-accent { color: var(--g11a-accent); }

.g11a-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g11a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.g11a-btn:active { transform: scale(0.95); }
.g11a-btn-login {
  background: transparent;
  color: var(--g11a-text);
  border: 1px solid var(--g11a-muted);
}
.g11a-btn-register {
  background: linear-gradient(90deg, var(--g11a-primary), #b5763a);
  color: #1a1a1a;
  box-shadow: 0 0 8px rgba(205,133,63,0.5);
}

.g11a-menu-btn {
  background: transparent;
  border: 1px solid var(--g11a-border);
  color: var(--g11a-text);
  border-radius: 8px;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===== Mobile menu drawer ===== */
.g11a-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.g11a-menu-overlay.g11a-menu-open { display: block; }
.g11a-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g11a-bg2);
  z-index: 9999;
  padding: 1.5rem 1rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 2px solid var(--g11a-primary);
}
.g11a-mobile-menu.g11a-menu-open { right: 0; }
.g11a-menu-close {
  background: transparent;
  border: none;
  color: var(--g11a-text);
  font-size: 2rem;
  float: right;
  cursor: pointer;
}
.g11a-mobile-menu h3 {
  color: var(--g11a-primary);
  font-size: 1.6rem;
  margin: 1.5rem 0 0.8rem;
  border-bottom: 1px solid var(--g11a-border);
  padding-bottom: 0.4rem;
}
.g11a-mobile-menu a {
  display: block;
  padding: 0.7rem 0.4rem;
  color: var(--g11a-text);
  border-bottom: 1px solid rgba(211,211,211,0.1);
  font-size: 1.4rem;
}
.g11a-mobile-menu a:active { color: var(--g11a-accent); }

/* ===== Main content ===== */
.g11a-main {
  padding-top: 64px;
  padding-bottom: 80px;
}
.g11a-section { padding: 1.5rem 1.2rem; }
.g11a-section-title {
  font-size: 1.8rem;
  color: var(--g11a-primary);
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--g11a-accent);
  padding-left: 0.6rem;
}
.g11a-section-title small { color: var(--g11a-muted); font-size: 1.2rem; font-weight: 400; }
.g11a-lead { color: var(--g11a-muted); margin-bottom: 1rem; }

/* ===== Hero carousel ===== */
.g11a-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--g11a-radius);
  overflow: hidden;
  box-shadow: var(--g11a-shadow);
  margin-bottom: 1rem;
}
.g11a-slides { position: relative; width: 100%; }
.g11a-slide {
  display: none;
  width: 100%;
  position: relative;
  cursor: pointer;
}
.g11a-slide.g11a-slide-active { display: block; }
.g11a-slide img { width: 100%; height: 190px; object-fit: cover; }
.g11a-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1.5rem 1rem 0.8rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}
.g11a-dot-row {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.g11a-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.g11a-dot.g11a-dot-active { background: var(--g11a-accent); }

/* ===== Game grid ===== */
.g11a-game-block { margin-bottom: 1.5rem; }
.g11a-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.g11a-cat-title {
  font-size: 1.6rem;
  color: var(--g11a-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.g11a-cat-tag {
  font-size: 1.1rem;
  color: var(--g11a-muted);
  background: rgba(123,104,238,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}
.g11a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.g11a-game-card {
  background: var(--g11a-bg2);
  border: 1px solid var(--g11a-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.g11a-game-card:active {
  transform: scale(0.96);
  border-color: var(--g11a-accent);
}
.g11a-game-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  background: #111;
}
.g11a-game-name {
  font-size: 1.1rem;
  color: var(--g11a-text);
  padding: 0.3rem 0.4rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info / feature cards ===== */
.g11a-card {
  background: var(--g11a-bg2);
  border: 1px solid var(--g11a-border);
  border-radius: var(--g11a-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.g11a-card h3 {
  color: var(--g11a-primary);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.g11a-card p { color: var(--g11a-muted); font-size: 1.3rem; }
.g11a-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.g11a-feature {
  background: var(--g11a-bg2);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--g11a-border);
}
.g11a-feature .material-icons,
.g11a-feature .bi,
.g11a-feature .fas,
.g11a-feature .far {
  font-size: 24px;
  color: var(--g11a-accent);
  margin-bottom: 0.3rem;
  display: block;
}
.g11a-feature span.g11a-feat-label { color: var(--g11a-text); font-size: 1.2rem; font-weight: 600; }

.g11a-promo-banner {
  background: linear-gradient(90deg, var(--g11a-purple), var(--g11a-primary));
  border-radius: var(--g11a-radius);
  padding: 1rem;
  margin: 1rem 0;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.g11a-promo-banner h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.g11a-promo-banner p { font-size: 1.3rem; }

/* ===== SEO content ===== */
.g11a-seo-text { color: var(--g11a-muted); font-size: 1.35rem; }
.g11a-seo-text h2 { color: var(--g11a-primary); font-size: 1.7rem; margin: 1.2rem 0 0.5rem; }
.g11a-seo-text h3 { color: var(--g11a-accent); font-size: 1.4rem; margin: 1rem 0 0.4rem; }
.g11a-seo-text p { margin-bottom: 0.8rem; }
.g11a-seo-text a { color: var(--g11a-accent); text-decoration: underline; }
.g11a-seo-text ul { margin: 0.5rem 0 0.8rem 1.5rem; }
.g11a-seo-text li { margin-bottom: 0.3rem; }

/* ===== Footer ===== */
.g11a-footer {
  background: var(--g11a-bg2);
  border-top: 2px solid var(--g11a-primary);
  padding: 1.5rem 1.2rem 2rem;
  margin-top: 1rem;
}
.g11a-footer-brand {
  color: var(--g11a-primary);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.g11a-footer-intro { color: var(--g11a-muted); font-size: 1.25rem; margin-bottom: 0.8rem; }
.g11a-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.g11a-footer-promos button,
.g11a-footer-promos .g11a-btn {
  flex: 1 1 45%;
  font-size: 1.2rem;
  padding: 0.5rem 0.6rem;
}
.g11a-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  margin: 0.5rem 0;
}
.g11a-footer-links a { color: var(--g11a-muted); font-size: 1.2rem; }
.g11a-footer-links a:hover { color: var(--g11a-accent); }
.g11a-footer-copy {
  color: var(--g11a-muted);
  font-size: 1.1rem;
  border-top: 1px solid rgba(211,211,211,0.15);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
  text-align: center;
}

/* ===== Bottom navigation ===== */
.g11a-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #1a1a1a;
  border-top: 2px solid var(--g11a-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
.g11a-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--g11a-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  gap: 2px;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 0;
}
.g11a-bottomnav-btn:active { transform: scale(0.92); }
.g11a-bottomnav-btn .material-icons,
.g11a-bottomnav-btn .bi,
.g11a-bottomnav-btn .fas,
.g11a-bottomnav-btn .far,
.g11a-bottomnav-btn .ionicon { font-size: 24px; }
.g11a-bottomnav-btn .g11a-nav-label { font-size: 1.0rem; }
.g11a-bottomnav-btn.g11a-bottomnav-active { color: var(--g11a-accent); }
.g11a-bottomnav-btn.g11a-bottomnav-active .g11a-nav-label { color: var(--g11a-accent); font-weight: 700; }

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .g11a-bottomnav { display: none; }
  .g11a-header { max-width: 100%; }
  .g11a-main { padding-bottom: 1.5rem; }
  .g11a-grid { grid-template-columns: repeat(6, 1fr); }
  .g11a-features { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Mobile bottom padding ===== */
@media (max-width: 768px) {
  .g11a-main { padding-bottom: 80px; }
}
