/*!
 * Airopay design stylesheet
 * Prefix: pg3a-
 * Palette: #48D1CC | #0D1117 | #40E0D0 | #F5F5F5
 */
:root {
  --pg3a-primary: #48D1CC;
  --pg3a-accent: #40E0D0;
  --pg3a-bg: #0D1117;
  --pg3a-bg-2: #111a22;
  --pg3a-bg-3: #15212b;
  --pg3a-text: #F5F5F5;
  --pg3a-muted: #9fb4c0;
  --pg3a-gold: #ffd479;
  --pg3a-danger: #ff6b6b;
  --pg3a-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --pg3a-radius: 14px;
  --pg3a-radius-sm: 10px;
  --pg3a-max: 430px;
  --pg3a-header-h: 58px;
  --pg3a-bnav-h: 62px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--pg3a-bg);
  color: var(--pg3a-text);
  line-height: 1.5;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--pg3a-accent);
  text-decoration: none;
}

a:hover {
  color: var(--pg3a-gold);
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.65rem; }

p { margin: 0 0 1em; }

/* ============ Layout helpers ============ */
.pg3a-container {
  width: 100%;
  max-width: var(--pg3a-max);
  margin: 0 auto;
  padding: 0 14px;
}

.pg3a-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.pg3a-section {
  padding: 26px 0 18px;
}

.pg3a-section-alt {
  background: linear-gradient(180deg, var(--pg3a-bg-2), var(--pg3a-bg));
}

.pg3a-eyebrow {
  display: inline-block;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pg3a-gold);
  margin-bottom: 6px;
}

.pg3a-lead {
  color: var(--pg3a-muted);
  font-size: 1.5rem;
}

.pg3a-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pg3a-reveal.pg3a-is-visible {
  opacity: 1;
  transform: none;
}

/* ============ Header ============ */
.pg3a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid rgba(72, 209, 204, 0.25);
  backdrop-filter: blur(8px);
}

.pg3a-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--pg3a-header-h);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 14px;
}

.pg3a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pg3a-text);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.pg3a-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.pg3a-brand span {
  background: linear-gradient(90deg, var(--pg3a-primary), var(--pg3a-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

.pg3a-btn-login {
  background: transparent;
  color: var(--pg3a-text);
  border: 1px solid rgba(72, 209, 204, 0.55);
}

.pg3a-btn-login:hover {
  background: rgba(72, 209, 204, 0.12);
  color: var(--pg3a-text);
}

.pg3a-btn-register {
  background: linear-gradient(135deg, var(--pg3a-primary), var(--pg3a-accent));
  color: #07211f;
  box-shadow: 0 6px 18px rgba(72, 209, 204, 0.35);
}

.pg3a-btn-register:hover {
  color: #07211f;
  filter: brightness(1.08);
}

.pg3a-btn-gold {
  background: linear-gradient(135deg, #ffe08a, var(--pg3a-gold));
  color: #3a2a00;
  box-shadow: 0 6px 18px rgba(255, 212, 121, 0.3);
}

.pg3a-btn-gold:hover {
  color: #3a2a00;
  filter: brightness(1.06);
}

.pg3a-btn-block {
  width: 100%;
  padding: 13px 16px;
  font-size: 1.5rem;
}

.pg3a-burger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(72, 209, 204, 0.12);
  border: 1px solid rgba(72, 209, 204, 0.35);
  color: var(--pg3a-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

.pg3a-burger.pg3a-is-active {
  background: var(--pg3a-primary);
  color: #07211f;
}

/* ============ Mobile menu ============ */
.pg3a-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.pg3a-menu-backdrop.pg3a-is-visible {
  opacity: 1;
  visibility: visible;
}

.pg3a-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82%, 320px);
  background: var(--pg3a-bg-2);
  z-index: 9999;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  padding: 20px 18px;
  overflow-y: auto;
  border-left: 1px solid rgba(72, 209, 204, 0.25);
  box-shadow: var(--pg3a-shadow);
}

.pg3a-mobile-menu.pg3a-is-open {
  transform: translateX(0);
}

.pg3a-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pg3a-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--pg3a-text);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.pg3a-menu-section-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pg3a-primary);
  margin: 18px 0 8px;
}

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

.pg3a-menu-list li {
  margin-bottom: 6px;
}

.pg3a-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--pg3a-radius-sm);
  color: var(--pg3a-text);
  font-size: 1.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pg3a-menu-list a:hover {
  background: rgba(72, 209, 204, 0.14);
  color: var(--pg3a-text);
}

.pg3a-menu-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============ Hero ============ */
.pg3a-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.pg3a-hero-viewport {
  overflow: hidden;
  border-radius: 18px;
  margin: 14px;
  box-shadow: var(--pg3a-shadow);
}

.pg3a-hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pg3a-hero-slide {
  flex: 0 0 100%;
  position: relative;
}

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

.pg3a-hero-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  padding: 38px 16px 12px;
  border-radius: 14px;
}

.pg3a-hero-caption h2 {
  font-size: 1.7rem;
  margin-bottom: 6px;
  color: #fff;
}

.pg3a-hero-caption p {
  margin: 0 0 10px;
  color: #e6f5f4;
  font-size: 1.3rem;
}

.pg3a-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 4px;
}

.pg3a-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
}

.pg3a-hero-dot.pg3a-is-active {
  background: var(--pg3a-primary);
  width: 22px;
  border-radius: 6px;
}

.pg3a-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.7);
  border: 1px solid rgba(72, 209, 204, 0.4);
  color: var(--pg3a-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.pg3a-hero-arrow:hover {
  background: var(--pg3a-primary);
  color: #07211f;
}

.pg3a-hero-prev { left: 10px; }
.pg3a-hero-next { right: 10px; }

/* ============ Marquee / promo strip ============ */
.pg3a-marquee {
  background: linear-gradient(90deg, rgba(72, 209, 204, 0.18), rgba(255, 212, 121, 0.16));
  border-top: 1px solid rgba(72, 209, 204, 0.25);
  border-bottom: 1px solid rgba(255, 212, 121, 0.25);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.25rem;
  color: var(--pg3a-text);
}

.pg3a-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: pg3a-marquee 22s linear infinite;
}

@keyframes pg3a-marquee {
  to { transform: translateX(-100%); }
}

/* ============ Section heading ============ */
.pg3a-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pg3a-section-head h2 {
  margin: 0;
}

.pg3a-link-more {
  font-size: 1.25rem;
  color: var(--pg3a-gold);
  font-weight: 700;
}

/* ============ Filter chips ============ */
.pg3a-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}

.pg3a-filter-row::-webkit-scrollbar { display: none; }

.pg3a-filter-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pg3a-text);
  border: 1px solid rgba(72, 209, 204, 0.25);
  font-size: 1.25rem;
  cursor: pointer;
  white-space: nowrap;
}

.pg3a-filter-chip.pg3a-is-active {
  background: linear-gradient(135deg, var(--pg3a-primary), var(--pg3a-accent));
  color: #07211f;
  border-color: transparent;
  font-weight: 700;
}

/* ============ Game grid & cards ============ */
.pg3a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pg3a-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pg3a-card {
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.18);
  border-radius: var(--pg3a-radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: block;
  color: var(--pg3a-text);
  cursor: pointer;
}

.pg3a-card:hover {
  transform: translateY(-3px);
  border-color: var(--pg3a-primary);
  box-shadow: 0 12px 24px rgba(72, 209, 204, 0.2);
  color: var(--pg3a-text);
}

.pg3a-card-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1a2730, #0e161d);
  overflow: hidden;
}

.pg3a-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pg3a-card:hover .pg3a-card-thumb img {
  transform: scale(1.06);
}

.pg3a-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, var(--pg3a-gold), #ffb24d);
  color: #3a2a00;
  font-size: 1rem;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pg3a-card-title {
  padding: 7px 8px;
  font-size: 1.2rem;
  text-align: center;
  font-weight: 600;
  color: var(--pg3a-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Category pill section ============ */
.pg3a-cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 10px;
}

.pg3a-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(72, 209, 204, 0.15);
  color: var(--pg3a-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex: 0 0 auto;
}

.pg3a-cat-head h3 {
  margin: 0;
  font-size: 1.6rem;
}

/* ============ Features / highlights ============ */
.pg3a-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pg3a-feature {
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.2);
  border-radius: var(--pg3a-radius);
  padding: 14px;
}

.pg3a-feature .pg3a-feature-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pg3a-primary), var(--pg3a-accent));
  color: #07211f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.pg3a-feature h4 {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.pg3a-feature p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--pg3a-muted);
}

/* ============ RTP / stats ============ */
.pg3a-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.pg3a-stat {
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.18);
  border-radius: var(--pg3a-radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.pg3a-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pg3a-gold);
  display: block;
}

.pg3a-stat-label {
  font-size: 1.05rem;
  color: var(--pg3a-muted);
}

.pg3a-rtp-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 4px 0 10px;
}

.pg3a-rtp-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pg3a-primary), var(--pg3a-gold));
}

/* ============ Testimonials ============ */
.pg3a-testimonial {
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.18);
  border-radius: var(--pg3a-radius);
  padding: 14px;
  margin-bottom: 10px;
}

.pg3a-testimonial-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pg3a-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg3a-primary), var(--pg3a-gold));
  color: #07211f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
}

.pg3a-stars {
  color: var(--pg3a-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.pg3a-testimonial p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--pg3a-text);
}

/* ============ Winners ============ */
.pg3a-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.14);
  border-radius: var(--pg3a-radius-sm);
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.pg3a-winner-name {
  font-weight: 700;
  color: var(--pg3a-primary);
}

.pg3a-winner-game {
  color: var(--pg3a-muted);
  font-size: 1.15rem;
}

.pg3a-winner-amount {
  color: var(--pg3a-gold);
  font-weight: 800;
}

/* ============ Payment methods ============ */
.pg3a-pay-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pg3a-pay {
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.18);
  border-radius: var(--pg3a-radius-sm);
  padding: 12px 4px;
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pg3a-text);
}

.pg3a-pay i {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 4px;
  color: var(--pg3a-primary);
}

/* ============ FAQ ============ */
.pg3a-faq-item {
  background: var(--pg3a-bg-2);
  border: 1px solid rgba(72, 209, 204, 0.18);
  border-radius: var(--pg3a-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.pg3a-faq-item details {
  padding: 12px 14px;
}

.pg3a-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.35rem;
  list-style: none;
  position: relative;
  padding-right: 22px;
}

.pg3a-faq-item summary::-webkit-details-marker { display: none; }

.pg3a-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pg3a-primary);
  font-size: 1.6rem;
}

.pg3a-faq-item details[open] summary::after { content: "−"; }

.pg3a-faq-item p {
  margin: 8px 0 0;
  color: var(--pg3a-muted);
  font-size: 1.25rem;
}

/* ============ App download CTA ============ */
.pg3a-app-cta {
  background: linear-gradient(135deg, rgba(72, 209, 204, 0.18), rgba(255, 212, 121, 0.12));
  border: 1px solid rgba(72, 209, 204, 0.35);
  border-radius: var(--pg3a-radius);
  padding: 16px;
  text-align: center;
}

.pg3a-app-cta h3 {
  margin-bottom: 6px;
}

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

.pg3a-app-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Footer ============ */
.pg3a-footer {
  background: var(--pg3a-bg-2);
  border-top: 1px solid rgba(72, 209, 204, 0.25);
  padding: 24px 0 100px;
}

.pg3a-footer h4 {
  color: var(--pg3a-primary);
  font-size: 1.35rem;
  margin: 14px 0 8px;
}

.pg3a-footer p {
  color: var(--pg3a-muted);
  font-size: 1.25rem;
}

.pg3a-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg3a-footer li {
  margin-bottom: 6px;
}

.pg3a-footer a {
  color: var(--pg3a-text);
  font-size: 1.25rem;
}

.pg3a-footer a:hover {
  color: var(--pg3a-gold);
}

.pg3a-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.pg3a-footer-bottom {
  text-align: center;
  font-size: 1.15rem;
  color: var(--pg3a-muted);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 14px;
}

/* ============ Bottom nav ============ */
.pg3a-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--pg3a-bnav-h);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.96), #070b10);
  border-top: 1px solid rgba(72, 209, 204, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.pg3a-bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--pg3a-muted);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 4px 2px;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
  min-width: 60px;
  min-height: 60px;
}

.pg3a-bnav-btn i,
.pg3a-bnav-btn span.material-icons-outlined,
.pg3a-bnav-btn ion-icon {
  font-size: 22px;
}

.pg3a-bnav-btn ion-icon { font-size: 24px; }

.pg3a-bnav-btn:hover {
  color: var(--pg3a-text);
}

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

.pg3a-bnav-btn.pg3a-is-current,
.pg3a-bnav-btn:hover {
  color: var(--pg3a-primary);
}

.pg3a-bnav-btn.pg3a-bnav-promo {
  color: var(--pg3a-gold);
}

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

.pg3a-bnav-label {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* ============ Mobile padding ============ */
main {
  padding-top: var(--pg3a-header-h);
  padding-bottom: 80px;
}

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .pg3a-bnav { display: none; }
  .pg3a-burger { display: none; }
  body { font-size: 1.6rem; }
  .pg3a-container { max-width: 960px; }
  .pg3a-grid { grid-template-columns: repeat(6, 1fr); }
  .pg3a-grid-4 { grid-template-columns: repeat(8, 1fr); }
  .pg3a-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .pg3a-pay-row { grid-template-columns: repeat(6, 1fr); }
  .pg3a-footer-promos { grid-template-columns: repeat(4, 1fr); }
  .pg3a-hero-slide img { height: 340px; }
  main { padding-top: var(--pg3a-header-h); padding-bottom: 30px; }
  .pg3a-footer { padding-bottom: 30px; }
}

@media (max-width: 380px) {
  .pg3a-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.85rem; }
}
