/* abc login theme - prefix: pg10- | palette: #262626 #FFB347 #4682B4 */
:root {
  --pg10-bg: #262626;
  --pg10-bg-soft: #2f2f2f;
  --pg10-bg-card: #333333;
  --pg10-primary: #FFB347;
  --pg10-secondary: #4682B4;
  --pg10-text: #f5f5f5;
  --pg10-text-muted: #c8c8c8;
  --pg10-border: #404040;
  --pg10-success: #3cb371;
  --pg10-danger: #e05a5a;
  --pg10-radius: 0.8rem;
  --pg10-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
  --pg10-header-h: 5.6rem;
  --pg10-bottom-h: 6.0rem;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  background: var(--pg10-bg);
  color: var(--pg10-text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pg10-primary); text-decoration: none; }
a:hover { color: #ffc56e; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.pg10-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* Header */
.pg10-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(38, 38, 38, 0.96);
  border-bottom: 1px solid var(--pg10-border);
  backdrop-filter: blur(8px);
  height: var(--pg10-header-h);
}

.pg10-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

.pg10-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.pg10-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  object-fit: cover;
}

.pg10-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg10-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg10-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pg10-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

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

.pg10-btn-primary {
  background: linear-gradient(135deg, var(--pg10-primary), #ff9a1f);
  color: #1a1a1a;
  box-shadow: 0 0.2rem 0.8rem rgba(255, 179, 71, 0.35);
}

.pg10-btn-secondary {
  background: var(--pg10-secondary);
  color: #fff;
  box-shadow: 0 0.2rem 0.8rem rgba(70, 130, 180, 0.35);
}

.pg10-btn-outline {
  border: 1px solid var(--pg10-primary);
  color: var(--pg10-primary);
  background: transparent;
}

.pg10-btn-block { width: 100%; }

.pg10-menu-toggle {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: var(--pg10-bg-card);
  color: var(--pg10-primary);
  font-size: 2rem;
}

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

.pg10-overlay-show {
  opacity: 1;
  visibility: visible;
}

.pg10-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 30rem);
  height: 100%;
  background: #1f1f1f;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 2rem 1.6rem 8rem;
  border-left: 1px solid var(--pg10-border);
}

.pg10-menu-open { transform: translateX(0); }

.pg10-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.pg10-menu-close {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pg10-bg-card);
  color: var(--pg10-text);
  font-size: 1.8rem;
}

.pg10-menu-list { display: flex; flex-direction: column; gap: 0.4rem; }

.pg10-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1rem;
  border-radius: var(--pg10-radius);
  color: var(--pg10-text);
  font-size: 1.4rem;
  font-weight: 600;
  min-height: 4.4rem;
  background: transparent;
  transition: background 0.2s ease;
}

.pg10-menu-list a:hover,
.pg10-menu-list a:active {
  background: var(--pg10-bg-card);
  color: var(--pg10-primary);
}

.pg10-menu-list a i,
.pg10-menu-list a .material-icons,
.pg10-menu-list a .bi { font-size: 2rem; color: var(--pg10-secondary); width: 2.4rem; text-align: center; }

.pg10-menu-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Main content */
.pg10-main {
  padding-top: calc(var(--pg10-header-h) + 1rem);
  padding-bottom: 2rem;
  max-width: 430px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pg10-main { padding-bottom: 8.5rem; }
}

/* Hero / Slider */
.pg10-hero {
  position: relative;
  margin: 0 1.2rem 1.6rem;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--pg10-shadow);
  aspect-ratio: 16 / 9;
  background: var(--pg10-bg-card);
}

.pg10-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.pg10-slide-active { opacity: 1; z-index: 1; }

.pg10-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg10-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 2;
}

.pg10-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.pg10-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.2s, transform 0.2s;
}

.pg10-dot-active {
  background: var(--pg10-primary);
  transform: scale(1.25);
}

/* Sections */
.pg10-section {
  padding: 1.6rem 1.2rem;
  margin-bottom: 0.4rem;
}

.pg10-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pg10-primary);
  margin-bottom: 1rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg10-section-title .material-icons,
.pg10-section-title i { font-size: 2rem; color: var(--pg10-secondary); }

.pg10-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pg10-primary);
  line-height: 1.35;
  margin: 0 1.2rem 1.2rem;
  text-align: center;
}

.pg10-lead {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--pg10-text-muted);
  margin: 0 1.2rem 1.6rem;
  text-align: center;
}

.pg10-text-block {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--pg10-text-muted);
  margin-bottom: 1.2rem;
}

.pg10-text-block strong { color: var(--pg10-primary); font-weight: 700; }

.pg10-text-block a {
  color: var(--pg10-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Game grid */
.pg10-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.pg10-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  min-width: 0;
}

.pg10-game-item:active { transform: scale(0.94); }

.pg10-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--pg10-bg-card);
  border: 1px solid var(--pg10-border);
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.25);
  margin-bottom: 0.4rem;
}

.pg10-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg10-game-name {
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  color: var(--pg10-text);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

/* Cards */
.pg10-card {
  background: var(--pg10-bg-card);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--pg10-shadow);
}

.pg10-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg10-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pg10-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pg10-feature-item {
  background: var(--pg10-bg-soft);
  border-radius: var(--pg10-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--pg10-border);
}

.pg10-feature-item .material-icons,
.pg10-feature-item i,
.pg10-feature-item .bi {
  font-size: 2.4rem;
  color: var(--pg10-primary);
  margin-bottom: 0.6rem;
  display: block;
}

.pg10-feature-item h3 {
  font-size: 1.3rem;
  color: var(--pg10-text);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.pg10-feature-item p {
  font-size: 1.15rem;
  color: var(--pg10-text-muted);
  line-height: 1.45;
}

/* FAQ */
.pg10-faq-item {
  background: var(--pg10-bg-card);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}

.pg10-faq-q {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pg10-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pg10-faq-a {
  font-size: 1.25rem;
  color: var(--pg10-text-muted);
  line-height: 1.6;
}

/* Stats / RTP */
.pg10-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.pg10-stat {
  background: linear-gradient(160deg, var(--pg10-bg-card), #2a2a2a);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius);
  padding: 1rem 0.6rem;
  text-align: center;
}

.pg10-stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pg10-primary);
  display: block;
  margin-bottom: 0.3rem;
}

.pg10-stat-label {
  font-size: 1rem;
  color: var(--pg10-text-muted);
  line-height: 1.3;
}

/* Testimonials */
.pg10-review {
  background: var(--pg10-bg-soft);
  border-left: 3px solid var(--pg10-secondary);
  border-radius: 0 0.8rem 0.8rem 0;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.pg10-review-name {
  font-weight: 700;
  color: var(--pg10-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.pg10-review-text {
  font-size: 1.25rem;
  color: var(--pg10-text-muted);
  line-height: 1.55;
  font-style: italic;
}

.pg10-stars { color: var(--pg10-primary); font-size: 1.2rem; margin-bottom: 0.4rem; }

/* Winners */
.pg10-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--pg10-border);
  font-size: 1.25rem;
}

.pg10-winner-row:last-child { border-bottom: none; }
.pg10-winner-amt { color: var(--pg10-success); font-weight: 700; }

/* Payment */
.pg10-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  text-align: center;
}

.pg10-pay-item {
  background: var(--pg10-bg-soft);
  border-radius: 0.8rem;
  padding: 1rem 0.4rem;
  border: 1px solid var(--pg10-border);
  font-size: 1.1rem;
  color: var(--pg10-text-muted);
  font-weight: 600;
}

.pg10-pay-item i,
.pg10-pay-item .material-icons {
  display: block;
  font-size: 2.2rem;
  color: var(--pg10-secondary);
  margin-bottom: 0.4rem;
}

/* CTA box */
.pg10-cta-box {
  background: linear-gradient(135deg, #2a3a4a, #2a2a2a 50%, #3a2e1a);
  border: 1px solid var(--pg10-primary);
  border-radius: 1.2rem;
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 1.6rem 1.2rem;
  box-shadow: var(--pg10-shadow);
}

.pg10-cta-box h2 {
  font-size: 1.8rem;
  color: var(--pg10-primary);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.pg10-cta-box p {
  font-size: 1.3rem;
  color: var(--pg10-text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.55;
}

.pg10-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Steps */
.pg10-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.pg10-step-num {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--pg10-primary);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pg10-step-body h3 {
  font-size: 1.4rem;
  color: var(--pg10-text);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.pg10-step-body p {
  font-size: 1.25rem;
  color: var(--pg10-text-muted);
  line-height: 1.55;
}

/* Footer */
.pg10-footer {
  background: #1a1a1a;
  border-top: 1px solid var(--pg10-border);
  padding: 2.4rem 1.2rem 2rem;
  max-width: 430px;
  margin: 0 auto;
}

.pg10-footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pg10-primary);
  margin-bottom: 0.8rem;
}

.pg10-footer-desc {
  font-size: 1.2rem;
  color: var(--pg10-text-muted);
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.pg10-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.pg10-footer-btns .pg10-btn {
  font-size: 1.1rem;
  min-height: 3.4rem;
  padding: 0.5rem 1rem;
}

.pg10-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.6rem;
}

.pg10-footer-links a {
  font-size: 1.2rem;
  color: var(--pg10-text-muted);
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.pg10-footer-links a:hover { color: var(--pg10-primary); }

.pg10-footer-copy {
  font-size: 1.1rem;
  color: #888;
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--pg10-border);
  line-height: 1.5;
}

/* Bottom navigation - unique design */
.pg10-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--pg10-bottom-h);
  background: linear-gradient(180deg, #2c2c2c 0%, #1e1e1e 100%);
  border-top: 2px solid var(--pg10-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -0.4rem 1.2rem rgba(0, 0, 0, 0.4);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.pg10-bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  color: var(--pg10-text-muted);
  transition: color 0.2s ease, transform 0.15s ease;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4rem 0.2rem;
}

.pg10-bnav-btn i,
.pg10-bnav-btn .material-icons,
.pg10-bnav-btn .bi,
.pg10-bnav-btn ion-icon {
  font-size: 2.2rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.pg10-bnav-btn .material-icons { font-size: 2.4rem; }

.pg10-bnav-btn span {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg10-bnav-btn:active {
  transform: scale(0.92);
  color: var(--pg10-primary);
}

.pg10-bnav-btn:active i,
.pg10-bnav-btn:active .material-icons {
  transform: scale(1.1);
}

.pg10-bnav-active {
  color: var(--pg10-primary);
}

.pg10-bnav-active i,
.pg10-bnav-active .material-icons {
  color: var(--pg10-primary);
  text-shadow: 0 0 0.8rem rgba(255, 179, 71, 0.5);
}

.pg10-bnav-promo {
  position: relative;
}

.pg10-bnav-promo::after {
  content: '';
  position: absolute;
  top: 0.6rem;
  right: 1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--pg10-danger);
  border-radius: 50%;
  box-shadow: 0 0 0.4rem var(--pg10-danger);
}

@media (min-width: 769px) {
  .pg10-bottom-nav { display: none; }
  .pg10-main { padding-bottom: 3rem; max-width: 430px; }
  body { background: #1a1a1a; }
  .pg10-header-inner,
  .pg10-footer,
  .pg10-wrapper,
  .pg10-container { max-width: 430px; }
}

/* Utility */
.pg10-mt-1 { margin-top: 1rem; }
.pg10-mt-2 { margin-top: 1.6rem; }
.pg10-mb-1 { margin-bottom: 1rem; }
.pg10-mb-2 { margin-bottom: 1.6rem; }
.pg10-text-center { text-align: center; }
.pg10-link-bold {
  color: var(--pg10-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pg10-badge {
  display: inline-block;
  background: var(--pg10-secondary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.pg10-divider {
  height: 1px;
  background: var(--pg10-border);
  margin: 1.6rem 0;
}
