/* ============================================================
 * monopoly online game - design-2820.css
 * Site: monopolyonlinegame.click (en-PH)
 * All custom classes use the "pg28-" prefix.
 * Palette: #DDA0DD (plum), #20B2AA (teal), #00B8D4 (cyan),
 *          #333333 (dark), #FFFACD (lemon).
 * Dark backgrounds, light text, mobile-first.
 * ============================================================ */

:root {
  --pg28-primary: #DDA0DD;       /* plum */
  --pg28-secondary: #20B2AA;     /* teal */
  --pg28-accent: #00B8D4;        /* cyan */
  --pg28-dark: #333333;          /* dark base */
  --pg28-darker: #1f1f27;        /* deeper background */
  --pg28-lemon: #FFFACD;         /* lemon highlight */
  --pg28-bg: #2a2a33;
  --pg28-text: #FFFACD;
  --pg28-muted: #c9c4d4;
  --pg28-card: #3a3a45;
  --pg28-border: rgba(221, 160, 221, 0.25);
  --pg28-radius: 12px;
  --pg28-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

* { 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, "Noto Sans", sans-serif;
  background: linear-gradient(160deg, var(--pg28-darker), var(--pg28-bg) 60%, var(--pg28-dark));
  color: var(--pg28-text);
  line-height: 1.5;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { color: #fff; line-height: 1.25; margin: 0 0 0.6em; }

/* ============================================================
 * Layout containers
 * ============================================================ */
.pg28-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.pg28-wrapper {
  width: 100%;
  padding: 16px 0;
}

main { padding-bottom: 80px; }

/* ============================================================
 * Header
 * ============================================================ */
.pg28-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(31, 31, 39, 0.96);
  border-bottom: 2px solid var(--pg28-border);
  backdrop-filter: blur(8px);
}

.pg28-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 12px;
}

.pg28-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.7rem;
}

.pg28-logo img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.pg28-logo span { color: var(--pg28-primary); }

.pg28-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg28-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.pg28-btn-primary {
  background: linear-gradient(135deg, var(--pg28-primary), var(--pg28-accent));
  color: #1f1f27;
}

.pg28-btn-secondary {
  background: transparent;
  color: var(--pg28-lemon);
  border: 2px solid var(--pg28-secondary);
}

.pg28-btn:hover { transform: translateY(-1px); box-shadow: var(--pg28-shadow); }
.pg28-btn:active { transform: scale(0.97); }

.pg28-menu-toggle {
  background: transparent;
  border: none;
  color: var(--pg28-lemon);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ============================================================
 * Mobile slide-in menu
 * ============================================================ */
.pg28-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--pg28-darker);
  border-left: 2px solid var(--pg28-border);
  z-index: 9999;
  padding: 70px 18px 30px;
  overflow-y: auto;
  transition: right 0.28s ease;
}

.pg28-menu-open { right: 0; }

.pg28-mobile-menu h4 {
  color: var(--pg28-primary);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 18px 0 8px;
}

.pg28-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg28-mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.pg28-mobile-menu a {
  display: block;
  padding: 12px 6px;
  color: var(--pg28-lemon);
  font-size: 1.45rem;
}

.pg28-mobile-menu a:hover { color: var(--pg28-primary); }

.pg28-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

.pg28-overlay-show { opacity: 1; visibility: visible; }

/* ============================================================
 * Hero carousel
 * ============================================================ */
.pg28-hero { margin-top: 56px; }

.pg28-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--pg28-shadow);
  background: var(--pg28-card);
}

.pg28-slides { position: relative; height: 190px; }

.pg28-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pg28-slide img { width: 100%; height: 190px; object-fit: cover; }

.pg28-slide-active { opacity: 1; }

.pg28-slide-caption {
  position: absolute;
  left: 12px; bottom: 10px;
  background: rgba(31, 31, 39, 0.7);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.25rem;
  color: #fff;
}

.pg28-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

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

.pg28-dot-active { background: var(--pg28-primary); }

/* ============================================================
 * Section + headings
 * ============================================================ */
.pg28-section {
  padding: 22px 0;
}

.pg28-section-title {
  font-size: 2rem;
  color: #fff;
  border-left: 4px solid var(--pg28-primary);
  padding-left: 10px;
  margin-bottom: 14px;
}

.pg28-section-sub {
  color: var(--pg28-muted);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* ============================================================
 * Filter bar
 * ============================================================ */
.pg28-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 14px;
  -webkit-overflow-scrolling: touch;
}

.pg28-filter-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--pg28-border);
  background: var(--pg28-card);
  color: var(--pg28-lemon);
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
}

.pg28-filter-active {
  background: linear-gradient(135deg, var(--pg28-primary), var(--pg28-accent));
  color: #1f1f27;
  border-color: transparent;
  font-weight: 700;
}

/* ============================================================
 * Game grid (compact tile layout)
 * ============================================================ */
.pg28-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pg28-card {
  background: var(--pg28-card);
  border: 1px solid var(--pg28-border);
  border-radius: var(--pg28-radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.pg28-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pg28-shadow);
}

.pg28-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pg28-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg28-card-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: rgba(0, 184, 212, 0.9);
  color: #1f1f27;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.pg28-card-name {
  padding: 6px 8px;
  font-size: 1.2rem;
  text-align: center;
  color: var(--pg28-lemon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
 * Info blocks (What is, How to play, Features ...)
 * ============================================================ */
.pg28-info {
  background: var(--pg28-card);
  border-radius: var(--pg28-radius);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--pg28-border);
}

.pg28-info h2 { font-size: 1.9rem; color: var(--pg28-primary); }
.pg28-info h3 { font-size: 1.6rem; color: var(--pg28-secondary); }
.pg28-info p { color: var(--pg28-muted); margin: 0 0 10px; font-size: 1.4rem; }

.pg28-info ul, .pg28-info ol {
  padding-left: 18px;
  color: var(--pg28-muted);
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.pg28-info li { margin-bottom: 6px; }

.pg28-info a { color: var(--pg28-accent); font-weight: 600; }

/* ============================================================
 * Promo banner / CTA
 * ============================================================ */
.pg28-cta {
  background: linear-gradient(135deg, var(--pg28-secondary), var(--pg28-accent));
  border-radius: var(--pg28-radius);
  padding: 18px;
  text-align: center;
  color: #1f1f27;
  margin: 16px 0;
}

.pg28-cta h3 { color: #1f1f27; font-size: 1.8rem; }
.pg28-cta p { color: rgba(31, 31, 39, 0.85); margin: 6px 0 12px; }

/* ============================================================
 * Payment / winners / testimonials grids
 * ============================================================ */
.pg28-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pg28-tile {
  background: var(--pg28-card);
  border: 1px solid var(--pg28-border);
  border-radius: var(--pg28-radius);
  padding: 12px;
  text-align: center;
}

.pg28-tile-icon { font-size: 2.4rem; color: var(--pg28-primary); }
.pg28-tile-title { color: #fff; font-weight: 700; font-size: 1.4rem; margin: 6px 0 2px; }
.pg28-tile-sub { color: var(--pg28-muted); font-size: 1.2rem; }

/* ============================================================
 * FAQ
 * ============================================================ */
.pg28-faq-item {
  background: var(--pg28-card);
  border: 1px solid var(--pg28-border);
  border-radius: var(--pg28-radius);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.pg28-faq-q { color: var(--pg28-primary); font-weight: 700; font-size: 1.45rem; }
.pg28-faq-a { color: var(--pg28-muted); margin-top: 6px; font-size: 1.35rem; }

/* ============================================================
 * Footer
 * ============================================================ */
.pg28-footer {
  background: var(--pg28-darker);
  border-top: 2px solid var(--pg28-border);
  padding: 24px 14px;
  margin-top: 20px;
}

.pg28-footer-brand { color: var(--pg28-primary); font-weight: 700; font-size: 1.6rem; margin-bottom: 8px; }

.pg28-footer p { color: var(--pg28-muted); font-size: 1.3rem; margin-bottom: 12px; }

.pg28-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
}

.pg28-footer-links a {
  color: var(--pg28-lemon);
  font-size: 1.25rem;
  text-decoration: underline;
}

.pg28-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pg28-footer-promo .pg28-btn { flex: 1 1 auto; }

.pg28-copyright {
  text-align: center;
  color: var(--pg28-muted);
  font-size: 1.2rem;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
 * Mobile bottom navigation (fixed)
 * ============================================================ */
.pg28-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: rgba(31, 31, 39, 0.98);
  border-top: 2px solid var(--pg28-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.pg28-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pg28-muted);
  font-size: 1.05rem;
  cursor: pointer;
  gap: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.pg28-bottom-btn .material-icons,
.pg28-bottom-btn i { font-size: 22px; }

.pg28-bottom-btn:hover { color: var(--pg28-primary); }
.pg28-bottom-btn:active { transform: scale(0.92); }

.pg28-bottom-active { color: var(--pg28-primary); }

.pg28-bottom-badge {
  display: inline-block;
  min-width: 16px;
  padding: 0 4px;
  background: var(--pg28-primary);
  color: #1f1f27;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================================
 * Responsive
 * ============================================================ */
@media (min-width: 431px) {
  .pg28-grid { grid-template-columns: repeat(4, 1fr); }
  .pg28-tile-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
  .pg28-bottom-nav { display: none; }
  main { padding-bottom: 30px; }
  .pg28-container { max-width: 960px; }
  .pg28-grid { grid-template-columns: repeat(6, 1fr); }
  .pg28-slides { height: 320px; }
  .pg28-slide img { height: 320px; }
}

@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}
