/* phgreat theme - prefix w526f- | palette: #FDF5E6 #FFC0CB #CD853F #6C757D #2C2C2C */
html { font-size: 62.5%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
:root {
  --w526f-cream: #FDF5E6;
  --w526f-pink: #FFC0CB;
  --w526f-peru: #CD853F;
  --w526f-gray: #6C757D;
  --w526f-dark: #2C2C2C;
  --w526f-bg: #2C2C2C;
  --w526f-bg2: #3a3a3a;
  --w526f-bg3: #1f1f1f;
  --w526f-text: #FDF5E6;
  --w526f-text-muted: #c8bdb0;
  --w526f-primary: #CD853F;
  --w526f-accent: #FFC0CB;
  --w526f-border: rgba(253, 245, 230, 0.12);
  --w526f-radius: 1rem;
  --w526f-shadow: 0 0.4rem 1.2rem rgba(0,0,0,.35);
  --w526f-header-h: 5.6rem;
  --w526f-bottom-h: 6rem;
  --w526f-max: 43rem;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  background: var(--w526f-bg);
  color: var(--w526f-text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--w526f-accent); text-decoration: none; font-weight: 600; }
a:hover { color: var(--w526f-pink); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.w526f-wrapper { max-width: var(--w526f-max); margin: 0 auto; min-height: 100vh; position: relative; background: var(--w526f-bg); }
.w526f-container { width: 100%; padding: 0 1.2rem; }
.w526f-main { padding-top: var(--w526f-header-h); padding-bottom: 8rem; }

/* Header */
.w526f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w526f-header-h);
  background: linear-gradient(180deg, #1a1a1a 0%, var(--w526f-dark) 100%);
  border-bottom: 1px solid var(--w526f-border);
  box-shadow: var(--w526f-shadow);
}
.w526f-header-inner {
  max-width: var(--w526f-max); margin: 0 auto;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.w526f-logo {
  display: flex; align-items: center; gap: 0.8rem; color: var(--w526f-cream); font-weight: 700; font-size: 1.6rem;
}
.w526f-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; object-fit: cover; }
.w526f-logo:hover { text-decoration: none; color: var(--w526f-pink); }
.w526f-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w526f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 4.4rem; padding: 0 1.4rem; border-radius: 0.8rem;
  font-size: 1.3rem; font-weight: 700; transition: transform .15s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.w526f-btn:active { transform: scale(0.96); }
.w526f-btn-sm { min-height: 3.6rem; padding: 0 1rem; font-size: 1.2rem; border-radius: 0.6rem; }
.w526f-btn-primary {
  background: linear-gradient(135deg, var(--w526f-peru) 0%, #b87333 100%);
  color: var(--w526f-cream); box-shadow: 0 0.2rem 0.8rem rgba(205,133,63,.4);
}
.w526f-btn-primary:hover { background: linear-gradient(135deg, #e09a4f 0%, var(--w526f-peru) 100%); text-decoration: none; color: #fff; }
.w526f-btn-outline {
  border: 1.5px solid var(--w526f-pink); color: var(--w526f-pink); background: transparent;
}
.w526f-btn-outline:hover { background: rgba(255,192,203,.15); text-decoration: none; color: var(--w526f-cream); }
.w526f-btn-accent {
  background: linear-gradient(135deg, var(--w526f-pink) 0%, #ff9aaa 100%);
  color: var(--w526f-dark);
}
.w526f-btn-block { width: 100%; }
.w526f-menu-btn {
  width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--w526f-cream); border-radius: 0.6rem;
}
.w526f-menu-btn:hover { background: rgba(255,255,255,.08); color: var(--w526f-pink); }

/* Mobile menu */
.w526f-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.w526f-menu-overlay.w526f-show { opacity: 1; visibility: visible; }
.w526f-mobile-menu {
  position: fixed; top: 0; right: 0; width: min(30rem, 85vw); height: 100%;
  background: var(--w526f-bg3); z-index: 9999;
  transform: translateX(100%); transition: transform .28s ease;
  padding: 2rem 1.6rem; overflow-y: auto; box-shadow: -0.4rem 0 2rem rgba(0,0,0,.4);
}
.w526f-mobile-menu.w526f-open { transform: translateX(0); }
.w526f-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 4.4rem; height: 4.4rem; font-size: 2rem; color: var(--w526f-cream);
  display: flex; align-items: center; justify-content: center;
}
.w526f-menu-title {
  font-size: 1.6rem; font-weight: 700; color: var(--w526f-peru); margin-bottom: 1.6rem; padding-top: 0.4rem;
}
.w526f-menu-list { display: flex; flex-direction: column; gap: 0.2rem; }
.w526f-menu-list a {
  display: flex; align-items: center; gap: 1rem; min-height: 4.4rem;
  padding: 0.8rem 1rem; border-radius: 0.8rem; color: var(--w526f-cream);
  font-size: 1.4rem; font-weight: 600;
}
.w526f-menu-list a:hover { background: rgba(205,133,63,.2); color: var(--w526f-pink); text-decoration: none; }
.w526f-menu-list a i, .w526f-menu-list a .material-icons { font-size: 2rem; width: 2.4rem; text-align: center; color: var(--w526f-peru); }
.w526f-menu-divider { height: 1px; background: var(--w526f-border); margin: 1rem 0; }

/* Carousel */
.w526f-carousel {
  position: relative; width: 100%; overflow: hidden; border-radius: 0 0 1.2rem 1.2rem;
  aspect-ratio: 16/9; background: var(--w526f-bg3);
}
.w526f-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; cursor: pointer;
}
.w526f-slide.w526f-active { opacity: 1; z-index: 1; }
.w526f-slide img { width: 100%; height: 100%; object-fit: cover; }
.w526f-carousel-dots {
  position: absolute; bottom: 1rem; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 0.6rem;
}
.w526f-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(253,245,230,.4); border: none; padding: 0; min-height: auto;
  transition: background .2s, transform .2s;
}
.w526f-dot.w526f-active { background: var(--w526f-pink); transform: scale(1.25); }
.w526f-carousel-prev, .w526f-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: rgba(0,0,0,.4); color: var(--w526f-cream);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.w526f-carousel-prev { left: 0.8rem; }
.w526f-carousel-next { right: 0.8rem; }

/* Sections */
.w526f-section { padding: 2rem 0; }
.w526f-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--w526f-cream);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem;
  line-height: 1.4;
}
.w526f-section-title .material-icons,
.w526f-section-title i { color: var(--w526f-peru); font-size: 2.2rem; }
.w526f-h1 {
  font-size: 2rem; font-weight: 800; color: var(--w526f-cream);
  line-height: 1.35; margin: 1.6rem 0 1rem; text-align: center;
}
.w526f-h2 {
  font-size: 1.7rem; font-weight: 700; color: var(--w526f-pink);
  margin: 0 0 1rem; line-height: 1.35;
}
.w526f-h3 {
  font-size: 1.5rem; font-weight: 700; color: var(--w526f-peru);
  margin: 1.2rem 0 0.8rem; line-height: 1.35;
}
.w526f-text { font-size: 1.4rem; line-height: 1.65; color: var(--w526f-text-muted); margin-bottom: 1rem; }
.w526f-text strong, .w526f-text b { color: var(--w526f-cream); font-weight: 700; }
.w526f-lead {
  font-size: 1.45rem; line-height: 1.65; color: var(--w526f-cream);
  text-align: center; margin-bottom: 1.6rem; padding: 0 0.4rem;
}

/* Game grid */
.w526f-game-cat { margin-bottom: 2rem; }
.w526f-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.w526f-game-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  cursor: pointer; border-radius: var(--w526f-radius); padding: 0.4rem;
  transition: transform .15s, background .2s;
}
.w526f-game-item:hover, .w526f-game-item:active {
  transform: scale(1.04); background: rgba(205,133,63,.15); text-decoration: none;
}
.w526f-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.8rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,.3);
}
.w526f-game-name {
  font-size: 1rem; line-height: 1.25; text-align: center; color: var(--w526f-cream);
  font-weight: 600; max-width: 100%; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Cards */
.w526f-card {
  background: var(--w526f-bg2); border: 1px solid var(--w526f-border);
  border-radius: 1.2rem; padding: 1.6rem; margin-bottom: 1.2rem;
  box-shadow: var(--w526f-shadow);
}
.w526f-card-accent { border-top: 3px solid var(--w526f-peru); }
.w526f-card-pink { border-top: 3px solid var(--w526f-pink); }
.w526f-grid { display: grid; gap: 1rem; }
.w526f-grid-2 { grid-template-columns: 1fr 1fr; }
.w526f-feature {
  background: rgba(205,133,63,.12); border-radius: 1rem; padding: 1.2rem;
  text-align: center; border: 1px solid rgba(205,133,63,.25);
}
.w526f-feature i, .w526f-feature .material-icons {
  font-size: 2.8rem; color: var(--w526f-peru); margin-bottom: 0.6rem; display: block;
}
.w526f-feature h3 { font-size: 1.3rem; color: var(--w526f-cream); margin: 0 0 0.4rem; }
.w526f-feature p { font-size: 1.2rem; color: var(--w526f-text-muted); line-height: 1.45; margin: 0; }

/* FAQ */
.w526f-faq-item {
  background: var(--w526f-bg2); border-radius: 0.8rem; padding: 1.2rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--w526f-peru);
}
.w526f-faq-item h3 { font-size: 1.35rem; color: var(--w526f-cream); margin: 0 0 0.5rem; line-height: 1.4; }
.w526f-faq-item p { font-size: 1.3rem; color: var(--w526f-text-muted); line-height: 1.55; margin: 0; }

/* Stats / RTP */
.w526f-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.2rem 0;
}
.w526f-stat {
  background: linear-gradient(160deg, #3d3428 0%, var(--w526f-bg2) 100%);
  border-radius: 1rem; padding: 1.2rem 0.6rem; text-align: center;
  border: 1px solid rgba(205,133,63,.3);
}
.w526f-stat-val { font-size: 1.8rem; font-weight: 800; color: var(--w526f-pink); display: block; }
.w526f-stat-label { font-size: 1.1rem; color: var(--w526f-text-muted); margin-top: 0.3rem; display: block; }

/* Testimonials */
.w526f-testimonial {
  background: var(--w526f-bg2); border-radius: 1rem; padding: 1.4rem;
  margin-bottom: 1rem; border: 1px solid var(--w526f-border);
}
.w526f-testimonial-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.8rem; }
.w526f-avatar {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--w526f-peru), var(--w526f-pink));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--w526f-dark); font-size: 1.4rem;
}
.w526f-testimonial-name { font-weight: 700; color: var(--w526f-cream); font-size: 1.3rem; }
.w526f-stars { color: #f0c040; font-size: 1.2rem; letter-spacing: 0.1rem; }
.w526f-testimonial p { font-size: 1.3rem; color: var(--w526f-text-muted); line-height: 1.55; margin: 0; }

/* Winners */
.w526f-winner {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  background: rgba(255,192,203,.08); border-radius: 0.8rem; margin-bottom: 0.6rem;
}
.w526f-winner img { width: 4rem; height: 4rem; border-radius: 0.6rem; object-fit: cover; }
.w526f-winner-info { flex: 1; min-width: 0; }
.w526f-winner-name { font-weight: 700; color: var(--w526f-cream); font-size: 1.3rem; }
.w526f-winner-game { font-size: 1.15rem; color: var(--w526f-text-muted); }
.w526f-winner-amt { font-weight: 800; color: var(--w526f-pink); font-size: 1.4rem; white-space: nowrap; }

/* Payment */
.w526f-pay-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1rem 0;
}
.w526f-pay-item {
  background: var(--w526f-bg2); border: 1px solid var(--w526f-border);
  border-radius: 0.8rem; padding: 1rem 1.4rem; font-size: 1.2rem; font-weight: 600;
  color: var(--w526f-cream); display: flex; align-items: center; gap: 0.5rem;
}
.w526f-pay-item i { color: var(--w526f-peru); font-size: 1.8rem; }

/* CTA box */
.w526f-cta {
  background: linear-gradient(135deg, #4a3520 0%, #3a2a28 50%, #2c2c2c 100%);
  border: 1px solid rgba(205,133,63,.4); border-radius: 1.2rem;
  padding: 2rem 1.4rem; text-align: center; margin: 1.6rem 0;
}
.w526f-cta h2 { color: var(--w526f-pink); margin-bottom: 0.8rem; }
.w526f-cta p { color: var(--w526f-text-muted); margin-bottom: 1.4rem; line-height: 1.55; }
.w526f-cta .w526f-btn { min-width: 16rem; margin: 0.4rem; }

/* Promo text links */
.w526f-promo-link {
  color: var(--w526f-pink); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--w526f-pink);
}
.w526f-promo-link:hover { color: var(--w526f-cream); border-bottom-color: var(--w526f-cream); text-decoration: none; }

/* Footer */
.w526f-footer {
  background: var(--w526f-bg3); border-top: 1px solid var(--w526f-border);
  padding: 2.4rem 1.2rem 2rem; margin-top: 1rem;
}
.w526f-footer-brand {
  font-size: 1.3rem; line-height: 1.55; color: var(--w526f-text-muted); margin-bottom: 1.4rem;
}
.w526f-footer-btns {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; justify-content: center;
}
.w526f-footer-btns .w526f-btn { min-height: 3.8rem; font-size: 1.2rem; padding: 0 1.2rem; }
.w526f-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: center;
  margin-bottom: 1.4rem;
}
.w526f-footer-links a {
  font-size: 1.2rem; color: var(--w526f-peru); font-weight: 600;
}
.w526f-footer-links a:hover { color: var(--w526f-pink); }
.w526f-copyright {
  text-align: center; font-size: 1.15rem; color: var(--w526f-gray); padding-top: 1rem;
  border-top: 1px solid var(--w526f-border);
}

/* Bottom nav - unique rose-gold bar */
.w526f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w526f-bottom-h);
  background: linear-gradient(0deg, #1a1512 0%, #2a221c 100%);
  border-top: 2px solid var(--w526f-peru);
  display: flex; justify-content: space-around; align-items: stretch;
  max-width: var(--w526f-max); margin: 0 auto;
  box-shadow: 0 -0.3rem 1.2rem rgba(0,0,0,.4);
}
.w526f-bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 6rem; min-height: 6rem; color: var(--w526f-text-muted);
  font-size: 1rem; font-weight: 600; transition: color .2s, transform .15s;
  padding: 0.4rem 0.2rem; cursor: pointer; text-decoration: none; background: none; border: none;
}
.w526f-bnav-item i, .w526f-bnav-item .material-icons, .w526f-bnav-item .ti {
  font-size: 2.2rem; line-height: 1; transition: transform .15s;
}
.w526f-bnav-item .material-icons { font-size: 2.4rem; }
.w526f-bnav-item span { line-height: 1.2; }
.w526f-bnav-item:hover, .w526f-bnav-item:active {
  color: var(--w526f-pink); text-decoration: none; transform: translateY(-0.2rem);
}
.w526f-bnav-item:active i,
.w526f-bnav-item:active .material-icons { transform: scale(1.15); }
.w526f-bnav-item.w526f-active { color: var(--w526f-peru); }
.w526f-bnav-item.w526f-active i,
.w526f-bnav-item.w526f-active .material-icons { color: var(--w526f-pink); }

/* Desktop */
@media (min-width: 769px) {
  .w526f-bottom-nav { display: none; }
  .w526f-main { padding-bottom: 2rem; }
  .w526f-wrapper { box-shadow: 0 0 4rem rgba(0,0,0,.5); }
  .w526f-game-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}
@media (max-width: 360px) {
  .w526f-game-grid { grid-template-columns: repeat(3, 1fr); }
  .w526f-stats { grid-template-columns: 1fr 1fr; }
  .w526f-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .w526f-main { padding-bottom: 8rem; }
}
/* Utility */
.w526f-mt-1 { margin-top: 1rem; }
.w526f-mb-1 { margin-bottom: 1rem; }
.w526f-mb-2 { margin-bottom: 2rem; }
.w526f-text-center { text-align: center; }
.w526f-flex-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.w526f-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
