/* ============================================================
 * jili333 slots login - design.css
 * Site: jili333slotslogin.click
 * All custom classes use the pgb4- prefix
 * Color palette: #6495ED | #333333 | #FFD700 | #0000CD | #F0F8FF
 * Mobile-first: max-width 430px
 * ============================================================ */

:root {
  --pgb4-primary: #6495ED;       /* Cornflower blue */
  --pgb4-bg-dark: #333333;       /* Dark gray */
  --pgb4-gold: #FFD700;          /* Gold accent */
  --pgb4-deep: #0000CD;          /* Deep blue */
  --pgb4-light: #F0F8FF;         /* Alice blue */
  --pgb4-ink: #1a1a1a;
  --pgb4-muted: #6b6b6b;
  --pgb4-card: #ffffff;
  --pgb4-shadow: 0 6px 20px rgba(0, 0, 60, 0.18);
  --pgb4-radius: 14px;
}

/* Root font sizing for rem scale (62.5% => 1rem = 10px) */
html { font-size: 62.5%; }

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #0b1a4d 0%, #11245e 60%, #0b1a4d 100%);
  color: var(--pgb4-light);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--pgb4-gold); text-decoration: none; }

/* ---------- Layout helpers ---------- */
.pgb4-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.pgb4-container {
  width: 100%;
  padding: 0 14px;
}

main.pgb4-main {
  padding-bottom: 90px; /* clearance for fixed bottom nav */
}

.pgb4-section {
  padding: 22px 0 8px;
}

.pgb4-section h2 {
  font-size: 2rem;
  color: var(--pgb4-gold);
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}

.pgb4-section h3 {
  font-size: 1.7rem;
  color: var(--pgb4-primary);
  margin: 14px 0 6px;
}

.pgb4-lead {
  font-size: 1.5rem;
  color: #d6e2ff;
  margin: 0 0 12px;
}

/* ---------- Header ---------- */
.pgb4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #08184d, #10236a);
  border-bottom: 2px solid var(--pgb4-gold);
  box-shadow: var(--pgb4-shadow);
}

.pgb4-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  min-height: 56px;
}

.pgb4-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pgb4-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.pgb4-brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pgb4-light);
  line-height: 1.1;
}

.pgb4-brand-name b { color: var(--pgb4-gold); }

.pgb4-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pgb4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pgb4-btn:active { transform: scale(0.96); }

.pgb4-btn-login {
  background: transparent;
  border: 1.5px solid var(--pgb4-primary);
  color: var(--pgb4-light);
}

.pgb4-btn-register {
  background: linear-gradient(90deg, var(--pgb4-gold), #ffba2e);
  color: var(--pgb4-ink);
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}

.pgb4-menu-btn {
  background: transparent;
  border: none;
  color: var(--pgb4-light);
  font-size: 1.9rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

/* ---------- Mobile slide-down menu ---------- */
.pgb4-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #0c1c52;
  border-top: 1px solid rgba(100, 149, 237, 0.3);
}

.pgb4-mobile-menu.pgb4-menu-open {
  max-height: 520px;
}

.pgb4-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 6px 14px 12px;
}

.pgb4-mobile-menu li a {
  display: block;
  padding: 10px 6px;
  font-size: 1.45rem;
  color: var(--pgb4-light);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.pgb4-mobile-menu li a:hover,
.pgb4-mobile-menu li a:focus {
  color: var(--pgb4-gold);
}

/* ---------- Carousel ---------- */
.pgb4-hero { padding-top: 72px; }

.pgb4-carousel {
  position: relative;
  border-radius: var(--pgb4-radius);
  overflow: hidden;
  box-shadow: var(--pgb4-shadow);
  margin: 10px 0 4px;
}

.pgb4-slides { position: relative; }

.pgb4-slide {
  display: none;
  cursor: pointer;
}

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

.pgb4-slide.pgb4-slide-active { display: block; }

.pgb4-carousel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 60, 0.85), transparent);
  padding: 14px 12px 10px;
  color: var(--pgb4-gold);
  font-weight: 700;
  font-size: 1.5rem;
}

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

.pgb4-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 248, 255, 0.4);
  border: none;
  cursor: pointer;
}

.pgb4-dot.pgb4-dot-active {
  background: var(--pgb4-gold);
  width: 22px;
  border-radius: 5px;
}

/* ---------- H1 / hero text ---------- */
.pgb4-h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--pgb4-light);
  margin: 14px 0 6px;
  font-weight: 800;
}

.pgb4-h1 span { color: var(--pgb4-gold); }

/* ---------- Game grid ---------- */
.pgb4-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 1.85rem;
  color: var(--pgb4-gold);
  font-weight: 800;
}

.pgb4-cat-title i { color: var(--pgb4-primary); }

.pgb4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pgb4-game {
  background: var(--pgb4-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 40, 0.25);
}

.pgb4-game:hover,
.pgb4-game:active {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 80, 0.35);
}

.pgb4-game img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.pgb4-game-name {
  display: block;
  padding: 6px 4px;
  font-size: 1.2rem;
  color: var(--pgb4-ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / modules ---------- */
.pgb4-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(100, 149, 237, 0.25);
  border-radius: var(--pgb4-radius);
  padding: 14px;
  margin: 10px 0;
  backdrop-filter: blur(4px);
}

.pgb4-card h3 { margin-top: 0; }

.pgb4-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pgb4-feature {
  background: rgba(0, 0, 100, 0.25);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.pgb4-feature i {
  font-size: 2.4rem;
  color: var(--pgb4-gold);
  margin-bottom: 4px;
}

.pgb4-feature b {
  display: block;
  font-size: 1.35rem;
  color: var(--pgb4-light);
}

.pgb4-feature p {
  margin: 4px 0 0;
  font-size: 1.2rem;
  color: #c6d4ff;
}

/* ---------- Promo inline links ---------- */
.pgb4-link {
  color: var(--pgb4-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.pgb4-link:hover { color: #ffe066; }

.pgb4-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.pgb4-cta .pgb4-btn { width: 100%; min-height: 46px; font-size: 1.5rem; }

.pgb4-cta .pgb4-btn-register { background: linear-gradient(90deg, var(--pgb4-gold), #ffba2e); color: var(--pgb4-ink); }
.pgb4-cta .pgb4-btn-login { background: var(--pgb4-deep); color: var(--pgb4-light); }

/* ---------- RTP / stats table ---------- */
.pgb4-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.3rem;
}

.pgb4-table th,
.pgb4-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pgb4-table th { color: var(--pgb4-gold); }

.pgb4-table td.num { color: var(--pgb4-primary); font-weight: 700; }

/* ---------- Testimonials ---------- */
.pgb4-testi {
  background: rgba(0, 0, 100, 0.25);
  border-left: 3px solid var(--pgb4-gold);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
}

.pgb4-testi b { color: var(--pgb4-light); }
.pgb4-testi .pgb4-stars { color: var(--pgb4-gold); font-size: 1.3rem; }

/* ---------- Payment / winners ---------- */
.pgb4-payrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.pgb4-pay {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.25rem;
  color: var(--pgb4-light);
}

.pgb4-winners li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
}

.pgb4-winners b { color: var(--pgb4-gold); }

/* ---------- Reveal animation ---------- */
.pgb4-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pgb4-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
.pgb4-footer {
  background: #07133a;
  padding: 20px 14px 30px;
  margin-top: 20px;
  border-top: 2px solid var(--pgb4-gold);
}

.pgb4-footer p {
  font-size: 1.3rem;
  color: #c6d4ff;
  margin: 0 0 12px;
}

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

.pgb4-footer-links a {
  font-size: 1.2rem;
  color: var(--pgb4-light);
  background: rgba(100, 149, 237, 0.18);
  padding: 5px 9px;
  border-radius: 6px;
}

.pgb4-footer-links a:hover { background: var(--pgb4-deep); color: var(--pgb4-gold); }

.pgb4-copy {
  font-size: 1.15rem;
  color: #8fa6d6;
  margin-top: 10px;
}

/* ---------- Mobile bottom navigation ---------- */
.pgb4-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #07133a, #10236a);
  border-top: 2px solid var(--pgb4-gold);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
}

.pgb4-bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pgb4-light);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease;
}

.pgb4-bnav-btn .material-icons,
.pgb4-bnav-btn i {
  font-size: 22px;
}

.pgb4-bnav-btn span {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.pgb4-bnav-btn:hover { color: var(--pgb4-gold); }

.pgb4-bnav-btn:active { transform: scale(0.92); }

.pgb4-bnav-active {
  color: var(--pgb4-gold);
}

.pgb4-bnav-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 32px;
  height: 3px;
  background: var(--pgb4-gold);
  border-radius: 0 0 4px 4px;
}

/* ---------- Desktop behavior ---------- */
@media (min-width: 769px) {
  .pgb4-bnav { display: none; }
  main.pgb4-main { padding-bottom: 30px; }
}

/* ---------- Mobile tuning (<=430px) ---------- */
@media (max-width: 430px) {
  body { font-size: 1.42rem; }
  .pgb4-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pgb4-game img { height: 80px; }
  .pgb4-game-name { font-size: 1.1rem; }
  .pgb4-h1 { font-size: 2.1rem; }
  .pgb4-features { grid-template-columns: repeat(2, 1fr); }
  .pgb4-slide img { height: 170px; }
  .pgb4-brand-name { font-size: 1.4rem; }
  .pgb4-bnav-btn span { font-size: 1rem; }
}

@media (max-width: 360px) {
  .pgb4-grid { grid-template-columns: repeat(2, 1fr); }
  .pgb4-features { grid-template-columns: 1fr; }
}
