/* =========================================================
 * yy777 com login - Base Theme Stylesheet
 * Filename: css/theme-ae76.css
 * Class prefix: g769-
 * Palette: #696969 | #1C2833 | #40E0D0 | #98FB98 | #9AFF9A
 * Mobile-first, root font 62.5% (1rem = 10px).
 * =======================================================*/

:root {
  --g769-primary: #40E0D0;      /* turquoise accent */
  --g769-secondary: #98FB98;    /* pale green */
  --g769-tertiary: #9AFF9A;     /* mint highlight */
  --g769-bg: #1C2833;           /* dark slate background */
  --g769-bg-alt: #243447;       /* lighter slate panel */
  --g769-bg-deep: #0f1822;      /* deepest footer bg */
  --g769-text: #F5FFFA;         /* near-white text */
  --g769-muted: #B0C4DE;        /* muted text */
  --g769-grey: #696969;         /* dim grey */
  --g769-gold: #FFD700;         /* highlight gold */
  --g769-danger: #FF6B6B;       /* alert red */
  --g769-shadow: 0 0.4rem 1.6rem rgba(0,0,0,.35);
  --g769-radius: 1.2rem;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: var(--g769-text);
  background: var(--g769-bg);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g769-secondary); text-decoration: none; }
a:hover { color: var(--g769-primary); }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 0.8rem; color: var(--g769-text); }

.g769-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--g769-bg);
}

/* ===================== Header ===================== */
.g769-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0f1822 0%, #1C2833 100%);
  box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,.4);
  border-bottom: 1px solid rgba(64,224,208,.25);
}
.g769-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.g769-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--g769-text);
  font-weight: 700;
  font-size: 1.5rem;
}
.g769-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.g769-logo span { color: var(--g769-primary); }

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

/* Register / Login buttons */
.g769-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  border: none;
  border-radius: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
  min-height: 3.6rem;
}
.g769-btn:hover { transform: translateY(-1px); }
.g769-btn-register {
  background: linear-gradient(135deg, #40E0D0, #98FB98);
  color: #0f1822;
  box-shadow: 0 0.4rem 1rem rgba(64,224,208,.35);
}
.g769-btn-login {
  background: transparent;
  color: var(--g769-secondary);
  border: 1px solid var(--g769-secondary);
}
.g769-btn-cta {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1C2833;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  width: 100%;
  justify-content: center;
  box-shadow: 0 0.4rem 1.4rem rgba(255,215,0,.35);
}
.g769-btn-ghost {
  background: transparent;
  color: var(--g769-text);
  border: 1px solid rgba(255,255,255,.18);
  padding: 0.6rem 1.2rem;
  border-radius: 1rem;
}

/* Menu toggle */
.g769-menu-toggle {
  background: transparent;
  border: 1px solid rgba(64,224,208,.4);
  color: var(--g769-primary);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.g769-mobile-menu {
  display: none;
  flex-direction: column;
  background: #0f1822;
  padding: 1rem;
  border-top: 1px solid rgba(64,224,208,.18);
}
.g769-mobile-menu.g769-menu-open { display: flex; }
.g769-mobile-menu a {
  color: var(--g769-text);
  padding: 1rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g769-mobile-menu a:hover { color: var(--g769-primary); background: rgba(64,224,208,.06); }

/* ===================== Main layout ===================== */
.g769-main {
  padding-top: 6.2rem;
  padding-bottom: 8.5rem; /* clearance for bottom nav */
}
.g769-container { padding: 1.2rem; }

/* ===================== Carousel ===================== */
.g769-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--g769-radius);
  overflow: hidden;
  box-shadow: var(--g769-shadow);
  margin-bottom: 1.6rem;
}
.g769-slide {
  display: none;
  position: relative;
  width: 100%;
}
.g769-slide.g769-slide-active { display: block; }
.g769-slide img { width: 100%; height: 17rem; object-fit: cover; }
.g769-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,24,34,0) 0%, rgba(15,24,34,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.g769-slide-title { font-size: 1.7rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.g769-slide-desc { font-size: 1.25rem; color: var(--g769-secondary); margin-bottom: 0.6rem; }
.g769-slide-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1C2833;
  padding: 0.6rem 1.4rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
}
.g769-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  display: flex;
  gap: 0.4rem;
}
.g769-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  border: none;
}
.g769-dot.g769-dot-active { background: var(--g769-primary); }

/* ===================== Sections ===================== */
.g769-section {
  margin: 1.6rem 0;
  padding: 1.2rem;
  background: var(--g769-bg-alt);
  border-radius: var(--g769-radius);
  box-shadow: var(--g769-shadow);
}
.g769-section-title {
  font-size: 1.6rem;
  color: var(--g769-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--g769-primary);
  padding-left: 0.8rem;
}
.g769-section-title i { font-size: 1.8rem; }
.g769-text p { color: var(--g769-muted); font-size: 1.35rem; line-height: 1.6; margin: 0 0 1rem; }

/* ===================== Filter chips ===================== */
.g769-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.g769-chip {
  background: rgba(64,224,208,.08);
  color: var(--g769-text);
  border: 1px solid rgba(64,224,208,.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s ease;
}
.g769-chip.g769-chip-active {
  background: var(--g769-primary);
  color: #0f1822;
  font-weight: 700;
}

/* ===================== Game grid ===================== */
.g769-game-group { margin-bottom: 1.6rem; }
.g769-group-title {
  font-size: 1.5rem;
  color: var(--g769-tertiary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g769-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.g769-game-card {
  background: #0f1822;
  border-radius: 0.8rem;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(64,224,208,.12);
  transition: transform .15s ease, border-color .15s ease;
  display: block;
}
.g769-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--g769-primary);
}
.g769-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.3rem;
}
.g769-game-name {
  font-size: 1.05rem;
  color: var(--g769-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ===================== Cards ===================== */
.g769-card {
  background: #0f1822;
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g769-primary);
}
.g769-card h3 { color: var(--g769-tertiary); font-size: 1.35rem; margin-bottom: 0.5rem; }
.g769-card p { color: var(--g769-muted); font-size: 1.25rem; line-height: 1.5; }

/* ===================== FAQ accordion ===================== */
.g769-faq-item {
  background: #0f1822;
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(64,224,208,.12);
}
.g769-faq-header {
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--g769-text);
  font-size: 1.3rem;
}
.g769-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 1rem;
  color: var(--g769-muted);
  font-size: 1.2rem;
  line-height: 1.5;
}
.g769-faq-open .g769-faq-body { max-height: 600px; padding: 0 1rem 1rem; }
.g769-faq-icon { color: var(--g769-primary); transition: transform .2s ease; }
.g769-faq-open .g769-faq-icon { transform: rotate(180deg); }

/* ===================== Testimonials ===================== */
.g769-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.g769-testimonial {
  background: #0f1822;
  border-radius: 0.8rem;
  padding: 1rem;
  border-left: 3px solid var(--g769-gold);
}
.g769-stars { color: var(--g769-gold); font-size: 1.2rem; margin-bottom: 0.4rem; }
.g769-testimonial p { font-size: 1.25rem; color: var(--g769-muted); line-height: 1.5; margin-bottom: 0.4rem; }
.g769-author { color: var(--g769-tertiary); font-weight: 600; font-size: 1.2rem; }

/* ===================== RTP / data table ===================== */
.g769-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.g769-table th, .g769-table td {
  padding: 0.6rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.g769-table th { color: var(--g769-primary); font-size: 1.15rem; }
.g769-table td { color: var(--g769-muted); }
.g769-tag-high { color: var(--g769-tertiary); font-weight: 700; }
.g769-tag-mid { color: var(--g769-gold); font-weight: 600; }

/* ===================== Payment grid ===================== */
.g769-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.g769-pay {
  background: #0f1822;
  border-radius: 0.6rem;
  padding: 0.6rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--g769-muted);
  border: 1px solid rgba(64,224,208,.12);
}
.g769-pay i { font-size: 1.8rem; color: var(--g769-secondary); display: block; margin-bottom: 0.3rem; }

/* ===================== Winners ===================== */
.g769-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: #0f1822;
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.g769-winner-name { color: var(--g769-text); font-weight: 600; }
.g769-winner-game { color: var(--g769-muted); font-size: 1.1rem; }
.g769-winner-amount { color: var(--g769-gold); font-weight: 700; }

/* ===================== Promo link text ===================== */
.g769-promo-link {
  color: var(--g769-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.g769-promo-link:hover { color: var(--g769-primary); }

.g769-cta-box {
  background: linear-gradient(135deg, rgba(64,224,208,.15), rgba(152,251,152,.1));
  border: 1px solid rgba(64,224,208,.4);
  border-radius: var(--g769-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
}
.g769-cta-box h3 { color: var(--g769-primary); font-size: 1.6rem; margin-bottom: 0.5rem; }
.g769-cta-box p { color: var(--g769-muted); font-size: 1.3rem; margin-bottom: 1rem; }

/* ===================== Footer ===================== */
.g769-footer {
  background: var(--g769-bg-deep);
  padding: 2rem 1.2rem 9rem;
  margin-top: 2rem;
}
.g769-footer-brand {
  color: var(--g769-text);
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.g769-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.g769-footer-links a {
  color: var(--g769-secondary);
  font-size: 1.15rem;
  background: rgba(64,224,208,.08);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(64,224,208,.18);
}
.g769-footer-links a:hover { background: rgba(64,224,208,.18); color: var(--g769-text); }
.g769-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.g769-footer-promos .g769-btn { flex: 1 1 45%; justify-content: center; font-size: 1.2rem; }
.g769-copyright {
  text-align: center;
  color: var(--g769-muted);
  font-size: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ===================== Bottom nav ===================== */
.g769-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1C2833 0%, #0f1822 100%);
  border-top: 1px solid rgba(64,224,208,.35);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 6rem;
  padding: 0;
}
.g769-bottom-nav a, .g769-bottom-nav button {
  flex: 1 1 0;
  background: transparent;
  border: none;
  color: var(--g769-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.4rem 0;
  min-width: 60px;
  min-height: 56px;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.g769-bottom-nav a i, .g769-bottom-nav button i { font-size: 2.2rem; }
.g769-bottom-nav a:hover, .g769-bottom-nav button:hover { color: var(--g769-primary); transform: translateY(-1px); }
.g769-bottom-nav .g769-active { color: var(--g769-primary); }
.g769-bottom-nav .g769-active i { color: var(--g769-gold); }

/* ===================== Back to top ===================== */
.g769-top-btn {
  position: fixed;
  right: 1.2rem;
  bottom: 7.5rem;
  z-index: 999;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: var(--g769-primary);
  color: #0f1822;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--g769-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================== Trust badges ===================== */
.g769-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.g769-trust-item {
  background: #0f1822;
  border-radius: 0.6rem;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid rgba(64,224,208,.12);
}
.g769-trust-item i { font-size: 2rem; color: var(--g769-secondary); margin-bottom: 0.3rem; }
.g769-trust-item h4 { color: var(--g769-tertiary); font-size: 1.2rem; margin-bottom: 0.3rem; }
.g769-trust-item p { color: var(--g769-muted); font-size: 1.1rem; line-height: 1.4; }

/* ===================== CTA strip ===================== */
.g769-cta-strip {
  background: linear-gradient(90deg, #40E0D0, #98FB98);
  color: #0f1822;
  padding: 1rem;
  text-align: center;
  border-radius: var(--g769-radius);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 1.4rem 0;
  cursor: pointer;
}

/* ===================== Desktop / tablet ===================== */
@media (min-width: 769px) {
  .g769-bottom-nav { display: none; }
  .g769-wrapper { max-width: 768px; }
  .g769-main { padding-bottom: 2rem; }
  .g769-footer { padding-bottom: 2rem; }
  .g769-grid { grid-template-columns: repeat(6, 1fr); }
  .g769-pay-grid { grid-template-columns: repeat(6, 1fr); }
  .g769-testimonials { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 431px) and (max-width: 768px) {
  .g769-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ===================== Accessibility focus ===================== */
a:focus-visible, button:focus-visible, .g769-btn:focus-visible {
  outline: 2px solid var(--g769-gold);
  outline-offset: 2px;
}
