/* go8 pub - theme.css
   Mobile-first casino styles. All custom classes use the pgac- prefix. */

:root {
  --pgac-primary: #40E0D0;
  --pgac-accent: #D2691E;
  --pgac-bg: #1B263B;
  --pgac-bg2: #14202f;
  --pgac-text: #F5DEB3;
  --pgac-text-light: #f8eed1;
  --pgac-muted: #b9c2cf;
  --pgac-brown: #A0522D;
  --pgac-card: #21303f;
  --pgac-border: rgba(64, 224, 208, 0.25);
  --pgac-shadow: 0 6px 22px rgba(0,0,0,0.35);
  --pgac-radius: 12px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--pgac-bg);
  color: var(--pgac-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pgac-primary); text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.5; margin: 0 0 1rem; color: var(--pgac-text); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2rem; }

.pgac-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pgac-wrapper { max-width: 430px; margin: 0 auto; }

/* Header */
.pgac-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #14202f 0%, #1B263B 100%);
  border-bottom: 1px solid var(--pgac-border);
  box-shadow: var(--pgac-shadow);
}
.pgac-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.pgac-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.pgac-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pgac-brand-name { font-weight: 800; color: var(--pgac-primary); font-size: 1.6rem; white-space: nowrap; }
.pgac-brand-name span { color: var(--pgac-text); }
.pgac-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pgac-menu-btn {
  background: transparent; border: 1px solid var(--pgac-border); color: var(--pgac-text);
  width: 36px; height: 36px; border-radius: 8px; font-size: 1.6rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pgac-btn {
  border: none; border-radius: 20px; padding: 0.6rem 1.1rem; font-size: 1.3rem;
  font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem;
  transition: transform .15s ease, opacity .15s ease; min-height: 36px;
}
.pgac-btn:active { transform: scale(0.96); }
.pgac-btn-register { background: linear-gradient(90deg, var(--pgac-accent), #e88a3a); color: #fff; }
.pgac-btn-login { background: var(--pgac-primary); color: #0c1a22; }

/* Mobile menu */
.pgac-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100%;
  background: var(--pgac-bg2); z-index: 9999; padding: 5rem 1.2rem 2rem; overflow-y: auto;
  transition: right .28s ease; border-left: 1px solid var(--pgac-border);
}
.pgac-mobile-menu.pgac-open { right: 0; box-shadow: -8px 0 30px rgba(0,0,0,0.5); }
.pgac-mobile-menu h4 { color: var(--pgac-primary); margin: 1.4rem 0 0.6rem; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .05em; }
.pgac-mobile-menu a { display: block; padding: 0.8rem 0.6rem; border-bottom: 1px solid rgba(245,222,179,0.08); color: var(--pgac-text-light); font-size: 1.4rem; }
.pgac-mobile-menu a:hover { color: var(--pgac-primary); }
.pgac-menu-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: var(--pgac-text); font-size: 2rem; cursor: pointer; }
.pgac-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998; display: none; }
.pgac-overlay.pgac-open { display: block; }

/* Main */
.pgac-main { padding-top: 64px; }
@media (max-width: 768px) { .pgac-main { padding-bottom: 80px; } }

/* Carousel */
.pgac-carousel { position: relative; overflow: hidden; border-radius: 0 0 var(--pgac-radius) var(--pgac-radius); }
.pgac-slides { position: relative; height: 200px; }
.pgac-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; cursor: pointer;
}
.pgac-slide.pgac-active { opacity: 1; position: relative; }
.pgac-slide img { width: 100%; height: 200px; object-fit: cover; }
.pgac-slide-cap { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.7); }
.pgac-slide-cap strong { font-size: 1.7rem; display: block; }
.pgac-slide-cap span { font-size: 1.2rem; color: var(--pgac-primary); }
.pgac-dots { position: absolute; bottom: 0.6rem; right: 1rem; display: flex; gap: 0.4rem; }
.pgac-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; }
.pgac-dot.pgac-active { background: var(--pgac-primary); }

/* Promo CTA strip */
.pgac-cta-strip { background: linear-gradient(90deg, var(--pgac-brown), var(--pgac-accent)); color: #fff; padding: 1rem 1.2rem; margin: 1rem 0; border-radius: var(--pgac-radius); display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.pgac-cta-strip p { margin: 0; font-weight: 600; font-size: 1.3rem; }
.pgac-cta-strip .pgac-btn { background: #fff; color: var(--pgac-accent); }

/* Section */
.pgac-section { padding: 1.4rem 0; }
.pgac-section-title { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.pgac-section-title h2 { margin: 0; }
.pgac-section-title .material-icons { color: var(--pgac-primary); font-size: 24px; }

/* Filter tabs */
.pgac-filters { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.6rem; margin-bottom: 0.8rem; -webkit-overflow-scrolling: touch; }
.pgac-filter-tab {
  white-space: nowrap; padding: 0.5rem 1rem; border-radius: 20px; background: var(--pgac-card);
  color: var(--pgac-text); border: 1px solid var(--pgac-border); font-size: 1.2rem; cursor: pointer;
}
.pgac-filter-tab.pgac-active { background: var(--pgac-primary); color: #0c1a22; border-color: var(--pgac-primary); }

/* Game grid */
.pgac-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.pgac-game-card {
  background: var(--pgac-card); border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--pgac-border); transition: transform .15s ease; position: relative;
}
.pgac-game-card:active { transform: scale(0.96); }
.pgac-game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #0c1a22; }
.pgac-game-name { font-size: 1rem; padding: 0.4rem 0.5rem; text-align: center; color: var(--pgac-text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pgac-game-cat-label { color: var(--pgac-primary); font-size: 1.5rem; font-weight: 800; margin: 0.4rem 0; display: flex; align-items: center; gap: 0.4rem; }

/* Info / features cards */
.pgac-features { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.pgac-feature-card { background: var(--pgac-card); border-radius: var(--pgac-radius); padding: 1.1rem; border: 1px solid var(--pgac-border); display: flex; gap: 0.8rem; align-items: flex-start; }
.pgac-feature-card .pgac-ico { color: var(--pgac-primary); font-size: 26px; }
.pgac-feature-card h3 { margin: 0 0 0.3rem; font-size: 1.4rem; }
.pgac-feature-card p { margin: 0; font-size: 1.2rem; color: var(--pgac-muted); }

/* Testimonials */
.pgac-testimonials { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.pgac-testimonial { background: var(--pgac-card); border-radius: var(--pgac-radius); padding: 1rem; border-left: 3px solid var(--pgac-accent); }
.pgac-testimonial .pgac-stars { color: #FFD700; font-size: 1.3rem; margin-bottom: 0.3rem; }
.pgac-testimonial p { margin: 0 0 0.4rem; font-size: 1.2rem; font-style: italic; }
.pgac-testimonial .pgac-author { font-size: 1.1rem; color: var(--pgac-primary); font-weight: 700; }

/* Winners */
.pgac-winners { background: var(--pgac-card); border-radius: var(--pgac-radius); padding: 1rem; border: 1px solid var(--pgac-border); }
.pgac-winner-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed rgba(245,222,179,0.1); font-size: 1.2rem; }
.pgac-winner-row:last-child { border-bottom: none; }
.pgac-winner-name { color: var(--pgac-text); font-weight: 600; }
.pgac-winner-amount { color: var(--pgac-primary); font-weight: 800; }

/* Payment */
.pgac-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pgac-pay-item { background: var(--pgac-card); border-radius: 8px; padding: 0.6rem 0.9rem; border: 1px solid var(--pgac-border); font-size: 1.2rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--pgac-text-light); }
.pgac-pay-item i { color: var(--pgac-primary); }

/* App download */
.pgac-app-cta { background: linear-gradient(120deg, #1B263B, #21303f); border-radius: var(--pgac-radius); padding: 1.2rem; border: 1px solid var(--pgac-border); text-align: center; }
.pgac-app-cta h3 { color: var(--pgac-primary); }
.pgac-app-cta .pgac-btn { margin-top: 0.5rem; }

/* FAQ accordion */
.pgac-faq-item { background: var(--pgac-card); border-radius: 8px; margin-bottom: 0.6rem; border: 1px solid var(--pgac-border); overflow: hidden; }
.pgac-faq-q { width: 100%; text-align: left; background: transparent; border: none; padding: 1rem; color: var(--pgac-text); font-size: 1.3rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.pgac-faq-q .pgac-faq-icon { color: var(--pgac-primary); transition: transform .2s; }
.pgac-faq-item.pgac-open .pgac-faq-icon { transform: rotate(45deg); }
.pgac-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 1rem; color: var(--pgac-muted); font-size: 1.2rem; }
.pgac-faq-item.pgac-open .pgac-faq-a { max-height: 400px; padding-bottom: 1rem; }

/* Footer */
.pgac-footer { background: var(--pgac-bg2); padding: 1.6rem 1.2rem 2rem; border-top: 1px solid var(--pgac-border); margin-top: 1.5rem; }
.pgac-footer-brand { color: var(--pgac-text); margin-bottom: 1rem; font-size: 1.2rem; }
.pgac-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; margin-bottom: 1rem; }
.pgac-footer-links a { color: var(--pgac-muted); font-size: 1.2rem; }
.pgac-footer-links a:hover { color: var(--pgac-primary); }
.pgac-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.pgac-footer-promo .pgac-btn { font-size: 1.2rem; padding: 0.5rem 0.9rem; }
.pgac-footer-copy { font-size: 1.1rem; color: var(--pgac-muted); text-align: center; border-top: 1px solid rgba(245,222,179,0.08); padding-top: 1rem; }

/* Bottom nav */
.pgac-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: 62px;
  background: linear-gradient(180deg, #14202f, #0c1a22);
  border-top: 1px solid var(--pgac-border); display: flex; justify-content: space-around; align-items: stretch;
}
.pgac-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none; color: var(--pgac-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer;
  font-size: 1.1rem; padding: 4px 2px; transition: color .2s, transform .15s; position: relative;
}
.pgac-bottomnav-btn i, .pgac-bottomnav-btn .material-icons { font-size: 22px; color: var(--pgac-muted); }
.pgac-bottomnav-btn span { font-size: 1.05rem; color: var(--pgac-muted); }
.pgac-bottomnav-btn:active { transform: scale(0.92); }
.pgac-bottomnav-btn.pgac-current i,
.pgac-bottomnav-btn.pgac-current .material-icons,
.pgac-bottomnav-btn.pgac-current span { color: var(--pgac-primary); }
.pgac-bottomnav-btn.pgac-current::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; background: var(--pgac-primary); border-radius: 0 0 4px 4px; }
.pgac-bottomnav-btn.pgac-promo i, .pgac-bottomnav-btn.pgac-promo .material-icons { color: var(--pgac-accent); }

/* Desktop */
@media (min-width: 769px) {
  .pgac-bottomnav { display: none; }
  .pgac-container, .pgac-wrapper, .pgac-header-inner, .pgac-footer { max-width: 760px; }
  .pgac-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pgac-features { grid-template-columns: repeat(2, 1fr); }
  .pgac-testimonials { grid-template-columns: repeat(2, 1fr); }
}

/* Utility */
.pgac-text-promo { color: var(--pgac-primary); font-weight: 700; cursor: pointer; }
.pgac-seo-text { font-size: 1.3rem; color: var(--pgac-muted); margin: 1rem 0; }
.pgac-seo-text a { color: var(--pgac-primary); text-decoration: underline; }
.pgac-hidden { display: none; }
