/*!
 * phpg.click base stylesheet
 * Prefix: w9751-
 * Palette: #CCCCCC | #F8F8FF | #1E1E1E + gold/red casino accents
 * Mobile-first Philippine online casino layout.
 */

:root {
  --w9751-bg: #1E1E1E;
  --w9751-bg-soft: #262626;
  --w9751-bg-card: #2b2b30;
  --w9751-text: #F8F8FF;
  --w9751-muted: #CCCCCC;
  --w9751-primary: #CCCCCC;
  --w9751-accent: #f5c542;       /* warm gold */
  --w9751-accent-2: #e23b3b;     /* casino red */
  --w9751-accent-3: #18a0ff;     /* trust blue */
  --w9751-success: #28d17c;
  --w9751-border: rgba(204, 204, 204, 0.18);
  --w9751-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --w9751-radius: 14px;
  --w9751-radius-sm: 9px;
  --w9751-radius-lg: 22px;
  --w9751-maxw: 430px;
  --w9751-header-h: 60px;
  --w9751-bottom-h: 62px;
  --w9751-transition: 220ms ease;
}

/* ----- Reset ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, #2a2a30 0%, var(--w9751-bg) 70%);
  color: var(--w9751-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--w9751-accent); text-decoration: none; }
a:hover { color: #ffe082; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.8rem; line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1rem; }

/* ----- Layout ----- */
.w9751-wrapper {
  width: 100%;
  max-width: var(--w9751-maxw);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.w9751-main {
  padding-top: calc(var(--w9751-header-h) + 8px);
  padding-bottom: calc(var(--w9751-bottom-h) + 20px);
  min-height: 100vh;
}

.w9751-section {
  margin: 1.8rem 0;
}

/* ----- Header ----- */
.w9751-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--w9751-header-h);
  background: linear-gradient(180deg, #18181c 0%, #1E1E1E 100%);
  border-bottom: 1px solid var(--w9751-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.w9751-header-inner {
  width: 100%;
  max-width: var(--w9751-maxw);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.w9751-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.4px;
}

.w9751-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--w9751-accent);
}

.w9751-logo-text {
  background: linear-gradient(90deg, var(--w9751-accent) 0%, #ffe082 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.w9751-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w9751-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--w9751-radius-sm);
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform var(--w9751-transition), box-shadow var(--w9751-transition);
  min-height: 38px;
}

.w9751-btn-primary {
  background: linear-gradient(135deg, var(--w9751-accent-2), #ff6b6b);
  color: #fff;
  box-shadow: 0 6px 18px rgba(226, 59, 59, 0.35);
}

.w9751-btn-secondary {
  background: linear-gradient(135deg, var(--w9751-accent), #ffd76b);
  color: #1E1E1E;
  box-shadow: 0 6px 18px rgba(245, 197, 66, 0.30);
}

.w9751-btn-ghost {
  background: transparent;
  border: 1px solid var(--w9751-border);
  color: var(--w9751-text);
}

.w9751-btn:hover { transform: translateY(-2px); }
.w9751-btn:active { transform: translateY(0); }

.w9751-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 197, 66, 0.12);
  color: var(--w9751-accent);
  border: 1px solid var(--w9751-border);
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ----- Mobile slide-in menu ----- */
.w9751-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--w9751-transition);
  z-index: 9998;
}

.w9751-overlay-active {
  opacity: 1;
  visibility: visible;
}

.w9751-mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #202024, #161618);
  border-left: 1px solid var(--w9751-border);
  z-index: 9999;
  padding: 1.8rem 1.4rem;
  transition: right 320ms ease;
  overflow-y: auto;
}

.w9751-menu-active { right: 0; }

.w9751-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.w9751-menu-title {
  font-size: 1.8rem;
  color: var(--w9751-accent);
  font-weight: 800;
}

.w9751-menu-close {
  background: transparent;
  border: none;
  color: var(--w9751-text);
  font-size: 2rem;
  cursor: pointer;
}

.w9751-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w9751-menu-list li { margin-bottom: 0.6rem; }

.w9751-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--w9751-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--w9751-text);
  font-weight: 600;
  border: 1px solid transparent;
}

.w9751-menu-list a:hover {
  background: rgba(245, 197, 66, 0.12);
  border-color: var(--w9751-border);
  color: var(--w9751-accent);
}

.w9751-menu-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* ----- Hero carousel ----- */
.w9751-carousel {
  position: relative;
  border-radius: var(--w9751-radius-lg);
  overflow: hidden;
  box-shadow: var(--w9751-shadow);
  margin: 1rem 0;
}

.w9751-carousel-viewport {
  overflow: hidden;
  border-radius: var(--w9751-radius-lg);
}

.w9751-carousel-track {
  display: flex;
  transition: transform var(--w9751-carousel-transition, 420ms ease);
}

.w9751-carousel-slide {
  position: relative;
  min-width: 100%;
  flex-shrink: 0;
}

.w9751-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.w9751-carousel-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  padding: 1rem;
  border-radius: var(--w9751-radius);
}

.w9751-carousel-caption h2 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  color: #fff;
}

.w9751-carousel-caption p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--w9751-muted);
}

.w9751-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.w9751-carousel-prev,
.w9751-carousel-next {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--w9751-border);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.6rem;
}

.w9751-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.w9751-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}

.w9751-dot-active { background: var(--w9751-accent); width: 18px; border-radius: 4px; }

/* ----- Filter tabs ----- */
.w9751-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.6rem 0;
  margin: 1rem 0;
  scrollbar-width: none;
}

.w9751-filter-bar::-webkit-scrollbar { display: none; }

.w9751-filter-tab {
  flex: 0 0 auto;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--w9751-border);
  color: var(--w9751-muted);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.w9751-filter-active {
  background: linear-gradient(135deg, var(--w9751-accent), #ffd76b);
  color: #1E1E1E;
  border-color: transparent;
}

/* ----- Game grid ----- */
.w9751-section-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.6rem 0 1rem;
  font-size: 1.8rem;
}

.w9751-section-title i { color: var(--w9751-accent); }

.w9751-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.w9751-game-card {
  background: var(--w9751-bg-card);
  border: 1px solid var(--w9751-border);
  border-radius: var(--w9751-radius);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--w9751-transition), border-color var(--w9751-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.w9751-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--w9751-accent);
}

.w9751-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--w9751-radius-sm);
  margin-bottom: 0.5rem;
}

.w9751-game-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--w9751-text);
  line-height: 1.25;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w9751-game-badge {
  font-size: 1rem;
  color: var(--w9751-accent);
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ----- Info / module cards ----- */
.w9751-card {
  background: var(--w9751-bg-card);
  border: 1px solid var(--w9751-border);
  border-radius: var(--w9751-radius);
  padding: 1.4rem;
  margin: 1rem 0;
}

.w9751-card h2,
.w9751-card h3 { color: var(--w9751-accent); }

.w9751-card p { color: var(--w9751-muted); font-size: 1.35rem; }

.w9751-promo-link {
  color: var(--w9751-accent);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

.w9751-promo-link:hover { color: #ffe082; }

.w9751-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w9751-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.8rem;
  font-size: 1.35rem;
  color: var(--w9751-muted);
}

.w9751-list li::before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: var(--w9751-accent);
  font-size: 1rem;
}

/* ----- Testimonials ----- */
.w9751-testimonials {
  display: grid;
  gap: 0.8rem;
}

.w9751-testimonial {
  background: var(--w9751-bg-card);
  border: 1px solid var(--w9751-border);
  border-left: 4px solid var(--w9751-accent);
  border-radius: var(--w9751-radius-sm);
  padding: 1rem;
}

.w9751-testimonial-name { font-weight: 700; color: var(--w9751-accent); margin-bottom: 0.3rem; }

.w9751-stars { color: #ffd76b; margin-bottom: 0.4rem; }

/* ----- Payment / winners grid ----- */
.w9751-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.w9751-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--w9751-border);
  border-radius: var(--w9751-radius-sm);
  padding: 0.9rem 0.4rem;
  text-align: center;
  font-size: 1rem;
  color: var(--w9751-muted);
}

.w9751-tile i { display: block; font-size: 2rem; color: var(--w9751-accent); margin-bottom: 0.3rem; }

/* ----- Footer ----- */
.w9751-footer {
  background: #141416;
  border-top: 1px solid var(--w9751-border);
  padding: 2rem 0 1rem;
  margin-top: 1.5rem;
}

.w9751-footer-text {
  color: var(--w9751-muted);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.w9751-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.w9751-footer-promos .w9751-btn { flex: 1 1 calc(50% - 0.6rem); font-size: 1.3rem; }

.w9751-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.w9751-footer-links a {
  font-size: 1.25rem;
  color: var(--w9751-muted);
  padding: 0.4rem 0;
}

.w9751-footer-links a:hover { color: var(--w9751-accent); }

.w9751-copyright {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--w9751-border);
}

/* ----- Bottom nav ----- */
.w9751-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--w9751-bottom-h);
  background: linear-gradient(180deg, #1c1c20 0%, #111114 100%);
  border-top: 1px solid var(--w9751-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
}

.w9751-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--w9751-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  padding: 0.4rem;
  cursor: pointer;
  transition: color var(--w9751-transition), transform var(--w9751-transition);
}

.w9751-bottom-nav-btn i,
.w9751-bottom-nav-btn .material-icons-outlined,
.w9751-bottom-nav-btn .material-icons {
  font-size: 24px;
}

.w9751-bottom-nav-btn span {
  font-size: 11px;
  font-weight: 600;
}

.w9751-bottom-nav-btn:hover {
  color: var(--w9751-accent);
  transform: translateY(-2px);
}

.w9751-bottom-nav-current {
  color: var(--w9751-accent);
}

.w9751-bottom-nav-current::after {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--w9751-accent);
  margin-top: 2px;
}

.w9751-bottom-nav-promo {
  color: #fff;
  background: linear-gradient(135deg, var(--w9751-accent-2), #ff6b6b);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-top: -22px;
  box-shadow: 0 6px 14px rgba(226, 59, 59, 0.45);
}

.w9751-bottom-nav-promo i { font-size: 22px; }

/* ----- Desktop ----- */
@media (min-width: 769px) {
  .w9751-bottom-nav { display: none; }
  .w9751-wrapper { max-width: 900px; }
  .w9751-main { padding-bottom: 40px; }
  .w9751-game-grid { grid-template-columns: repeat(6, 1fr); }
  .w9751-tiles { grid-template-columns: repeat(6, 1fr); }
  .w9751-footer-links { grid-template-columns: repeat(3, 1fr); }
}
