/* ============================================================
 * a88.homes - style-3873.css
 * Mobile-first gaming site. All custom classes use the g73a- prefix.
 * Palette: #DEE2E6 | #AFEEEE | #004D40 | #BAFFC9 | #008B8B | #273746
 * Root font-size 62.5% => 1rem = 10px.
 * ============================================================ */

:root {
  --g73a-bg: #273746;
  --g73a-bg-deep: #1c2733;
  --g73a-primary: #008B8B;
  --g73a-primary-deep: #004D40;
  --g73a-accent: #AFEEEE;
  --g73a-mint: #BAFFC9;
  --g73a-light: #DEE2E6;
  --g73a-text: #EAF2F2;
  --g73a-text-muted: #9fb3bd;
  --g73a-gold: #f5c451;
  --g73a-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --g73a-radius: 14px;
  --g73a-radius-sm: 9px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: linear-gradient(160deg, var(--g73a-bg-deep) 0%, var(--g73a-bg) 60%, var(--g73a-primary-deep) 100%);
  color: var(--g73a-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
}

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

/* ---------------- Layout containers ---------------- */
.g73a-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.g73a-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
main { display: block; padding-bottom: 80px; }

/* ---------------- Header ---------------- */
.g73a-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28, 39, 51, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(175, 238, 238, 0.18);
  box-shadow: var(--g73a-shadow);
}
.g73a-header-row {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.8rem;
}
.g73a-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--g73a-light);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}
.g73a-logo img { width: 28px; height: 28px; border-radius: 6px; }
.g73a-logo span { color: var(--g73a-accent); }
.g73a-burger {
  background: transparent;
  border: 0;
  color: var(--g73a-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.g73a-btn-row { display: flex; gap: 0.5rem; }
.g73a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 36px;
}
.g73a-btn:active { transform: scale(0.96); }
.g73a-btn-register {
  background: linear-gradient(135deg, var(--g73a-gold), #ff8a3d);
  color: #2a1a04;
  box-shadow: 0 3px 10px rgba(245, 196, 81, 0.35);
}
.g73a-btn-login {
  background: linear-gradient(135deg, var(--g73a-primary), var(--g73a-primary-deep));
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 139, 139, 0.4);
}

/* ---------------- Mobile slide menu ---------------- */
.g73a-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 9998;
}
.g73a-overlay-show { opacity: 1; visibility: visible; }
.g73a-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--g73a-bg-deep);
  z-index: 9999;
  padding: 1.6rem 1.2rem;
  transition: right 0.25s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(175, 238, 238, 0.2);
}
.g73a-menu-open { right: 0; }
.g73a-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.4rem;
}
.g73a-menu-head h3 { margin: 0; color: var(--g73a-accent); font-size: 1.6rem; }
.g73a-menu-close {
  background: transparent; border: 0; color: var(--g73a-light);
  font-size: 2rem; cursor: pointer;
}
.g73a-menu-list { list-style: none; padding: 0; margin: 0; }
.g73a-menu-list li { margin-bottom: 0.4rem; }
.g73a-menu-list a {
  display: block;
  padding: 1rem 1rem;
  color: var(--g73a-light);
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}
.g73a-menu-list a:hover, .g73a-menu-list a:focus {
  background: rgba(0, 139, 139, 0.18);
  border-color: rgba(175, 238, 238, 0.25);
  color: var(--g73a-accent);
}
.g73a-menu-cta { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------------- Hero / Carousel ---------------- */
.g73a-hero {
  margin-top: 64px;
  padding: 1.4rem 0 0.8rem;
}
.g73a-carousel {
  position: relative;
  border-radius: var(--g73a-radius);
  overflow: hidden;
  box-shadow: var(--g73a-shadow);
  aspect-ratio: 16 / 9;
  background: #000;
}
.g73a-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.g73a-slide img { width: 100%; height: 100%; object-fit: cover; }
.g73a-slide-active { opacity: 1; }
.g73a-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
  color: #fff;
}
.g73a-slide-caption h2 { margin: 0 0 0.2rem; font-size: 1.7rem; color: var(--g73a-mint); }
.g73a-slide-caption p { margin: 0; font-size: 1.25rem; color: var(--g73a-light); }
.g73a-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%;
  display: flex; justify-content: space-between;
  pointer-events: none;
}
.g73a-carousel-nav button {
  pointer-events: auto;
  background: rgba(0,0,0,0.4);
  color: #fff; border: 0;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.6rem;
  cursor: pointer;
  margin: 0 0.6rem;
}
.g73a-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 0.8rem;
}
.site73a-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(175, 238, 238, 0.35);
  border: 0; padding: 0; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.g73a-dot-active { background: var(--g73a-gold); transform: scale(1.3); }

/* ---------------- Section heads ---------------- */
.g73a-section {
  padding: 1.6rem 0 0.4rem;
}
.g73a-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g73a-accent);
  margin: 0 0 0.4rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.g73a-section-title i { color: var(--g73a-gold); }
.g73a-section-sub {
  color: var(--g73a-text-muted);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

/* ---------------- H1 hero text ---------------- */
.g73a-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 1rem 0 0.4rem;
  line-height: 1.35;
}
.g73a-h1 b { color: var(--g73a-gold); }

/* ---------------- Filter bar ---------------- */
.g73a-filter {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem;
}
.site73a-filter-btn {
  border: 1px solid rgba(175, 238, 238, 0.3);
  background: rgba(0, 139, 139, 0.15);
  color: var(--g73a-light);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.g73a-filter-active {
  background: linear-gradient(135deg, var(--g73a-gold), #ff8a3d);
  color: #2a1a04;
  border-color: transparent;
}

/* ---------------- Game grid ---------------- */
.g73a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.g73a-card {
  background: rgba(39, 55, 70, 0.7);
  border: 1px solid rgba(175, 238, 238, 0.14);
  border-radius: var(--g73a-radius-sm);
  padding: 0.6rem;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.g73a-card:hover, .g73a-card:focus {
  transform: translateY(-2px);
  border-color: var(--g73a-accent);
}
.g73a-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.g73a-card-name {
  font-size: 1.15rem;
  color: var(--g73a-light);
  font-weight: 600;
  line-height: 1.25;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g73a-cat-tag {
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(186, 255, 201, 0.18);
  color: var(--g73a-mint);
  margin-bottom: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ---------------- Feature / info cards ---------------- */
.g73a-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.g73a-info-card {
  background: linear-gradient(160deg, rgba(0,77,64,0.55), rgba(39,55,70,0.7));
  border: 1px solid rgba(175, 238, 238, 0.18);
  border-radius: var(--g73a-radius);
  padding: 1.2rem;
}
.g73a-info-card h3 {
  margin: 0 0 0.5rem; color: var(--g73a-accent); font-size: 1.45rem;
}
.g73a-info-card p { margin: 0; color: var(--g73a-text); font-size: 1.3rem; }
.g73a-info-icon { font-size: 2rem; color: var(--g73a-gold); margin-bottom: 0.4rem; }

/* ---------------- Steps list ---------------- */
.g73a-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.g73a-steps li {
  position: relative;
  padding: 0.8rem 0.8rem 0.8rem 3.4rem;
  margin-bottom: 0.6rem;
  background: rgba(0, 139, 139, 0.1);
  border-radius: 10px;
  border-left: 3px solid var(--g73a-gold);
  font-size: 1.3rem;
}
.g73a-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.8rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem;
  background: var(--g73a-gold);
  color: #2a1a04;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

/* ---------------- FAQ ---------------- */
.g73a-faq { display: flex; flex-direction: column; gap: 0.6rem; }
.g73a-faq details {
  background: rgba(39, 55, 70, 0.6);
  border: 1px solid rgba(175, 238, 238, 0.14);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.g73a-faq summary {
  cursor: pointer; font-weight: 700; color: var(--g73a-accent); font-size: 1.3rem;
}
.g73a-faq p { margin: 0.6rem 0 0; color: var(--g73a-text); font-size: 1.25rem; }

/* ---------------- Testimonial ---------------- */
.g73a-testi-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.8rem;
}
.g73a-testi {
  background: rgba(0, 77, 64, 0.45);
  border-radius: 10px;
  padding: 1rem;
  border-left: 4px solid var(--g73a-mint);
}
.g73a-testi-stars { color: var(--g73a-gold); margin-bottom: 0.3rem; }
.g73a-testi p { margin: 0 0 0.4rem; font-size: 1.25rem; color: var(--g73a-light); }
.g73a-testi span { font-size: 1.15rem; color: var(--g73a-mint); font-weight: 700; }

/* ---------------- Payment / winners ---------------- */
.g73a-pill-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.g73a-pill {
  background: rgba(175, 238, 238, 0.12);
  border: 1px solid rgba(175, 238, 238, 0.3);
  color: var(--g73a-accent);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
}
.g73a-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(39, 55, 70, 0.6);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}
.g73a-winner b { color: var(--g73a-gold); }

/* ---------------- Big CTA ---------------- */
.g73a-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--g73a-gold), #ff8a3d);
  color: #2a1a04;
  font-weight: 800;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  font-size: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 14px rgba(245, 196, 81, 0.4);
}
.g73a-cta:hover { color: #2a1a04; opacity: 0.92; }

/* ---------------- Footer ---------------- */
.g73a-footer {
  background: var(--g73a-bg-deep);
  border-top: 1px solid rgba(175, 238, 238, 0.18);
  padding: 1.6rem 0 1rem;
  margin-top: 1.4rem;
}
.g73a-footer-brand { color: var(--g73a-light); font-size: 1.25rem; line-height: 1.5; margin-bottom: 0.8rem; }
.g73a-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem;
}
.g73a-footer-links a {
  font-size: 1.15rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(175, 238, 238, 0.25);
  border-radius: 999px;
  color: var(--g73a-accent);
}
.g73a-footer-copy { color: var(--g73a-text-muted); font-size: 1.1rem; }

/* ---------------- Bottom nav ---------------- */
.g73a-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 60px;
  z-index: 1000;
  background: rgba(28, 39, 51, 0.98);
  border-top: 1px solid rgba(175, 238, 238, 0.22);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.35);
}
.g73a-bottomnav button, .g73a-bottomnav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: 0;
  color: var(--g73a-text-muted);
  font-size: 1.05rem;
  text-decoration: none;
  min-width: 60px; min-height: 56px;
  gap: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.g73a-bottomnav button:active, .g73a-bottomnav a:active { transform: scale(0.92); }
.g73a-bottomnav .g73a-bn-icon { font-size: 22px; line-height: 1; }
.g73a-bottomnav .bn-active { color: var(--g73a-gold); }
.g73a-bottomnav .g73a-bn-promo {
  color: var(--g73a-mint);
}

/* ---------------- Back to top ---------------- */
#site73aBackTop {
  position: fixed; right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--g73a-primary);
  color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 900;
  box-shadow: var(--g73a-shadow);
}
.g73a-backtop-show { opacity: 1; visibility: visible; }

/* ---------------- Long-form SEO text ---------------- */
.g73a-prose { color: var(--g73a-light); font-size: 1.3rem; line-height: 1.6; }
.g73a-prose h2 { color: var(--g73a-accent); font-size: 1.6rem; margin: 1.2rem 0 0.5rem; }
.g73a-prose h3 { color: var(--g73a-mint); font-size: 1.4rem; margin: 1rem 0 0.4rem; }
.g73a-prose p { margin: 0 0 0.8rem; }
.g73a-prose a { color: var(--g73a-gold); font-weight: 600; text-decoration: underline; }
.g73a-prose ul { padding-left: 1.4rem; }
.g73a-prose li { margin-bottom: 0.4rem; }

/* ---------------- Desktop: hide bottom nav, widen wrapper ---------------- */
@media (min-width: 769px) {
  .g73a-bottomnav { display: none; }
  body { background: linear-gradient(160deg, #1c2733 0%, #273746 50%, #004D40 100%); }
  main { padding-bottom: 30px; }
  .g73a-grid { grid-template-columns: repeat(5, 1fr); }
  .g73a-info-grid { grid-template-columns: repeat(2, 1fr); }
  .g73a-testi-grid { grid-template-columns: repeat(2, 1fr); }
  .g73a-header-row { max-width: 1100px; }
  .g73a-wrapper { max-width: 1100px; }
}

@media (min-width: 600px) and (max-width: 768px) {
  .g73a-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 360px) {
  .g73a-grid { grid-template-columns: repeat(2, 1fr); }
  .g73a-btn { padding: 0.5rem 0.8rem; font-size: 1.2rem; }
}
