/* ============================================================
 * lucky taya - lucky-taya.css
 * Site: luckytaya.homes (en-PH)
 * Palette: #6495ED (CornflowerBlue) | #2D2D2D (Charcoal)
 * All custom classes use the "sca7-" prefix.
 * Mobile-first container max-width: 430px
 * ============================================================ */

:root {
  --sca7-primary: #6495ED;
  --sca7-primary-dark: #3f6fcb;
  --sca7-primary-light: #9bbcf5;
  --sca7-bg: #2D2D2D;
  --sca7-bg-soft: #1c1c1c;
  --sca7-bg-card: #3a3a3a;
  --sca7-bg-elevated: #454545;
  --sca7-text: #f3f5fa;
  --sca7-text-muted: #b9bdc7;
  --sca7-accent: #ffd76b;
  --sca7-success: #5cd68a;
  --sca7-danger: #ff6b6b;
  --sca7-border: rgba(149, 188, 245, 0.18);
  --sca7-radius: 14px;
  --sca7-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --sca7-header-h: 60px;
  --sca7-bottomnav-h: 62px;
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: var(--sca7-primary-light); text-decoration: none; }

/* ---------- Mobile-first main container ---------- */
.sca7-container,
.sca7-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
  position: relative;
}

.sca7-wrapper {
  padding-top: calc(var(--sca7-header-h) + 0.8rem);
  padding-bottom: 2rem;
}

main.sca7-main {
  padding-bottom: calc(var(--sca7-bottomnav-h) + 2rem);
}

/* ---------- Header ---------- */
.sca7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--sca7-header-h);
  background: linear-gradient(135deg, #202020 0%, #2D2D2D 60%, #3a3a3a 100%);
  border-bottom: 1px solid var(--sca7-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.sca7-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sca7-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.sca7-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sca7-primary);
  letter-spacing: 0.3px;
}

.sca7-logo-text span { color: var(--sca7-text); }

.sca7-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sca7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 38px;
  white-space: nowrap;
}

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

.sca7-btn-primary {
  background: linear-gradient(135deg, var(--sca7-primary) 0%, var(--sca7-primary-dark) 100%);
  color: #0e1422;
  box-shadow: 0 4px 12px rgba(100, 149, 237, 0.35);
}

.sca7-btn-ghost {
  background: rgba(149, 188, 245, 0.12);
  color: var(--sca7-text);
  border: 1px solid var(--sca7-border);
}

.sca7-btn-gold {
  background: linear-gradient(135deg, #ffd76b 0%, #e0a93b 100%);
  color: #2D2D2D;
}

.sca7-btn-block {
  display: flex;
  width: 100%;
  padding: 1rem;
  font-size: 1.45rem;
}

.sca7-icon-btn {
  background: transparent;
  border: none;
  color: var(--sca7-text);
  font-size: 1.9rem;
  padding: 0.5rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile menu drawer ---------- */
.sca7-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(149, 188, 245, 0.1);
  border: 1px solid var(--sca7-border);
  border-radius: 10px;
  color: var(--sca7-text);
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  cursor: pointer;
}

.sca7-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 78%;
  height: 100vh;
  background: var(--sca7-bg-soft);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transform: translateX(0);
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--sca7-border);
}

.sca7-mobile-menu.sca7-menu-open { right: 0; }

.sca7-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sca7-menu-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sca7-primary);
}

.sca7-menu-close {
  background: rgba(149, 188, 245, 0.1);
  border: none;
  color: var(--sca7-text);
  font-size: 1.9rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
}

.sca7-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sca7-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.9rem;
  border-radius: 10px;
  color: var(--sca7-text);
  font-size: 1.35rem;
  background: var(--sca7-bg-card);
  border: 1px solid transparent;
}

.sca7-menu-list a:hover,
.sca7-menu-list a:active {
  background: rgba(100, 149, 237, 0.18);
  border-color: var(--sca7-border);
}

.sca7-menu-list i { color: var(--sca7-primary); font-size: 1.5rem; }

.sca7-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sca7-menu-overlay.sca7-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero / Carousel ---------- */
.sca7-hero {
  position: relative;
  border-radius: var(--sca7-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--sca7-shadow);
}

.sca7-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  background: #1c1c1c;
}

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

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

.sca7-slide.sca7-slide-active { opacity: 1; }

.sca7-slide-cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  right: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1.2rem 0.4rem 0.2rem;
}

.sca7-dots {
  position: absolute;
  bottom: 0.6rem; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

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

.sca7-dot.sca7-dot-active { background: var(--sca7-primary); width: 16px; border-radius: 4px; }

/* ---------- Headings & Sections ---------- */
.sca7-section {
  margin: 2rem 0;
}

.sca7-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--sca7-text);
  margin-bottom: 0.6rem;
}

.sca7-h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--sca7-primary);
  margin: 1.8rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sca7-h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--sca7-text);
  margin: 1.2rem 0 0.5rem;
}

.sca7-lead {
  font-size: 1.4rem;
  color: var(--sca7-text-muted);
  margin-bottom: 0.8rem;
}

.sca7-text-muted { color: var(--sca7-text-muted); }

.sca7-pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(100, 149, 237, 0.16);
  color: var(--sca7-primary-light);
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid var(--sca7-border);
}

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

.sca7-grid-4 { grid-template-columns: repeat(4, 1fr); }

.sca7-game {
  background: var(--sca7-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sca7-border);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
  color: inherit;
}

.sca7-game:hover,
.sca7-game:active {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(100, 149, 237, 0.25);
  border-color: var(--sca7-primary);
}

.sca7-game-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #1c1c1c;
}

.sca7-game-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  color: var(--sca7-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sca7-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 0 0.8rem;
}

.sca7-cat-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sca7-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sca7-cat-link {
  font-size: 1.15rem;
  color: var(--sca7-primary-light);
  font-weight: 600;
}

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

.sca7-card-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--sca7-border);
}

.sca7-card-row:last-child { border-bottom: none; }

.sca7-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(100, 149, 237, 0.18);
  color: var(--sca7-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ---------- Promo banner CTA ---------- */
.sca7-cta {
  background: linear-gradient(135deg, var(--sca7-primary) 0%, var(--sca7-primary-dark) 100%);
  color: #0e1422;
  border-radius: var(--sca7-radius);
  padding: 1.4rem;
  margin: 1.5rem 0;
  text-align: center;
  box-shadow: 0 10px 24px rgba(100, 149, 237, 0.35);
}

.sca7-cta h3 {
  font-size: 1.6rem;
  color: #0e1422;
  margin-bottom: 0.4rem;
}

.sca7-cta p { font-size: 1.25rem; color: #1c2740; margin-bottom: 0.8rem; }

/* ---------- Testimonials ---------- */
.sca7-quote {
  background: var(--sca7-bg-card);
  border-left: 3px solid var(--sca7-primary);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

.sca7-quote-author {
  display: block;
  margin-top: 0.5rem;
  color: var(--sca7-primary-light);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- Payment chips ---------- */
.sca7-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sca7-chip {
  background: var(--sca7-bg-card);
  border: 1px solid var(--sca7-border);
  color: var(--sca7-text);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

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

.sca7-table th { background: rgba(100, 149, 237, 0.16); color: var(--sca7-primary-light); font-weight: 700; }
.sca7-table tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.sca7-faq-item {
  background: var(--sca7-bg-card);
  border: 1px solid var(--sca7-border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}

.sca7-faq-q { font-weight: 700; color: var(--sca7-text); font-size: 1.3rem; margin-bottom: 0.4rem; }
.sca7-faq-a { color: var(--sca7-text-muted); font-size: 1.2rem; }

/* ---------- Steps ---------- */
.sca7-steps { list-style: none; counter-reset: step; }
.sca7-steps li {
  position: relative;
  padding: 0.6rem 0 0.6rem 3.2rem;
  counter-increment: step;
  font-size: 1.25rem;
}
.sca7-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.4rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--sca7-primary);
  color: #0e1422;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ---------- Reveal animation ---------- */
.sca7-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sca7-reveal.sca7-revealed { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.sca7-toast {
  position: fixed;
  bottom: calc(var(--sca7-bottomnav-h) + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--sca7-primary);
  color: #0e1422;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1500;
  max-width: 90%;
  text-align: center;
}
.sca7-toast.sca7-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Footer ---------- */
.sca7-footer {
  background: var(--sca7-bg-soft);
  border-top: 1px solid var(--sca7-border);
  padding: 2rem 0 calc(var(--sca7-bottomnav-h) + 2rem);
  margin-top: 2rem;
}

.sca7-footer-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

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

.sca7-footer-desc {
  font-size: 1.2rem;
  color: var(--sca7-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sca7-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.8rem;
  margin-bottom: 1.2rem;
}

.sca7-footer-links a {
  font-size: 1.15rem;
  color: var(--sca7-text-muted);
  padding: 0.3rem 0;
}

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

.sca7-footer-copy {
  font-size: 1.1rem;
  color: var(--sca7-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--sca7-border);
}

/* ---------- Mobile Bottom Nav ---------- */
.sca7-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--sca7-bottomnav-h);
  background: linear-gradient(180deg, #2D2D2D 0%, #1c1c1c 100%);
  border-top: 1px solid var(--sca7-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.45);
}

.sca7-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: transparent;
  border: none;
  color: var(--sca7-text-muted);
  text-decoration: none;
  padding: 0.4rem 0;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.sca7-bottomnav-btn:active { transform: scale(0.92); }

.sca7-bottomnav-btn .sca7-bn-icon { font-size: 2.1rem; line-height: 1; }

.sca7-bottomnav-btn .sca7-bn-label {
  font-size: 1.05rem;
  font-weight: 600;
}

.sca7-bottomnav-btn.sca7-bottomnav-active {
  color: var(--sca7-primary);
}

.sca7-bottomnav-btn.sca7-bottomnav-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--sca7-primary);
}

.sca7-bn-promo .sca7-bn-icon {
  color: var(--sca7-accent);
}

/* ---------- Desktop adjustments ---------- */
@media (min-width: 769px) {
  .sca7-bottomnav { display: none; }
  main.sca7-main { padding-bottom: 2rem; }
  .sca7-footer { padding-bottom: 2rem; }
  .sca7-container, .sca7-wrapper, .sca7-header-inner, .sca7-footer-inner { max-width: 430px; }
}

@media (max-width: 768px) {
  main.sca7-main { padding-bottom: calc(var(--sca7-bottomnav-h) + 1.5rem); }
}

/* Prevent layout shift for inline icons */
.material-icons { vertical-align: middle; }
