/* ============================================================
 * ninogaming apk - layout-d100.css
 * All custom classes use the "wd100-" prefix.
 * Palette: #F4A460 | #273746 | #ECF0F1 | #F0E68C | #E5E5E5 | #DEB887
 * Mobile-first. Root font 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --wd100-primary: #F4A460;
  --wd100-bg: #273746;
  --wd100-text: #ECF0F1;
  --wd100-accent: #F0E68C;
  --wd100-muted: #E5E5E5;
  --wd100-wood: #DEB887;
  --wd100-bg-deep: #1d2932;
  --wd100-bg-card: #324654;
  --wd100-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, var(--wd100-bg-deep) 0%, var(--wd100-bg) 40%, var(--wd100-bg-deep) 100%);
  color: var(--wd100-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.wd100-no-scroll { overflow: hidden; }

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

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: 2.4rem; color: var(--wd100-accent); }
h2 { font-size: 2.0rem; color: var(--wd100-primary); }
h3 { font-size: 1.7rem; color: var(--wd100-wood); }
h4 { font-size: 1.5rem; color: var(--wd100-text); }

.wd100-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.wd100-wrapper { width: 100%; }

/* ============ HEADER ============ */
.wd100-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--wd100-bg-deep), var(--wd100-bg) 60%, var(--wd100-bg-deep));
  border-bottom: 2px solid var(--wd100-primary);
  box-shadow: var(--wd100-shadow);
}
.wd100-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.8rem;
}
.wd100-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--wd100-text);
  font-weight: 800;
  font-size: 1.5rem;
}
.wd100-logo img { width: 28px; height: 28px; border-radius: 6px; }
.wd100-logo .wd100-logo-accent { color: var(--wd100-primary); }

.wd100-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.wd100-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 2.4rem;
  padding: 0.7rem 1.3rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-height: 36px;
}
.wd100-btn:active { transform: scale(0.96); }
.wd100-btn-login {
  background: transparent;
  color: var(--wd100-text);
  border: 1.5px solid var(--wd100-wood);
}
.wd100-btn-register {
  background: linear-gradient(90deg, var(--wd100-primary), #e08a3e);
  color: #1d2932;
  box-shadow: 0 3px 10px rgba(244,164,96,0.45);
}

.wd100-menu-toggle {
  background: transparent;
  border: 1px solid var(--wd100-wood);
  color: var(--wd100-text);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ============ MOBILE MENU (slide down) ============ */
.wd100-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--wd100-bg-deep);
  transform: translateY(-100%);
  transition: transform .28s ease;
  max-height: 100vh;
  overflow-y: auto;
  padding: 6rem 1.2rem 2rem;
  border-bottom: 3px solid var(--wd100-primary);
}
.wd100-mobile-menu.wd100-menu-open { transform: translateY(0); }
.wd100-menu-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: var(--wd100-primary);
  color: #1d2932;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  font-size: 1.8rem; line-height: 1;
  cursor: pointer;
}
.wd100-mobile-menu h3 {
  color: var(--wd100-accent);
  font-size: 1.4rem;
  margin-top: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wd100-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid rgba(222,184,135,0.2);
  color: var(--wd100-text);
  font-size: 1.4rem;
}
.wd100-mobile-menu a:hover { background: rgba(244,164,96,0.12); color: var(--wd100-accent); }
.wd100-menu-cta {
  margin-top: 1.5rem;
  display: flex; gap: 0.8rem;
}
.wd100-menu-cta .wd100-btn { flex: 1; justify-content: center; }

/* ============ MAIN ============ */
.wd100-main {
  padding-top: 6rem;
  padding-bottom: 8rem;
}

/* ============ CAROUSEL ============ */
.wd100-carousel {
  position: relative;
  margin: 1rem 0 1.4rem;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--wd100-shadow);
  aspect-ratio: 16 / 9;
}
.wd100-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.wd100-slide.wd100-slide-active { opacity: 1; }
.wd100-slide img { width: 100%; height: 100%; object-fit: cover; }
.wd100-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(29,41,50,0) 0%, rgba(29,41,50,0.85) 100%);
}
.wd100-slide-overlay h3 { color: var(--wd100-accent); margin: 0 0 0.3rem; font-size: 1.5rem; }
.wd100-slide-overlay p { margin: 0; font-size: 1.2rem; color: var(--wd100-text); }
.wd100-dots {
  position: absolute;
  bottom: 0.6rem; right: 0.8rem;
  display: flex; gap: 0.4rem;
}
.wd100-dot {
  width: 7px; height: 7px;
  background: rgba(236,240,241,0.5);
  border-radius: 50%;
}
.wd100-dot.wd100-dot-active { background: var(--wd100-primary); }

/* ============ HERO / H1 ============ */
.wd100-hero {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}
.wd100-hero h1 { margin-bottom: 0.8rem; }
.wd100-hero .wd100-sub {
  color: var(--wd100-muted);
  font-size: 1.3rem;
  margin: 0 auto 1.2rem;
  max-width: 36rem;
}
.wd100-hero-cta {
  display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap;
  margin-top: 0.6rem;
}

/* ============ FILTER CHIPS ============ */
.wd100-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.6rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.wd100-filter-chip {
  flex: 0 0 auto;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  background: var(--wd100-bg-card);
  color: var(--wd100-text);
  font-size: 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.wd100-filter-chip.wd100-chip-active {
  background: var(--wd100-primary);
  color: #1d2932;
  font-weight: 700;
}

/* ============ GAME SECTION ============ */
.wd100-section { padding: 1.6rem 0; }
.wd100-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.wd100-section-head h2 { margin: 0; font-size: 1.7rem; }
.wd100-section-head .wd100-more { font-size: 1.2rem; color: var(--wd100-accent); }

.wd100-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.wd100-game-card {
  background: var(--wd100-bg-card);
  border-radius: 0.8rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid rgba(222,184,135,0.18);
}
.wd100-game-card:active { transform: scale(0.97); }
.wd100-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.wd100-game-name {
  display: block;
  font-size: 1.05rem;
  color: var(--wd100-text);
  text-align: center;
  padding: 0.45rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.wd100-game-badge {
  position: absolute; top: 4px; left: 4px;
  background: var(--wd100-primary);
  color: #1d2932;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 0.4rem;
}

/* ============ CONTENT BLOCKS ============ */
.wd100-card {
  background: var(--wd100-bg-card);
  border-radius: 1rem;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(222,184,135,0.15);
  box-shadow: var(--wd100-shadow);
}
.wd100-card h2 { margin-top: 0; }
.wd100-prose p { margin: 0 0 1rem; color: var(--wd100-muted); }
.wd100-prose strong { color: var(--wd100-accent); }
.wd100-prose a { color: var(--wd100-primary); font-weight: 600; }
.wd100-list { padding-left: 1.4rem; margin: 0 0 1rem; }
.wd100-list li { margin-bottom: 0.5rem; color: var(--wd100-muted); }

.wd100-inline-links a {
  color: var(--wd100-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ============ FEATURES GRID ============ */
.wd100-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.wd100-feature {
  background: rgba(244,164,96,0.08);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(244,164,96,0.25);
}
.wd100-feature i, .wd100-feature .material-icons-outlined {
  font-size: 2.2rem;
  color: var(--wd100-primary);
}
.wd100-feature h4 { margin: 0.5rem 0 0.3rem; color: var(--wd100-text); }
.wd100-feature p { margin: 0; font-size: 1.1rem; color: var(--wd100-muted); }

/* ============ FAQ ============ */
.wd100-faq-item {
  border-bottom: 1px solid rgba(222,184,135,0.2);
  padding: 0.8rem 0;
}
.wd100-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--wd100-text);
  font-size: 1.3rem;
}
.wd100-faq-q i { color: var(--wd100-primary); transition: transform .2s ease; }
.wd100-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--wd100-muted);
}
.wd100-faq-item.wd100-faq-open .wd100-faq-a {
  max-height: 400px;
  padding-top: 0.6rem;
}
.wd100-faq-item.wd100-faq-open .wd100-faq-q i { transform: rotate(45deg); }

/* ============ TESTIMONIALS ============ */
.wd100-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.wd100-testimonial {
  background: rgba(240,230,140,0.07);
  border-left: 3px solid var(--wd100-accent);
  padding: 1rem;
  border-radius: 0.5rem;
}
.wd100-testimonial p { margin: 0 0 0.5rem; color: var(--wd100-text); font-size: 1.25rem; }
.wd100-testimonial .wd100-stars { color: var(--wd100-primary); font-size: 1.1rem; }
.wd100-testimonial .wd100-author { font-size: 1.1rem; color: var(--wd100-muted); }

/* ============ PAYMENT ============ */
.wd100-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  text-align: center;
}
.wd100-pay-item {
  background: var(--wd100-bg-deep);
  border-radius: 0.6rem;
  padding: 0.8rem 0.3rem;
  font-size: 1rem;
  color: var(--wd100-muted);
  border: 1px solid rgba(222,184,135,0.18);
}
.wd100-pay-item i { font-size: 1.8rem; color: var(--wd100-accent); display: block; margin-bottom: 0.3rem; }

/* ============ WINNERS ============ */
.wd100-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--wd100-bg-deep);
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.wd100-winner .wd100-wname { color: var(--wd100-text); font-weight: 600; }
.wd100-winner .wd100-wgame { color: var(--wd100-muted); font-size: 1.1rem; }
.wd100-winner .wd100-wamount { color: var(--wd100-primary); font-weight: 700; }

/* ============ CTA banner ============ */
.wd100-cta-banner {
  background: linear-gradient(135deg, var(--wd100-primary), #d97f3a);
  color: #1d2932;
  border-radius: 1rem;
  padding: 1.4rem;
  text-align: center;
  margin: 1.2rem 0;
}
.wd100-cta-banner h3 { color: #1d2932; margin: 0 0 0.4rem; }
.wd100-cta-banner p { margin: 0 0 1rem; font-size: 1.2rem; color: #2a3a44; }
.wd100-cta-banner .wd100-btn { background: var(--wd100-bg-deep); color: var(--wd100-accent); }

/* ============ RTP TABLE ============ */
.wd100-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.wd100-rtp-table th, .wd100-rtp-table td {
  padding: 0.6rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(222,184,135,0.18);
}
.wd100-rtp-table th { color: var(--wd100-accent); }
.wd100-rtp-table td { color: var(--wd100-muted); }
.wd100-rtp-table .wd100-rtp-high { color: #6ee7b7; font-weight: 700; }

/* ============ REVEAL animation ============ */
.wd100-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.wd100-reveal.wd100-visible { opacity: 1; transform: none; }

/* ============ FOOTER ============ */
.wd100-footer {
  background: var(--wd100-bg-deep);
  border-top: 2px solid var(--wd100-primary);
  padding: 2rem 1.2rem 8rem;
  margin-top: 2rem;
  color: var(--wd100-muted);
}
.wd100-footer-inner { max-width: 430px; margin: 0 auto; }
.wd100-footer h4 { color: var(--wd100-accent); margin-top: 1.5rem; }
.wd100-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin: 0.6rem 0;
}
.wd100-footer-links a { color: var(--wd100-muted); font-size: 1.2rem; }
.wd100-footer-links a:hover { color: var(--wd100-primary); }
.wd100-footer-cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.wd100-footer-cta .wd100-btn { font-size: 1.15rem; padding: 0.6rem 1rem; }
.wd100-footer-copy {
  border-top: 1px solid rgba(222,184,135,0.2);
  padding-top: 1rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--wd100-muted);
}

/* ============ BOTTOM NAV ============ */
.wd100-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--wd100-bg) 0%, var(--wd100-bg-deep) 100%);
  border-top: 2px solid var(--wd100-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.4);
}
.wd100-navbtn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--wd100-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.wd100-navbtn i, .wd100-navbtn .material-icons-outlined {
  font-size: 22px;
  margin-bottom: 2px;
}
.wd100-navbtn:active { transform: scale(0.92); }
.wd100-navbtn-current { color: var(--wd100-primary); }
.wd100-navbtn-current::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--wd100-primary);
  border-radius: 0 0 4px 4px;
}
.wd100-navbtn-promo { color: var(--wd100-accent); }

/* ============ DESKTOP ============ */
@media (min-width: 769px) {
  body { background: linear-gradient(180deg, #1a2530 0%, var(--wd100-bg) 50%, #1a2530 100%); }
  .wd100-container, .wd100-footer-inner, .wd100-header-inner { max-width: 760px; }
  .wd100-grid { grid-template-columns: repeat(6, 1fr); }
  .wd100-features { grid-template-columns: repeat(4, 1fr); }
  .wd100-testimonials { grid-template-columns: repeat(2, 1fr); }
  .wd100-bottom-nav { display: none; }
  .wd100-footer { padding-bottom: 2rem; }
  .wd100-main { padding-bottom: 3rem; }
  .wd100-menu-toggle { display: none; }
}

/* keep touch targets comfortable */
@media (max-width: 360px) {
  .wd100-grid { grid-template-columns: repeat(2, 1fr); }
  .wd100-btn { padding: 0.6rem 1rem; font-size: 1.2rem; }
}
