/* ============================================================
 * 747live casino - design-14d3.css
 * Prefix: pg14-  /  CSS vars: --pg14-*
 * Palette: #FFC0CB / #AD1457 / #FF7F50 / #273746
 * Mobile-first. Root font 62.5% -> 1rem = 10px
 * ============================================================ */

:root {
  --pg14-pink:   #FFC0CB;
  --pg14-maroon: #AD1457;
  --pg14-coral:  #FF7F50;
  --pg14-slate:  #273746;
  --pg14-bg:     #1b2a35;
  --pg14-bg2:    #14202a;
  --pg14-card:   #21323f;
  --pg14-text:   #FFE9EF;
  --pg14-muted:  #b9c7d1;
  --pg14-gold:   #FFD27A;
  --pg14-radius: 1.2rem;
  --pg14-shadow: 0 .4rem 1.4rem rgba(0,0,0,.35);
  --pg14-header-h: 5.6rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 62.5%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--pg14-bg) 0%, var(--pg14-bg2) 100%);
  color: var(--pg14-text);
  line-height: 1.5rem;
  font-size: 1.45rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--pg14-coral); text-decoration: none; }
a:hover { color: var(--pg14-pink); }

h1,h2,h3,h4 { line-height: 1.5; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: 2.2rem; color: var(--pg14-pink); }
h2 { font-size: 1.9rem; color: var(--pg14-pink); }
h3 { font-size: 1.6rem; color: var(--pg14-coral); }
p  { margin: 0 0 1.2rem; color: var(--pg14-muted); }

/* ---------- Layout helpers ---------- */
.pg14-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg14-section   { padding: 2.4rem 0; }
.pg14-section--alt { background: rgba(255,192,203,.05); }

/* ---------- Header ---------- */
.pg14-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--pg14-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  background: linear-gradient(90deg, var(--pg14-slate) 0%, var(--pg14-maroon) 120%);
  box-shadow: 0 .2rem .8rem rgba(0,0,0,.45);
}
.pg14-brand { display: flex; align-items: center; gap: .8rem; color: var(--pg14-pink); font-weight: 800; font-size: 1.55rem; }
.pg14-brand img { width: 3rem; height: 3rem; border-radius: .6rem; }
.pg14-brand small { display: block; font-size: 1rem; color: var(--pg14-coral); font-weight: 600; }

.pg14-head-actions { display: flex; align-items: center; gap: .6rem; }
.pg14-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  border: 0; border-radius: 2rem;
  padding: .85rem 1.4rem;
  font-size: 1.3rem; font-weight: 700;
  cursor: pointer; transition: transform .15s ease, filter .15s ease;
  min-height: 3.6rem; text-decoration: none;
}
.pg14-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pg14-btn--register { background: linear-gradient(135deg, var(--pg14-coral), var(--pg14-gold)); color: #2a1300; }
.pg14-btn--login    { background: transparent; color: var(--pg14-pink); border: .15rem solid var(--pg14-pink); padding: .7rem 1.3rem; }
.pg14-btn--block    { display: flex; width: 100%; }
.pg14-icon-btn {
  background: transparent; border: 0; color: var(--pg14-pink);
  font-size: 2.2rem; cursor: pointer; padding: .4rem;
  min-width: 4.4rem; min-height: 4.4rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile slide menu ---------- */
.pg14-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 9998;
}
.pg14-menu-overlay.pg14-show { opacity: 1; visibility: visible; }
.pg14-mobile-menu {
  position: fixed; top: 0; right: -85%; bottom: 0;
  width: 80%; max-width: 320px; z-index: 9999;
  background: var(--pg14-bg2);
  padding: 2rem 1.4rem;
  transition: right .3s ease;
  overflow-y: auto;
}
.pg14-mobile-menu.pg14-menu-open { right: 0; }
.pg14-mobile-menu h3 { color: var(--pg14-coral); margin: 1.4rem 0 .8rem; font-size: 1.4rem; }
.pg14-mobile-menu a {
  display: block; padding: 1rem .6rem; color: var(--pg14-text);
  border-bottom: .1rem solid rgba(255,192,203,.12); font-size: 1.35rem;
}
.pg14-mobile-menu a:hover { color: var(--pg14-coral); }
.pg14-menu-close { position: absolute; top: 1rem; right: 1.2rem; }

/* ---------- Spacer under fixed header ---------- */
.pg14-top-spacer { height: var(--pg14-header-h); }

/* ---------- Carousel ---------- */
.pg14-carousel {
  position: relative; overflow: hidden; border-radius: var(--pg14-radius);
  box-shadow: var(--pg14-shadow); margin: 1.4rem 0;
}
.pg14-slide {
  display: none; position: relative; cursor: pointer;
}
.pg14-slide.pg14-active { display: block; }
.pg14-slide img { width: 100%; height: 18rem; object-fit: cover; border-radius: var(--pg14-radius); }
.pg14-slide-cap {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: linear-gradient(90deg, rgba(39,55,70,.85), rgba(173,20,87,.7));
  padding: 1rem 1.2rem; border-radius: 1rem; color: var(--pg14-pink);
}
.pg14-slide-cap strong { display: block; font-size: 1.6rem; color: var(--pg14-gold); }
.pg14-dots { display: flex; gap: .6rem; justify-content: center; margin-top: .8rem; }
.pg14-dot {
  width: 1rem; height: 1rem; border-radius: 50%;
  background: rgba(255,192,203,.35); cursor: pointer; border: 0;
}
.pg14-dot.pg14-active { background: var(--pg14-coral); }

/* ---------- Generic content text link ---------- */
.pg14-text-link {
  color: var(--pg14-coral); font-weight: 700; cursor: pointer;
}
.pg14-text-link:hover { color: var(--pg14-pink); text-decoration: underline; }

/* ---------- Game sections ---------- */
.pg14-section-title {
  display: flex; align-items: center; gap: .8rem;
  margin: 2rem 0 1rem;
}
.pg14-section-title h2 { margin: 0; font-size: 1.7rem; }
.pg14-section-title .pg14-bar { width: .5rem; height: 2.2rem; border-radius: .3rem; background: linear-gradient(180deg, var(--pg14-coral), var(--pg14-maroon)); }
.pg14-filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.4rem; }
.pg14-filter-chip {
  border: .1rem solid rgba(255,192,203,.3); background: transparent;
  color: var(--pg14-pink); padding: .6rem 1.1rem; border-radius: 2rem;
  font-size: 1.2rem; cursor: pointer;
}
.pg14-filter-chip.pg14-chip-active { background: var(--pg14-maroon); color: #fff; border-color: var(--pg14-maroon); }

.pg14-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
}
.pg14-game-card {
  background: var(--pg14-card); border-radius: 1rem; overflow: hidden;
  text-align: center; cursor: pointer; padding: .6rem .4rem;
  border: .1rem solid rgba(255,192,203,.08); transition: transform .15s, border-color .15s;
}
.pg14-game-card:hover { transform: translateY(-2px); border-color: var(--pg14-coral); }
.pg14-game-card img { width: 100%; height: 7.4rem; object-fit: cover; border-radius: .6rem; }
.pg14-game-card .pg14-game-name {
  font-size: 1.05rem; color: var(--pg14-pink); margin-top: .4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}

/* ---------- Info / feature cards ---------- */
.pg14-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pg14-card {
  background: var(--pg14-card); border-radius: var(--pg14-radius);
  padding: 1.4rem; border-left: .4rem solid var(--pg14-coral);
  box-shadow: var(--pg14-shadow);
}
.pg14-card h3 { margin-top: 0; }
.pg14-card .pg14-icon { font-size: 2.6rem; color: var(--pg14-gold); }

/* ---------- RTP / stats compact ---------- */
.pg14-rtp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 0; border-bottom: .1rem dashed rgba(255,192,203,.15);
}
.pg14-rtp-row:last-child { border-bottom: 0; }
.pg14-rtp-name { color: var(--pg14-text); font-weight: 600; }
.pg14-rtp-val  { color: var(--pg14-gold); font-weight: 800; }
.pg14-bar-track { flex: 1; height: .7rem; background: rgba(255,255,255,.08); border-radius: 1rem; margin: 0 .8rem; overflow: hidden; }
.pg14-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--pg14-coral), var(--pg14-gold)); }

/* ---------- Testimonial ---------- */
.pg14-quote {
  background: rgba(173,20,87,.18); border-radius: var(--pg14-radius);
  padding: 1.2rem; margin-bottom: 1rem; border-left: .3rem solid var(--pg14-pink);
}
.pg14-quote .pg14-stars { color: var(--pg14-gold); }

/* ---------- Payment chips ---------- */
.pg14-chips { display: flex; flex-wrap: wrap; gap: .8rem; }
.pg14-chip {
  background: var(--pg14-card); border-radius: .8rem; padding: .9rem 1.2rem;
  display: inline-flex; align-items: center; gap: .5rem; color: var(--pg14-pink);
  font-weight: 600; font-size: 1.25rem; min-height: 4rem;
}

/* ---------- CTA banner ---------- */
.pg14-cta {
  background: linear-gradient(135deg, var(--pg14-maroon), var(--pg14-coral));
  border-radius: var(--pg14-radius); padding: 2rem 1.4rem; text-align: center;
  margin: 2rem 0; box-shadow: var(--pg14-shadow);
}
.pg14-cta h2 { color: #fff; margin-top: 0; }
.pg14-cta p  { color: rgba(255,255,255,.92); }

/* ---------- FAQ ---------- */
.pg14-faq-item {
  background: var(--pg14-card); border-radius: 1rem; margin-bottom: .8rem;
  overflow: hidden;
}
.pg14-faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 1.2rem; color: var(--pg14-pink); font-weight: 700; font-size: 1.35rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.pg14-faq-a { padding: 0 1.2rem 1.2rem; color: var(--pg14-muted); display: none; }
.pg14-faq-item.pg14-faq-open .pg14-faq-a { display: block; }
.pg14-faq-item.pg14-faq-open .pg14-faq-q i { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.pg14-footer {
  background: var(--pg14-bg2); padding: 2.4rem 1.2rem;
  border-top: .2rem solid var(--pg14-maroon);
}
.pg14-footer h3 { color: var(--pg14-pink); font-size: 1.4rem; margin-bottom: .8rem; }
.pg14-footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 1rem 0; }
.pg14-footer-links a { color: var(--pg14-muted); font-size: 1.2rem; }
.pg14-footer-links a:hover { color: var(--pg14-coral); }
.pg14-footer-promos { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.pg14-footer-bottom { color: var(--pg14-muted); font-size: 1.15rem; border-top: .1rem solid rgba(255,192,203,.12); padding-top: 1rem; }

/* ---------- Mobile bottom nav ---------- */
.pg14-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  height: 6rem;
  display: flex; justify-content: space-around; align-items: stretch;
  background: linear-gradient(180deg, var(--pg14-slate), #0f1820);
  border-top: .15rem solid var(--pg14-maroon);
  box-shadow: 0 -.2rem 1rem rgba(0,0,0,.4);
}
.pg14-bnav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  background: transparent; border: 0; color: var(--pg14-pink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: color .15s, transform .15s; padding: .4rem;
}
.pg14-bnav-btn i, .pg14-bnav-btn span.material-icons-outlined,
.pg14-bnav-btn ion-icon { font-size: 2.4rem; }
.pg14-bnav-btn ion-icon { font-size: 2.4rem; }
.pg14-bnav-btn:hover { color: var(--pg14-coral); transform: translateY(-2px); }
.pg14-bnav-btn.pg14-bnav-active { color: var(--pg14-gold); }
.pg14-bnav-badge {
  position: absolute; top: .6rem; right: 28%; background: var(--pg14-coral);
  color: #fff; border-radius: 1rem; padding: .1rem .5rem; font-size: .9rem;
}
.pg14-bnav-btn { position: relative; }

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  body { max-width: 760px; }
  .pg14-header { max-width: 760px; }
  .pg14-bnav { display: none; }
  .pg14-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Mobile: keep content above bottom nav ---------- */
@media (max-width: 768px) {
  main, .pg14-main { padding-bottom: 8rem; }
}

/* ---------- Utility ---------- */
.pg14-text-center { text-align: center; }
.pg14-mt-1 { margin-top: 1rem; }
.pg14-mt-2 { margin-top: 2rem; }
.pg14-highlight { color: var(--pg14-gold); font-weight: 700; }
.pg14-pink { color: var(--pg14-pink); }
.pg14-coral { color: var(--pg14-coral); }
