/* ============================================================
   u8886 style-1312.css
   All classes use the g123- prefix for namespace isolation.
   Mobile-first: max-width 430px primary container.
   ============================================================ */

:root {
  --g123-primary: #C71585;     /* brand magenta */
  --g123-secondary: #DB7093;   /* soft pink */
  --g123-accent: #E9967A;      /* warm salmon */
  --g123-bg: #0D1117;          /* deep background */
  --g123-bg-alt: #161b22;      /* card background */
  --g123-text: #f5e9ef;        /* light text */
  --g123-text-muted: #c7b8c2;
  --g123-border: #2a0e1f;
  --g123-gold: #ffd56b;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

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

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

/* ===== Layout containers (mobile-first, 430px cap) ===== */
.g123-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--g123-bg);
  min-height: 100vh;
}

.g123-container {
  width: 100%;
  max-width: 430px;
  padding: 0 1.2rem;
  margin: 0 auto;
}

/* ===== Header (fixed top) ===== */
.g123-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g123-primary), var(--g123-secondary));
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.g123-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
}
.g123-brand { display: flex; align-items: center; gap: .6rem; }
.g123-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g123-brand-name {
  font-weight: 800; font-size: 1.7rem; color: #fff;
  letter-spacing: .5px;
}
.g123-header-actions { display: flex; align-items: center; gap: .5rem; }
.g123-menu-toggle {
  background: rgba(255,255,255,.15);
  border: 0; color: #fff; font-size: 1.8rem;
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
}

/* ===== Buttons ===== */
.g123-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem 1.2rem;
  font-size: 1.4rem; font-weight: 700;
  border-radius: 999px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 40px;
}
.g123-btn:hover { transform: translateY(-1px); }
.g123-btn-primary { background: var(--g123-gold); color: #0D1117; }
.g123-btn-secondary { background: #fff; color: var(--g123-primary); }
.g123-btn-ghost {
  background: rgba(255,255,255,.18); color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.g123-btn-block { width: 100%; }

/* ===== Expandable nav menu (header dropdown) ===== */
.g123-mobile-menu {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: var(--g123-bg-alt);
  border-top: 1px solid var(--g123-border);
}
.g123-mobile-menu.g123-menu-open { max-height: 460px; }
.g123-mobile-menu-inner {
  max-width: 430px; margin: 0 auto;
  padding: .8rem 1rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
}
.g123-mobile-menu-inner a {
  padding: .8rem .9rem; border-radius: 8px;
  background: rgba(219,112,147,.12);
  color: var(--g123-text); font-size: 1.35rem;
  display: flex; align-items: center; gap: .4rem;
}
.g123-mobile-menu-inner a:hover { background: rgba(219,112,147,.25); }

/* ===== Main content spacing ===== */
main { padding-top: 64px; }
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ===== Carousel ===== */
.g123-carousel {
  position: relative; overflow: hidden;
  border-radius: 14px; margin: 1rem 0;
}
.g123-carousel-track {
  display: flex; transition: transform .5s ease;
}
.g123-carousel-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.g123-carousel-slide img {
  width: 100%; height: 180px; object-fit: cover;
}

/* ===== Sections ===== */
.g123-section { margin: 1.6rem 0; }
.g123-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--g123-gold);
  margin: 0 0 .9rem; padding-left: .6rem;
  border-left: 4px solid var(--g123-primary);
}
.g123-card {
  background: var(--g123-bg-alt);
  border: 1px solid var(--g123-border);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

/* ===== Game grid ===== */
.g123-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.g123-game {
  background: var(--g123-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--g123-border);
  transition: transform .15s;
}
.g123-game:hover { transform: translateY(-2px); }
.g123-game img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
}
.g123-game-name {
  font-size: 1.15rem; color: var(--g123-text);
  padding: .4rem .3rem .55rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Category heading ===== */
.g123-cat-title {
  font-size: 1.5rem; font-weight: 700; color: var(--g123-accent);
  margin: 1.4rem 0 .8rem;
  display: flex; align-items: center; gap: .5rem;
}

/* ===== Feature / promo lists ===== */
.g123-feature {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .8rem; border-radius: 10px;
  background: rgba(233,150,122,.08);
  margin-bottom: .7rem;
}
.g123-feature .g123-feature-icon {
  font-size: 2.2rem; color: var(--g123-gold); flex-shrink: 0;
}
.g123-feature h3 { margin: 0 0 .3rem; font-size: 1.4rem; color: #fff; }
.g123-feature p { margin: 0; font-size: 1.3rem; color: var(--g123-text-muted); }

/* ===== Testimonial ===== */
.g123-testimonial {
  background: var(--g123-bg-alt);
  border-left: 3px solid var(--g123-secondary);
  padding: .9rem 1rem; border-radius: 8px; margin-bottom: .8rem;
}
.g123-testimonial .g123-stars { color: var(--g123-gold); font-size: 1.2rem; }
.g123-testimonial p { margin: .4rem 0; font-size: 1.3rem; }
.g123-testimonial cite { color: var(--g123-secondary); font-style: normal; font-weight: 700; }

/* ===== RTP table ===== */
.g123-rtp-table {
  width: 100%; border-collapse: collapse;
  font-size: 1.25rem;
}
.g123-rtp-table th, .g123-rtp-table td {
  padding: .6rem; border-bottom: 1px solid var(--g123-border);
  text-align: left;
}
.g123-rtp-table th { color: var(--g123-gold); }
.g123-rtp-badge {
  display: inline-block; padding: .15rem .55rem;
  background: rgba(199,21,133,.25); color: #fff;
  border-radius: 6px; font-weight: 700;
}

/* ===== Winners ===== */
.g123-winner {
  display: flex; justify-content: space-between;
  padding: .55rem .8rem; border-radius: 8px;
  background: rgba(255,213,107,.06);
  margin-bottom: .4rem; font-size: 1.25rem;
}
.g123-winner .g123-amount { color: var(--g123-gold); font-weight: 700; }

/* ===== Payment ===== */
.g123-pay-row {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.g123-pay-chip {
  padding: .5rem .9rem; border-radius: 999px;
  background: rgba(219,112,147,.18);
  color: #fff; font-size: 1.2rem;
}

/* ===== Footer ===== */
.g123-footer {
  background: #06080b; color: var(--g123-text-muted);
  padding: 1.6rem 1.2rem 2.4rem;
}
.g123-footer h4 { color: #fff; font-size: 1.35rem; margin: .8rem 0 .5rem; }
.g123-footer p { font-size: 1.25rem; line-height: 1.6; }
.g123-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin: .8rem 0;
}
.g123-footer-links a {
  color: var(--g123-accent); font-size: 1.2rem;
}
.g123-footer-promo {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0;
}
.g123-footer-copy {
  font-size: 1.15rem; text-align: center;
  border-top: 1px solid var(--g123-border);
  padding-top: .8rem; margin-top: .8rem;
}

/* ===== Bottom mobile nav (fixed) ===== */
.g123-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 60px; z-index: 1000;
  background: linear-gradient(180deg, var(--g123-secondary), var(--g123-primary));
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -2px 12px rgba(0,0,0,.45);
}
.g123-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; gap: 2px;
  transition: transform .15s ease, background .2s ease;
}
.g123-nav-btn:active { transform: scale(.9); }
.g123-nav-btn .g123-nav-icon { font-size: 22px; line-height: 1; }
.g123-nav-btn .g123-nav-label { font-size: 1rem; opacity: .95; }
.g123-nav-btn.g123-active {
  background: rgba(255,213,107,.18);
  color: var(--g123-gold);
}
@media (min-width: 769px) {
  .g123-bottom-nav { display: none; }
  main { padding-bottom: 0; }
}

/* ===== Utility ===== */
.g123-text-center { text-align: center; }
.g123-mt-1 { margin-top: .8rem; }
.g123-mt-2 { margin-top: 1.4rem; }
.g123-hidden { display: none !important; }
.g123-promo-text {
  color: var(--g123-gold); font-weight: 700;
}
