/* =========================================================
 * playtime login - style-e096.css
 * Mobile-first base stylesheet. All custom classes use
 * the we096- prefix. Colors from prompt palette:
 *   #273746 (deep slate)  -> backgrounds
 *   #8B4513 (saddle brown)-> primary brand
 *   #6F4E37 (coffee)      -> secondary
 *   #CD853F (peru)        -> accent / CTA
 * ========================================================= */

:root {
  --we096-primary: #8B4513;
  --we096-secondary: #6F4E37;
  --we096-accent: #CD853F;
  --we096-bg: #273746;
  --we096-bg-soft: #1d2935;
  --we096-bg-card: #2f4254;
  --we096-text: #f5ece0;
  --we096-text-muted: #c8b8a4;
  --we096-line: #3c5168;
  --we096-success: #2ecc71;
  --we096-danger: #e74c3c;
  --we096-radius: 12px;
  --we096-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Root font sizing: 62.5% of 16px = 10px => 1rem = 10px */
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--we096-bg);
  color: var(--we096-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  padding-top: 5.8rem;
}

@media (max-width: 768px) {
  body { padding-top: 5.2rem; }
  main { padding-bottom: 8rem; }
}

a {
  color: var(--we096-accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

h1 { font-size: 2.0rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

/* ---------- Layout containers ---------- */
.we096-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

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

.we096-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--we096-line);
}

.we096-grid {
  display: grid;
  gap: 0.8rem;
}

/* ---------- Header / top navigation ---------- */
.we096-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1d2935 0%, #273746 100%);
  border-bottom: 2px solid var(--we096-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

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

.we096-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}

.we096-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.we096-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.we096-brand-name span { color: var(--we096-accent); }

.we096-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.we096-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  color: #fff;
  background: var(--we096-primary);
}

.we096-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.we096-btn:active { transform: scale(0.97); }

.we096-btn-accent {
  background: var(--we096-accent);
  color: #2a1c08;
}

.we096-btn-ghost {
  background: transparent;
  border: 1px solid var(--we096-accent);
  color: var(--we096-accent);
}

.we096-btn-sm {
  min-height: 30px;
  padding: 0 0.8rem;
  font-size: 1.2rem;
}

.we096-menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

/* ---------- Mobile slide-down menu ---------- */
.we096-mobile-menu {
  position: fixed;
  top: 5.2rem; left: 0; right: 0;
  background: var(--we096-bg-soft);
  border-bottom: 2px solid var(--we096-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}

.we096-mobile-menu.we096-menu-open {
  max-height: 80vh;
  overflow-y: auto;
}

.we096-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1rem 1rem;
}

.we096-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--we096-line);
  color: var(--we096-text);
  font-weight: 600;
}

.we096-mobile-menu a:hover {
  color: var(--we096-accent);
  text-decoration: none;
}

/* ---------- Hero carousel ---------- */
.we096-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--we096-shadow);
}

.we096-hero-slide {
  position: relative;
  display: none;
  cursor: pointer;
}

.we096-hero-slide.we096-slide-active { display: block; }

.we096-hero-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.we096-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
}

.we096-hero-caption h2 {
  margin: 0 0 0.2rem;
  font-size: 1.6rem;
  color: #fff;
}

.we096-hero-caption p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--we096-text-muted);
}

.we096-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.we096-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
}

.we096-hero-dot.we096-dot-active {
  background: var(--we096-accent);
  width: 22px;
  border-radius: 4px;
}

/* ---------- Chips / filters ---------- */
.we096-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.we096-chip {
  background: var(--we096-bg-card);
  color: var(--we096-text);
  border: 1px solid var(--we096-line);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
}

.we096-chip.we096-chip-active {
  background: var(--we096-accent);
  color: #2a1c08;
  border-color: var(--we096-accent);
  font-weight: 700;
}

/* ---------- Section headings ---------- */
.we096-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.4rem 0 0.8rem;
}

.we096-section-title h2 {
  margin: 0;
  font-size: 1.6rem;
}

.we096-section-title .we096-more {
  font-size: 1.2rem;
  color: var(--we096-accent);
}

/* ---------- Game grid ---------- */
.we096-game-group {
  margin: 1rem 0;
}

.we096-game-group h3 {
  font-size: 1.4rem;
  margin: 0.4rem 0 0.8rem;
  color: var(--we096-accent);
}

.we096-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (min-width: 380px) {
  .we096-game-grid { gap: 0.8rem; }
}

.we096-game-card {
  display: block;
  background: var(--we096-bg-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid var(--we096-line);
}

.we096-game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--we096-shadow);
  text-decoration: none;
}

.we096-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.we096-game-name {
  padding: 0.4rem 0.4rem 0.5rem;
  font-size: 1.05rem;
  color: var(--we096-text);
  text-align: center;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / panels ---------- */
.we096-card {
  background: var(--we096-bg-card);
  border: 1px solid var(--we096-line);
  border-radius: var(--we096-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
}

.we096-card h3 { margin-top: 0; }

.we096-promo-banner {
  background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
  border-radius: var(--we096-radius);
  padding: 1.4rem 1.2rem;
  color: #fff;
  text-align: center;
  margin: 1rem 0;
  box-shadow: var(--we096-shadow);
}

.we096-promo-banner h3 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.we096-promo-banner p { margin-bottom: 0.8rem; color: #fff7ec; }

/* ---------- CTA button large ---------- */
.we096-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--we096-accent);
  color: #2a1c08;
  padding: 1.1rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  margin: 0.6rem 0;
}

.we096-cta:hover { filter: brightness(1.08); text-decoration: none; }

/* ---------- Feature list ---------- */
.we096-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.we096-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem;
  background: var(--we096-bg-soft);
  border-radius: 8px;
  border-left: 3px solid var(--we096-accent);
}

.we096-feature-list i { color: var(--we096-accent); font-size: 1.6rem; line-height: 1.4; }

/* ---------- Steps ---------- */
.we096-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.we096-steps li {
  counter-increment: step;
  position: relative;
  padding: 0.7rem 0.7rem 0.7rem 3.2rem;
  background: var(--we096-bg-soft);
  border-radius: 8px;
}

.we096-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.7rem; top: 0.7rem;
  width: 2rem; height: 2rem;
  background: var(--we096-accent);
  color: #2a1c08;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ---------- FAQ accordion ---------- */
.we096-faq-item {
  background: var(--we096-bg-soft);
  border: 1px solid var(--we096-line);
  border-radius: 8px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.we096-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

.we096-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1rem;
  color: var(--we096-text-muted);
}

.we096-faq-open .we096-faq-a { max-height: 360px; padding: 0 1rem 1rem; }
.we096-faq-open .we096-faq-q { color: var(--we096-accent); }

/* ---------- RTP table ---------- */
.we096-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0;
  font-size: 1.2rem;
}

.we096-rtp-table th, .we096-rtp-table td {
  border: 1px solid var(--we096-line);
  padding: 0.6rem 0.7rem;
  text-align: left;
}

.we096-rtp-table th {
  background: var(--we096-primary);
  color: #fff;
}

.we096-rtp-table tr:nth-child(even) td { background: var(--we096-bg-soft); }

/* ---------- Testimonial ---------- */
.we096-testimonial {
  background: var(--we096-bg-soft);
  border-left: 3px solid var(--we096-accent);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0.6rem 0;
}

.we096-testimonial p { margin: 0 0 0.4rem; }
.we096-testimonial .we096-author { color: var(--we096-accent); font-weight: 700; font-size: 1.2rem; }

/* ---------- Payment chips ---------- */
.we096-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0;
}

.we096-pay {
  background: var(--we096-bg-soft);
  border: 1px solid var(--we096-line);
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-size: 1.2rem;
  color: var(--we096-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Winners ticker ---------- */
.we096-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  background: var(--we096-bg-soft);
  border-radius: 6px;
  margin: 0.4rem 0;
  font-size: 1.2rem;
}

.we096-winner b { color: var(--we096-accent); }

/* ---------- Footer ---------- */
.we096-footer {
  background: var(--we096-bg-soft);
  border-top: 2px solid var(--we096-primary);
  padding: 2rem 0 9rem;
  margin-top: 2rem;
}

.we096-footer-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.we096-footer h4 {
  color: var(--we096-accent);
  margin: 1.2rem 0 0.6rem;
  font-size: 1.3rem;
}

.we096-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.we096-footer-links a {
  font-size: 1.2rem;
  color: var(--we096-text-muted);
}

.we096-footer-promos {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.we096-footer-brand {
  font-size: 1.2rem;
  color: var(--we096-text-muted);
  line-height: 1.6;
}

.we096-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--we096-text-muted);
  margin-top: 1.2rem;
  border-top: 1px solid var(--we096-line);
  padding-top: 1rem;
}

/* ---------- Mobile bottom navigation ---------- */
.we096-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: linear-gradient(180deg, #1d2935 0%, #11181f 100%);
  border-top: 2px solid var(--we096-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.45);
}

.we096-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--we096-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.0rem;
  font-weight: 600;
  padding: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.we096-bottom-nav-btn .material-icons,
.we096-bottom-nav-btn ion-icon,
.we096-bottom-nav-btn i {
  font-size: 22px;
}

.we096-bottom-nav-btn:hover { color: var(--we096-accent); }
.we096-bottom-nav-btn:active { transform: scale(0.92); }

.we096-bottom-nav-btn.we096-nav-current {
  color: var(--we096-accent);
}

.we096-bottom-nav-btn.we096-nav-current::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: var(--we096-accent);
  border-radius: 2px;
  margin-top: 2px;
}

/* ---------- Back-to-top button ---------- */
.we096-top-btn {
  position: fixed;
  right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--we096-accent);
  color: #2a1c08;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.we096-top-btn.we096-top-visible { opacity: 0.95; transform: translateY(0); }

/* ---------- Desktop: hide bottom nav, expand container ---------- */
@media (min-width: 769px) {
  .we096-bottom-nav { display: none; }
  body { padding-bottom: 0; }
  main { padding-bottom: 0; }
  .we096-container, .we096-wrapper, .we096-header-inner,
  .we096-mobile-menu-inner, .we096-footer-inner { max-width: 760px; }
  .we096-game-grid { grid-template-columns: repeat(6, 1fr); }
  .we096-footer-links { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Utilities ---------- */
.we096-text-accent { color: var(--we096-accent); }
.we096-text-muted { color: var(--we096-text-muted); }
.we096-center { text-align: center; }
.we096-mt-1 { margin-top: 0.6rem; }
.we096-mt-2 { margin-top: 1.2rem; }
.we096-hidden { display: none !important; }

/* Accessibility: visually hidden but available to screen readers */
.we096-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
