/* ============================================================
   jljl77 login password - layout-abc1.css
   Prefix: pgab- | Palette: navy / yellow / orange / electric blue
   ============================================================ */

:root {
  --pgab-primary: #000080;       /* deep navy */
  --pgab-primary-2: #1a1a6e;
  --pgab-accent: #FFF176;        /* warm yellow */
  --pgab-accent-2: #FFD54F;
  --pgab-dark: #0A0A0A;          /* near-black background */
  --pgab-blue: #0000FF;          /* electric blue */
  --pgab-blue-soft: #3B5BFF;
  --pgab-orange: #FF9800;        /* energetic orange */
  --pgab-bg: #0A0A1F;
  --pgab-bg-2: #11112E;
  --pgab-surface: #1A1A3A;
  --pgab-surface-2: #232353;
  --pgab-border: rgba(255, 241, 118, 0.22);
  --pgab-text: #F5F5FF;
  --pgab-text-soft: #B8B8D8;
  --pgab-text-mute: #7C7CA8;
  --pgab-success: #2ED573;
  --pgab-danger: #FF4757;
  --pgab-radius: 14px;
  --pgab-radius-sm: 9px;
  --pgab-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --pgab-header-h: 60px;
  --pgab-bottom-nav-h: 62px;
  --pgab-maxw: 430px;
}

/* ----- Reset ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: var(--pgab-bg);
  color: var(--pgab-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: var(--pgab-maxw);
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 0, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255, 152, 0, 0.14), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 128, 0.25), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: var(--pgab-accent); text-decoration: none; }
a:hover, a:focus { color: var(--pgab-orange); }
ul { list-style: none; }

/* ----- Layout helpers ----- */
.pgab-container { width: 100%; max-width: var(--pgab-maxw); margin: 0 auto; padding: 0 1.4rem; }
.pgab-wrapper { padding-top: var(--pgab-header-h); padding-bottom: calc(var(--pgab-bottom-nav-h) + 2rem); }
.pgab-section { padding: 2.6rem 0 1.2rem; }
.pgab-section-title {
  font-size: 2rem; font-weight: 800; color: var(--pgab-text);
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem;
  border-left: 4px solid var(--pgab-orange); padding-left: 1rem;
}
.pgab-section-title .material-icons,
.pgab-section-title i { color: var(--pgab-accent); font-size: 2.2rem; }

/* ----- Header ----- */
.pgab-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--pgab-maxw); height: var(--pgab-header-h);
  background: linear-gradient(180deg, rgba(0, 0, 128, 0.96), rgba(10, 10, 31, 0.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pgab-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000; transition: box-shadow .25s ease;
}
.pgab-header-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,0.5); }
.pgab-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--pgab-text); }
.pgab-brand img { width: 30px; height: 30px; border-radius: 7px; }
.pgab-brand-name { font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.pgab-brand-name span { color: var(--pgab-accent); }

.pgab-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pgab-btn {
  border: 0; cursor: pointer; font-weight: 700; font-size: 1.35rem;
  padding: 0.75rem 1.3rem; border-radius: 30px; transition: transform .15s ease, filter .2s ease;
  min-height: 38px; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: inherit;
}
.pgab-btn:active { transform: scale(0.95); }
.pgab-btn-login {
  background: transparent; color: var(--pgab-text);
  border: 1.5px solid var(--pgab-accent);
}
.pgab-btn-register {
  background: linear-gradient(135deg, var(--pgab-orange), #FF6F00);
  color: #1A0A00; box-shadow: 0 4px 12px rgba(255,152,0,0.4);
}
.pgab-nav-toggle {
  background: transparent; border: 0; color: var(--pgab-accent);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem; min-width: 44px; min-height: 44px;
}

/* ----- Mobile slide menu ----- */
.pgab-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 9998;
}
.pgab-overlay-visible { opacity: 1; pointer-events: auto; }
.pgab-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 78%; max-width: 320px;
  height: 100%; background: linear-gradient(180deg, var(--pgab-primary), var(--pgab-dark));
  z-index: 9999; transition: right .3s ease; padding: 1.8rem 1.4rem; overflow-y: auto;
}
.pgab-menu-open { right: 0; }
.pgab-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.pgab-menu-title { font-size: 1.6rem; font-weight: 800; color: var(--pgab-accent); }
.pgab-menu-close { background: transparent; border: 0; color: var(--pgab-text); font-size: 2rem; cursor: pointer; }
.pgab-mobile-menu ul li { margin: 0.5rem 0; }
.pgab-mobile-menu ul li a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 0.9rem; border-radius: var(--pgab-radius-sm);
  color: var(--pgab-text); font-weight: 600; background: rgba(255,255,255,0.04);
  transition: background .2s ease;
}
.pgab-mobile-menu ul li a:hover { background: var(--pgab-orange); color: #1A0A00; }
.pgab-mobile-menu ul li a i,
.pgab-mobile-menu ul li a .material-icons { color: var(--pgab-accent); font-size: 1.8rem; }

/* ----- Hero / Carousel ----- */
.pgab-carousel { position: relative; border-radius: var(--pgab-radius); overflow: hidden; margin-bottom: 1.4rem; box-shadow: var(--pgab-shadow); }
.pgab-carousel-viewport { overflow: hidden; border-radius: var(--pgab-radius); }
.pgab-carousel-track { display: flex; transition: transform .5s ease; }
.pgab-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.pgab-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.pgab-carousel-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7));
}
.pgab-carousel-caption {
  position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2;
  color: var(--pgab-text); font-weight: 800; font-size: 1.6rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.pgab-carousel-caption small { display: block; font-weight: 500; font-size: 1.2rem; color: var(--pgab-accent); }
.pgab-carousel-dots { display: flex; justify-content: center; gap: 0.6rem; padding: 0.8rem 0 0; }
.pgab-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: 0; cursor: pointer; transition: all .2s ease;
}
.pgab-carousel-dot-active { background: var(--pgab-orange); width: 22px; border-radius: 6px; }

/* ----- H1 hero text ----- */
.pgab-h1 {
  font-size: 2.4rem; font-weight: 900; line-height: 1.2;
  background: linear-gradient(90deg, var(--pgab-accent), var(--pgab-orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin: 1.6rem 0 1rem;
}
.pgab-subtitle { color: var(--pgab-text-soft); font-size: 1.45rem; margin-bottom: 1.4rem; }
.pgab-lead { color: var(--pgab-text); font-size: 1.5rem; line-height: 1.65; }

/* ----- Promo CTA ----- */
.pgab-cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.pgab-cta-primary {
  flex: 1; min-width: 160px; justify-content: center;
  background: linear-gradient(135deg, var(--pgab-orange), #FF3D00);
  color: #1A0A00; padding: 1.1rem 1.4rem; font-size: 1.5rem; font-weight: 800;
  border: 0; border-radius: 30px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(255,152,0,0.45);
}
.pgab-cta-primary:active { transform: scale(0.97); }
.pgab-cta-link {
  display: inline-block; margin-top: 0.4rem; color: var(--pgab-accent);
  font-weight: 700; text-decoration: underline; font-size: 1.4rem;
}

/* ----- Game grid ----- */
.pgab-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.pgab-game-card {
  background: var(--pgab-surface); border: 1px solid var(--pgab-border);
  border-radius: var(--pgab-radius-sm); overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease; cursor: pointer;
  position: relative;
}
.pgab-game-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.5); }
.pgab-game-card:active { transform: scale(0.97); }
.pgab-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.pgab-game-card span {
  display: block; padding: 0.5rem 0.4rem; font-size: 1.2rem;
  text-align: center; color: var(--pgab-text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pgab-game-card .pgab-tag {
  position: absolute; top: 4px; left: 4px; z-index: 2;
  background: var(--pgab-orange); color: #1A0A00; font-size: 1rem;
  font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 4px;
}

/* ----- Feature / info cards ----- */
.pgab-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pgab-card {
  background: linear-gradient(135deg, var(--pgab-surface), var(--pgab-surface-2));
  border: 1px solid var(--pgab-border); border-radius: var(--pgab-radius);
  padding: 1.4rem; box-shadow: var(--pgab-shadow);
}
.pgab-card-title {
  font-size: 1.7rem; font-weight: 800; color: var(--pgab-accent);
  margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem;
}
.pgab-card p { color: var(--pgab-text-soft); font-size: 1.4rem; line-height: 1.6; }

/* ----- FAQ ----- */
.pgab-faq-item {
  background: var(--pgab-surface); border: 1px solid var(--pgab-border);
  border-radius: var(--pgab-radius-sm); padding: 1rem 1.2rem; margin-bottom: 0.8rem;
}
.pgab-faq-item h3 { font-size: 1.5rem; color: var(--pgab-accent); margin-bottom: 0.4rem; font-weight: 700; }
.pgab-faq-item p { font-size: 1.35rem; color: var(--pgab-text-soft); line-height: 1.6; }

/* ----- Testimonials ----- */
.pgab-testi { display: grid; gap: 0.8rem; }
.pgab-testi-item {
  background: var(--pgab-surface-2); border-left: 3px solid var(--pgab-orange);
  border-radius: var(--pgab-radius-sm); padding: 1rem 1.1rem;
}
.pgab-testi-item .pgab-stars { color: var(--pgab-accent); font-size: 1.3rem; }
.pgab-testi-item p { font-size: 1.35rem; color: var(--pgab-text); margin: 0.3rem 0; }
.pgab-testi-item small { color: var(--pgab-text-mute); font-size: 1.2rem; }

/* ----- RTP / stats compact table ----- */
.pgab-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.35rem; }
.pgab-rtp-table th, .pgab-rtp-table td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--pgab-border); }
.pgab-rtp-table th { color: var(--pgab-accent); font-weight: 700; background: var(--pgab-surface); }
.pgab-rtp-table td { color: var(--pgab-text-soft); }
.pgab-rtp-table tr:hover td { color: var(--pgab-text); }

/* ----- Winners strip ----- */
.pgab-winner-strip {
  display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.6rem;
  scrollbar-width: thin;
}
.pgab-winner {
  flex: 0 0 auto; width: 160px; background: var(--pgab-surface);
  border: 1px solid var(--pgab-border); border-radius: var(--pgab-radius-sm);
  padding: 0.8rem; text-align: center;
}
.pgab-winner strong { color: var(--pgab-accent); font-size: 1.4rem; display: block; }
.pgab-winner small { color: var(--pgab-text-soft); font-size: 1.2rem; }
.pgab-winner .pgab-amt { color: var(--pgab-success); font-weight: 800; font-size: 1.5rem; }

/* ----- Payment icons ----- */
.pgab-pay-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.pgab-pay {
  flex: 1 1 calc(33% - 0.8rem); min-width: 90px;
  background: var(--pgab-surface); border: 1px solid var(--pgab-border);
  border-radius: var(--pgab-radius-sm); padding: 0.9rem; text-align: center;
  font-weight: 700; color: var(--pgab-text); font-size: 1.3rem;
}
.pgab-pay i, .pgab-pay .material-icons { color: var(--pgab-accent); font-size: 2rem; display: block; margin-bottom: 0.3rem; }

/* ----- Footer ----- */
.pgab-footer {
  background: linear-gradient(180deg, var(--pgab-primary), var(--pgab-dark));
  border-top: 1px solid var(--pgab-border); padding: 2.2rem 1.4rem 3rem; margin-top: 2rem;
}
.pgab-footer-brand { font-weight: 800; color: var(--pgab-accent); font-size: 1.7rem; margin-bottom: 0.6rem; }
.pgab-footer p { color: var(--pgab-text-soft); font-size: 1.35rem; line-height: 1.6; margin-bottom: 1.2rem; }
.pgab-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 1rem 0 1.4rem; }
.pgab-footer-links a { font-size: 1.3rem; color: var(--pgab-text); }
.pgab-footer-promos { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.pgab-footer-promos button {
  flex: 1 1 auto; min-width: 120px;
  background: var(--pgab-orange); color: #1A0A00;
  border: 0; padding: 0.8rem 1rem; border-radius: 30px; font-weight: 700; font-size: 1.3rem; cursor: pointer;
}
.pgab-footer-copy { color: var(--pgab-text-mute); font-size: 1.2rem; border-top: 1px solid var(--pgab-border); padding-top: 1rem; margin-top: 1rem; text-align: center; }

/* ----- Bottom nav ----- */
.pgab-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--pgab-maxw); height: var(--pgab-bottom-nav-h);
  background: linear-gradient(180deg, rgba(0,0,128,0.98), rgba(10,10,31,0.99));
  border-top: 1px solid var(--pgab-border); z-index: 1000;
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.pgab-bottom-nav-btn {
  background: transparent; border: 0; color: var(--pgab-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 60px; min-height: 58px; cursor: pointer;
  font-size: 1.1rem; font-weight: 600; font-family: inherit;
  transition: color .2s ease, transform .15s ease;
}
.pgab-bottom-nav-btn i,
.pgab-bottom-nav-btn .material-icons { font-size: 2.2rem; }
.pgab-bottom-nav-btn:active { transform: scale(0.92); }
.pgab-bottom-nav-btn-active { color: var(--pgab-orange); }
.pgab-bottom-nav-btn-promo { color: var(--pgab-accent); }
.pgab-bottom-nav-btn-promo i { color: var(--pgab-orange); }

/* ----- Back to top ----- */
.pgab-backtop {
  position: fixed; right: 1.2rem; bottom: calc(var(--pgab-bottom-nav-h) + 1rem);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pgab-orange); color: #1A0A00; border: 0; cursor: pointer;
  font-size: 2rem; opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 900;
}
.pgab-backtop-visible { opacity: 1; pointer-events: auto; }

/* ----- Desktop: hide bottom nav ----- */
@media (min-width: 769px) {
  .pgab-bottom-nav { display: none; }
  .pgab-wrapper { padding-bottom: 2rem; }
  .pgab-backtop { bottom: 1.5rem; }
}

/* ----- Mobile: ensure content clearance ----- */
@media (max-width: 768px) {
  .pgab-wrapper { padding-bottom: calc(var(--pgab-bottom-nav-h) + 1.5rem); }
  main.pgab-wrapper { padding-bottom: calc(var(--pgab-bottom-nav-h) + 2rem); }
}

/* ----- Small screens tighten grid ----- */
@media (max-width: 360px) {
  .pgab-game-grid { grid-template-columns: repeat(2, 1fr); }
  .pgab-footer-links { grid-template-columns: 1fr; }
}
