/* deskgame ph - style.css
   Mobile-first gaming website styles. All custom classes use the s069- prefix.
   Palette: #8FBC8F (sage), #00FF7F (spring green), #3A3A3A (dark bg).
   Comments in English per project standard. */

:root {
  --s069-primary: #00FF7F;
  --s069-primary-dark: #8FBC8F;
  --s069-bg: #3A3A3A;
  --s069-bg-soft: #2f2f2f;
  --s069-bg-deep: #232323;
  --s069-text: #f4fff7;
  --s069-text-muted: #c7d8cc;
  --s069-accent: #ffd34d;
  --s069-card: #424242;
  --s069-border: rgba(143,188,143,0.28);
  --s069-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

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

html { font-size: 62.5%; }

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

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

.s069-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.s069-wrapper { padding-top: 5.6rem; padding-bottom: 8rem; }

/* ============ Header ============ */
.s069-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--s069-bg-deep), var(--s069-bg-soft));
  border-bottom: 2px solid var(--s069-primary-dark);
  box-shadow: var(--s069-shadow);
}
.s069-header-inner {
  max-width: 430px; margin: 0 auto; height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.s069-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--s069-text); }
.s069-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }
.s069-logo b { color: var(--s069-primary); font-size: 1.5rem; font-weight: 700; }

.s069-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.s069-menu-btn {
  background: transparent; border: 1px solid var(--s069-border);
  color: var(--s069-text); width: 3.4rem; height: 3.4rem; border-radius: 0.5rem;
  font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.s069-menu-btn:hover { color: var(--s069-primary); }

.s069-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 3.6rem; padding: 0 1.2rem; border: none; border-radius: 2rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: transform .15s ease, filter .15s ease;
  text-decoration: none;
}
.s069-btn:hover { transform: translateY(-1px); text-decoration: none; filter: brightness(1.08); }
.s069-btn-register { background: linear-gradient(135deg, var(--s069-primary), var(--s069-primary-dark)); color: #10230f; }
.s069-btn-login { background: transparent; color: var(--s069-primary); border: 2px solid var(--s069-primary); }

/* ============ Nav menu ============ */
.s069-nav-wrap { position: fixed; top: 5.6rem; left: 0; right: 0; z-index: 9999; max-width: 430px; margin: 0 auto; }
.s069-nav-menu {
  list-style: none; background: var(--s069-bg-deep); border-bottom: 2px solid var(--s069-primary-dark);
  max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--s069-shadow);
}
.s069-nav-open { max-height: 32rem; }
.s069-nav-menu li { border-bottom: 1px solid rgba(143,188,143,0.18); }
.s069-nav-menu li:last-child { border-bottom: none; }
.s069-nav-menu a {
  display: block; padding: 1.2rem 1.4rem; color: var(--s069-text); font-size: 1.35rem;
}
.s069-nav-menu a:hover { background: rgba(0,255,127,0.08); color: var(--s069-primary); }

/* ============ Hero slider ============ */
.s069-hero { position: relative; border-radius: 1rem; overflow: hidden; margin: 1rem 0; box-shadow: var(--s069-shadow); }
.s069-slide {
  display: none; position: relative; cursor: pointer;
}
.s069-slide-active { display: block; }
.s069-slide img { width: 100%; height: 18rem; object-fit: cover; }
.s069-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.78)); color: #fff; font-weight: 700;
}
.s069-slide-cap span { color: var(--s069-primary); }
.s069-dots { display: flex; gap: 0.5rem; justify-content: center; padding: 0.6rem 0; }
.s069-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; border: none; }
.s069-dot-active { background: var(--s069-primary); }

/* ============ Section titles ============ */
.s069-section { margin: 2rem 0; }
.s069-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--s069-text); margin-bottom: 1rem;
  border-left: 4px solid var(--s069-primary); padding-left: 0.8rem;
}
.s069-section-title em { color: var(--s069-primary); font-style: normal; }
.s069-subtitle { font-size: 1.5rem; color: var(--s069-primary-dark); margin: 1rem 0 0.5rem; font-weight: 700; }
.s069-lead { color: var(--s069-text-muted); font-size: 1.35rem; margin-bottom: 0.8rem; }
.s069-p { margin-bottom: 1rem; color: var(--s069-text-muted); }
.s069-p b, .s069-p strong { color: var(--s069-primary); }

/* ============ Chips ============ */
.s069-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.s069-chip {
  padding: 0.5rem 1rem; border-radius: 2rem; background: var(--s069-card);
  color: var(--s069-text); font-size: 1.2rem; border: 1px solid var(--s069-border); cursor: pointer;
}
.s069-chip-active { background: var(--s069-primary); color: #10230f; border-color: var(--s069-primary); }

/* ============ Game grid ============ */
.s069-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.s069-game-card {
  background: var(--s069-card); border-radius: 0.8rem; overflow: hidden;
  border: 1px solid var(--s069-border); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  display: block;
}
.s069-game-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,255,127,0.25); text-decoration: none; }
.s069-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #1f1f1f; }
.s069-game-name {
  font-size: 1.1rem; color: var(--s069-text); padding: 0.5rem 0.4rem; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}

/* ============ Cards / features ============ */
.s069-card {
  background: var(--s069-card); border-radius: 1rem; padding: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid var(--s069-border); box-shadow: var(--s069-shadow);
}
.s069-card h3 { font-size: 1.5rem; color: var(--s069-primary); margin-bottom: 0.6rem; }
.s069-feature-list { list-style: none; }
.s069-feature-list li { padding: 0.7rem 0; border-bottom: 1px dashed rgba(143,188,143,0.2); display: flex; gap: 0.8rem; }
.s069-feature-list li:last-child { border-bottom: none; }
.s069-feature-list i { color: var(--s069-primary); font-size: 1.6rem; margin-top: 0.2rem; }

/* ============ Testimonials ============ */
.s069-testi { background: var(--s069-card); border-radius: 1rem; padding: 1.2rem; margin-bottom: 1rem; border-left: 4px solid var(--s069-primary); }
.s069-testi-name { font-weight: 700; color: var(--s069-primary); margin-bottom: 0.3rem; }
.s069-testi-text { color: var(--s069-text-muted); font-size: 1.3rem; }

/* ============ Winners ============ */
.s069-winner-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid rgba(143,188,143,0.15); }
.s069-winner-row span { color: var(--s069-text-muted); }
.s069-winner-row b { color: var(--s069-accent); }

/* ============ Payment ============ */
.s069-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.s069-pay-grid div { background: var(--s069-card); border-radius: 0.6rem; padding: 0.8rem 0.4rem; text-align: center; font-size: 1rem; color: var(--s069-text-muted); border: 1px solid var(--s069-border); }

/* ============ RTP table ============ */
.s069-rtp-table { width: 100%; border-collapse: collapse; }
.s069-rtp-table th, .s069-rtp-table td { padding: 0.7rem; border-bottom: 1px solid rgba(143,188,143,0.18); text-align: left; font-size: 1.25rem; }
.s069-rtp-table th { color: var(--s069-primary); }
.s069-rtp-table td b { color: var(--s069-accent); }

/* ============ CTA banner ============ */
.s069-cta {
  background: linear-gradient(135deg, var(--s069-primary), var(--s069-primary-dark));
  border-radius: 1rem; padding: 1.6rem; text-align: center; color: #10230f; margin: 1.5rem 0;
}
.s069-cta h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.s069-cta p { margin-bottom: 1rem; color: #1f3a14; }
.s069-cta .s069-btn { background: #10230f; color: var(--s069-primary); }

/* ============ Promo link inline ============ */
.s069-promo-link { color: var(--s069-primary); font-weight: 800; cursor: pointer; text-decoration: underline; }
.s069-promo-link:hover { color: var(--s069-accent); }

/* ============ Footer ============ */
.s069-footer { background: var(--s069-bg-deep); padding: 2rem 0 8rem; border-top: 2px solid var(--s069-primary-dark); }
.s069-footer-brand { color: var(--s069-text-muted); font-size: 1.25rem; margin-bottom: 1rem; }
.s069-footer-brand b { color: var(--s069-primary); }
.s069-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.s069-footer-links a { background: var(--s069-card); padding: 0.5rem 0.9rem; border-radius: 0.5rem; font-size: 1.15rem; color: var(--s069-text); border: 1px solid var(--s069-border); }
.s069-footer-links a:hover { color: var(--s069-primary); }
.s069-footer-copy { color: var(--s069-text-muted); font-size: 1.1rem; border-top: 1px solid rgba(143,188,143,0.2); padding-top: 1rem; }

/* ============ Bottom nav ============ */
.s069-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 6rem; background: var(--s069-bg-deep); border-top: 2px solid var(--s069-primary);
  display: flex; justify-content: space-around; align-items: center;
}
.s069-bnav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; color: var(--s069-text-muted); cursor: pointer;
  background: transparent; border: none; text-decoration: none; transition: transform .15s ease, color .15s ease;
}
.s069-bnav-item i, .s069-bnav-item .material-icons-outlined { font-size: 2.2rem; }
.s069-bnav-item span { font-size: 1.05rem; margin-top: 0.2rem; }
.s069-bnav-item:hover { transform: scale(1.08); color: var(--s069-primary); text-decoration: none; }
.s069-bnav-active { color: var(--s069-primary); }
.s069-bnav-active i, .s069-bnav-active .material-icons-outlined { color: var(--s069-primary); }

/* ============ Back to top ============ */
.s069-back-top {
  position: fixed; right: 1.2rem; bottom: 7.4rem; z-index: 1001;
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--s069-primary); color: #10230f;
  border: none; cursor: pointer; font-size: 2rem; display: none; align-items: center; justify-content: center;
  box-shadow: var(--s069-shadow);
}
.s069-back-show { display: flex; }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .s069-bnav { display: none; }
  .s069-container { max-width: 760px; }
  .s069-game-grid { grid-template-columns: repeat(6, 1fr); }
  .s069-footer { padding-bottom: 2rem; }
  .s069-wrapper { padding-bottom: 2rem; }
  .s069-nav-wrap { position: static; }
  .s069-nav-menu { max-height: none; display: flex; flex-wrap: wrap; border: none; background: transparent; }
  .s069-nav-menu li { border: none; }
  .s069-nav-menu a { padding: 0.5rem 0.8rem; }
}
