/* =====================================================================
 * Kuya King PH - Core stylesheet (layout-3732.css)
 * All custom classes use the v250- prefix.
 * Color palette: #6F4E37 / #34495E / #D2691E / #DEB887 / #FF69B4
 * ===================================================================== */

:root {
  --v250-primary: #34495E;
  --v250-secondary: #6F4E37;
  --v250-accent: #D2691E;
  --v250-accent2: #FF69B4;
  --v250-light: #DEB887;
  --v250-text: #FFFFFF;
  --v250-bg: #1f2c3a;
  --v250-card: #2c3e50;
  --v250-card-alt: #3b4d63;
  --v250-radius: 12px;
  --v250-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --v250-grad: linear-gradient(135deg, #6F4E37 0%, #34495E 100%);
  --v250-grad-cta: linear-gradient(135deg, #D2691E 0%, #FF69B4 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(160deg, var(--v250-primary) 0%, var(--v250-bg) 55%, #18222e 100%);
  color: var(--v250-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  padding-top: 58px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--v250-accent2); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.v250-container { max-width: 430px; margin: 0 auto; padding: 0 12px; width: 100%; }
.v250-wrapper { width: 100%; }
.v250-section { padding: 22px 0; }
.v250-section-title {
  font-size: 2rem; line-height: 2.4rem; margin-bottom: 12px;
  color: var(--v250-light); text-align: center; font-weight: 800;
}
.v250-section-title small { display: block; font-size: 1.2rem; color: var(--v250-accent2); font-weight: 600; margin-top: 4px; }
.v250-text-center { text-align: center; }
.v250-lead { font-size: 1.5rem; line-height: 2.2rem; color: #f1e6d8; }
.v250-muted { color: #c8d2dd; }
.v250-highlight { color: var(--v250-accent); font-weight: 700; }
.v250-pink { color: var(--v250-accent2); font-weight: 700; }

/* ---------- Header ---------- */
.v250-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 58px; background: var(--v250-grad);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.v250-logo { display: flex; align-items: center; gap: 8px; }
.v250-logo-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--v250-grad-cta); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; }
.v250-logo-text { font-size: 1.7rem; font-weight: 800; color: var(--v250-light); letter-spacing: 0.5px; }
.v250-logo-text span { color: var(--v250-accent2); }
.v250-header-actions { display: flex; align-items: center; gap: 8px; }
.v250-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; min-height: 40px; border-radius: 24px;
  font-size: 1.3rem; font-weight: 700; color: #fff;
  background: var(--v250-grad-cta); box-shadow: var(--v250-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.v250-btn:hover { transform: translateY(-1px); }
.v250-btn:active { transform: scale(0.96); }
.v250-btn-ghost { background: rgba(255, 255, 255, 0.12); border: 1px solid var(--v250-light); color: var(--v250-light); }
.v250-btn-sm { padding: 7px 12px; min-height: 36px; font-size: 1.2rem; }
.v250-btn-block { width: 100%; }
.v250-menu-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.1); color: var(--v250-light);
  font-size: 1.9rem; display: flex; align-items: center; justify-content: center;
}
.v250-menu-btn:active { transform: scale(0.94); }

/* ---------- Mobile menu ---------- */
.v250-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.v250-overlay-active { opacity: 1; visibility: visible; }
.v250-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 270px; height: 100vh;
  background: var(--v250-bg); z-index: 9999; padding: 20px 16px;
  overflow-y: auto; transition: right 0.3s ease; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}
.v250-menu-open { right: 0; }
.v250-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.v250-menu-head .v250-logo-text { font-size: 1.6rem; }
.v250-menu-close { width: 36px; height: 36px; font-size: 1.8rem; color: var(--v250-light); }
.v250-menu-section { margin-bottom: 18px; }
.v250-menu-title { font-size: 1.15rem; color: var(--v250-accent2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.v250-menu-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 10px; border-radius: 8px; font-size: 1.35rem; color: #e8d9c4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.v250-menu-link:active { background: rgba(255, 255, 255, 0.06); }
.v250-menu-link i { color: var(--v250-accent); font-size: 1.5rem; width: 22px; text-align: center; }

/* ---------- Carousel ---------- */
.v250-carousel {
  position: relative; width: 100%; height: 200px; border-radius: 14px;
  overflow: hidden; box-shadow: var(--v250-shadow); margin-top: 14px;
}
.v250-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end; padding: 14px;
}
.v250-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v250-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,0.75)); }
.v250-slide-caption { position: relative; z-index: 2; }
.v250-slide-caption h2 { font-size: 1.9rem; font-weight: 800; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.7); }
.v250-slide-caption p { font-size: 1.25rem; color: var(--v250-light); margin-top: 2px; }
.v250-slide-active { opacity: 1; z-index: 1; }
.v250-dots { position: absolute; bottom: 10px; right: 12px; z-index: 3; display: flex; gap: 6px; }
.v250-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.v250-dot-active { background: var(--v250-accent2); width: 22px; border-radius: 4px; }

/* ---------- Hero / CTA banner ---------- */
.v250-hero { padding: 16px 0 6px; text-align: center; }
.v250-hero h1 { font-size: 2.3rem; line-height: 2.8rem; font-weight: 900; color: var(--v250-light); }
.v250-hero h1 span { color: var(--v250-accent2); }
.v250-hero p { font-size: 1.4rem; line-height: 2rem; color: #e6dbc9; margin: 8px 12px 14px; }
.v250-cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Game list ---------- */
.v250-filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 14px; -webkit-overflow-scrolling: touch; }
.v250-filter-bar::-webkit-scrollbar { display: none; }
.v250-filter-btn {
  flex: 0 0 auto; padding: 8px 16px; min-height: 38px; border-radius: 20px;
  background: var(--v250-card); color: var(--v250-light); font-size: 1.25rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08); white-space: nowrap;
}
.v250-filter-active { background: var(--v250-grad-cta); color: #fff; border-color: transparent; }
.v250-game-group { margin-bottom: 22px; scroll-margin-top: 70px; }
.v250-game-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.v250-game-group-head h3 { font-size: 1.6rem; color: var(--v250-light); font-weight: 800; }
.v250-game-group-head h3 i { color: var(--v250-accent2); margin-right: 6px; }
.v250-game-group-head span { font-size: 1.15rem; color: var(--v250-accent); font-weight: 600; }
.v250-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v250-game-card {
  background: var(--v250-card); border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); transition: transform 0.18s ease;
  display: flex; flex-direction: column;
}
.v250-game-card:active { transform: scale(0.95); }
.v250-game-thumb { width: 100%; aspect-ratio: 1 / 1; background: #1a2533; overflow: hidden; }
.v250-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v250-game-name { font-size: 1.05rem; line-height: 1.4rem; padding: 6px 6px 8px; text-align: center; color: #f1e6d8; min-height: 32px; display: flex; align-items: center; justify-content: center; }

/* ---------- Generic card / module ---------- */
.v250-card { background: var(--v250-card); border-radius: var(--v250-radius); padding: 16px; box-shadow: var(--v250-shadow); border: 1px solid rgba(255,255,255,0.05); margin-bottom: 14px; }
.v250-card h3 { font-size: 1.55rem; color: var(--v250-light); margin-bottom: 8px; font-weight: 700; }
.v250-card p { font-size: 1.35rem; line-height: 2rem; color: #e6dbc9; margin-bottom: 8px; }
.v250-card ul { list-style: none; }
.v250-card ul li { padding: 6px 0 6px 24px; position: relative; font-size: 1.3rem; line-height: 1.9rem; color: #e6dbc9; }
.v250-card ul li::before { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--v250-accent2); font-size: 1rem; top: 8px; }
.v250-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v250-feature-item { background: var(--v250-card-alt); border-radius: 10px; padding: 12px; text-align: center; }
.v250-feature-item i { font-size: 2.4rem; color: var(--v250-accent); margin-bottom: 6px; }
.v250-feature-item b { display: block; font-size: 1.3rem; color: var(--v250-light); }
.v250-feature-item span { font-size: 1.15rem; color: #c8d2dd; line-height: 1.6rem; }
.v250-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.v250-stat { background: var(--v250-card-alt); border-radius: 10px; padding: 12px 6px; }
.v250-stat b { display: block; font-size: 2rem; color: var(--v250-accent2); font-weight: 800; }
.v250-stat span { font-size: 1.1rem; color: #c8d2dd; }

/* ---------- Testimonials ---------- */
.v250-testi { background: var(--v250-card-alt); border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.v250-testi-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.v250-testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--v250-grad-cta); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.v250-testi-name { font-size: 1.3rem; color: var(--v250-light); font-weight: 700; }
.v250-testi-stars { color: #FFD700; font-size: 1.1rem; }
.v250-testi p { font-size: 1.25rem; line-height: 1.8rem; color: #e6dbc9; }

/* ---------- Winners ---------- */
.v250-winner { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.v250-winner:last-child { border-bottom: none; }
.v250-winner-name { font-size: 1.25rem; color: var(--v250-light); }
.v250-winner-game { font-size: 1.1rem; color: #a9b6c4; }
.v250-winner-amt { font-size: 1.35rem; color: var(--v250-accent); font-weight: 800; }

/* ---------- Payment ---------- */
.v250-pay-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.v250-pay-chip { background: #fff; color: var(--v250-primary); border-radius: 8px; padding: 8px 12px; font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* ---------- CTA banner ---------- */
.v250-cta-banner { background: var(--v250-grad-cta); border-radius: 14px; padding: 18px; text-align: center; margin: 18px 0; box-shadow: var(--v250-shadow); }
.v250-cta-banner h3 { font-size: 1.8rem; color: #fff; margin-bottom: 6px; }
.v250-cta-banner p { font-size: 1.3rem; color: #fff; opacity: 0.92; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.v250-footer { background: #18222e; padding: 24px 0 100px; margin-top: 18px; border-top: 3px solid var(--v250-accent); }
.v250-footer-brand { text-align: center; margin-bottom: 16px; }
.v250-footer-brand .v250-logo-text { font-size: 1.9rem; }
.v250-footer-brand p { font-size: 1.25rem; line-height: 1.8rem; color: #a9b6c4; margin: 8px 16px 14px; }
.v250-footer-promo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.v250-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; margin-bottom: 16px; }
.v250-footer-links a { font-size: 1.2rem; color: #c8d2dd; padding: 4px 0; }
.v250-footer-links a:hover { color: var(--v250-accent2); }
.v250-footer-copy { text-align: center; font-size: 1.15rem; color: #7d8b99; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }

/* ---------- Bottom nav ---------- */
.v250-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: rgba(24, 34, 46, 0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--v250-accent);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.4);
}
.v250-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: #a9b6c4; min-width: 60px; min-height: 60px; padding: 4px;
  transition: color 0.18s ease, transform 0.18s ease;
  position: relative;
}
.v250-nav-btn i, .v250-nav-btn .material-symbols-outlined { font-size: 24px; }
.v250-nav-btn span { font-size: 11px; font-weight: 600; }
.v250-nav-btn:active { transform: scale(0.9); }
.v250-nav-btn.v250-nav-active { color: var(--v250-accent2); }
.v250-nav-active::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; background: var(--v250-grad-cta); border-radius: 0 0 4px 4px; }
.v250-nav-promo { color: var(--v250-accent); }
.v250-nav-badge { position: absolute; top: 6px; right: 18px; background: var(--v250-accent2); color: #fff; font-size: 9px; font-weight: 700; border-radius: 8px; padding: 1px 5px; }

/* ---------- Back to top ---------- */
.v250-back-top {
  position: fixed; right: 14px; bottom: 76px; z-index: 1001;
  width: 44px; height: 44px; border-radius: 50%; background: var(--v250-grad-cta);
  color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--v250-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease;
}
.v250-back-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { padding-top: 64px; }
  .v250-container { max-width: 960px; }
  .v250-header { height: 64px; }
  .v250-bottom-nav { display: none; }
  .v250-footer { padding-bottom: 28px; }
  .v250-grid { grid-template-columns: repeat(6, 1fr); }
  .v250-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .v250-footer-promo { grid-template-columns: repeat(4, 1fr); }
  .v250-footer-links { grid-template-columns: repeat(3, 1fr); }
  .v250-carousel { height: 320px; }
  .v250-hero h1 { font-size: 3rem; }
  .v250-section-title { font-size: 2.4rem; }
}

/* ---------- Mobile bottom padding ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .v250-section { padding: 18px 0; }
}
