/* =========================================================
 * win333 bet - shared theme stylesheet (theme-0966.css)
 * All custom class names use the "w0966-" prefix.
 * Mobile-first. Root font-size set to 62.5% (1rem = 10px).
 * ========================================================= */

:root {
  --w0966-primary:   #00CED1;
  --w0966-accent:    #8B7355;
  --w0966-warm:      #A0522D;
  --w0966-bg:        #273746;
  --w0966-bg-deep:   #1B2733;
  --w0966-bg-soft:   #324656;
  --w0966-text:      #F5EFE6;
  --w0966-text-soft: #C9BBA9;
  --w0966-gold:      #E0B672;
  --w0966-border:    rgba(0, 206, 209, 0.18);
  --w0966-radius:    14px;
  --w0966-shadow:    0 6px 22px rgba(0, 0, 0, 0.32);
  --w0966-header-h:  58px;
  --w0966-bottom-h:  62px;
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--w0966-bg-deep);
  color: var(--w0966-text);
  font-size: 62.5%;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Tajawal", sans-serif;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--w0966-primary); text-decoration: none; }
a:hover { color: var(--w0966-gold); }

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

.w0966-container { width: 100%; }

/* ---------------- Header ---------------- */
.w0966-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--w0966-header-h);
  background: linear-gradient(135deg, #1B2733 0%, #273746 60%, #324656 100%);
  border-bottom: 2px solid var(--w0966-border);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

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

.w0966-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--w0966-text);
  min-width: 0;
}
.w0966-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--w0966-primary);
}
.w0966-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w0966-brand-name b { color: var(--w0966-primary); }

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

.w0966-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--w0966-border);
  background: rgba(0, 206, 209, 0.08);
  color: var(--w0966-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

.w0966-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.w0966-btn:active { transform: scale(0.96); }

.w0966-btn-register {
  background: linear-gradient(135deg, #00CED1, #009DA0);
  color: #08222A;
  box-shadow: 0 4px 14px rgba(0, 206, 209, 0.35);
}
.w0966-btn-login {
  background: transparent;
  color: var(--w0966-text);
  border: 1.5px solid var(--w0966-accent);
}

.w0966-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, #A0522D, #E0B672);
  color: #1B2733;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(160, 82, 45, 0.35);
}
.w0966-btn-cta:active { transform: scale(0.97); }

.w0966-text-link {
  color: var(--w0966-primary);
  font-weight: 700;
  border-bottom: 1px dashed rgba(0, 206, 209, 0.45);
}
.w0966-text-link:hover { color: var(--w0966-gold); border-bottom-color: var(--w0966-gold); }

/* ---------------- Nav menu ---------------- */
.w0966-nav-menu {
  position: fixed;
  top: var(--w0966-header-h);
  right: 0;
  width: 78%;
  max-width: 320px;
  background: var(--w0966-bg);
  border-left: 1px solid var(--w0966-border);
  border-bottom: 1px solid var(--w0966-border);
  transform: translateX(110%);
  transition: transform 0.25s ease;
  z-index: 9999;
  padding: 1rem;
  box-shadow: var(--w0966-shadow);
  max-height: calc(100vh - var(--w0966-header-h));
  overflow-y: auto;
}
.w0966-nav-open { transform: translateX(0); }
.w0966-nav-menu h4 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1.25rem;
  color: var(--w0966-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.w0966-nav-menu a {
  display: block;
  padding: 0.85rem 0.8rem;
  font-size: 1.35rem;
  color: var(--w0966-text);
  border-bottom: 1px dashed rgba(245, 239, 230, 0.12);
  border-radius: 6px;
}
.w0966-nav-menu a:hover { background: rgba(0, 206, 209, 0.1); color: var(--w0966-primary); }

/* ---------------- Layout ---------------- */
main.w0966-main {
  padding-top: calc(var(--w0966-header-h) + 8px);
  padding-bottom: calc(var(--w0966-bottom-h) + 24px);
  min-height: 80vh;
}

.w0966-section { margin: 1.8rem 0; }
.w0966-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--w0966-text);
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w0966-section-title i { color: var(--w0966-primary); }
.w0966-section-title span.accent { color: var(--w0966-gold); }

.w0966-lead {
  font-size: 1.4rem;
  line-height: 1.7rem;
  color: var(--w0966-text-soft);
  margin: 0 0 1rem;
}

/* ---------------- Carousel ---------------- */
.w0966-carousel {
  position: relative;
  border-radius: var(--w0966-radius);
  overflow: hidden;
  box-shadow: var(--w0966-shadow);
  background: var(--w0966-bg-soft);
}
.w0966-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.w0966-slide img { width: 100%; height: 200px; object-fit: cover; }
.w0966-slide-active { display: block; }
.w0966-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
}
.w0966-slide-cap small { display: block; font-weight: 500; color: var(--w0966-primary); font-size: 1.15rem; }

.w0966-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.w0966-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.w0966-dot-active { background: var(--w0966-primary); }

/* ---------------- Game grid ---------------- */
.w0966-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.w0966-game-card {
  background: linear-gradient(160deg, var(--w0966-bg-soft), var(--w0966-bg));
  border: 1px solid var(--w0966-border);
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.w0966-game-card:hover, .w0966-game-card:active {
  transform: translateY(-3px);
  border-color: var(--w0966-primary);
  box-shadow: 0 8px 18px rgba(0, 206, 209, 0.25);
}
.w0966-game-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.w0966-game-card .w0966-game-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--w0966-text);
  line-height: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6rem;
}
.w0966-game-card .w0966-game-tag {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.1rem 0.55rem;
  font-size: 0.95rem;
  border-radius: 6px;
  background: rgba(0, 206, 209, 0.16);
  color: var(--w0966-primary);
}

.w0966-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.6rem 0 0.8rem;
}
.w0966-cat-head h2 {
  font-size: 1.65rem;
  margin: 0;
  color: var(--w0966-gold);
  font-weight: 800;
  letter-spacing: 0.03em;
}
.w0966-cat-head .w0966-cat-link {
  font-size: 1.2rem;
  color: var(--w0966-primary);
}

/* ---------------- Generic cards / feature blocks ---------------- */
.w0966-card {
  background: var(--w0966-bg-soft);
  border: 1px solid var(--w0966-border);
  border-radius: var(--w0966-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.w0966-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--w0966-text);
}
.w0966-card p {
  margin: 0 0 0.6rem;
  font-size: 1.32rem;
  color: var(--w0966-text-soft);
  line-height: 1.65rem;
}

.w0966-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.w0966-feature {
  background: linear-gradient(140deg, #324656, #273746);
  border: 1px solid var(--w0966-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.w0966-feature i { font-size: 24px; color: var(--w0966-primary); }
.w0966-feature strong { display: block; font-size: 1.3rem; margin-top: 0.3rem; color: var(--w0966-text); }
.w0966-feature span { font-size: 1.15rem; color: var(--w0966-text-soft); }

.w0966-faq-item {
  background: var(--w0966-bg-soft);
  border: 1px solid var(--w0966-border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.w0966-faq-item h4 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: var(--w0966-gold);
}
.w0966-faq-item p { margin: 0; font-size: 1.28rem; color: var(--w0966-text-soft); line-height: 1.6rem; }

.w0966-step-list { counter-reset: stepc; padding: 0; list-style: none; margin: 0; }
.w0966-step-list li {
  position: relative;
  padding: 0.7rem 0.7rem 0.7rem 3.4rem;
  margin-bottom: 0.6rem;
  background: var(--w0966-bg-soft);
  border-radius: 10px;
  border: 1px solid var(--w0966-border);
  font-size: 1.3rem;
  color: var(--w0966-text-soft);
  line-height: 1.6rem;
}
.w0966-step-list li::before {
  counter-increment: stepc;
  content: counter(stepc);
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem;
  background: linear-gradient(135deg, #00CED1, #A0522D);
  color: #1B2733;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}

.w0966-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.w0966-rtp-grid .w0966-rtp {
  background: var(--w0966-bg-soft);
  border: 1px solid var(--w0966-border);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}
.w0966-rtp strong { display: block; font-size: 1.6rem; color: var(--w0966-gold); }
.w0966-rtp span { font-size: 1.15rem; color: var(--w0966-text-soft); }

.w0966-testimonial {
  background: var(--w0966-bg-soft);
  border-left: 3px solid var(--w0966-primary);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.w0966-testimonial p { margin: 0 0 0.4rem; font-size: 1.28rem; color: var(--w0966-text); font-style: italic; }
.w0966-testimonial small { color: var(--w0966-text-soft); font-size: 1.15rem; }

.w0966-winners {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}
.w0966-winners .w0966-winner {
  flex: 0 0 130px;
  background: var(--w0966-bg-soft);
  border: 1px solid var(--w0966-border);
  border-radius: 10px;
  padding: 0.7rem;
  text-align: center;
}
.w0966-winners .w0966-winner b { display: block; color: var(--w0966-gold); font-size: 1.4rem; }
.w0966-winners .w0966-winner span { font-size: 1.15rem; color: var(--w0966-text-soft); }

.w0966-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
}
.w0966-pay-grid div {
  background: var(--w0966-bg-soft);
  border: 1px solid var(--w0966-border);
  border-radius: 10px;
  padding: 0.8rem 0.4rem;
}
.w0966-pay-grid i { font-size: 22px; color: var(--w0966-primary); }
.w0966-pay-grid span { display: block; margin-top: 0.3rem; font-size: 1.1rem; color: var(--w0966-text-soft); }

/* ---------------- Footer ---------------- */
.w0966-footer {
  background: #14202B;
  border-top: 2px solid var(--w0966-border);
  padding: 1.6rem 0 1rem;
  color: var(--w0966-text-soft);
}
.w0966-footer .w0966-footer-intro {
  font-size: 1.28rem;
  line-height: 1.65rem;
  margin: 0 0 1rem;
  color: var(--w0966-text-soft);
}
.w0966-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  margin-bottom: 1rem;
}
.w0966-footer-links a {
  font-size: 1.2rem;
  color: var(--w0966-text);
  background: rgba(0, 206, 209, 0.08);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--w0966-border);
}
.w0966-footer-links a:hover { background: rgba(0, 206, 209, 0.18); color: var(--w0966-primary); }

.w0966-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}
.w0966-footer-copy {
  border-top: 1px dashed rgba(245, 239, 230, 0.12);
  padding-top: 0.8rem;
  font-size: 1.15rem;
  text-align: center;
}

/* ---------------- Bottom nav ---------------- */
.w0966-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--w0966-bottom-h);
  z-index: 1000;
  background: linear-gradient(180deg, #1B2733, #14202B);
  border-top: 2px solid var(--w0966-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.45);
}
.w0966-bottom-nav-btn {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w0966-text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
  font-family: inherit;
}
.w0966-bottom-nav-btn i,
.w0966-bottom-nav-btn span.material-icons-outlined,
.w0966-bottom-nav-btn ion-icon { font-size: 22px; }
.w0966-bottom-nav-btn .label { font-size: 1.05rem; line-height: 1.2rem; }
.w0966-bottom-nav-btn:active { transform: scale(0.92); }
.w0966-bottom-nav-btn.w0966-nav-active,
.w0966-bottom-nav-btn:hover { color: var(--w0966-primary); }
.w0966-bottom-nav-btn.w0966-nav-active .label { color: var(--w0966-gold); font-weight: 700; }

/* ---------------- Desktop ---------------- */
@media (min-width: 769px) {
  body { background: #0F1820; }
  .w0966-wrapper, .w0966-header-inner { max-width: 960px; }
  .w0966-grid { grid-template-columns: repeat(6, 1fr); }
  .w0966-feature-row { grid-template-columns: repeat(4, 1fr); }
  .w0966-rtp-grid { grid-template-columns: repeat(4, 1fr); }
  .w0966-bottom-nav { display: none; }
  main.w0966-main { padding-bottom: 40px; }
  .w0966-slide img { height: 320px; }
}

@media (min-width: 600px) and (max-width: 768px) {
  .w0966-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
