/* =====================================================================
   phcasino.homes - core basefile stylesheet
   All custom class names use the ga6c- prefix.
   Palette: lavender / sky-blue / steel / royal-blue / pale-cyan.
   Mobile-first layout, viewport capped at 430px for the shell.
   ===================================================================== */

:root {
  --ga6c-lavender: #E6E6FA;
  --ga6c-sky: #87CEEB;
  --ga6c-steel: #34495E;
  --ga6c-royal: #6495ED;
  --ga6c-cyan: #AFEEEE;
  --ga6c-bg: #2a3947;
  --ga6c-bg-2: #1d2a36;
  --ga6c-text: #f3f6fb;
  --ga6c-muted: #aab8c7;
  --ga6c-primary: #6495ED;
  --ga6c-accent: #E6E6FA;
  --ga6c-gold: #f4c95d;
  --ga6c-success: #4ade80;
  --ga6c-danger: #ff6b6b;
  --ga6c-radius: 14px;
  --ga6c-radius-sm: 9px;
  --ga6c-shadow: 0 6px 18px rgba(0,0,0,0.28);
  --ga6c-header-h: 56px;
  --ga6c-bottom-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--ga6c-bg) 0%, var(--ga6c-bg-2) 100%);
  color: var(--ga6c-text);
  line-height: 1.5;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--ga6c-cyan); text-decoration: none; }
a:hover { color: var(--ga6c-sky); }
ul, ol { list-style: none; }

.ga6c-skip {
  position: absolute; left: -9999px; top: 0; background: var(--ga6c-steel);
  color: var(--ga6c-accent); padding: 8px 14px; z-index: 9999; border-radius: 0 0 8px 0;
}
.ga6c-skip:focus { left: 0; }

/* ---------- App shell: capped at 430px on phones ---------- */
.ga6c-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--ga6c-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

@media (min-width: 769px) {
  .ga6c-shell { max-width: 480px; box-shadow: 0 0 40px rgba(0,0,0,0.55); }
}

/* ---------- Header ---------- */
.ga6c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--ga6c-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: linear-gradient(90deg, var(--ga6c-steel) 0%, #2a3f54 100%);
  border-bottom: 2px solid var(--ga6c-royal);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.ga6c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.ga6c-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, var(--ga6c-cyan), var(--ga6c-royal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: inset 0 0 8px rgba(255,255,255,0.35);
}
.ga6c-brand-name {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ga6c-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ga6c-brand-name span { color: var(--ga6c-cyan); }

.ga6c-header-btns { display: flex; gap: 6px; }
.ga6c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.ga6c-btn:active { transform: scale(0.95); }
.ga6c-btn-login {
  background: transparent;
  border: 1.5px solid var(--ga6c-sky);
  color: var(--ga6c-cyan);
}
.ga6c-btn-register {
  background: linear-gradient(135deg, var(--ga6c-royal), #4a78d8);
  color: #fff;
  box-shadow: 0 4px 12px rgba(100,149,237,0.45);
}
.ga6c-btn-register:hover { filter: brightness(1.08); }

.ga6c-menu-toggle {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--ga6c-accent);
  border-radius: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile slide-down menu ---------- */
.ga6c-mobile-menu {
  position: fixed;
  top: var(--ga6c-header-h);
  left: 0; right: 0;
  background: var(--ga6c-steel);
  border-bottom: 2px solid var(--ga6c-royal);
  padding: 10px 14px 16px;
  transform: translateY(-130%);
  transition: transform 0.28s ease;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 12px 24px rgba(0,0,0,0.45);
}
.ga6c-mobile-menu.ga6c-menu-open { transform: translateY(0); }
.ga6c-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ga6c-accent);
  font-size: 1.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ga6c-mobile-menu a:active { background: rgba(100,149,237,0.18); }
.ga6c-mobile-menu .ga6c-menu-label {
  font-size: 1.15rem;
  color: var(--ga6c-muted);
  padding: 8px 12px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Hero carousel ---------- */
.ga6c-hero {
  position: relative;
  margin: 12px;
  border-radius: var(--ga6c-radius);
  overflow: hidden;
  box-shadow: var(--ga6c-shadow);
}
.ga6c-hero-track { position: relative; height: 200px; }
.ga6c-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}
.ga6c-hero-slide.ga6c-slide-active { opacity: 1; }
.ga6c-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,30,40,0.85) 0%, rgba(20,30,40,0.15) 60%, rgba(20,30,40,0) 100%);
}
.ga6c-hero-caption {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  color: #fff;
}
.ga6c-hero-caption h2 { font-size: 1.9rem; margin-bottom: 4px; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.ga6c-hero-caption p { font-size: 1.3rem; color: var(--ga6c-cyan); margin-bottom: 8px; }
.ga6c-hero-cta {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ga6c-royal), #4a78d8);
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
}
.ga6c-hero-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 3;
}
.ga6c-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer;
}
.ga6c-hero-dot.ga6c-dot-active { background: var(--ga6c-gold); width: 18px; border-radius: 4px; }

/* ---------- Section frame ---------- */
.ga6c-section {
  margin: 18px 12px;
}
.ga6c-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ga6c-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ga6c-accent);
  display: flex; align-items: center; gap: 8px;
}
.ga6c-section-title i { color: var(--ga6c-sky); font-size: 1.9rem; }
.ga6c-section-link { font-size: 1.25rem; color: var(--ga6c-cyan); }

.ga6c-intro {
  padding: 14px;
  border-radius: var(--ga6c-radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(135,206,235,0.18);
  color: var(--ga6c-text);
  font-size: 1.4rem;
}
.ga6c-intro p { margin-bottom: 10px; }
.ga6c-intro h1 {
  font-size: 2.0rem;
  margin-bottom: 8px;
  color: var(--ga6c-accent);
  line-height: 1.3;
}
.ga6c-intro h2 {
  font-size: 1.7rem;
  margin: 12px 0 6px;
  color: var(--ga6c-sky);
}
.ga6c-intro h3 {
  font-size: 1.5rem;
  margin: 10px 0 4px;
  color: var(--ga6c-cyan);
}
.ga6c-intro strong { color: var(--ga6c-gold); }
.ga6c-intro a { color: var(--ga6c-cyan); text-decoration: underline; }

/* ---------- Search box ---------- */
.ga6c-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(135,206,235,0.2);
  border-radius: 999px;
  padding: 8px 14px;
  margin: 4px 12px 12px;
}
.ga6c-search i { color: var(--ga6c-sky); font-size: 1.6rem; }
.ga6c-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ga6c-text);
  font-size: 1.4rem;
}

/* ---------- Game grid ---------- */
.ga6c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ga6c-game-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--ga6c-radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(135,206,235,0.12);
}
.ga6c-game-card:active { transform: scale(0.96); }
.ga6c-game-card:hover { box-shadow: 0 6px 14px rgba(100,149,237,0.35); }
.ga6c-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #16202b;
}
.ga6c-game-name {
  font-size: 1.1rem;
  text-align: center;
  padding: 5px 4px;
  color: var(--ga6c-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0,0,0,0.25);
}
.ga6c-game-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--ga6c-gold);
  color: #2a1a00;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- Highlights / features ---------- */
.ga6c-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ga6c-feature {
  background: linear-gradient(135deg, rgba(100,149,237,0.18), rgba(175,238,238,0.08));
  border: 1px solid rgba(135,206,235,0.25);
  border-radius: var(--ga6c-radius);
  padding: 14px;
}
.ga6c-feature i {
  font-size: 2.2rem;
  color: var(--ga6c-cyan);
  margin-bottom: 6px;
}
.ga6c-feature h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
  color: var(--ga6c-accent);
}
.ga6c-feature p { font-size: 1.25rem; color: var(--ga6c-muted); line-height: 1.45; }

/* ---------- RTP strip ---------- */
.ga6c-rtp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ga6c-rtp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--ga6c-radius-sm);
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--ga6c-royal);
}
.ga6c-rtp-item span:first-child { color: var(--ga6c-accent); font-size: 1.25rem; }
.ga6c-rtp-item .ga6c-rtp-val { color: var(--ga6c-gold); font-weight: 700; font-size: 1.3rem; }

/* ---------- Testimonials ---------- */
.ga6c-reviews {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.ga6c-review {
  flex: 0 0 78%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(135,206,235,0.2);
  border-radius: var(--ga6c-radius);
  padding: 12px;
  scroll-snap-align: start;
}
.ga6c-review-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.ga6c-review-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ga6c-sky), var(--ga6c-royal));
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.ga6c-review-name { font-size: 1.3rem; color: var(--ga6c-accent); font-weight: 600; }
.ga6c-review-stars { color: var(--ga6c-gold); font-size: 1.1rem; }
.ga6c-review-text { font-size: 1.25rem; color: var(--ga6c-muted); }

/* ---------- Winners ---------- */
.ga6c-winners {
  background: rgba(255,255,255,0.04);
  border-radius: var(--ga6c-radius);
  padding: 8px 12px;
}
.ga6c-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 1.25rem;
}
.ga6c-winner-row:last-child { border-bottom: none; }
.ga6c-winner-name { color: var(--ga6c-cyan); }
.ga6c-winner-game { color: var(--ga6c-muted); font-size: 1.15rem; }
.ga6c-winner-amount { color: var(--ga6c-gold); font-weight: 700; }

/* ---------- Payment ---------- */
.ga6c-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ga6c-pay {
  flex: 1 1 calc(33.333% - 8px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(135,206,235,0.18);
  border-radius: var(--ga6c-radius-sm);
  padding: 10px;
  text-align: center;
}
.ga6c-pay i { font-size: 2.2rem; color: var(--ga6c-cyan); }
.ga6c-pay span { display: block; font-size: 1.15rem; color: var(--ga6c-muted); margin-top: 4px; }

/* ---------- App CTA ---------- */
.ga6c-app-cta {
  background: linear-gradient(135deg, var(--ga6c-royal), #2a3f54);
  border-radius: var(--ga6c-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ga6c-cyan);
}
.ga6c-app-cta-icon { font-size: 3rem; color: var(--ga6c-cyan); }
.ga6c-app-cta-text h3 { color: #fff; font-size: 1.55rem; margin-bottom: 4px; }
.ga6c-app-cta-text p { color: var(--ga6c-lavender); font-size: 1.25rem; margin-bottom: 8px; }
.ga6c-app-buttons { display: flex; gap: 6px; }
.ga6c-app-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--ga6c-cyan);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 1.15rem;
}

/* ---------- FAQ ---------- */
.ga6c-faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(135,206,235,0.15);
  border-radius: var(--ga6c-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.ga6c-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--ga6c-accent);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.ga6c-faq-q i { transition: transform 0.2s ease; color: var(--ga6c-sky); }
.ga6c-faq-item.ga6c-faq-open .ga6c-faq-q i { transform: rotate(180deg); }
.ga6c-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 14px;
  color: var(--ga6c-muted);
  font-size: 1.3rem;
}
.ga6c-faq-item.ga6c-faq-open .ga6c-faq-a {
  max-height: 320px;
  padding: 0 14px 12px;
}

/* ---------- CTA banner ---------- */
.ga6c-cta-banner {
  margin: 18px 12px;
  padding: 18px;
  border-radius: var(--ga6c-radius);
  text-align: center;
  background: linear-gradient(135deg, #2a3f54, var(--ga6c-royal));
  border: 1px solid var(--ga6c-cyan);
  box-shadow: var(--ga6c-shadow);
}
.ga6c-cta-banner h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.ga6c-cta-banner p { color: var(--ga6c-lavender); font-size: 1.3rem; margin-bottom: 12px; }
.ga6c-cta-banner .ga6c-btn { font-size: 1.4rem; padding: 10px 22px; }

/* ---------- Footer ---------- */
.ga6c-footer {
  background: var(--ga6c-bg-2);
  border-top: 2px solid var(--ga6c-royal);
  padding: 18px 14px 24px;
  margin-top: 14px;
}
.ga6c-footer-brand {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ga6c-accent);
  margin-bottom: 6px;
}
.ga6c-footer-desc {
  font-size: 1.25rem;
  color: var(--ga6c-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.ga6c-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.ga6c-footer-links a {
  font-size: 1.25rem;
  color: var(--ga6c-cyan);
  padding: 4px 0;
}
.ga6c-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.ga6c-footer-promos .ga6c-btn { flex: 1 1 calc(50% - 8px); font-size: 1.25rem; }
.ga6c-footer-copy {
  font-size: 1.15rem;
  color: var(--ga6c-muted);
  text-align: center;
  border-top: 1px dashed rgba(255,255,255,0.1);
  padding-top: 10px;
}

/* ---------- Bottom navigation ---------- */
.ga6c-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--ga6c-bottom-h);
  background: linear-gradient(180deg, #243447, #1a2734);
  border-top: 2px solid var(--ga6c-royal);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.35);
}
.ga6c-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ga6c-muted);
  font-size: 1.05rem;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}
.ga6c-bottom-nav a i { font-size: 2.2rem; }
.ga6c-bottom-nav a:active { transform: scale(0.9); }
.ga6c-bottom-nav a.ga6c-nav-active { color: var(--ga6c-gold); }
.ga6c-bottom-nav a.ga6c-nav-promo {
  color: var(--ga6c-cyan);
}
.ga6c-bottom-nav a.ga6c-nav-promo i {
  background: linear-gradient(135deg, var(--ga6c-royal), var(--ga6c-sky));
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-top: -10px;
  box-shadow: 0 4px 10px rgba(100,149,237,0.5);
  border: 2px solid var(--ga6c-cyan);
}

@media (min-width: 769px) {
  .ga6c-bottom-nav { display: none; }
}

/* Mobile bottom padding for content clearance */
@media (max-width: 768px) {
  main.ga6c-main { padding-bottom: 80px; }
}

.ga6c-no-scroll { overflow: hidden; }

/* ---------- Toast ---------- */
.ga6c-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--ga6c-bottom-h) + 14px);
  transform: translateX(-50%) translateY(20px);
  background: var(--ga6c-steel);
  color: var(--ga6c-accent);
  border: 1px solid var(--ga6c-cyan);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  pointer-events: none;
}
.ga6c-toast.ga6c-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Back-to-top ---------- */
.ga6c-to-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--ga6c-bottom-h) + 14px);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ga6c-royal);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 900;
  box-shadow: var(--ga6c-shadow);
  display: none;
}
@media (min-width: 769px) {
  .ga6c-to-top { bottom: 18px; }
}

/* ---------- Tag list ---------- */
.ga6c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ga6c-tag {
  background: rgba(100,149,237,0.18);
  border: 1px solid var(--ga6c-royal);
  color: var(--ga6c-cyan);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 1.15rem;
}

/* ---------- Trusted/security row ---------- */
.ga6c-trust {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}
.ga6c-trust-item i { font-size: 2.4rem; color: var(--ga6c-cyan); }
.ga6c-trust-item span { display: block; font-size: 1.15rem; color: var(--ga6c-muted); margin-top: 4px; }

/* ---------- Achievement grid ---------- */
.ga6c-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ga6c-achievement {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,201,93,0.3);
  border-radius: var(--ga6c-radius-sm);
  padding: 10px 6px;
  text-align: center;
}
.ga6c-achievement .ga6c-ach-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ga6c-gold);
}
.ga6c-achievement .ga6c-ach-label {
  font-size: 1.05rem;
  color: var(--ga6c-muted);
}

/* Desktop tweaks */
@media (min-width: 769px) {
  body { background: #0f1822; padding: 20px 0; }
  .ga6c-grid { grid-template-columns: repeat(4, 1fr); }
  .ga6c-features { grid-template-columns: repeat(3, 1fr); }
  .ga6c-rtp { grid-template-columns: repeat(3, 1fr); }
}
