/* ===========================================================
   windd3.click - Shared stylesheet (prefix: g61e-)
   Mobile-first HTML5 gaming site (Vietnamese)
   Comments in English. Root font-size 62.5% (1rem = 10px).
   =========================================================== */

:root {
  --g61e-bg: #0F0F23;
  --g61e-bg-2: #161638;
  --g61e-bg-3: #1d1d4a;
  --g61e-primary: #87CEFA;
  --g61e-accent: #3CB371;
  --g61e-steel: #4682B4;
  --g61e-text: #DCDCDC;
  --g61e-muted: #A9A9A9;
  --g61e-gold: #FFD479;
  --g61e-danger: #E05260;
  --g61e-radius: 14px;
  --g61e-shadow: 0 6px 24px rgba(0,0,0,.35);
}

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

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

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1d1d4a 0%, var(--g61e-bg) 60%);
  color: var(--g61e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.g61e-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.g61e-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.g61e-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(15,15,35,.96), rgba(15,15,35,.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(135,206,250,.15);
}
.g61e-header-inner {
  max-width: 430px; margin: 0 auto; padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
}
.g61e-brand { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.g61e-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g61e-brand-name { font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: .3px; }
.g61e-brand-name span { color: var(--g61e-primary); }

.g61e-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 34px; padding: 0 12px; border: none; border-radius: 20px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: transform .15s, filter .15s;
  color: #fff;
}
.g61e-btn:active { transform: scale(.96); }
.g61e-btn-register { background: linear-gradient(135deg, #3CB371, #4682B4); box-shadow: 0 4px 14px rgba(60,179,113,.35); }
.g61e-btn-login { background: linear-gradient(135deg, #4682B4, #87CEFA); color: #0F0F23; }

.g61e-menu-toggle {
  background: transparent; border: 0; color: var(--g61e-primary);
  font-size: 2rem; cursor: pointer; padding: 4px 6px; min-width: 36px; min-height: 36px;
}

.g61e-nav { display: none; max-width: 430px; margin: 0 auto; padding: 0 12px 10px; }
.g61e-nav.g61e-open { display: block; }
.g61e-nav-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--g61e-bg-2); border-radius: 10px; padding: 8px;
  border: 1px solid rgba(135,206,250,.12);
}
.g61e-nav a {
  font-size: 1.25rem; color: var(--g61e-text); padding: 8px 10px;
  border-radius: 8px; background: rgba(135,206,250,.06);
  display: flex; align-items: center; gap: 6px;
}
.g61e-nav a:active { background: rgba(135,206,250,.18); }

/* ---------- Layout ---------- */
main { padding-top: 60px; padding-bottom: 16px; }
@media (max-width: 768px) { main { padding-bottom: 90px; } }

.g61e-section { margin: 18px 0; }
.g61e-section-title {
  font-size: 1.7rem; font-weight: 800; color: #fff; margin: 14px 0 10px;
  display: flex; align-items: center; gap: 8px; padding-left: 10px;
  border-left: 4px solid var(--g61e-primary);
}
.g61e-section-title .g61e-ico { color: var(--g61e-gold); }
.g61e-lead { color: var(--g61e-muted); font-size: 1.35rem; margin-bottom: 10px; }

/* ---------- Carousel ---------- */
.g61e-carousel {
  position: relative; border-radius: var(--g61e-radius); overflow: hidden;
  box-shadow: var(--g61e-shadow); margin-top: 10px;
}
.g61e-carousel-track { display: flex; scroll-snap-type: x mandatory; overflow-x: auto; }
.g61e-carousel-track::-webkit-scrollbar { display: none; }
.g61e-carousel-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.g61e-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.g61e-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(0deg, rgba(15,15,35,.9), transparent);
  color: #fff; font-size: 1.35rem; font-weight: 700;
}
.g61e-carousel-cap a { color: var(--g61e-gold); font-weight: 800; }
.g61e-carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; }
.g61e-carousel-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(135,206,250,.35);
}
.g61e-carousel-dots span.g61e-active { background: var(--g61e-primary); width: 18px; border-radius: 4px; }

/* ---------- Category tabs ---------- */
.g61e-cats { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; }
.g61e-cats::-webkit-scrollbar { display: none; }
.g61e-cats .g61e-cat {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 18px;
  background: var(--g61e-bg-2); color: var(--g61e-text);
  font-size: 1.25rem; font-weight: 700; border: 1px solid rgba(135,206,250,.12);
}
.g61e-cats .g61e-cat.g61e-active { background: linear-gradient(135deg, #4682B4, #87CEFA); color: #0F0F23; }

/* ---------- Game grid ---------- */
.g61e-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.g61e-card {
  background: var(--g61e-bg-2); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(135,206,250,.10); position: relative;
  transition: transform .15s;
}
.g61e-card:active { transform: scale(.97); }
.g61e-card img { width: 100%; height: 92px; object-fit: cover; background: #0a0a1c; }
.g61e-card-name {
  font-size: 1.15rem; color: var(--g61e-text); padding: 5px 6px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3rem;
}
.g61e-card-tag {
  position: absolute; top: 4px; left: 4px; background: rgba(224,82,96,.92);
  color: #fff; font-size: 1rem; font-weight: 700; padding: 1px 6px; border-radius: 6px;
}
.g61e-card-tag.g61e-hot { background: var(--g61e-gold); color: #0F0F23; }

/* ---------- Content blocks ---------- */
.g61e-card-box {
  background: var(--g61e-bg-2); border-radius: 12px; padding: 12px;
  border: 1px solid rgba(135,206,250,.10); margin-bottom: 10px;
}
.g61e-card-box h3 { color: #fff; font-size: 1.45rem; margin-bottom: 6px; }
.g61e-card-box p { font-size: 1.3rem; color: var(--g61e-text); }
.g61e-card-box ul { padding-left: 18px; color: var(--g61e-text); font-size: 1.3rem; }
.g61e-card-box li { margin-bottom: 4px; }

.g61e-promo-link {
  color: var(--g61e-gold); font-weight: 800; text-decoration: underline; cursor: pointer;
}
.g61e-btn-cta {
  display: block; width: 100%; padding: 14px; text-align: center;
  background: linear-gradient(135deg, #3CB371, #4682B4);
  color: #fff; font-size: 1.6rem; font-weight: 800; border-radius: 24px;
  border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(60,179,113,.35);
}
.g61e-btn-cta:active { transform: scale(.98); }

/* ---------- Stats / RTP ---------- */
.g61e-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g61e-stat {
  background: var(--g61e-bg-2); padding: 10px; border-radius: 10px;
  border: 1px solid rgba(135,206,250,.12); text-align: center;
}
.g61e-stat b { display: block; font-size: 1.9rem; color: var(--g61e-primary); }
.g61e-stat span { font-size: 1.15rem; color: var(--g61e-muted); }

.g61e-bar { height: 8px; background: rgba(135,206,250,.15); border-radius: 4px; overflow: hidden; margin: 4px 0 8px; }
.g61e-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3CB371, #87CEFA); }

/* ---------- Testimonials ---------- */
.g61e-quote {
  background: var(--g61e-bg-2); border-left: 3px solid var(--g61e-accent);
  padding: 10px 12px; border-radius: 8px; margin-bottom: 8px;
}
.g61e-quote b { color: var(--g61e-primary); font-size: 1.3rem; }
.g61e-quote p { color: var(--g61e-text); font-size: 1.25rem; margin-top: 3px; }

/* ---------- Payment / winners ---------- */
.g61e-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g61e-chip {
  background: var(--g61e-bg-2); padding: 6px 10px; border-radius: 16px;
  border: 1px solid rgba(135,206,250,.15); font-size: 1.15rem; color: var(--g61e-text);
  display: inline-flex; align-items: center; gap: 4px;
}
.g61e-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g61e-bg-2); padding: 8px 10px; border-radius: 8px; margin-bottom: 6px;
  font-size: 1.25rem; border: 1px solid rgba(135,206,250,.10);
}
.g61e-winner b { color: var(--g61e-gold); }

/* ---------- App download ---------- */
.g61e-app {
  background: linear-gradient(135deg, #1d1d4a, #0F0F23);
  border: 1px solid rgba(135,206,250,.18); border-radius: 14px; padding: 14px; text-align: center;
}
.g61e-app p { color: var(--g61e-text); margin: 6px 0 10px; font-size: 1.3rem; }

/* ---------- Footer ---------- */
.g61e-footer {
  background: var(--g61e-bg-2); border-top: 1px solid rgba(135,206,250,.12);
  padding: 18px 12px 24px; margin-top: 22px;
}
.g61e-footer .g61e-container { padding: 0; }
.g61e-footer-brand { color: var(--g61e-muted); font-size: 1.25rem; margin-bottom: 10px; }
.g61e-footer-promos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.g61e-footer-promos button {
  background: linear-gradient(135deg, #4682B4, #3CB371); color: #fff; border: 0;
  padding: 6px 12px; border-radius: 16px; font-size: 1.2rem; font-weight: 700; cursor: pointer;
}
.g61e-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin-bottom: 10px;
}
.g61e-footer-links a { font-size: 1.2rem; color: var(--g61e-text); }
.g61e-footer-copy { color: var(--g61e-muted); font-size: 1.1rem; border-top: 1px solid rgba(135,206,250,.08); padding-top: 8px; }

/* ---------- Mobile bottom nav ---------- */
.g61e-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(22,22,56,.98), rgba(15,15,35,1));
  border-top: 1px solid rgba(135,206,250,.18);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; padding: 4px 0;
}
.g61e-bottomnav button {
  flex: 1; min-width: 60px; min-height: 54px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--g61e-muted); cursor: pointer; gap: 2px; transition: color .15s, transform .15s;
}
.g61e-bottomnav button:active { transform: scale(.92); }
.g61e-bottomnav button .g61e-ico { font-size: 22px; line-height: 1; }
.g61e-bottomnav button .g61e-label { font-size: 11px; font-weight: 700; }
.g61e-bottomnav button.g61e-active { color: var(--g61e-primary); }
.g61e-bottomnav button.g61e-promo { color: var(--g61e-gold); }
@media (min-width: 769px) { .g61e-bottomnav { display: none; } }

/* ---------- Misc ---------- */
.g61e-hide { display: none !important; }
.g61e-text-gold { color: var(--g61e-gold); font-weight: 800; }
.g61e-divider { height: 1px; background: rgba(135,206,250,.12); margin: 14px 0; }
