/* ============================================================
 * inplay.homes - Core Stylesheet
 * All custom classes use the s536- prefix.
 * Palette: #2C3E50 | #FFB3FF | #FF69B4 | #8B7355 | #BC8F8F
 * Mobile-first (max-width 430px primary target).
 * ============================================================ */

:root {
  --s536-primary: #2C3E50;
  --s536-bg: #2C3E50;
  --s536-bg-2: #243443;
  --s536-text: #FFB3FF;
  --s536-accent: #FF69B4;
  --s536-brown: #8B7355;
  --s536-rose: #BC8F8F;
  --s536-light: #fff5fb;
  --s536-muted: #d7c2cf;
  --s536-gold: #ffd86b;
  --s536-shadow: 0 4px 18px rgba(0,0,0,.28);
  --s536-radius: 14px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: linear-gradient(160deg, #2C3E50 0%, #34465c 60%, #2a3a4d 100%);
  color: var(--s536-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.s536-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.s536-wrapper { padding-bottom: 8.4rem; }

/* ---------- Header ---------- */
.s536-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28,40,55,.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255,105,180,.35);
  box-shadow: var(--s536-shadow);
}
.s536-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.2rem; min-height: 52px;
}
.s536-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color:#fff; }
.s536-brand img { width: 28px; height: 28px; border-radius: 8px; }
.s536-brand-name { font-size: 1.6rem; letter-spacing: .3px; }
.s536-brand-name span { color: var(--s536-accent); }

.s536-head-actions { display: flex; align-items: center; gap: .5rem; }
.s536-btn {
  border: 0; cursor: pointer;
  font-weight: 700; font-size: 1.25rem;
  padding: .6rem 1.1rem; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.s536-btn:active { transform: scale(.95); }
.s536-btn-register {
  background: linear-gradient(135deg, #FF69B4, #ff8fc7);
  color: #fff; box-shadow: 0 3px 10px rgba(255,105,180,.45);
}
.s536-btn-login {
  background: transparent; color: var(--s536-text);
  border: 2px solid var(--s536-text);
}
.s536-menu-btn {
  background: transparent; color: var(--s536-text);
  border: 0; font-size: 2rem; padding: .2rem .5rem; cursor: pointer;
}

/* Expandable nav menu */
.s536-nav-menu {
  max-height: 0; overflow: hidden;
  background: rgba(22,32,45,.98);
  transition: max-height .28s ease;
  border-top: 1px solid rgba(255,179,255,.12);
}
.s536-nav-menu.app536-open { max-height: 520px; }
.s536-nav-menu ul { list-style: none; margin: 0; padding: .4rem 1.2rem 1rem; }
.s536-nav-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
.s536-nav-menu a {
  display: block; padding: .95rem .2rem;
  color: var(--s536-light); font-size: 1.35rem;
}
.s536-nav-menu a:hover { color: var(--s536-accent); }

/* ---------- Hero / Carousel ---------- */
.s536-main { padding-top: 64px; }
.s536-carousel {
  position: relative; margin: 1rem 0;
  border-radius: var(--s536-radius); overflow: hidden;
  box-shadow: var(--s536-shadow);
}
.s536-slide {
  display: none; position: relative; cursor: pointer;
}
.s536-slide.app536-active { display: block; }
.s536-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.s536-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.s536-slide-cap h2 { margin: 0 0 .3rem; font-size: 1.7rem; color: var(--s536-text); }
.s536-slide-cap p { margin: 0; font-size: 1.2rem; color: #fff; }
.s536-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s536-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; border: 0;
}
.s536-dot.app536-active { background: var(--s536-accent); transform: scale(1.25); }

/* ---------- Sections ---------- */
.s536-section { margin: 1.8rem 0; }
.s536-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.s536-section-head h2 {
  font-size: 1.6rem; margin: 0; color: #fff;
  border-left: 4px solid var(--s536-accent); padding-left: .6rem;
}
.s536-section-head a { font-size: 1.2rem; color: var(--s536-text); }

.s536-h1 {
  font-size: 2rem; line-height: 1.4; margin: 1rem 0;
  color: #fff; text-align: center;
}
.s536-h1 span { color: var(--s536-accent); }

.s536-text { color: var(--s536-muted); font-size: 1.3rem; }
.s536-text strong { color: var(--s536-text); }
.s536-link {
  color: var(--s536-accent); font-weight: 700;
  cursor: pointer; word-break: break-word;
}
.s536-link:hover { text-decoration: underline; }

/* ---------- Filter chips ---------- */
.s536-chips {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: .4rem 0 1rem; scrollbar-width: none;
}
.s536-chips::-webkit-scrollbar { display: none; }
.s536-chip {
  flex: 0 0 auto; padding: .45rem 1rem;
  background: rgba(255,255,255,.08); color: var(--s536-light);
  border: 1px solid rgba(255,179,255,.25); border-radius: 999px;
  font-size: 1.2rem; cursor: pointer; white-space: nowrap;
}
.s536-chip-active {
  background: linear-gradient(135deg, #FF69B4, #FFB3FF);
  color: #2C3E50; border-color: transparent; font-weight: 700;
}

/* ---------- Game grid ---------- */
.s536-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.s536-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,179,255,.14);
  border-radius: 12px; padding: .6rem;
  text-align: center; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.s536-card:hover {
  transform: translateY(-3px);
  border-color: var(--s536-accent);
  box-shadow: 0 6px 16px rgba(255,105,180,.25);
}
.s536-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 10px; margin-bottom: .4rem;
}
.s536-card-name {
  font-size: 1.1rem; color: var(--s536-light);
  line-height: 1.25; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.s536-card-tag {
  display: inline-block; font-size: 1rem; color: var(--s536-gold);
  margin-top: .25rem;
}

/* ---------- Info / feature blocks ---------- */
.s536-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
}
.s536-tile {
  background: linear-gradient(145deg, rgba(255,105,180,.12), rgba(255,179,255,.06));
  border: 1px solid rgba(255,179,255,.18);
  border-radius: 12px; padding: 1rem;
}
.s536-tile .material-icons,
.s536-tile .icon { color: var(--s536-accent); font-size: 2.4rem; }
.s536-tile h3 { margin: .4rem 0; font-size: 1.3rem; color: #fff; }
.s536-tile p { margin: 0; font-size: 1.15rem; color: var(--s536-muted); }

.s536-note {
  background: rgba(139,115,85,.18);
  border-left: 4px solid var(--s536-brown);
  padding: 1rem 1.2rem; border-radius: 10px;
  color: var(--s536-light); font-size: 1.25rem;
}

/* ---------- RTP / data table ---------- */
.s536-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.s536-table th, .s536-table td {
  padding: .7rem .6rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.s536-table th { color: var(--s536-text); }
.s536-table td { color: var(--s536-light); }
.s536-bar {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.12); overflow: hidden;
}
.s536-bar > i { display: block; height: 100%;
  background: linear-gradient(90deg, #FF69B4, #FFB3FF); }

/* ---------- Testimonials ---------- */
.s536-quote {
  background: rgba(255,255,255,.05);
  border-radius: 12px; padding: 1rem 1.2rem;
  margin-bottom: .8rem; border-left: 3px solid var(--s536-rose);
}
.s536-quote p { margin: 0 0 .4rem; font-size: 1.25rem; color: var(--s536-light); }
.s536-quote .s536-stars { color: var(--s536-gold); font-size: 1.1rem; }
.s536-quote cite { color: var(--s536-muted); font-style: normal; font-size: 1.1rem; }

/* ---------- Payment / winners ---------- */
.s536-row {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.s536-row:last-child { border-bottom: 0; }
.s536-row .s536-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #FF69B4, #8B7355);
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.s536-row b { color: var(--s536-text); }

/* ---------- FAQ ---------- */
.s536-faq-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,179,255,.15);
  border-radius: 10px; margin-bottom: .6rem; overflow: hidden;
}
.s536-faq-q {
  width: 100%; text-align: left; background: transparent;
  border: 0; color: #fff; padding: 1rem; font-size: 1.3rem;
  font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.s536-faq-q::after { content: "+"; color: var(--s536-accent); font-size: 1.8rem; }
.s536-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 1rem; color: var(--s536-muted); font-size: 1.2rem;
}
.s536-faq-open .s536-faq-a { max-height: 320px; padding: 0 1rem 1rem; }
.s536-faq-open .s536-faq-q::after { content: "−"; }

/* ---------- CTA ---------- */
.s536-cta {
  display: block; width: 100%;
  background: linear-gradient(135deg, #FF69B4, #FFB3FF);
  color: #2C3E50; font-weight: 800; font-size: 1.5rem;
  text-align: center; padding: 1.1rem;
  border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,105,180,.4);
  margin: 1rem 0;
}
.s536-cta:active { transform: scale(.97); }

/* ---------- Footer ---------- */
.s536-footer {
  background: #1b2937; color: var(--s536-muted);
  padding: 2rem 1.2rem 1.4rem; margin-top: 1.5rem;
  border-top: 2px solid rgba(255,105,180,.25);
}
.s536-footer h3 { color: var(--s536-text); font-size: 1.35rem; margin: .6rem 0; }
.s536-footer-links {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: .6rem 0 1rem;
}
.s536-footer-links a {
  color: var(--s536-light); font-size: 1.2rem;
  background: rgba(255,255,255,.06); padding: .35rem .7rem; border-radius: 8px;
}
.s536-footer-links a:hover { color: var(--s536-accent); }
.s536-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--s536-muted);
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem;
}

/* ---------- Mobile bottom nav ---------- */
.s536-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #2a3a4d, #1f2c3b);
  border-top: 2px solid rgba(255,105,180,.4);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
  box-shadow: 0 -4px 14px rgba(0,0,0,.35);
}
.s536-bottomnav button {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--s536-muted);
  transition: color .15s ease, transform .15s ease;
}
.s536-bottomnav button:active { transform: scale(.9); }
.s536-bottomnav button.active { color: var(--s536-accent); }
.s536-bottomnav .material-icons,
.s536-bottomnav .ion-icon { font-size: 24px; }
.s536-bottomnav .fas,
.s536-bottomnav .far { font-size: 22px; }
.s536-bottomnav span.lbl { font-size: 11px; }
.s536-bottomnav .badge {
  position: absolute; top: 8px; right: 22%;
  background: var(--s536-accent); color: #fff; border-radius: 999px;
  font-size: 9px; padding: 1px 5px; font-weight: 700;
}
.s536-nav-item { position: relative; }

/* ---------- Back to top ---------- */
.s536-backtop {
  position: fixed; right: 14px; bottom: 78px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--s536-accent); color: #fff; border: 0;
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
  z-index: 900; box-shadow: var(--s536-shadow);
}
.s536-backtop.app536-show { opacity: 1; pointer-events: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .s536-bottomnav { display: none; }
  .s536-container { max-width: 760px; }
  .s536-grid { grid-template-columns: repeat(6, 1fr); }
  .s536-tiles { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile clearance for fixed bottom nav */
@media (max-width: 768px) {
  .s536-wrapper { padding-bottom: 84px; }
}

/* Utility */
.s536-center { text-align: center; }
.s536-hide-desktop { display: block; }
@media (min-width: 769px) { .s536-hide-desktop { display: none; } }
