/*!
 * me777 com casino - Theme Stylesheet
 * Prefix: s66a-
 * Palette: #FF1493 | #FFB6C1 | #FFE135 | #2C2C2C | #C0C0C0
 * Mobile-first, max viewport 430px. Root font 62.5% for rem units.
 */

:root {
  --s66a-primary: #FF1493;        /* Deep pink - brand accent */
  --s66a-secondary: #FFB6C1;      /* Light pink - soft highlights */
  --s66a-tertiary: #FFE135;       /* Warm yellow - CTA / wins */
  --s66a-bg: #2C2C2C;             /* Charcoal - primary background */
  --s66a-bg-deep: #1d1d1d;        /* Deeper charcoal */
  --s66a-bg-card: #353535;        /* Card surface */
  --s66a-text: #f5f5f5;           /* Off-white body text */
  --s66a-muted: #C0C0C0;          /* Silver - muted text */
  --s66a-border: rgba(255, 20, 147, 0.25);
  --s66a-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --s66a-radius: 14px;
}

* { 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, sans-serif;
  background: var(--s66a-bg);
  color: var(--s66a-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--s66a-secondary); text-decoration: none; }
a:hover, a:focus { color: var(--s66a-tertiary); }

/* ============ Top Header ============ */
.s66a-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #2C2C2C 100%);
  border-bottom: 1px solid var(--s66a-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.s66a-header-row {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  min-height: 56px;
}
.s66a-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.s66a-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s66a-logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--s66a-tertiary);
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.s66a-logo-text span { color: var(--s66a-primary); }
.s66a-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.s66a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.s66a-btn:active { transform: scale(0.96); }
.s66a-btn-register {
  background: linear-gradient(135deg, #FF1493, #FFB6C1);
  color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(255, 20, 147, 0.4);
}
.s66a-btn-login {
  background: transparent;
  color: var(--s66a-tertiary);
  border: 1.5px solid var(--s66a-tertiary);
}
.s66a-menu-btn {
  background: transparent;
  color: var(--s66a-text);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.s66a-menu-btn:hover { background: rgba(255, 20, 147, 0.12); }

/* ============ Mobile Slide-down Menu ============ */
.s66a-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  min-height: 100vh;
}
.s66a-mobile-menu.s66a-is-active { visibility: visible; opacity: 1; }
.s66a-mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: 82%;
  max-width: 320px;
  background: var(--s66a-bg-deep);
  padding: 2.2rem 1.4rem;
  min-height: 100vh;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  border-left: 1px solid var(--s66a-border);
  overflow-y: auto;
}
.s66a-mobile-menu.s66a-is-active .s66a-mobile-menu-panel {
  transform: translateX(0);
}
.s66a-mobile-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  color: var(--s66a-text);
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.s66a-mobile-menu-title {
  color: var(--s66a-tertiary);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 1rem 0 0.8rem;
  text-transform: uppercase;
}
.s66a-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  color: var(--s66a-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.4rem;
  font-weight: 600;
}
.s66a-mobile-menu a:hover { color: var(--s66a-tertiary); background: rgba(255, 20, 147, 0.08); }

/* ============ Layout ============ */
.s66a-main {
  max-width: 430px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 0;
}
section { padding: 2rem 1rem; }
.s66a-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--s66a-tertiary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.s66a-section-subtitle {
  color: var(--s66a-muted);
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

/* ============ Hero Carousel ============ */
.s66a-carousel {
  position: relative;
  border-radius: var(--s66a-radius);
  overflow: hidden;
  box-shadow: var(--s66a-shadow);
  margin: 1rem 0;
}
.s66a-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.s66a-slide.s66a-is-active { display: block; }
.s66a-slide img { width: 100%; height: 180px; object-fit: cover; }
.s66a-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.s66a-slide-caption h2 {
  font-size: 1.7rem;
  color: var(--s66a-tertiary);
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.s66a-slide-caption p { font-size: 1.25rem; color: #fff; }
.s66a-dots {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.s66a-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.s66a-dot.s66a-is-active { background: var(--s66a-tertiary); transform: scale(1.3); }

/* ============ Hero H1 / CTA ============ */
.s66a-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--s66a-tertiary);
  text-align: center;
  margin: 1.4rem 0 0.4rem;
  line-height: 1.25;
}
.s66a-hero-subtitle {
  text-align: center;
  color: var(--s66a-muted);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.s66a-cta-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0 1.4rem;
}
.s66a-cta-primary {
  background: linear-gradient(135deg, #FFE135, #FF1493);
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 20, 147, 0.5);
}
.s66a-cta-secondary {
  background: transparent;
  color: var(--s66a-tertiary);
  border: 2px solid var(--s66a-tertiary);
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.4rem;
}
.s66a-text-link {
  color: var(--s66a-primary);
  font-weight: 700;
  text-decoration: underline;
}
.s66a-text-link:hover { color: var(--s66a-tertiary); }

/* ============ Game Grid ============ */
.s66a-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s66a-game-card {
  background: var(--s66a-bg-card);
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.s66a-game-card:hover, .s66a-game-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 20, 147, 0.35);
  border-color: var(--s66a-border);
}
.s66a-game-card img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.s66a-game-card-name {
  font-size: 1.15rem;
  color: var(--s66a-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s66a-category-block { margin-bottom: 1.8rem; }
.s66a-category-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--s66a-tertiary);
  margin: 0.4rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--s66a-border);
}

/* ============ Info / Feature Cards ============ */
.s66a-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.s66a-info-card {
  background: var(--s66a-bg-card);
  border-radius: var(--s66a-radius);
  padding: 1.4rem;
  border-left: 4px solid var(--s66a-primary);
  box-shadow: var(--s66a-shadow);
}
.s66a-info-card h3 {
  color: var(--s66a-tertiary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s66a-info-card p {
  color: var(--s66a-text);
  font-size: 1.3rem;
  line-height: 1.55;
}
.s66a-info-card ul { list-style: none; margin-top: 0.5rem; }
.s66a-info-card li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--s66a-text);
}
.s66a-info-card li::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--s66a-tertiary);
  position: absolute;
  left: 0;
  font-size: 1rem;
  top: 0.6rem;
}

/* ============ RTP Table ============ */
.s66a-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--s66a-bg-card);
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.25rem;
}
.s66a-rtp-table th, .s66a-rtp-table td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.s66a-rtp-table th {
  background: var(--s66a-primary);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 1.2rem;
}
.s66a-rtp-table td:last-child { color: var(--s66a-tertiary); font-weight: 700; }

/* ============ Testimonials ============ */
.s66a-testimonial {
  background: var(--s66a-bg-card);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s66a-secondary);
}
.s66a-testimonial-stars { color: var(--s66a-tertiary); font-size: 1.1rem; margin-bottom: 0.3rem; }
.s66a-testimonial p { font-size: 1.25rem; color: var(--s66a-text); font-style: italic; }
.s66a-testimonial-author { font-size: 1.15rem; color: var(--s66a-muted); margin-top: 0.3rem; }

/* ============ Payment Methods ============ */
.s66a-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.s66a-payment-chip {
  background: var(--s66a-bg-card);
  border: 1px solid var(--s66a-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--s66a-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============ Winners Showcase ============ */
.s66a-winner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--s66a-bg-card);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--s66a-tertiary);
}
.s66a-winner-amount { color: var(--s66a-tertiary); font-weight: 800; margin-left: auto; }

/* ============ App Download CTA ============ */
.s66a-app-cta {
  background: linear-gradient(135deg, #FF1493, #FFE135);
  border-radius: var(--s66a-radius);
  padding: 1.6rem;
  text-align: center;
  color: #1a1a1a;
  margin: 1rem 0;
}
.s66a-app-cta h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; }
.s66a-app-cta p { font-size: 1.3rem; margin-bottom: 0.8rem; }
.s66a-app-cta .s66a-btn { background: #1a1a1a; color: var(--s66a-tertiary); }

/* ============ FAQ ============ */
.s66a-faq-item {
  background: var(--s66a-bg-card);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
}
.s66a-faq-item h4 { color: var(--s66a-tertiary); font-size: 1.35rem; margin-bottom: 0.3rem; }
.s66a-faq-item p { font-size: 1.25rem; color: var(--s66a-text); }

/* ============ Footer ============ */
.s66a-footer {
  background: var(--s66a-bg-deep);
  border-top: 2px solid var(--s66a-primary);
  padding: 2rem 1.2rem 1.5rem;
  margin-top: 1.5rem;
}
.s66a-footer-inner { max-width: 430px; margin: 0 auto; }
.s66a-footer-brand { color: var(--s66a-tertiary); font-weight: 800; font-size: 1.5rem; margin-bottom: 0.4rem; }
.s66a-footer-desc { font-size: 1.25rem; color: var(--s66a-muted); margin-bottom: 1rem; line-height: 1.5; }
.s66a-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.2rem;
}
.s66a-footer-promos button, .s66a-footer-promos a {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 140px;
  text-align: center;
  padding: 0.7rem 0.6rem;
  border-radius: 8px;
  background: var(--s66a-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}
.s66a-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}
.s66a-footer-links a {
  color: var(--s66a-muted);
  font-size: 1.2rem;
  padding: 0.3rem 0;
}
.s66a-footer-links a:hover { color: var(--s66a-tertiary); }
.s66a-footer-copy {
  text-align: center;
  color: var(--s66a-muted);
  font-size: 1.15rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============ Mobile Bottom Navigation ============ */
.s66a-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #2C2C2C, #1a1a1a);
  border-top: 1px solid var(--s66a-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.s66a-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--s66a-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1.05rem;
  gap: 2px;
  transition: color 0.18s, transform 0.18s;
}
.s66a-bottom-nav-btn .material-icons,
.s66a-bottom-nav-btn ion-icon,
.s66a-bottom-nav-btn i { font-size: 22px; }
.s66a-bottom-nav-btn:hover, .s66a-bottom-nav-btn:focus { color: var(--s66a-tertiary); }
.s66a-bottom-nav-btn:active { transform: scale(0.92); }
.s66a-bottom-nav-btn.s66a-is-current { color: var(--s66a-primary); }
.s66a-bottom-nav-btn.s66a-is-current::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--s66a-tertiary);
  margin-top: 2px;
}

/* ============ Reveal Animation ============ */
.s66a-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.s66a-reveal.s66a-is-visible { opacity: 1; transform: translateY(0); }

/* ============ Mobile Padding ============ */
@media (max-width: 768px) {
  .s66a-main { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .s66a-bottom-nav { display: none; }
}

/* ============ Utility ============ */
.s66a-container { max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.s66a-text-center { text-align: center; }
.s66a-highlight { color: var(--s66a-tertiary); font-weight: 700; }
.s66a-pink { color: var(--s66a-primary); font-weight: 700; }
