/* ============================================================
 * 666 Casino - style-a670.css
 * Mobile-first stylesheet. All custom classes use "g700-" prefix.
 * Palette: #0D1117 (dark bg) | #FF7F50 (coral accent)
 * Root font: 62.5% => 1rem = 10px
 * ============================================================ */

:root {
  --g700-bg: #0D1117;
  --g700-bg-alt: #161B22;
  --g700-bg-soft: #1F2630;
  --g700-primary: #FF7F50;
  --g700-primary-dark: #E86A3C;
  --g700-accent: #FFD27A;
  --g700-text: #F5F7FA;
  --g700-text-muted: #AEB7C2;
  --g700-border: #2A323D;
  --g700-success: #34D399;
  --g700-gold: #F5C26B;
  --g700-radius: 14px;
  --g700-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

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

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

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

a { color: var(--g700-primary); text-decoration: none; }
a:hover { color: var(--g700-accent); }
img { max-width: 100%; display: block; }

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

.g700-container {
  padding: 0 1.4rem;
  width: 100%;
}

/* ===================== Header ===================== */
.g700-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(13,17,23,0.96), rgba(13,17,23,0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g700-border);
}
.g700-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.g700-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.g700-brand img {
  width: 28px; height: 28px;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(255,127,80,0.4);
}
.g700-brand-name {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--g700-text);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.g700-brand-name span { color: var(--g700-primary); }

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

.g700-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  line-height: 1;
}
.g700-btn-primary {
  background: linear-gradient(135deg, var(--g700-primary), var(--g700-primary-dark));
  color: #1A0E07;
  box-shadow: 0 4px 14px rgba(255,127,80,0.45);
}
.g700-btn-primary:hover { transform: translateY(-1px); color: #1A0E07; }
.g700-btn-ghost {
  background: transparent;
  color: var(--g700-text);
  border: 1px solid var(--g700-border);
}
.g700-btn-ghost:hover { border-color: var(--g700-primary); color: var(--g700-primary); }

.g700-menu-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--g700-bg-soft);
  border: 1px solid var(--g700-border);
  color: var(--g700-text);
  font-size: 1.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Expandable nav menu */
.g700-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--g700-bg-alt);
  border-top: 1px solid var(--g700-border);
}
.g700-nav.g700-nav-open { max-height: 460px; }
.g700-nav-list {
  list-style: none;
  padding: 0.6rem 1.4rem 1rem;
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.g700-nav-list a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  background: var(--g700-bg-soft);
  color: var(--g700-text);
  font-size: 1.3rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.g700-nav-list a:hover { border-color: var(--g700-primary); color: var(--g700-primary); }

/* ===================== Main ===================== */
.g700-main {
  padding-top: 70px;
  padding-bottom: 40px;
}

/* ===================== Hero / Carousel ===================== */
.g700-carousel {
  position: relative;
  border-radius: var(--g700-radius);
  overflow: hidden;
  margin-bottom: 1.6rem;
  box-shadow: var(--g700-shadow);
}
.g700-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.g700-slide.g700-slide-active { display: block; }
.g700-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.g700-slide-caption {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: linear-gradient(180deg, rgba(13,17,23,0), rgba(13,17,23,0.85));
  padding: 1rem 1rem 0.6rem;
  border-radius: 10px;
}
.g700-slide-caption strong {
  display: block;
  color: var(--g700-accent);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.g700-slide-caption span { color: var(--g700-text-muted); font-size: 1.25rem; }

.g700-dots {
  position: absolute;
  bottom: 0.8rem; left: 0; right: 0;
  display: flex; justify-content: center;
  gap: 0.4rem;
}
.g700-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
}
.g700-dot.g700-dot-active { background: var(--g700-primary); width: 18px; border-radius: 999px; }

/* ===================== Section ===================== */
.g700-section { margin-bottom: 2.2rem; }
.g700-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.6rem;
}
.g700-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--g700-text);
  display: flex; align-items: center; gap: 0.5rem;
}
.g700-section-title i, .g700-section-title .material-icons,
.g700-section-title .bi { color: var(--g700-primary); font-size: 1.9rem; }
.g700-section-more { color: var(--g700-primary); font-size: 1.25rem; font-weight: 600; }

.g700-h1 {
  font-size: 2rem;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--g700-text);
}
.g700-h1 span { color: var(--g700-primary); }
.g700-lead {
  color: var(--g700-text-muted);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* ===================== Game grid ===================== */
.g700-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.g700-game-card {
  background: var(--g700-bg-alt);
  border-radius: 12px;
  padding: 0.5rem;
  border: 1px solid var(--g700-border);
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.g700-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--g700-primary);
}
.g700-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.g700-game-card .g700-game-name {
  font-size: 1.15rem;
  color: var(--g700-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================== Cards / Features ===================== */
.g700-card {
  background: var(--g700-bg-alt);
  border-radius: var(--g700-radius);
  padding: 1.2rem;
  border: 1px solid var(--g700-border);
  box-shadow: var(--g700-shadow);
}
.g700-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--g700-accent);
}
.g700-card p { color: var(--g700-text-muted); font-size: 1.3rem; }

.g700-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.g700-feature {
  background: var(--g700-bg-alt);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid var(--g700-border);
}
.g700-feature i, .g700-feature .material-icons {
  color: var(--g700-primary);
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.g700-feature h4 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--g700-text); }
.g700-feature p { color: var(--g700-text-muted); font-size: 1.2rem; }

/* Promo banner */
.g700-promo-banner {
  background: linear-gradient(135deg, var(--g700-primary), #C8467B);
  border-radius: var(--g700-radius);
  padding: 1.4rem;
  color: #1A0E07;
  text-align: center;
  margin-bottom: 1.6rem;
  box-shadow: var(--g700-shadow);
}
.g700-promo-banner h3 { font-size: 1.7rem; margin-bottom: 0.4rem; color: #1A0E07; }
.g700-promo-banner p { font-size: 1.3rem; margin-bottom: 0.8rem; color: #2A1A10; }
.g700-promo-banner .g700-btn { background: #0D1117; color: var(--g700-accent); }

/* Testimonial */
.g700-testimonial {
  background: var(--g700-bg-alt);
  border-radius: 12px;
  padding: 1rem;
  border-left: 3px solid var(--g700-primary);
  margin-bottom: 0.7rem;
}
.g700-testimonial p { font-size: 1.3rem; color: var(--g700-text); margin-bottom: 0.4rem; }
.g700-testimonial cite { color: var(--g700-accent); font-style: normal; font-size: 1.2rem; font-weight: 700; }

/* Payment row */
.g700-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.g700-payment-row .g700-chip {
  background: var(--g700-bg-alt);
  border: 1px solid var(--g700-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1.2rem;
  color: var(--g700-text);
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* Winners */
.g700-winner {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  background: var(--g700-bg-alt);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--g700-border);
}
.g700-winner .g700-winner-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g700-primary), var(--g700-accent));
  color: #1A0E07; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.g700-winner .g700-winner-info { flex: 1; min-width: 0; }
.g700-winner .g700-winner-name { font-size: 1.25rem; font-weight: 700; color: var(--g700-text); }
.g700-winner .g700-winner-game { font-size: 1.15rem; color: var(--g700-text-muted); }
.g700-winner .g700-winner-amount { color: var(--g700-success); font-weight: 800; font-size: 1.3rem; }

/* CTA block */
.g700-cta {
  background: linear-gradient(135deg, #1F2630, #0D1117);
  border: 1px solid var(--g700-primary);
  border-radius: var(--g700-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.6rem 0;
}
.g700-cta h3 { color: var(--g700-accent); font-size: 1.7rem; margin-bottom: 0.5rem; }
.g700-cta p { color: var(--g700-text-muted); font-size: 1.3rem; margin-bottom: 1rem; }

/* SEO text block */
.g700-seo-text { color: var(--g700-text-muted); font-size: 1.3rem; line-height: 1.7rem; }
.g700-seo-text h2 { color: var(--g700-text); font-size: 1.6rem; margin: 1rem 0 0.5rem; }
.g700-seo-text h3 { color: var(--g700-accent); font-size: 1.4rem; margin: 0.8rem 0 0.4rem; }
.g700-seo-text p { margin-bottom: 0.6rem; }
.g700-seo-text strong { color: var(--g700-primary); }

/* Reveal animation */
.g700-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.g700-reveal.g700-revealed { opacity: 1; transform: translateY(0); }

/* ===================== Footer ===================== */
.g700-footer {
  background: var(--g700-bg-alt);
  border-top: 1px solid var(--g700-border);
  padding: 1.6rem 0 90px;
  margin-top: 1rem;
}
.g700-footer-brand { color: var(--g700-text-muted); font-size: 1.25rem; margin-bottom: 0.8rem; }
.g700-footer-brand strong { color: var(--g700-primary); }
.g700-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.g700-footer-links a { color: var(--g700-text-muted); font-size: 1.2rem; }
.g700-footer-links a:hover { color: var(--g700-primary); }
.g700-footer-buttons {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1rem;
}
.g700-footer-buttons .g700-btn { min-height: 34px; padding: 0 0.9rem; font-size: 1.2rem; }
.g700-copyright {
  color: var(--g700-text-muted);
  font-size: 1.15rem;
  border-top: 1px solid var(--g700-border);
  padding-top: 0.8rem;
  text-align: center;
}

/* ===================== Bottom Nav ===================== */
.g700-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(22,27,34,0.98), rgba(13,17,23,1));
  border-top: 1px solid var(--g700-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.g700-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--g700-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .15s ease, transform .15s ease;
}
.g700-bottom-nav-btn i,
.g700-bottom-nav-btn .material-icons,
.g700-bottom-nav-btn .bi {
  font-size: 22px;
}
.g700-bottom-nav-btn:hover { color: var(--g700-primary); transform: translateY(-1px); }
.g700-bottom-nav-active { color: var(--g700-primary); }
.g700-bottom-nav-active i,
.g700-bottom-nav-active .material-icons,
.g700-bottom-nav-active .bi { color: var(--g700-primary); }
.g700-bottom-nav-btn .g700-nav-badge {
  position: absolute;
  margin-left: 14px; margin-top: -8px;
  background: var(--g700-primary);
  color: #1A0E07;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 5px;
  line-height: 1.4;
}

/* ===================== Desktop ===================== */
@media (min-width: 769px) {
  .g700-bottom-nav { display: none; }
  .g700-footer { padding-bottom: 1.6rem; }
  .g700-wrapper { max-width: 430px; }
  body { background: #05070A; }
}
@media (max-width: 768px) {
  .g700-main { padding-bottom: 84px; }
}

/* RTL/Locale safety */
[lang="en-PH"] body { text-align: left; }
