/* plus777 casino - layout.css
   Core stylesheet using prefix pg06-
   Mobile-first design (max-width: 430px base)
   Color palette: #1B263B (dark) | #AD1457 (accent)
   Root font: 62.5% for rem units (1rem = 10px) */

:root {
  --pg06-primary: #1B263B;
  --pg06-primary-light: #2A3854;
  --pg06-accent: #AD1457;
  --pg06-accent-light: #E91E63;
  --pg06-accent-dark: #880E4F;
  --pg06-bg: #0F1828;
  --pg06-bg-alt: #16223A;
  --pg06-text: #F5F5F7;
  --pg06-text-muted: #B0B7C3;
  --pg06-border: #2C3A55;
  --pg06-gold: #FFB300;
  --pg06-success: #2EC4B6;
  --pg06-gradient: linear-gradient(135deg, #AD1457 0%, #1B263B 100%);
  --pg06-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  --pg06-radius: 12px;
  --pg06-radius-sm: 8px;
  --pg06-transition: 0.25s ease;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

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

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

a { color: var(--pg06-accent-light); text-decoration: none; transition: color var(--pg06-transition); }
a:hover { color: var(--pg06-gold); }

button { font-family: inherit; }

.pg06-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg06-wrapper { width: 100%; }
.pg06-text-center { text-align: center; }
.pg06-mt-1 { margin-top: 0.5rem; }
.pg06-mt-2 { margin-top: 1rem; }
.pg06-mb-1 { margin-bottom: 0.5rem; }
.pg06-mb-2 { margin-bottom: 1rem; }
.pg06-hidden { display: none !important; }

/* Header */
.pg06-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--pg06-primary) 0%, var(--pg06-bg-alt) 100%);
  border-bottom: 1px solid var(--pg06-border);
  box-shadow: var(--pg06-shadow);
}
.pg06-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; gap: 0.6rem;
}
.pg06-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.pg06-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg06-logo-text {
  font-size: 1.6rem; font-weight: 800; color: var(--pg06-text);
  letter-spacing: 0.02em;
}
.pg06-logo-text span { color: var(--pg06-accent-light); }
.pg06-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg06-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; padding: 0.7rem 1.1rem;
  border-radius: var(--pg06-radius-sm); cursor: pointer;
  transition: transform var(--pg06-transition), background var(--pg06-transition);
  border: none; min-height: 36px; font-family: inherit;
}
.pg06-btn:hover { transform: translateY(-1px); }
.pg06-btn-register {
  background: linear-gradient(135deg, var(--pg06-accent) 0%, var(--pg06-accent-dark) 100%);
  color: #fff; box-shadow: 0 3px 10px rgba(173, 20, 87, 0.4);
}
.pg06-btn-login {
  background: transparent; color: var(--pg06-text);
  border: 1.5px solid var(--pg06-accent);
}
.pg06-btn-login:hover { background: rgba(173, 20, 87, 0.15); }
.pg06-menu-toggle {
  background: transparent; border: none; color: var(--pg06-text);
  cursor: pointer; padding: 0.4rem; font-size: 2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px;
}

/* Mobile menu */
.pg06-mobile-menu {
  position: fixed; top: 0; right: -290px; width: 280px; height: 100vh;
  background: var(--pg06-primary); z-index: 9999;
  padding: 5rem 1.4rem 2rem;
  transition: right 0.3s ease; overflow-y: auto;
  border-left: 1px solid var(--pg06-border);
}
.pg06-mobile-menu.pg06-menu-open { right: 0; }
.pg06-mobile-menu h3 {
  color: var(--pg06-accent-light); font-size: 1.3rem;
  font-weight: 700; margin: 1.3rem 0 0.5rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.pg06-mobile-menu a {
  display: block; padding: 0.75rem 1rem; color: var(--pg06-text);
  font-size: 1.3rem; border-radius: var(--pg06-radius-sm);
  margin-bottom: 0.3rem; transition: background var(--pg06-transition);
}
.pg06-mobile-menu a:hover { background: rgba(173, 20, 87, 0.2); color: var(--pg06-text); }
.pg06-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.pg06-menu-overlay.pg06-overlay-active { opacity: 1; pointer-events: auto; }
.pg06-menu-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: transparent; border: none; color: var(--pg06-text);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* Main content area */
.pg06-main { padding-top: 6rem; padding-bottom: 90px; }

/* Hero carousel */
.pg06-carousel {
  position: relative; width: 100%; height: 180px;
  border-radius: var(--pg06-radius); overflow: hidden;
  box-shadow: var(--pg06-shadow); margin-bottom: 1.5rem;
}
.pg06-carousel-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.6s ease; cursor: pointer;
}
.pg06-carousel-slide.pg06-slide-active { opacity: 1; }
.pg06-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg06-carousel-overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 4rem;
  background: rgba(15, 24, 40, 0.85);
  padding: 0.6rem 1rem; border-radius: var(--pg06-radius-sm);
  border-left: 3px solid var(--pg06-accent);
}
.pg06-carousel-overlay h2 { color: var(--pg06-text); font-size: 1.5rem; font-weight: 800; }
.pg06-carousel-overlay p { color: var(--pg06-text-muted); font-size: 1.15rem; }
.pg06-carousel-dots {
  position: absolute; bottom: 0.7rem; right: 0.9rem;
  display: flex; gap: 0.4rem;
}
.pg06-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); cursor: pointer;
  border: none; transition: background var(--pg06-transition);
}
.pg06-carousel-dot.pg06-dot-active { background: var(--pg06-accent-light); }

/* Sections */
.pg06-section { margin-bottom: 2.4rem; }
.pg06-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--pg06-text);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pg06-accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.pg06-section-title i,
.pg06-section-title .material-icons-outlined,
.pg06-section-title .material-icons {
  color: var(--pg06-accent-light); font-size: 2rem;
}
.pg06-section-text { color: var(--pg06-text-muted); font-size: 1.3rem; line-height: 1.65; }
.pg06-section-text strong { color: var(--pg06-accent-light); }
.pg06-section-text a { font-weight: 700; }

/* H1 hero */
.pg06-h1 {
  font-size: 2rem; font-weight: 800; color: var(--pg06-text);
  margin-bottom: 1rem; line-height: 1.3;
}
.pg06-h1 span { color: var(--pg06-accent-light); }

/* Game grid */
.pg06-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem; margin-bottom: 1rem;
}
.pg06-game-card {
  background: var(--pg06-primary-light); border-radius: var(--pg06-radius-sm);
  padding: 0.45rem; text-align: center; cursor: pointer;
  transition: transform var(--pg06-transition), box-shadow var(--pg06-transition), border-color var(--pg06-transition);
  border: 1px solid var(--pg06-border); overflow: hidden;
  text-decoration: none; display: block;
}
.pg06-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(173, 20, 87, 0.35);
  border-color: var(--pg06-accent);
}
.pg06-game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.35rem;
}
.pg06-game-name {
  font-size: 1.1rem; color: var(--pg06-text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* CTA buttons */
.pg06-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--pg06-accent) 0%, var(--pg06-accent-dark) 100%);
  color: #fff; padding: 0.9rem 1.8rem; border-radius: var(--pg06-radius-sm);
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  border: none; box-shadow: 0 4px 14px rgba(173, 20, 87, 0.4);
  transition: transform var(--pg06-transition); min-height: 44px;
  font-family: inherit;
}
.pg06-cta:hover { transform: translateY(-2px); color: #fff; }
.pg06-cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }

/* Feature cards */
.pg06-feature-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.pg06-feature-card {
  background: linear-gradient(135deg, var(--pg06-primary-light) 0%, var(--pg06-primary) 100%);
  border-radius: var(--pg06-radius); padding: 1.1rem 1.2rem;
  border: 1px solid var(--pg06-border); border-left: 4px solid var(--pg06-accent);
}
.pg06-feature-card h3 {
  color: var(--pg06-accent-light); font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
}
.pg06-feature-card p { color: var(--pg06-text-muted); font-size: 1.25rem; line-height: 1.55; }

/* RTP table */
.pg06-rtp-table {
  width: 100%; border-collapse: collapse; margin: 1rem 0;
  background: var(--pg06-primary-light); border-radius: var(--pg06-radius-sm);
  overflow: hidden;
}
.pg06-rtp-table th, .pg06-rtp-table td {
  padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--pg06-border);
  font-size: 1.2rem;
}
.pg06-rtp-table th { background: var(--pg06-accent-dark); color: #fff; font-weight: 700; }
.pg06-rtp-table tr:last-child td { border-bottom: none; }
.pg06-rtp-high { color: var(--pg06-success); font-weight: 700; }

/* Testimonials */
.pg06-testimonial {
  background: var(--pg06-primary-light); border-radius: var(--pg06-radius);
  padding: 1rem 1.2rem; margin-bottom: 0.7rem;
  border-left: 3px solid var(--pg06-gold);
}
.pg06-testimonial p { color: var(--pg06-text); font-size: 1.25rem; font-style: italic; }
.pg06-testimonial-author {
  margin-top: 0.5rem; font-size: 1.15rem; color: var(--pg06-accent-light); font-weight: 700;
}
.pg06-stars { color: var(--pg06-gold); font-size: 1.2rem; margin-bottom: 0.3rem; }

/* Payment methods */
.pg06-payment-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.pg06-payment-item {
  background: var(--pg06-primary-light); border-radius: var(--pg06-radius-sm);
  padding: 0.7rem; text-align: center; border: 1px solid var(--pg06-border);
}
.pg06-payment-item i,
.pg06-payment-item .material-icons-outlined { font-size: 2rem; color: var(--pg06-accent-light); }
.pg06-payment-item span { display: block; margin-top: 0.3rem; font-size: 1.1rem; color: var(--pg06-text); }

/* Winners showcase */
.pg06-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.pg06-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--pg06-primary-light); padding: 0.7rem 1rem;
  border-radius: var(--pg06-radius-sm); border-left: 3px solid var(--pg06-gold);
}
.pg06-winner-name { font-weight: 700; color: var(--pg06-text); font-size: 1.2rem; }
.pg06-winner-amount { color: var(--pg06-gold); font-weight: 800; font-size: 1.3rem; }

/* Steps list */
.pg06-steps { counter-reset: step; padding-left: 0; list-style: none; }
.pg06-steps li {
  position: relative; padding: 0.7rem 0.7rem 0.7rem 3rem;
  margin-bottom: 0.5rem; background: var(--pg06-primary-light);
  border-radius: var(--pg06-radius-sm); color: var(--pg06-text-muted);
  font-size: 1.25rem; line-height: 1.5;
  counter-increment: step;
}
.pg06-steps li::before {
  content: counter(step); position: absolute; left: 0.7rem; top: 0.7rem;
  width: 1.8rem; height: 1.8rem; line-height: 1.8rem; text-align: center;
  background: var(--pg06-accent); color: #fff; border-radius: 50%;
  font-weight: 800; font-size: 1.1rem;
}
.pg06-steps li strong { color: var(--pg06-text); }

/* FAQ */
.pg06-faq-item {
  background: var(--pg06-primary-light); border-radius: var(--pg06-radius-sm);
  margin-bottom: 0.6rem; padding: 1rem 1.2rem;
  border: 1px solid var(--pg06-border);
}
.pg06-faq-item h3 { color: var(--pg06-accent-light); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.pg06-faq-item p { color: var(--pg06-text-muted); font-size: 1.2rem; line-height: 1.5; }

/* App download block */
.pg06-app-card {
  background: linear-gradient(135deg, var(--pg06-accent-dark) 0%, var(--pg06-primary) 100%);
  border-radius: var(--pg06-radius); padding: 1.5rem 1.2rem; text-align: center;
  border: 1px solid var(--pg06-border);
}
.pg06-app-card h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.pg06-app-card p { color: var(--pg06-text-muted); font-size: 1.2rem; margin-bottom: 1rem; }

/* Footer */
.pg06-footer {
  background: var(--pg06-primary); border-top: 2px solid var(--pg06-accent);
  padding: 2rem 1.2rem 1rem; margin-top: 2rem;
}
.pg06-footer-inner { max-width: 430px; margin: 0 auto; }
.pg06-footer-brand { color: var(--pg06-text-muted); font-size: 1.2rem; line-height: 1.55; margin-bottom: 1rem; }
.pg06-footer-brand strong { color: var(--pg06-accent-light); }
.pg06-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem;
}
.pg06-footer-links a { color: var(--pg06-text-muted); font-size: 1.15rem; }
.pg06-footer-links a:hover { color: var(--pg06-accent-light); }
.pg06-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.pg06-footer-promos .pg06-btn { flex: 1 1 auto; min-width: 110px; }
.pg06-footer-copy {
  border-top: 1px solid var(--pg06-border); padding-top: 1rem;
  text-align: center; color: var(--pg06-text-muted); font-size: 1.1rem;
}

/* Bottom navigation */
.pg06-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, var(--pg06-primary) 0%, var(--pg06-bg) 100%);
  border-top: 1px solid var(--pg06-border);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0.4rem 0.3rem; z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}
.pg06-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; padding: 0.3rem;
  background: transparent; border: none; color: var(--pg06-text-muted);
  cursor: pointer; transition: color var(--pg06-transition), transform var(--pg06-transition);
  text-decoration: none; gap: 0.2rem; font-family: inherit;
}
.pg06-bottom-nav-btn:hover { color: var(--pg06-accent-light); transform: translateY(-2px); }
.pg06-bottom-nav-btn i,
.pg06-bottom-nav-btn .material-icons-outlined,
.pg06-bottom-nav-btn .material-icons,
.pg06-bottom-nav-btn ion-icon { font-size: 22px; }
.pg06-bottom-nav-btn span { font-size: 1rem; font-weight: 600; }
.pg06-bottom-nav-btn.pg06-nav-active { color: var(--pg06-accent-light); }
.pg06-bottom-nav-btn.pg06-nav-active i,
.pg06-bottom-nav-btn.pg06-nav-active .material-icons-outlined,
.pg06-bottom-nav-btn.pg06-nav-active ion-icon { color: var(--pg06-gold); }

/* Responsive */
@media (min-width: 769px) {
  .pg06-bottom-nav { display: none; }
  .pg06-container { max-width: 768px; }
  .pg06-header-inner { max-width: 768px; }
  .pg06-footer-inner { max-width: 768px; }
  .pg06-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pg06-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pg06-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .pg06-main { padding-bottom: 2rem; }
  .pg06-carousel { height: 280px; }
}

@media (max-width: 380px) {
  .pg06-game-grid { grid-template-columns: repeat(2, 1fr); }
  .pg06-carousel { height: 150px; }
  .pg06-btn { padding: 0.6rem 0.9rem; font-size: 1.2rem; }
  .pg06-logo-text { font-size: 1.4rem; }
}
