/* Good88 Vina - style.css
 * Mobile-first HTML5 casino homepage styles.
 * All custom classes use the g1a6- prefix for namespace isolation.
 */

:root {
  --g1a6-bg: #0C0C0C;
  --g1a6-primary: #E91E63;
  --g1a6-text: #F5F5F5;
  --g1a6-accent: #FF8A80;
  --g1a6-mint: #66CDAA;
  --g1a6-card: #161616;
  --g1a6-card-2: #1f1f1f;
  --g1a6-muted: #b8b8b8;
  --g1a6-border: rgba(245, 245, 245, 0.08);
  --g1a6-radius: 14px;
  --g1a6-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  --g1a6-header-h: 58px;
  --g1a6-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--g1a6-bg);
  color: var(--g1a6-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* ---------- Layout ---------- */
.g1a6-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
@media (min-width: 769px) {
  .g1a6-wrapper { max-width: 960px; padding: 0 24px; }
}

main { padding-bottom: calc(var(--g1a6-bottom-h) + 24px); }

/* ---------- Header ---------- */
.g1a6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g1a6-header-h);
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid var(--g1a6-border);
  z-index: 1000;
  transition: box-shadow .25s ease, background .25s ease;
}
.g1a6-header.g1a6-scrolled {
  background: rgba(12, 12, 12, 0.98);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.g1a6-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 14px;
}
.g1a6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g1a6-text);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: .3px;
}
.g1a6-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g1a6-brand .g1a6-brand-accent { color: var(--g1a6-primary); }

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

.g1a6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.g1a6-btn-primary {
  background: linear-gradient(135deg, var(--g1a6-primary), #ff5f8d);
  color: #fff;
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.35);
}
.g1a6-btn-ghost {
  background: transparent;
  color: var(--g1a6-text);
  border: 1.5px solid rgba(245, 245, 245, 0.25);
}
.g1a6-btn-mint {
  background: linear-gradient(135deg, var(--g1a6-mint), #4ec5a4);
  color: #06231d;
}
.g1a6-btn:hover { transform: translateY(-1px); }
.g1a6-btn:active { transform: scale(0.96); }

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

/* ---------- Mobile slide-down menu ---------- */
.g1a6-mobile-menu {
  position: fixed;
  top: var(--g1a6-header-h);
  left: 0; right: 0;
  background: rgba(12, 12, 12, 0.98);
  border-bottom: 1px solid var(--g1a6-border);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.g1a6-mobile-menu.g1a6-open { max-height: 420px; }
.g1a6-mobile-menu-inner {
  padding: 10px 16px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.g1a6-mobile-menu a {
  display: block;
  padding: 12px 12px;
  background: var(--g1a6-card);
  border-radius: 10px;
  color: var(--g1a6-text);
  font-size: 1.35rem;
  font-weight: 600;
}
.g1a6-mobile-menu a:hover { background: var(--g1a6-card-2); color: var(--g1a6-primary); }

/* ---------- Hero / Carousel ---------- */
.g1a6-hero { margin-top: calc(var(--g1a6-header-h) + 10px); }
.g1a6-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--g1a6-radius);
  box-shadow: var(--g1a6-shadow);
}
.g1a6-carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.g1a6-carousel-slide {
  min-width: 100%;
  position: relative;
}
.g1a6-carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.g1a6-carousel-caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}
.g1a6-carousel-prev,
.g1a6-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g1a6-carousel-prev { left: 8px; }
.g1a6-carousel-next { right: 8px; }
.g1a6-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.g1a6-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
}
.g1a6-carousel-dot.g1a6-active { background: var(--g1a6-primary); width: 18px; border-radius: 4px; }

/* ---------- Section / headings ---------- */
.g1a6-section {
  margin: 22px 0 6px;
}
.g1a6-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g1a6-text);
  margin: 0 0 12px;
}
.g1a6-section-title .g1a6-bar {
  width: 4px; height: 20px;
  background: var(--g1a6-primary);
  border-radius: 2px;
}
.g1a6-section-title .g1a6-sub { color: var(--g1a6-accent); font-size: 1.3rem; font-weight: 600; }

.g1a6-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 18px 0 8px;
  color: var(--g1a6-text);
}
.g1a6-h1 .g1a6-accent { color: var(--g1a6-primary); }

.g1a6-lead {
  color: var(--g1a6-muted);
  font-size: 1.45rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.g1a6-h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 22px 0 10px;
  color: var(--g1a6-text);
}
.g1a6-h3 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--g1a6-mint);
}
.g1a6-p { margin: 0 0 12px; color: var(--g1a6-muted); font-size: 1.45rem; line-height: 1.65; }
.g1a6-strong { color: var(--g1a6-text); font-weight: 700; }

/* ---------- Filter chips ---------- */
.g1a6-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
}
.g1a6-filter-row::-webkit-scrollbar { display: none; }
.g1a6-filter-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--g1a6-card);
  color: var(--g1a6-text);
  border: 1px solid var(--g1a6-border);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
}
.g1a6-filter-chip.g1a6-active {
  background: linear-gradient(135deg, var(--g1a6-primary), #ff5f8d);
  border-color: transparent;
  color: #fff;
}

/* ---------- Game grid ---------- */
.g1a6-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 769px) {
  .g1a6-game-grid { grid-template-columns: repeat(6, 1fr); }
}
.g1a6-game-card {
  background: var(--g1a6-card);
  border: 1px solid var(--g1a6-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.g1a6-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--g1a6-primary);
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.25);
}
.g1a6-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.g1a6-game-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--g1a6-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g1a6-game-section { margin: 18px 0; }

/* ---------- Cards / features ---------- */
.g1a6-card {
  background: var(--g1a6-card);
  border: 1px solid var(--g1a6-border);
  border-radius: var(--g1a6-radius);
  padding: 16px;
  margin: 10px 0;
}
.g1a6-card-accent { border-left: 4px solid var(--g1a6-primary); }
.g1a6-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 769px) {
  .g1a6-grid-2 { grid-template-columns: repeat(4, 1fr); }
}

.g1a6-feature-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(233, 30, 99, 0.15);
  color: var(--g1a6-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}

.g1a6-list { padding-left: 18px; margin: 8px 0; color: var(--g1a6-muted); }
.g1a6-list li { margin-bottom: 6px; line-height: 1.55; }

/* ---------- Testimonials ---------- */
.g1a6-testimonial {
  background: var(--g1a6-card);
  border-radius: var(--g1a6-radius);
  padding: 14px;
  border: 1px solid var(--g1a6-border);
  margin: 8px 0;
}
.g1a6-testimonial-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.g1a6-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1a6-primary), var(--g1a6-mint));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.g1a6-stars { color: #ffc107; font-size: 1.2rem; }

/* ---------- CTA band ---------- */
.g1a6-cta {
  background: linear-gradient(135deg, rgba(233,30,99,0.18), rgba(102,205,170,0.12));
  border: 1px solid rgba(233,30,99,0.4);
  border-radius: var(--g1a6-radius);
  padding: 18px;
  text-align: center;
  margin: 18px 0;
}
.g1a6-cta .g1a6-btn { font-size: 1.5rem; padding: 0 22px; min-height: 44px; }

/* ---------- Footer ---------- */
.g1a6-footer {
  background: #050505;
  border-top: 1px solid var(--g1a6-border);
  padding: 22px 0 calc(var(--g1a6-bottom-h) + 22px);
}
.g1a6-footer p { color: var(--g1a6-muted); font-size: 1.3rem; line-height: 1.6; margin: 0 0 8px; }
.g1a6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.g1a6-footer-links a {
  background: var(--g1a6-card);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.25rem;
  color: var(--g1a6-text);
  border: 1px solid var(--g1a6-border);
}
.g1a6-footer-links a:hover { color: var(--g1a6-primary); }
.g1a6-copyright { font-size: 1.2rem; color: #777; margin-top: 10px; }

/* ---------- Bottom nav ---------- */
.g1a6-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g1a6-bottom-h);
  background: linear-gradient(180deg, #141414, #050505);
  border-top: 1px solid var(--g1a6-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.g1a6-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--g1a6-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .2s ease, transform .15s ease;
}
.g1a6-bottom-nav-btn .g1a6-nav-ico { font-size: 22px; line-height: 1; }
.g1a6-bottom-nav-btn:hover { color: var(--g1a6-text); transform: translateY(-1px); }
.g1a6-bottom-nav-btn:active { transform: scale(0.92); }
.g1a6-bottom-nav-btn.g1a6-current { color: var(--g1a6-primary); }
.g1a6-bottom-nav-btn.g1a6-promo { color: var(--g1a6-mint); }
@media (min-width: 769px) {
  .g1a6-bottom-nav { display: none; }
}

/* ---------- Back to top ---------- */
.g1a6-to-top {
  position: fixed;
  right: 14px; bottom: calc(var(--g1a6-bottom-h) + 14px);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--g1a6-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 999;
}
.g1a6-to-top.g1a6-show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 769px) {
  .g1a6-to-top { bottom: 18px; }
}

/* ---------- Payment chips ---------- */
.g1a6-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.g1a6-pay-chip {
  background: var(--g1a6-card);
  border: 1px solid var(--g1a6-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--g1a6-text);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Winners ticker ---------- */
.g1a6-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--g1a6-card);
  border-radius: 10px;
  margin: 6px 0;
  font-size: 1.3rem;
}
.g1a6-winner .g1a6-amount { color: var(--g1a6-mint); font-weight: 800; }

/* ---------- Utilities ---------- */
.g1a6-text-center { text-align: center; }
.g1a6-mt-8 { margin-top: 8px; }
.g1a6-mt-16 { margin-top: 16px; }
.g1a6-hidden-mobile { display: none; }
@media (min-width: 769px) {
  .g1a6-hidden-mobile { display: block; }
  .g1a6-only-mobile { display: none; }
}
