/* ============================================================
 * ph987.homes - Core Stylesheet
 * Prefix: w136f-
 * Palette: #00CED1 | #00B8D4 | #B2DFDB | #0E1621 | #D3D3D3
 * Mobile-first. Root font 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --w136f-primary: #00CED1;
  --w136f-secondary: #00B8D4;
  --w136f-soft: #B2DFDB;
  --w136f-bg: #0E1621;
  --w136f-bg-alt: #142233;
  --w136f-bg-card: #18283c;
  --w136f-text: #D3D3D3;
  --w136f-text-strong: #FFFFFF;
  --w136f-muted: #8aa0b4;
  --w136f-accent: #FFD166;
  --w136f-danger: #FF5A5F;
  --w136f-radius: 1.2rem;
  --w136f-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.35);
  --w136f-header-h: 6rem;
  --w136f-bnav-h: 6.4rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--w136f-bg);
  color: var(--w136f-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.w136f-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

main.w136f-main { padding-bottom: 8rem; }

/* ===== Header ===== */
.w136f-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--w136f-header-h);
  background: linear-gradient(135deg, #0b1622 0%, #142a3d 100%);
  border-bottom: 0.2rem solid rgba(0,206,209,0.35);
  z-index: 1000;
  box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.4);
}
.w136f-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
}
.w136f-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--w136f-text-strong);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.05rem;
}
.w136f-brand img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.w136f-brand .w136f-brand-accent { color: var(--w136f-primary); }

.w136f-header-actions { display: flex; align-items: center; gap: 0.8rem; }
.w136f-hamburger {
  background: transparent;
  border: 0.15rem solid rgba(0,206,209,0.5);
  color: var(--w136f-primary);
  width: 4rem; height: 4rem;
  border-radius: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.w136f-hamburger i { font-size: 2.2rem; }

/* ===== Buttons ===== */
.w136f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 4rem;
  padding: 0 1.6rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}
.w136f-btn:active { transform: scale(0.96); }
.w136f-btn-primary {
  background: linear-gradient(135deg, var(--w136f-primary), var(--w136f-secondary));
  color: #062028;
  box-shadow: 0 0.4rem 1rem rgba(0,206,209,0.35);
}
.w136f-btn-ghost {
  background: transparent;
  color: var(--w136f-text-strong);
  border: 0.15rem solid var(--w136f-primary);
}
.w136f-btn-gold {
  background: linear-gradient(135deg, #FFD166, #FF9F1C);
  color: #2a1c00;
  box-shadow: 0 0.4rem 1rem rgba(255,209,102,0.35);
}
.w136f-btn-block { width: 100%; }
.w136f-btn-sm { min-height: 3.4rem; padding: 0 1.2rem; font-size: 1.35rem; }

/* ===== Mobile slide-down menu ===== */
.w136f-overlay {
  position: fixed; inset: 0;
  background: rgba(5,10,18,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.w136f-overlay.w136f-active { opacity: 1; visibility: visible; }
.w136f-mobile-menu {
  position: fixed;
  top: var(--w136f-header-h); right: 0;
  width: 78%; max-width: 320px;
  height: calc(100vh - var(--w136f-header-h));
  background: var(--w136f-bg-alt);
  border-left: 0.15rem solid rgba(0,206,209,0.3);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 1.6rem 1.2rem;
  overflow-y: auto;
}
.w136f-mobile-menu.w136f-open { transform: translateX(0); }
.w136f-mobile-menu h3 {
  color: var(--w136f-primary);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  margin: 1.4rem 0 0.8rem;
}
.w136f-mobile-menu a {
  display: block;
  padding: 1.1rem 1rem;
  margin: 0.4rem 0;
  border-radius: 0.8rem;
  color: var(--w136f-text);
  background: var(--w136f-bg-card);
  font-size: 1.45rem;
}
.w136f-mobile-menu a:active { background: rgba(0,206,209,0.18); }
.w136f-menu-cta { display: flex; gap: 0.8rem; margin-bottom: 1rem; }

/* ===== Carousel ===== */
.w136f-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--w136f-radius);
  margin: 1rem 1.2rem 0.5rem;
  box-shadow: var(--w136f-shadow);
}
.w136f-carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}
.w136f-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.w136f-slide img { width: 100%; height: 18rem; object-fit: cover; }
.w136f-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(14,22,33,0.92));
  color: var(--w136f-text-strong);
}
.w136f-slide-caption strong { color: var(--w136f-primary); font-size: 1.7rem; }
.w136f-dots {
  position: absolute;
  bottom: 0.8rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
}
.w136f-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; border: none;
}
.w136f-dot.w136f-active { background: var(--w136f-primary); width: 2rem; border-radius: 0.5rem; }

/* ===== Sections ===== */
.w136f-section {
  padding: 1.6rem 1.2rem;
  margin-top: 1rem;
}
.w136f-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.w136f-section-title {
  font-size: 1.8rem; font-weight: 800;
  color: var(--w136f-text-strong);
  display: flex; align-items: center; gap: 0.6rem;
}
.w136f-section-title i { color: var(--w136f-primary); }
.w136f-section-link { font-size: 1.3rem; color: var(--w136f-primary); }

/* ===== Hero / H1 ===== */
.w136f-hero { padding: calc(var(--w136f-header-h) + 1rem) 1.2rem 0.4rem; }
.w136f-h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  color: var(--w136f-text-strong);
  margin: 0.6rem 0;
  font-weight: 800;
}
.w136f-h1 span { color: var(--w136f-primary); }
.w136f-lead { font-size: 1.5rem; color: var(--w136f-text); margin: 0.6rem 0 1rem; }
.w136f-cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ===== Game grid ===== */
.w136f-search {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 2rem;
  border: 0.15rem solid rgba(0,206,209,0.4);
  background: var(--w136f-bg-alt);
  color: var(--w136f-text-strong);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.w136f-search::placeholder { color: var(--w136f-muted); }

.w136f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.w136f-game {
  background: var(--w136f-bg-card);
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  border: 0.1rem solid rgba(0,206,209,0.12);
}
.w136f-game:active { transform: scale(0.95); box-shadow: 0 0 1rem rgba(0,206,209,0.4); }
.w136f-game img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.w136f-game-name {
  display: block;
  font-size: 1.2rem;
  color: var(--w136f-text);
  padding: 0.4rem 0.3rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w136f-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,206,209,0.14);
  color: var(--w136f-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

/* ===== Cards / Generic blocks ===== */
.w136f-card {
  background: var(--w136f-bg-card);
  border-radius: var(--w136f-radius);
  padding: 1.4rem;
  margin: 0.8rem 0;
  box-shadow: var(--w136f-shadow);
  border: 0.1rem solid rgba(0,206,209,0.1);
}
.w136f-card h2 {
  color: var(--w136f-text-strong);
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}
.w136f-card h2 span { color: var(--w136f-primary); }
.w136f-card h3 {
  color: var(--w136f-primary);
  font-size: 1.5rem;
  margin: 1rem 0 0.4rem;
}
.w136f-card p { margin: 0.5rem 0; font-size: 1.4rem; }

.w136f-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.w136f-feature {
  background: var(--w136f-bg-alt);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}
.w136f-feature i { font-size: 2.4rem; color: var(--w136f-primary); }
.w136f-feature b { display: block; color: var(--w136f-text-strong); margin-top: 0.4rem; font-size: 1.3rem; }
.w136f-feature small { color: var(--w136f-muted); font-size: 1.15rem; }

/* ===== Steps ===== */
.w136f-steps { list-style: none; padding: 0; margin: 0.5rem 0; }
.w136f-steps li {
  display: flex; gap: 1rem;
  background: var(--w136f-bg-alt);
  border-radius: 1rem;
  padding: 1rem;
  margin: 0.6rem 0;
}
.w136f-step-num {
  flex-shrink: 0;
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w136f-primary), var(--w136f-secondary));
  color: #062028; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.w136f-steps li b { color: var(--w136f-text-strong); }

/* ===== FAQ ===== */
.w136f-faq { margin: 0.6rem 0; }
.w136f-faq summary {
  background: var(--w136f-bg-alt);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--w136f-text-strong);
  font-weight: 600;
  list-style: none;
}
.w136f-faq summary::-webkit-details-marker { display: none; }
.w136f-faq[open] summary { border-bottom: 0.15rem solid rgba(0,206,209,0.3); }
.w136f-faq p { padding: 0.8rem 0.4rem; font-size: 1.35rem; color: var(--w136f-text); }

/* ===== RTP compact table ===== */
.w136f-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
  margin-top: 0.6rem;
}
.w136f-table th, .w136f-table td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 0.1rem solid rgba(0,206,209,0.15);
}
.w136f-table th { color: var(--w136f-primary); font-weight: 700; }
.w136f-rtp-high { color: #4ADE80; font-weight: 700; }
.w136f-rtp-mid { color: var(--w136f-accent); font-weight: 700; }

/* ===== Testimonials ===== */
.w136f-testimonials { display: grid; gap: 0.8rem; }
.w136f-testimonial {
  background: var(--w136f-bg-alt);
  border-left: 0.3rem solid var(--w136f-primary);
  border-radius: 0.8rem;
  padding: 1rem;
}
.w136f-testimonial b { color: var(--w136f-text-strong); }
.w136f-stars { color: var(--w136f-accent); font-size: 1.3rem; }
.w136f-testimonial p { font-size: 1.3rem; margin: 0.4rem 0 0; }

/* ===== Payment / Winners ===== */
.w136f-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w136f-chip {
  background: var(--w136f-bg-alt);
  border: 0.1rem solid rgba(0,206,209,0.25);
  color: var(--w136f-text);
  padding: 0.6rem 1rem;
  border-radius: 1rem;
  font-size: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.w136f-chip i { color: var(--w136f-primary); }

.w136f-winners { list-style: none; padding: 0; margin: 0; }
.w136f-winners li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.4rem;
  border-bottom: 0.1rem solid rgba(0,206,209,0.12);
  font-size: 1.3rem;
}
.w136f-winners li b { color: var(--w136f-primary); }

/* ===== Inline promo link (bold text) ===== */
.w136f-promo-link {
  color: var(--w136f-primary);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}
.w136f-promo-link:hover { color: var(--w136f-accent); }

.w136f-callout {
  background: linear-gradient(135deg, rgba(0,206,209,0.16), rgba(0,184,212,0.1));
  border: 0.15rem solid rgba(0,206,209,0.4);
  border-radius: var(--w136f-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1rem 0;
}
.w136f-callout h3 { color: var(--w136f-text-strong); margin: 0 0 0.4rem; font-size: 1.7rem; }
.w136f-callout p { margin: 0 0 1rem; font-size: 1.4rem; }

/* ===== Footer ===== */
.w136f-footer {
  background: #0a1320;
  border-top: 0.15rem solid rgba(0,206,209,0.25);
  padding: 2rem 1.2rem 9rem;
  margin-top: 1.4rem;
  font-size: 1.3rem;
}
.w136f-footer-brand { color: var(--w136f-text-strong); font-weight: 800; font-size: 1.7rem; }
.w136f-footer-brand span { color: var(--w136f-primary); }
.w136f-footer p { color: var(--w136f-muted); margin: 0.6rem 0; font-size: 1.3rem; }
.w136f-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
  margin: 1rem 0;
}
.w136f-footer-links a { color: var(--w136f-soft); font-size: 1.25rem; }
.w136f-footer-cta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 0.8rem 0;
}
.w136f-footer-copy { color: var(--w136f-muted); font-size: 1.2rem; margin-top: 1rem; }

/* ===== Bottom navigation (mobile) ===== */
.w136f-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--w136f-bnav-h);
  background: linear-gradient(180deg, #122436 0%, #0a1320 100%);
  border-top: 0.15rem solid rgba(0,206,209,0.35);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.4);
}
.w136f-bnav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: none;
  color: var(--w136f-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}
.w136f-bnav-btn i, .w136f-bnav-btn .material-icons {
  font-size: 2.4rem;
  transition: transform 0.2s ease;
}
.w136f-bnav-btn:active { transform: scale(0.9); }
.w136f-bnav-btn:hover { color: var(--w136f-primary); }
.w136f-bnav-btn.w136f-current { color: var(--w136f-primary); }
.w136f-bnav-btn.w136f-current i { transform: translateY(-0.2rem); }
.w136f-bnav-promo {
  color: var(--w136f-accent);
}
.w136f-bnav-badge {
  position: absolute;
  top: 0.7rem; right: 1.4rem;
  background: var(--w136f-danger);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  min-width: 1.6rem; height: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.3rem;
}

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .w136f-bnav { display: none; }
  .w136f-hamburger { display: none; }
  main.w136f-main { padding-bottom: 2rem; }
  .w136f-wrapper { max-width: 760px; }
  .w136f-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  main.w136f-main { padding-bottom: 8rem; }
}
@media (max-width: 360px) {
  .w136f-grid { grid-template-columns: repeat(2, 1fr); }
  .w136f-h1 { font-size: 2.1rem; }
}
