/* ============================================================
 * tableplus 2 - style-0787.css
 * All custom classes use the "pg07-" prefix.
 * Palette: #E6E6FA (lavender) | #4B0082 (indigo)
 *          #6C757D (slate)      | #2E4057 (deep teal)
 * Deep colours are backgrounds, light colours are text.
 * Mobile-first. Root font 62.5% for rem sizing.
 * ========================================================== */

:root {
  --pg07-primary: #4B0082;        /* indigo - brand accent */
  --pg07-secondary: #2E4057;      /* deep teal - background */
  --pg07-bg: #1c2733;             /* darker shade of teal */
  --pg07-bg-alt: #243443;
  --pg07-text: #E6E6FA;           /* lavender - body text */
  --pg07-text-soft: #c9c9e6;
  --pg07-muted: #6C757D;          /* slate - muted text */
  --pg07-accent: #b48cff;         /* lighter indigo */
  --pg07-gold: #ffcf5c;
  --pg07-success: #3fc77b;
  --pg07-card: #2a3a4b;
  --pg07-border: rgba(230, 230, 250, 0.12);
  --pg07-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --pg07-radius: 14px;
}

/* ---------- Base reset ---------- */
* { 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", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: linear-gradient(160deg, var(--pg07-bg) 0%, var(--pg07-secondary) 100%);
  color: var(--pg07-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pg07-accent); text-decoration: none; }
a:hover { color: var(--pg07-gold); }
ul { list-style: none; }

h1, h2, h3, h4 { color: #fff; font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.2rem; margin: 1rem 0; }
h2 { font-size: 1.9rem; margin: 0.8rem 0; }
h3 { font-size: 1.6rem; margin: 0.6rem 0; }
p  { margin: 0.6rem 0; color: var(--pg07-text-soft); }

/* ---------- Layout ---------- */
.pg07-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.pg07-wrapper { width: 100%; }

.pg07-main {
  padding-top: 64px;     /* header clearance */
  padding-bottom: 80px; /* bottom-nav clearance on mobile */
}

.pg07-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--pg07-border);
}

.pg07-section-alt { background: var(--pg07-bg-alt); }

/* ---------- Header ---------- */
.pg07-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28, 39, 51, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pg07-border);
  height: 64px;
}

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

.pg07-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}

.pg07-brand img { width: 28px; height: 28px; border-radius: 6px; }

.pg07-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.pg07-brand-name span { color: var(--pg07-accent); }

.pg07-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.pg07-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  min-height: 40px;
  text-align: center;
}

.pg07-btn-primary {
  background: linear-gradient(135deg, var(--pg07-primary), var(--pg07-accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(75, 0, 130, 0.45);
}

.pg07-btn-primary:hover { transform: translateY(-1px); color: #fff; }

.pg07-btn-ghost {
  background: transparent;
  border: 1px solid var(--pg07-accent);
  color: var(--pg07-accent);
}

.pg07-btn-ghost:hover { background: rgba(180, 140, 255, 0.12); color: #fff; }

.pg07-btn-gold {
  background: linear-gradient(135deg, var(--pg07-gold), #ff9a3c);
  color: #2E4057;
}

.pg07-btn-block { width: 100%; display: block; }

/* Hamburger toggle for mobile menu */
.pg07-menu-toggle {
  background: transparent;
  border: 1px solid var(--pg07-border);
  border-radius: 8px;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--pg07-accent);
  cursor: pointer;
  font-size: 1.8rem;
}

/* ---------- Mobile slide-down menu ---------- */
.pg07-mobile-menu {
  position: fixed;
  top: 64px; right: 0;
  width: 78%;
  max-width: 320px;
  background: var(--pg07-bg-alt);
  border-left: 1px solid var(--pg07-border);
  border-bottom: 1px solid var(--pg07-border);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 1rem;
  min-height: calc(100vh - 64px);
}

.pg07-mobile-menu.pg07-active { transform: translateX(0); }

.pg07-mobile-menu h3 {
  color: var(--pg07-accent);
  font-size: 1.4rem;
  margin: 1.2rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.pg07-mobile-menu a {
  display: block;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px dashed var(--pg07-border);
  color: var(--pg07-text);
}

.pg07-mobile-menu a:hover { color: var(--pg07-gold); background: rgba(255, 255, 255, 0.04); }

body.pg07-menu-open { overflow: hidden; }

/* ---------- Hero carousel ---------- */
.pg07-carousel {
  position: relative;
  border-radius: var(--pg07-radius);
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: var(--pg07-shadow);
}

.pg07-carousel-track { position: relative; width: 100%; height: 200px; }

.pg07-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.pg07-carousel-slide.pg07-active { opacity: 1; }

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

.pg07-carousel-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.pg07-carousel-overlay h2 {
  color: #fff;
  font-size: 1.7rem;
  margin: 0;
}

.pg07-carousel-overlay p {
  color: #f1e9ff;
  font-size: 1.25rem;
  margin: 0.3rem 0;
}

.pg07-carousel-dots {
  position: absolute;
  bottom: 8px; right: 10px;
  display: flex; gap: 6px;
}

.pg07-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.pg07-carousel-dot.pg07-active { background: var(--pg07-gold); }

/* ---------- Filter chips ---------- */
.pg07-chip-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.8rem 0;
  -webkit-overflow-scrolling: touch;
}

.pg07-chip {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--pg07-card);
  color: var(--pg07-text-soft);
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid var(--pg07-border);
  cursor: pointer;
}

.pg07-chip.pg07-active {
  background: linear-gradient(135deg, var(--pg07-primary), var(--pg07-accent));
  color: #fff;
  border-color: transparent;
}

/* ---------- Section heading ---------- */
.pg07-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.4rem 0 0.8rem;
}

.pg07-section-head h2 {
  font-size: 1.7rem;
  color: #fff;
  margin: 0;
}

.pg07-section-head .pg07-section-link {
  font-size: 1.2rem;
  color: var(--pg07-accent);
  font-weight: 700;
}

/* ---------- Game grids ---------- */
.pg07-game-group { margin: 1rem 0; }

.pg07-game-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0 0.6rem;
  color: var(--pg07-gold);
  font-size: 1.45rem;
  font-weight: 800;
}

.pg07-game-group-title i { color: var(--pg07-accent); }

.pg07-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.pg07-card {
  background: var(--pg07-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pg07-border);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: block;
}

.pg07-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(75, 0, 130, 0.45);
}

.pg07-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.pg07-card-name {
  display: block;
  font-size: 1.15rem;
  color: var(--pg07-text);
  text-align: center;
  padding: 0.45rem 0.3rem 0.55rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Promo CTA banner ---------- */
.pg07-cta {
  background: linear-gradient(135deg, var(--pg07-primary) 0%, #7a1ec0 60%, var(--pg07-accent) 100%);
  border-radius: var(--pg07-radius);
  padding: 1.4rem;
  margin: 1.4rem 0;
  text-align: center;
  box-shadow: var(--pg07-shadow);
}

.pg07-cta h2 { color: #fff; }
.pg07-cta p { color: #f1e9ff; }

.pg07-promo-link {
  color: var(--pg07-gold);
  font-weight: 800;
  text-decoration: underline;
}

.pg07-promo-link:hover { color: #ffe6a0; }

/* ---------- Feature / highlights ---------- */
.pg07-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.pg07-feature {
  background: var(--pg07-card);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--pg07-border);
}

.pg07-feature .pg07-feature-icon {
  font-size: 2.2rem;
  color: var(--pg07-accent);
  margin-bottom: 0.4rem;
}

.pg07-feature h3 { font-size: 1.35rem; margin: 0.2rem 0; }
.pg07-feature p { font-size: 1.2rem; margin: 0; }

/* ---------- RTP table ---------- */
.pg07-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pg07-card);
  border-radius: 12px;
  overflow: hidden;
  font-size: 1.2rem;
}

.pg07-rtp-table th, .pg07-rtp-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--pg07-border);
}

.pg07-rtp-table th { background: var(--pg07-primary); color: #fff; }
.pg07-rtp-table td { color: var(--pg07-text-soft); }
.pg07-rtp-table tr:last-child td { border-bottom: none; }

/* ---------- Testimonials ---------- */
.pg07-testimonial {
  background: var(--pg07-card);
  border-radius: 12px;
  padding: 1rem;
  margin: 0.6rem 0;
  border-left: 4px solid var(--pg07-accent);
}

.pg07-testimonial .pg07-stars { color: var(--pg07-gold); margin-bottom: 0.3rem; }
.pg07-testimonial p { font-style: italic; }
.pg07-testimonial .pg07-author {
  font-weight: 700;
  color: var(--pg07-accent);
  margin-top: 0.4rem;
}

/* ---------- Winners ---------- */
.pg07-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }

.pg07-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pg07-card);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 1.2rem;
}

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

/* ---------- Payment chips ---------- */
.pg07-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.pg07-pay {
  background: #fff;
  color: var(--pg07-secondary);
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 1.2rem;
}

/* ---------- FAQ ---------- */
.pg07-faq-item {
  background: var(--pg07-card);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.5rem 0;
  border: 1px solid var(--pg07-border);
}

.pg07-faq-item h3 {
  color: var(--pg07-accent);
  font-size: 1.3rem;
  margin: 0 0 0.3rem;
}

.pg07-faq-item p { margin: 0; font-size: 1.25rem; }

/* ---------- App download ---------- */
.pg07-app-banner {
  background: linear-gradient(135deg, #2E4057, #4B0082);
  border-radius: var(--pg07-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.2rem 0;
}

.pg07-app-banner h2 { color: #fff; }
.pg07-app-banner p { color: var(--pg07-text-soft); }
.pg07-app-buttons {
  display: flex; gap: 0.6rem; justify-content: center; margin-top: 0.8rem;
}

/* ---------- Footer ---------- */
.pg07-footer {
  background: #11181f;
  border-top: 1px solid var(--pg07-border);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

.pg07-footer-brand {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem;
}

.pg07-footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pg07-footer-brand span { font-size: 1.5rem; font-weight: 800; color: #fff; }

.pg07-footer p { color: var(--pg07-text-soft); font-size: 1.2rem; }

.pg07-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.pg07-footer-col h4 {
  color: var(--pg07-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pg07-footer-col a {
  display: block;
  padding: 0.35rem 0;
  color: var(--pg07-text-soft);
  font-size: 1.2rem;
}

.pg07-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}

.pg07-footer-promos .pg07-btn { flex: 1 1 auto; }

.pg07-footer-bottom {
  text-align: center;
  font-size: 1.15rem;
  color: var(--pg07-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--pg07-border);
}

/* ---------- Bottom navigation (mobile) ---------- */
.pg07-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: rgba(17, 24, 31, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--pg07-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pg07-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pg07-text-soft);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
  gap: 2px;
}

.pg07-bottom-nav-btn i,
.pg07-bottom-nav-btn .material-icons-outlined,
.pg07-bottom-nav-btn ion-icon {
  font-size: 22px;
}

.pg07-bottom-nav-btn:hover { color: var(--pg07-gold); transform: translateY(-1px); }

.pg07-bottom-nav-btn.pg07-current { color: var(--pg07-gold); }

.pg07-bottom-nav-btn .pg07-nav-badge {
  background: var(--pg07-gold);
  color: var(--pg07-secondary);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 0 5px;
  margin-left: 4px;
}

/* ---------- Misc helpers ---------- */
.pg07-text-center { text-align: center; }
.pg07-mt-1 { margin-top: 1rem; }
.pg07-mb-1 { margin-bottom: 1rem; }
.pg07-hide-mobile { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .pg07-bottom-nav { display: none; }
  .pg07-main { padding-bottom: 0; }
  .pg07-container { max-width: 768px; }
  .pg07-grid { grid-template-columns: repeat(6, 1fr); }
  .pg07-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .pg07-carousel-track { height: 320px; }
  .pg07-carousel-slide img { height: 320px; }
}

@media (min-width: 1024px) {
  .pg07-container { max-width: 1024px; }
  .pg07-grid { grid-template-columns: repeat(8, 1fr); }
  .pg07-footer-cols { grid-template-columns: repeat(4, 1fr); }
}

/* Long-form SEO article readability */
.pg07-article p { margin: 0.7rem 0; line-height: 1.55; }
.pg07-article h2 { margin-top: 1.4rem; }
.pg07-article h3 { margin-top: 1rem; }
.pg07-article ul { padding-left: 1.2rem; list-style: disc; }
.pg07-article ul li { margin: 0.3rem 0; color: var(--pg07-text-soft); }
