/*!
 * vip ph777 login - Mobile-first casino styles
 * Class prefix: pg7a-
 * Palette: #FF5722 / #BAE1FF / #0C0C0C / #FF7F50 / #AD1457
 * Dark backgrounds, light text for high-contrast mobile readability.
 */
:root {
  --pg7a-primary: #FF5722;
  --pg7a-accent: #BAE1FF;
  --pg7a-bg: #0C0C0C;
  --pg7a-coral: #FF7F50;
  --pg7a-pink: #AD1457;
  --pg7a-text: #F5F7FB;
  --pg7a-muted: #9AA3B2;
  --pg7a-card: #161616;
  --pg7a-card-2: #1F1F1F;
  --pg7a-border: rgba(186, 225, 255, 0.12);
  --pg7a-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --pg7a-radius: 14px;
  --pg7a-radius-sm: 10px;
  --pg7a-header-h: 60px;
  --pg7a-bottom-h: 62px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 87, 34, 0.18), transparent 60%),
              linear-gradient(180deg, #0C0C0C 0%, #111317 100%);
  color: var(--pg7a-text);
  line-height: 1.55;
  font-size: 1.5rem;
  overflow-x: hidden;
}
body.pg7a-body-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--pg7a-accent); text-decoration: none; }
a:hover { color: #fff; }

.pg7a-wrapper { max-width: 430px; margin: 0 auto; position: relative; }
@media (min-width: 769px) {
  .pg7a-wrapper { max-width: 960px; }
}

/* ---------- Header ---------- */
.pg7a-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pg7a-border);
  transition: box-shadow .25s ease, background .25s ease;
}
.pg7a-header.pg7a-scrolled { box-shadow: var(--pg7a-shadow); background: rgba(12, 12, 12, 0.98); }
.pg7a-header-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; min-height: var(--pg7a-header-h);
}
.pg7a-brand { display: flex; align-items: center; gap: 8px; }
.pg7a-brand img { width: 32px; height: 32px; border-radius: 8px; }
.pg7a-brand-text { font-weight: 800; color: #fff; font-size: 1.6rem; letter-spacing: .3px; }
.pg7a-brand-text span { color: var(--pg7a-primary); }

.pg7a-header-actions { display: flex; align-items: center; gap: 8px; }
.pg7a-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 1.3rem; border: none; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; transition: transform .15s ease, filter .2s ease;
  min-height: 36px;
}
.pg7a-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pg7a-btn-login { background: transparent; color: var(--pg7a-accent); border: 1px solid var(--pg7a-border); }
.pg7a-btn-register { background: linear-gradient(135deg, var(--pg7a-primary), var(--pg7a-coral)); color: #fff; box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35); }

.pg7a-menu-toggle {
  background: transparent; border: 1px solid var(--pg7a-border); color: #fff;
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile menu ---------- */
.pg7a-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.pg7a-menu-overlay.pg7a-active { opacity: 1; visibility: visible; }
.pg7a-mobile-menu {
  position: fixed; top: 0; right: -86%; width: 80%; max-width: 320px; height: 100vh;
  background: linear-gradient(180deg, #14171C 0%, #0C0C0C 100%);
  border-left: 1px solid var(--pg7a-border);
  z-index: 9999; padding: 22px 18px; overflow-y: auto;
  transform: translateX(0); transition: right .28s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.pg7a-mobile-menu.pg7a-active { right: 0; }
.pg7a-mobile-menu h3 { font-size: 1.5rem; margin: 18px 0 8px; color: var(--pg7a-muted); text-transform: uppercase; letter-spacing: 1px; }
.pg7a-mobile-menu a {
  display: block; padding: 11px 12px; margin: 4px 0; border-radius: 8px;
  color: var(--pg7a-text); background: var(--pg7a-card); font-size: 1.45rem;
}
.pg7a-mobile-menu a:hover { background: var(--pg7a-card-2); color: var(--pg7a-primary); }

/* ---------- Carousel ---------- */
.pg7a-carousel {
  position: relative; margin: 12px 0; border-radius: var(--pg7a-radius); overflow: hidden;
  box-shadow: var(--pg7a-shadow);
}
.pg7a-carousel-track { position: relative; }
.pg7a-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  display: flex; align-items: flex-end;
}
.pg7a-carousel-slide.pg7a-active { position: relative; opacity: 1; }
.pg7a-carousel-slide img { width: 100%; height: 190px; object-fit: cover; }
@media (min-width: 431px) { .pg7a-carousel-slide img { height: 260px; } }
.pg7a-carousel-caption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 100%);
  padding: 24px 14px 10px; border-radius: 10px;
}
.pg7a-carousel-caption strong { color: #fff; font-size: 1.7rem; display: block; }
.pg7a-carousel-caption span { color: var(--pg7a-accent); font-size: 1.25rem; }
.pg7a-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 100%;
  display: flex; justify-content: space-between; padding: 0 8px; pointer-events: none;
}
.pg7a-carousel-nav button {
  pointer-events: auto; width: 32px; height: 32px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.55); color: #fff; cursor: pointer; font-size: 1.4rem;
}
.pg7a-carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 6px 0 4px; }
.pg7a-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; }
.pg7a-carousel-dot.pg7a-active { background: var(--pg7a-primary); width: 22px; border-radius: 4px; }

/* ---------- Layout ---------- */
main { padding: 6px 12px 90px; }
@media (min-width: 769px) { main { padding: 10px 20px 30px; } }

.pg7a-section { margin: 26px 0; }
.pg7a-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pg7a-section-title { font-size: 1.9rem; font-weight: 800; color: #fff; margin: 0; }
.pg7a-section-title em { color: var(--pg7a-primary); font-style: normal; }
.pg7a-section-link { font-size: 1.25rem; color: var(--pg7a-accent); }
.pg7a-lead { color: var(--pg7a-muted); font-size: 1.4rem; margin: 6px 0 14px; }

h1.pg7a-h1 { font-size: 2.4rem; line-height: 1.25; margin: 14px 0 6px; color: #fff; }
h2 { color: #fff; font-size: 2rem; margin: 22px 0 8px; }
h3 { color: var(--pg7a-accent); font-size: 1.6rem; margin: 14px 0 6px; }
p { margin: 8px 0; color: var(--pg7a-text); }

/* ---------- Game grid ---------- */
.pg7a-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (min-width: 431px) { .pg7a-game-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (min-width: 769px) { .pg7a-game-grid { grid-template-columns: repeat(6, 1fr); } }
.pg7a-game-card {
  background: var(--pg7a-card); border: 1px solid var(--pg7a-border); border-radius: var(--pg7a-radius-sm);
  padding: 6px; cursor: pointer; overflow: hidden; transition: transform .15s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; align-items: center;
}
.pg7a-game-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 87, 34, 0.25); border-color: var(--pg7a-primary); }
.pg7a-game-card img { width: 100%; height: 78px; object-fit: cover; border-radius: 8px; background: #222; }
@media (min-width: 431px) { .pg7a-game-card img { height: 90px; } }
.pg7a-game-name { font-size: 1.15rem; color: var(--pg7a-text); margin-top: 4px; text-align: center; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg7a-game-tag { font-size: 1rem; color: var(--pg7a-coral); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Promo / feature blocks ---------- */
.pg7a-grid-2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 431px) { .pg7a-grid-2 { grid-template-columns: 1fr 1fr; } }
.pg7a-card {
  background: linear-gradient(160deg, var(--pg7a-card) 0%, var(--pg7a-card-2) 100%);
  border: 1px solid var(--pg7a-border); border-radius: var(--pg7a-radius);
  padding: 14px; box-shadow: var(--pg7a-shadow);
}
.pg7a-card.pg7a-accent-card { border-left: 4px solid var(--pg7a-primary); }
.pg7a-card.pg7a-pink-card { border-left: 4px solid var(--pg7a-pink); }
.pg7a-card h3 { margin-top: 0; }
.pg7a-icon-circle {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 87, 34, 0.15); color: var(--pg7a-primary); font-size: 2rem; margin-bottom: 6px;
}
.pg7a-text-link { color: var(--pg7a-primary); font-weight: 700; }
.pg7a-text-link:hover { text-decoration: underline; color: var(--pg7a-coral); }

.pg7a-cta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.18), rgba(173, 20, 87, 0.18));
  border: 1px solid var(--pg7a-border); border-radius: var(--pg7a-radius);
  padding: 18px 14px; margin: 20px 0; text-align: center;
}
.pg7a-cta strong { color: #fff; font-size: 1.7rem; width: 100%; display: block; }
.pg7a-cta .pg7a-btn-register { font-size: 1.5rem; padding: 10px 22px; }

/* ---------- Testimonials, winners ---------- */
.pg7a-chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.pg7a-chip {
  flex: 0 0 auto; background: var(--pg7a-card); border: 1px solid var(--pg7a-border);
  border-radius: 999px; padding: 8px 14px; font-size: 1.25rem; color: var(--pg7a-text);
}
.pg7a-chip b { color: var(--pg7a-primary); }
.pg7a-winners { background: var(--pg7a-card); border-radius: var(--pg7a-radius); padding: 10px 12px; border: 1px solid var(--pg7a-border); }
.pg7a-winner-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--pg7a-border); font-size: 1.3rem; }
.pg7a-winner-row:last-child { border-bottom: none; }
.pg7a-winner-name { color: var(--pg7a-accent); font-weight: 700; }
.pg7a-winner-amount { color: var(--pg7a-primary); font-weight: 800; }

/* ---------- Payment methods ---------- */
.pg7a-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pg7a-pay-item {
  flex: 1 1 28%; background: var(--pg7a-card); border: 1px solid var(--pg7a-border);
  border-radius: 10px; padding: 10px; text-align: center; font-size: 1.2rem; color: var(--pg7a-muted);
}
.pg7a-pay-item i { color: var(--pg7a-coral); font-size: 2rem; display: block; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.pg7a-footer {
  margin-top: 30px; padding: 24px 16px; border-top: 1px solid var(--pg7a-border);
  background: linear-gradient(180deg, #0C0C0C 0%, #050505 100%); color: var(--pg7a-muted);
}
.pg7a-footer-cols { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 431px) { .pg7a-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 769px) { .pg7a-footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.pg7a-footer h4 { color: #fff; font-size: 1.4rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .6px; }
.pg7a-footer a { color: var(--pg7a-muted); font-size: 1.25rem; display: block; padding: 4px 0; }
.pg7a-footer a:hover { color: var(--pg7a-primary); }
.pg7a-footer-brand { color: #fff; font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; }
.pg7a-footer-brand span { color: var(--pg7a-primary); }
.pg7a-footer-bottom { text-align: center; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--pg7a-border); font-size: 1.15rem; }

/* ---------- Bottom navigation ---------- */
.pg7a-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(8, 8, 8, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--pg7a-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: var(--pg7a-bottom-h); padding: 4px 0;
}
.pg7a-bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--pg7a-muted); font-size: 1.05rem; gap: 2px; cursor: pointer; text-decoration: none;
  transition: color .2s ease, transform .15s ease; min-width: 60px; min-height: 54px;
}
.pg7a-bottom-nav a i, .pg7a-bottom-nav a span.material-icons-outlined, .pg7a-bottom-nav a ion-icon {
  font-size: 22px; line-height: 1;
}
.pg7a-bottom-nav a.pg7a-active { color: var(--pg7a-primary); }
.pg7a-bottom-nav a:hover { color: #fff; transform: translateY(-2px); }
.pg7a-bottom-nav a.pg7a-bottom-promo { color: var(--pg7a-coral); }
.pg7a-bottom-nav a.pg7a-bottom-promo:hover { color: var(--pg7a-primary); }
@media (min-width: 769px) { .pg7a-bottom-nav { display: none; } }

/* ---------- Reveal animation ---------- */
.pg7a-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.pg7a-reveal.pg7a-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.pg7a-container { width: 100%; }
.pg7a-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pg7a-back-top {
  position: fixed; right: 14px; bottom: calc(var(--pg7a-bottom-h) + 14px); z-index: 999;
  width: 40px; height: 40px; border-radius: 50%; background: var(--pg7a-primary); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: var(--pg7a-shadow);
}
@media (min-width: 769px) { .pg7a-back-top { bottom: 18px; } }
