/* ============================================================
   niceph login - style-e244.css
   All classes use prefix g44e-
   Palette: #FFEBCD | #FDF5E6 | #3A3A3A | #8B7355 | #DEB887
   Dark = background, light = text color
   ============================================================ */

:root {
  --g44e-primary: #8B7355;
  --g44e-accent: #DEB887;
  --g44e-bg: #3A3A3A;
  --g44e-bg-dark: #2c2c2c;
  --g44e-bg-soft: #4a4540;
  --g44e-text: #FDF5E6;
  --g44e-text-soft: #FFEBCD;
  --g44e-text-muted: #d9c9ad;
  --g44e-border: rgba(222, 184, 135, 0.25);
  --g44e-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --g44e-radius: 14px;
  --g44e-radius-sm: 10px;
  --g44e-header-h: 60px;
  --g44e-nav-h: 62px;
  --g44e-gold-grad: linear-gradient(135deg, #DEB887 0%, #b58e5f 60%, #8B7355 100%);
  --g44e-card-grad: linear-gradient(160deg, #4a4540 0%, #3A3A3A 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
  background: var(--g44e-bg);
  color: var(--g44e-text);
  font-size: 1.5rem;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

img { max-width: 100%; display: block; }

a { color: var(--g44e-accent); text-decoration: none; }
a:hover, a:focus { color: var(--g44e-text-soft); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.3; color: var(--g44e-text-soft); font-weight: 700; }
h1 { font-size: 2.2rem; margin: 1.2rem 0; }
h2 { font-size: 1.9rem; margin: 1.4rem 0 0.8rem; }
h3 { font-size: 1.6rem; margin: 1.2rem 0 0.6rem; }
h4 { font-size: 1.35rem; margin: 1rem 0 0.5rem; }
p { margin: 0.6rem 0; color: var(--g44e-text-muted); }

/* Layout */
.g44e-container { width: 100%; max-width: 430px; padding: 0 1.2rem; margin: 0 auto; }
.g44e-wrapper { padding: 1rem 1.2rem; }
.g44e-section { padding: 2rem 1.2rem; }
.g44e-divider { height: 1px; background: var(--g44e-border); margin: 1.5rem 0; border: 0; }

/* ===== Header ===== */
.g44e-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--g44e-header-h);
  background: var(--g44e-bg-dark);
  border-bottom: 1px solid var(--g44e-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.g44e-header-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.45); background: #262626; }
.g44e-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--g44e-text-soft); }
.g44e-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g44e-logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.3px; }
.g44e-logo-text span { color: var(--g44e-accent); }

.g44e-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g44e-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.3rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  min-height: 36px; text-decoration: none;
}
.g44e-btn:active { transform: scale(0.96); }
.g44e-btn-primary { background: var(--g44e-gold-grad); color: #2a2218; box-shadow: 0 3px 10px rgba(0,0,0,0.35); }
.g44e-btn-primary:hover { color: #1d160c; text-decoration: none; opacity: 0.94; }
.g44e-btn-outline { background: transparent; color: var(--g44e-accent); border: 1.5px solid var(--g44e-accent); }
.g44e-btn-outline:hover { background: rgba(222,184,135,0.12); color: var(--g44e-text-soft); text-decoration: none; }
.g44e-btn-block { display: flex; width: 100%; }

.g44e-menu-btn {
  background: transparent; border: 0; color: var(--g44e-accent);
  font-size: 2rem; cursor: pointer; padding: 0.4rem 0.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile Menu Drawer ===== */
.g44e-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease; z-index: 9998;
}
.g44e-backdrop-show { opacity: 1; visibility: visible; }
.g44e-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px;
  height: 100%; background: var(--g44e-bg-dark); z-index: 9999;
  transform: translateX(0); transition: right 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.g44e-menu-open { right: 0; }
.g44e-mobile-menu h3 { color: var(--g44e-accent); margin-bottom: 1rem; font-size: 1.5rem; }
.g44e-mobile-menu ul { list-style: none; }
.g44e-mobile-menu li { border-bottom: 1px solid var(--g44e-border); }
.g44e-mobile-menu a {
  display: block; padding: 1rem 0.5rem; color: var(--g44e-text-soft);
  font-size: 1.4rem; text-decoration: none;
}
.g44e-mobile-menu a:hover { color: var(--g44e-accent); padding-left: 1rem; }
.g44e-menu-close { background: transparent; border: 0; color: var(--g44e-text); font-size: 2rem; position: absolute; top: 1rem; right: 1.2rem; cursor: pointer; }

/* ===== Main spacing ===== */
.g44e-main { padding-top: var(--g44e-header-h); }
@media (max-width: 768px) {
  .g44e-main { padding-bottom: 80px; }
}

/* ===== Hero / Carousel ===== */
.g44e-hero { padding: 1rem 0 0.5rem; }
.g44e-carousel {
  position: relative; overflow: hidden; border-radius: var(--g44e-radius);
  box-shadow: var(--g44e-shadow); background: var(--g44e-bg-dark);
}
.g44e-slides { position: relative; height: 190px; }
.g44e-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end;
}
.g44e-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.g44e-slide-overlay {
  position: relative; z-index: 2; padding: 1rem 1.2rem; width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
  color: var(--g44e-text-soft);
}
.g44e-slide-overlay h2 { margin: 0 0 0.3rem; font-size: 1.7rem; color: #fff; }
.g44e-slide-overlay p { color: var(--g44e-text-muted); font-size: 1.25rem; margin: 0; }
.g44e-slide-active { opacity: 1; z-index: 3; }

.g44e-dots { position: absolute; bottom: 8px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 6px; }
.g44e-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; border: 0; padding: 0; }
.g44e-dot-active { background: var(--g44e-accent); width: 22px; border-radius: 4px; }

/* ===== Section heading ===== */
.g44e-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.g44e-section-head h2 { margin: 0; font-size: 1.7rem; }
.g44e-section-head .g44e-more { font-size: 1.25rem; color: var(--g44e-accent); }
.g44e-section-icon { color: var(--g44e-accent); margin-right: 0.5rem; }

/* ===== Filter ===== */
.g44e-filters { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 0 1rem; -webkit-overflow-scrolling: touch; }
.g44e-filters::-webkit-scrollbar { display: none; }
.g44e-filter-btn {
  flex: 0 0 auto; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--g44e-border);
  background: var(--g44e-bg-soft); color: var(--g44e-text-soft); font-size: 1.25rem; cursor: pointer;
  white-space: nowrap; transition: all 0.2s;
}
.g44e-filter-active { background: var(--g44e-gold-grad); color: #2a2218; border-color: transparent; font-weight: 700; }

/* ===== Game Grid ===== */
.g44e-game-group { margin-bottom: 2rem; }
.g44e-game-group h2 { display: flex; align-items: center; gap: 0.5rem; }
.g44e-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.g44e-card {
  background: var(--g44e-card-grad); border-radius: var(--g44e-radius-sm);
  border: 1px solid var(--g44e-border); overflow: hidden; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.g44e-card:hover, .g44e-card:focus { transform: translateY(-3px); box-shadow: var(--g44e-shadow); border-color: var(--g44e-accent); text-decoration: none; }
.g44e-card-img { position: relative; padding-top: 100%; background: #1f1c19; }
.g44e-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g44e-card-tag {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  background: var(--g44e-gold-grad); color: #2a2218;
  font-size: 1rem; font-weight: 700; padding: 2px 7px; border-radius: 6px;
}
.g44e-card-title {
  font-size: 1.15rem; color: var(--g44e-text-soft); text-align: center;
  padding: 0.5rem 0.3rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Info / Feature / Promo cards ===== */
.g44e-cards-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g44e-info-card {
  background: var(--g44e-card-grad); border: 1px solid var(--g44e-border);
  border-radius: var(--g44e-radius); padding: 1.2rem; text-align: center;
  transition: transform 0.2s ease;
}
.g44e-info-card:hover { transform: translateY(-2px); }
.g44e-info-card .g44e-ico { font-size: 2.6rem; color: var(--g44e-accent); margin-bottom: 0.5rem; display: inline-block; }
.g44e-info-card h3 { margin: 0.3rem 0; font-size: 1.4rem; }
.g44e-info-card p { font-size: 1.2rem; margin: 0; }

/* ===== Banner CTA ===== */
.g44e-banner {
  background: var(--g44e-gold-grad); color: #2a2218; border-radius: var(--g44e-radius);
  padding: 1.5rem 1.2rem; text-align: center; margin: 1.5rem 0;
}
.g44e-banner h2 { color: #2a2218; margin: 0 0 0.4rem; }
.g44e-banner p { color: #3a2f1f; margin: 0 0 1rem; }
.g44e-banner .g44e-btn { background: #2c2c2c; color: var(--g44e-accent); }

/* ===== FAQ ===== */
.g44e-faq-item {
  border: 1px solid var(--g44e-border); border-radius: var(--g44e-radius-sm);
  margin-bottom: 0.7rem; overflow: hidden; background: var(--g44e-card-grad);
}
.g44e-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
  padding: 1rem 1.1rem; cursor: pointer; font-weight: 700; color: var(--g44e-text-soft); font-size: 1.3rem;
}
.g44e-faq-q .g44e-faq-icon { color: var(--g44e-accent); transition: transform 0.2s; }
.g44e-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.1rem; color: var(--g44e-text-muted); font-size: 1.25rem; }
.g44e-faq-open .g44e-faq-a { max-height: 400px; padding: 0 1.1rem 1rem; }
.g44e-faq-open .g44e-faq-icon { transform: rotate(45deg); }

/* ===== Testimonial ===== */
.g44e-testimonial {
  background: var(--g44e-card-grad); border: 1px solid var(--g44e-border);
  border-radius: var(--g44e-radius); padding: 1.1rem; margin-bottom: 0.8rem;
}
.g44e-testimonial .g44e-stars { color: #f0c040; font-size: 1.2rem; margin-bottom: 0.4rem; }
.g44e-testimonial p { font-size: 1.25rem; font-style: italic; margin: 0 0 0.5rem; }
.g44e-testimonial .g44e-author { color: var(--g44e-accent); font-weight: 700; font-size: 1.2rem; }

/* ===== Payment chips ===== */
.g44e-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g44e-chip {
  background: var(--g44e-card-grad); border: 1px solid var(--g44e-border);
  border-radius: 999px; padding: 0.5rem 1rem; font-size: 1.2rem; color: var(--g44e-text-soft);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.g44e-chip .g44e-ico { color: var(--g44e-accent); }

/* ===== Winners ticker ===== */
.g44e-winners {
  background: var(--g44e-bg-dark); border: 1px solid var(--g44e-border);
  border-radius: var(--g44e-radius); padding: 0.8rem 1rem; margin-bottom: 1rem;
}
.g44e-winner-row { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 1.2rem; border-bottom: 1px dashed var(--g44e-border); }
.g44e-winner-row:last-child { border-bottom: 0; }
.g44e-winner-name { color: var(--g44e-accent); font-weight: 700; }
.g44e-winner-amt { color: #6fd17a; font-weight: 700; }

/* ===== Long text SEO section ===== */
.g44e-seo-text { font-size: 1.3rem; line-height: 1.7; }
.g44e-seo-text h2, .g44e-seo-text h3 { color: var(--g44e-accent); }
.g44e-seo-text a { color: var(--g44e-accent); text-decoration: underline; }
.g44e-seo-text ul, .g44e-seo-text ol { margin: 0.6rem 0 0.6rem 1.6rem; color: var(--g44e-text-muted); }
.g44e-seo-text li { margin: 0.3rem 0; }

/* ===== Footer ===== */
.g44e-footer {
  background: var(--g44e-bg-dark); border-top: 1px solid var(--g44e-border);
  padding: 2rem 1.2rem 1rem; margin-top: 2rem;
}
.g44e-footer h4 { color: var(--g44e-accent); margin-bottom: 0.6rem; }
.g44e-footer ul { list-style: none; }
.g44e-footer li { margin: 0.4rem 0; }
.g44e-footer a { color: var(--g44e-text-muted); font-size: 1.25rem; }
.g44e-footer a:hover { color: var(--g44e-accent); }
.g44e-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.g44e-footer-promo .g44e-btn { flex: 1 1 auto; min-width: 120px; }
.g44e-footer-bottom { text-align: center; color: var(--g44e-text-muted); font-size: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--g44e-border); }

/* ===== Bottom Nav ===== */
.g44e-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g44e-nav-h);
  background: var(--g44e-bg-dark); border-top: 1px solid var(--g44e-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}
.g44e-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--g44e-text-muted);
  cursor: pointer; gap: 2px; padding: 4px 2px; position: relative;
  transition: color 0.2s, transform 0.15s;
}
.g44e-nav-btn:active { transform: scale(0.92); }
.g44e-nav-btn .g44e-nav-ico { font-size: 22px; line-height: 1; }
.g44e-nav-btn .g44e-nav-label { font-size: 10px; line-height: 1; font-weight: 600; }
.g44e-nav-btn:hover, .g44e-nav-btn:focus { color: var(--g44e-accent); text-decoration: none; }
.g44e-nav-active { color: var(--g44e-accent) !important; }
.g44e-nav-active::before {
  content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px;
  background: var(--g44e-gold-grad); border-radius: 0 0 4px 4px;
}
.g44e-nav-promo { background: var(--g44e-gold-grad); color: #2a2218 !important; }
.g44e-nav-promo .g44e-nav-label, .g44e-nav-promo .g44e-nav-ico { color: #2a2218; font-weight: 800; }

@media (min-width: 769px) {
  .g44e-bottom-nav { display: none; }
}

/* ===== Back to top ===== */
.g44e-to-top {
  position: fixed; right: 16px; bottom: calc(var(--g44e-nav-h) + 16px); z-index: 999;
  width: 42px; height: 42px; border-radius: 50%; background: var(--g44e-gold-grad);
  color: #2a2218; border: 0; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.2s;
  box-shadow: var(--g44e-shadow);
}
.g44e-to-top-show { opacity: 1; visibility: visible; }
.g44e-to-top:active { transform: scale(0.9); }

/* ===== Reveal animation ===== */
.g44e-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.g44e-inview { opacity: 1; transform: translateY(0); }

/* ===== Utility ===== */
.g44e-text-center { text-align: center; }
.g44e-mt-1 { margin-top: 0.8rem; }
.g44e-mt-2 { margin-top: 1.6rem; }
.g44e-pill {
  display: inline-block; background: var(--g44e-bg-soft); color: var(--g44e-accent);
  border: 1px solid var(--g44e-border); padding: 2px 10px; border-radius: 999px; font-size: 1.1rem; font-weight: 700;
}
.g44e-note { background: rgba(222,184,135,0.08); border-left: 3px solid var(--g44e-accent); padding: 0.8rem 1rem; border-radius: 6px; font-size: 1.2rem; color: var(--g44e-text-muted); margin: 0.8rem 0; }
