/* ============================================================
 * Nohu Nohu - style-1f66.css
 * Mobile-first (max-width: 430px wrapper) casino homepage styles.
 * Palette: #8B008B / #9370DB / #1E1E1E / #F8F8FF / #FFB6C1
 * All custom classes prefixed g667-. Root font 62.5% (1rem=10px).
 * ============================================================ */

:root {
  --g667-primary: #8B008B;
  --g667-secondary: #9370DB;
  --g667-accent: #FFB6C1;
  --g667-bg: #1E1E1E;
  --g667-bg-2: #2a1233;
  --g667-bg-3: #14091a;
  --g667-text: #F8F8FF;
  --g667-muted: #c9b8d6;
  --g667-gold: #ffd66b;
  --g667-radius: 14px;
  --g667-shadow: 0 6px 20px rgba(0,0,0,.45);
  --g667-grad: linear-gradient(135deg, #8B008B 0%, #9370DB 60%, #FFB6C1 100%);
  --g667-grad-dark: linear-gradient(160deg, #2a1233 0%, #1E1E1E 70%);
}

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

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--g667-bg);
  background-image: var(--g667-grad-dark);
  color: var(--g667-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ============================================================
 * Layout container — mobile first, max-width: 430px
 * ============================================================ */
.g667-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--g667-bg);
  box-shadow: 0 0 60px rgba(0,0,0,.5);
  min-height: 100vh;
}

.g667-container {
  width: 100%;
  padding: 0 1.4rem;
}

main.g667-main {
  padding-top: 6.4rem;
  padding-bottom: 1.6rem;
}

/* ============================================================
 * Header
 * ============================================================ */
.g667-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(30, 10, 40, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,182,193,.25);
  transition: padding .25s ease, background .25s ease;
}
.g667-header-scrolled { background: rgba(20,9,26,.98); }

.g667-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: .6rem;
}

.g667-brand {
  display: flex; align-items: center; gap: .8rem;
  min-width: 0;
}
.g667-brand img { width: 3rem; height: 3rem; border-radius: 8px; }
.g667-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: .3px;
  background: var(--g667-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.g667-actions { display: flex; align-items: center; gap: .5rem; }

.g667-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-weight: 700; font-size: 1.3rem;
  border: none; border-radius: 30px;
  padding: .8rem 1.4rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  min-height: 3.6rem;
  color: #fff;
  text-decoration: none;
}
.g667-btn-primary { background: var(--g667-grad); box-shadow: 0 4px 14px rgba(139,0,139,.55); }
.g667-btn-secondary { background: rgba(248,248,255,.08); border: 1px solid var(--g667-accent); color: var(--g667-accent); }
.g667-btn-gold { background: linear-gradient(135deg,#ffd66b,#ff9d4d); color: #2a0a2a; }
.g667-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.g667-btn:active { transform: scale(.96); }

.g667-icon-btn {
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: rgba(248,248,255,.08); border: 1px solid rgba(255,182,193,.3);
  color: var(--g667-text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

/* ============================================================
 * Nav menu (expandable)
 * ============================================================ */
.g667-nav-menu {
  position: fixed;
  top: 6rem; right: 0;
  width: 78%; max-width: 320px;
  background: var(--g667-bg-3);
  border-left: 1px solid rgba(255,182,193,.2);
  transform: translateX(110%);
  transition: transform .3s ease;
  z-index: 9999;
  padding: 1.6rem 1.2rem;
  height: calc(100vh - 6rem);
  overflow-y: auto;
}
.g667-nav-open { transform: translateX(0); }
.g667-nav-menu h4 {
  font-size: 1.3rem; color: var(--g667-accent);
  text-transform: uppercase; letter-spacing: .1em;
  margin: 1.2rem 0 .6rem;
}
.g667-nav-menu a {
  display: block;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  color: var(--g667-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .15s ease, padding-left .15s ease;
}
.g667-nav-menu a:hover { background: rgba(147,112,219,.18); padding-left: 1.6rem; }

.g667-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.g667-overlay.g667-nav-open { opacity: 1; pointer-events: auto; }

/* ============================================================
 * Carousel
 * ============================================================ */
.g667-carousel {
  position: relative;
  border-radius: var(--g667-radius);
  overflow: hidden;
  margin: 1.4rem 0;
  box-shadow: var(--g667-shadow);
  aspect-ratio: 16/9;
  background: #000;
}
.g667-slides { position: relative; width: 100%; height: 100%; }
.g667-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease;
  cursor: pointer;
}
.g667-slide img { width: 100%; height: 100%; object-fit: cover; }
.g667-slide-active { opacity: 1; }
.g667-slide-cap {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(30,9,26,.78);
  padding: .6rem 1rem; border-radius: 10px;
  font-size: 1.25rem; font-weight: 600;
}
.g667-dots {
  position: absolute; bottom: .8rem; right: 1rem;
  display: flex; gap: .5rem;
}
.g667-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(248,248,255,.4);
  cursor: pointer; border: none;
}
.g667-dot-active { background: var(--g667-accent); width: 22px; border-radius: 6px; }

/* ============================================================
 * Sections
 * ============================================================ */
.g667-section {
  padding: 2rem 1.4rem;
}
.g667-section-title {
  font-size: 1.9rem; font-weight: 800;
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1.2rem;
}
.g667-section-title i { color: var(--g667-accent); font-size: 2rem; }
.g667-section-title .g667-more {
  margin-left: auto; font-size: 1.2rem; font-weight: 600;
  color: var(--g667-secondary);
}
.g667-divider {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(255,182,193,.3), transparent);
  margin: 1.6rem 0;
}

/* ============================================================
 * Game grid (compact)
 * ============================================================ */
.g667-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.6rem 0 1rem;
}
.g667-cat-head h2 {
  font-size: 1.6rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .6rem;
}
.g667-cat-tag {
  background: var(--g667-grad);
  color: #fff; font-size: 1rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 20px;
}

.g667-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.g667-game {
  background: var(--g667-bg-2);
  border-radius: 12px;
  padding: .6rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: block;
}
.g667-game:hover {
  transform: translateY(-3px);
  border-color: var(--g667-accent);
  box-shadow: 0 6px 16px rgba(139,0,139,.4);
}
.g667-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px; margin-bottom: .4rem;
}
.g667-game-name {
  font-size: 1.1rem; color: var(--g667-text);
  font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.g667-game-hot {
  position: relative;
}
.g667-game-hot::after {
  content: "HOT";
  position: absolute; top: .3rem; right: .3rem;
  background: linear-gradient(135deg,#ff5b5b,#ff2d55);
  color: #fff; font-size: .85rem; font-weight: 800;
  padding: .1rem .4rem; border-radius: 6px;
}

/* ============================================================
 * Cards / Feature / Info
 * ============================================================ */
.g667-card {
  background: var(--g667-bg-2);
  border-radius: var(--g667-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255,182,193,.12);
}
.g667-card h3 {
  font-size: 1.5rem; margin-bottom: .8rem;
  color: var(--g667-accent);
  display: flex; align-items: center; gap: .6rem;
}
.g667-card p { color: var(--g667-muted); font-size: 1.35rem; line-height: 1.6; }
.g667-card p .g667-kw { color: var(--g667-gold); font-weight: 700; }

.g667-feature-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem;
}
.g667-feature {
  background: var(--g667-bg-2);
  border-radius: 12px; padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,.06);
}
.g667-feature i { font-size: 2.4rem; color: var(--g667-secondary); }
.g667-feature .g667-feature-t { font-weight: 700; margin-top: .5rem; font-size: 1.3rem; }
.g667-feature .g667-feature-d { color: var(--g667-muted); font-size: 1.15rem; margin-top: .3rem; }

/* ============================================================
 * RTP compact table
 * ============================================================ */
.g667-rtp-row {
  display: flex; align-items: center;
  padding: .8rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
  font-size: 1.3rem;
}
.g667-rtp-name { flex: 1; }
.g667-rtp-bar {
  flex: 2; height: 8px; border-radius: 6px;
  background: rgba(255,255,255,.1); overflow: hidden;
  margin: 0 .8rem;
}
.g667-rtp-fill {
  height: 100%; background: var(--g667-grad);
}
.g667-rtp-val { color: var(--g667-gold); font-weight: 800; min-width: 4rem; text-align: right; }

/* ============================================================
 * Testimonials
 * ============================================================ */
.g667-testi {
  background: var(--g667-bg-2);
  border-radius: 12px; padding: 1.2rem;
  margin-bottom: .8rem;
  border-left: 3px solid var(--g667-accent);
}
.g667-testi-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.g667-testi-avatar {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--g667-grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
}
.g667-testi-name { font-weight: 700; font-size: 1.3rem; }
.g667-testi-stars { color: var(--g667-gold); font-size: 1.1rem; }
.g667-testi p { color: var(--g667-muted); font-size: 1.25rem; }

/* ============================================================
 * Winners marquee-like list
 * ============================================================ */
.g667-winner {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.g667-winner img { width: 3.4rem; height: 3.4rem; border-radius: 8px; }
.g667-winner .g667-w-name { flex: 1; font-size: 1.25rem; }
.g667-w-amount { color: var(--g667-gold); font-weight: 800; font-size: 1.3rem; }

/* ============================================================
 * Payment / partners
 * ============================================================ */
.g667-pay-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}
.g667-pay {
  background: #fff; color: #1E1E1E;
  border-radius: 8px; padding: .7rem .3rem;
  text-align: center; font-size: 1rem; font-weight: 700;
}

/* ============================================================
 * FAQ
 * ============================================================ */
.g667-faq {
  background: var(--g667-bg-2);
  border-radius: 12px; padding: 1.2rem 1.4rem;
  margin-bottom: .8rem;
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
}
.g667-faq-q {
  font-weight: 700; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: space-between;
}
.g667-faq-q i { color: var(--g667-accent); transition: transform .2s ease; }
.g667-faq-a {
  max-height: 0; overflow: hidden;
  color: var(--g667-muted); font-size: 1.25rem;
  transition: max-height .3s ease, padding .3s ease;
}
.g667-faq-open .g667-faq-a { max-height: 400px; padding-top: .8rem; }
.g667-faq-open .g667-faq-q i { transform: rotate(45deg); }

/* ============================================================
 * CTA banner
 * ============================================================ */
.g667-cta {
  background: var(--g667-grad);
  border-radius: var(--g667-radius);
  padding: 1.8rem;
  text-align: center;
  margin: 1.6rem 0;
  box-shadow: var(--g667-shadow);
  color: #fff;
}
.g667-cta h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.g667-cta p { font-size: 1.25rem; opacity: .92; margin-bottom: 1rem; }

/* ============================================================
 * Footer
 * ============================================================ */
.g667-footer {
  background: var(--g667-bg-3);
  padding: 2.4rem 1.4rem 9rem;
  border-top: 1px solid rgba(255,182,193,.15);
  font-size: 1.25rem;
  color: var(--g667-muted);
}
.g667-footer h4 {
  color: var(--g667-accent); font-size: 1.4rem;
  margin: 1.4rem 0 .8rem;
}
.g667-footer p { line-height: 1.6; }
.g667-footer-links {
  display: flex; flex-wrap: wrap; gap: .5rem .8rem;
  margin: .8rem 0;
}
.g667-footer-links a {
  color: var(--g667-muted);
  font-size: 1.2rem;
  padding: .3rem .6rem;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
.g667-footer-links a:hover { color: var(--g667-accent); background: rgba(147,112,219,.2); }
.g667-footer-promo {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin: .8rem 0 1.4rem;
}
.g667-footer-promo .g667-btn { flex: 1; min-width: 45%; font-size: 1.2rem; padding: .7rem .8rem; }
.g667-copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem; margin-top: 1rem;
  text-align: center; font-size: 1.1rem;
}

/* ============================================================
 * Mobile bottom nav (fixed)
 * ============================================================ */
.g667-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(180deg, rgba(42,18,51,.98), rgba(20,9,26,1));
  border-top: 1px solid rgba(255,182,193,.25);
  display: flex; justify-content: space-around; align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom);
}
.g667-bottombtn {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .2rem;
  background: transparent; border: none;
  color: var(--g667-muted);
  font-size: 1.05rem; font-weight: 600;
  cursor: pointer;
  min-width: 60px; min-height: 60px;
  transition: color .2s ease, transform .15s ease;
  text-decoration: none;
}
.g667-bottombtn i, .g667-bottombtn .material-icons-outlined,
.g667-bottombtn ion-icon { font-size: 2.2rem; }
.g667-bottombtn:hover { color: var(--g667-accent); transform: translateY(-2px); }
.g667-bottombtn-active { color: var(--g667-accent); }
.g667-bottombtn-active i { color: var(--g667-gold); }
.g667-bottombtn .g667-badge {
  position: absolute; transform: translate(1rem,-1rem);
  background: #ff2d55; color: #fff;
  font-size: .9rem; font-weight: 700;
  padding: 0 .4rem; border-radius: 10px; min-width: 1.4rem;
}
.g667-bottombtn-center {
  position: relative; top: -1.4rem;
  background: var(--g667-grad);
  width: 5rem; height: 5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(139,0,139,.6);
  color: #fff;
}
.g667-bottombtn-center i { font-size: 2.4rem; }

/* Back to top */
.g667-to-top {
  position: fixed; right: 1.2rem; bottom: 7.2rem;
  z-index: 999;
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--g667-grad); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--g667-shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.g667-to-top.g667-show { opacity: 1; pointer-events: auto; }

/* ============================================================
 * Desktop / large screen
 * ============================================================ */
@media (min-width: 769px) {
  .g667-bottom-nav { display: none; }
  .g667-header-inner { max-width: 430px; }
}
@media (max-width: 768px) {
  main.g667-main { padding-bottom: 8rem; }
}

/* small screen tweaks */
@media (max-width: 360px) {
  .g667-grid { grid-template-columns: repeat(2, 1fr); }
  .g667-pay-row { grid-template-columns: repeat(3, 1fr); }
}

.g667-text-center { text-align: center; }
.g667-mt-1 { margin-top: 1rem; }
.g667-mt-2 { margin-top: 2rem; }
.g667-kw { color: var(--g667-gold); font-weight: 700; }
.g667-link-text {
  color: var(--g667-accent); font-weight: 700;
  border-bottom: 1px dashed var(--g667-accent);
}
