/* ============================================================
 * 2jl login - shared stylesheet
 * All custom classes use the we1c9- prefix for isolation.
 * Palette: #1B263B | #B8860B | #34495E | #F0E68C | #FFB347
 * Mobile-first, root font 62.5% for rem math.
 * ============================================================ */

:root {
  --we1c9-bg: #1B263B;
  --we1c9-bg-alt: #34495E;
  --we1c9-primary: #B8860B;
  --we1c9-primary-soft: #FFB347;
  --we1c9-text: #F0E68C;
  --we1c9-text-strong: #FFFFFF;
  --we1c9-muted: rgba(240, 230, 140, 0.72);
  --we1c9-border: rgba(184, 134, 11, 0.35);
  --we1c9-card: rgba(52, 73, 94, 0.55);
  --we1c9-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(160deg, #1B263B 0%, #243447 55%, #34495E 100%);
  color: var(--we1c9-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  min-height: 100vh;
}

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

h1, h2, h3 { color: var(--we1c9-text-strong); line-height: 1.35; margin: 0 0 0.8em; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1em; line-height: 1.7; }

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

.we1c9-container {
  padding: 1.6rem 1.2rem;
}

main.we1c9-main {
  padding-bottom: 80px;
}

/* ============== Header ============== */
.we1c9-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 38, 59, 0.96);
  border-bottom: 1px solid var(--we1c9-border);
  box-shadow: var(--we1c9-shadow);
}

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

.we1c9-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--we1c9-text-strong);
  font-weight: 700;
  font-size: 1.5rem;
}

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

.we1c9-brand span { color: var(--we1c9-text-strong); }

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

.we1c9-menu-btn {
  background: transparent;
  border: 1px solid var(--we1c9-border);
  color: var(--we1c9-text);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============== Buttons ============== */
.we1c9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.we1c9-btn-primary {
  background: linear-gradient(135deg, #B8860B, #FFB347);
  color: #1B263B;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.45);
}

.we1c9-btn-primary:hover { transform: translateY(-1px); color: #1B263B; }

.we1c9-btn-ghost {
  background: transparent;
  border: 1px solid var(--we1c9-primary);
  color: var(--we1c9-text);
}

.we1c9-btn-ghost:hover { background: rgba(184, 134, 11, 0.18); color: var(--we1c9-text-strong); }

.we1c9-btn-block {
  display: flex;
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
}

/* ============== Mobile menu ============== */
.we1c9-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(27, 38, 59, 0.99);
  border-bottom: 1px solid var(--we1c9-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.we1c9-mobile-menu.we1c9-menu-open { max-height: 480px; }

.we1c9-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1rem;
}

.we1c9-mobile-menu li {
  border-bottom: 1px solid rgba(240, 230, 140, 0.08);
}

.we1c9-mobile-menu li:last-child { border-bottom: 0; }

.we1c9-mobile-menu a {
  display: block;
  padding: 0.9rem 0.4rem;
  color: var(--we1c9-text);
  font-size: 1.35rem;
}

.we1c9-mobile-menu a:hover { color: var(--we1c9-text-strong); }

/* ============== Hero / carousel ============== */
.we1c9-hero {
  margin-top: 64px;
  padding: 1rem 0 0;
}

.we1c9-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--we1c9-shadow);
}

.we1c9-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.we1c9-carousel-slide {
  min-width: 100%;
  position: relative;
}

.we1c9-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.we1c9-carousel-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(27, 38, 59, 0.7);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  color: var(--we1c9-text-strong);
  font-size: 1.3rem;
  font-weight: 600;
}

.we1c9-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
}

.we1c9-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 230, 140, 0.4);
  border: none;
  cursor: pointer;
}

.we1c9-carousel-dot.we1c9-dot-active { background: var(--we1c9-primary-soft); }

/* ============== Section spacing ============== */
.we1c9-section {
  padding: 1.8rem 0;
}

.we1c9-section-title {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  color: var(--we1c9-text-strong);
  border-left: 4px solid var(--we1c9-primary);
  padding-left: 0.8rem;
}

.we1c9-section-sub {
  color: var(--we1c9-muted);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

/* ============== Filter chips ============== */
.we1c9-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.we1c9-filter-chip {
  border: 1px solid var(--we1c9-border);
  background: transparent;
  color: var(--we1c9-text);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 1.15rem;
  cursor: pointer;
}

.we1c9-filter-chip.we1c9-chip-active {
  background: var(--we1c9-primary);
  color: #1B263B;
  border-color: var(--we1c9-primary);
}

/* ============== Game grid ============== */
.we1c9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.we1c9-card {
  background: var(--we1c9-card);
  border: 1px solid var(--we1c9-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.we1c9-card:hover { transform: translateY(-2px); box-shadow: var(--we1c9-shadow); }

.we1c9-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.we1c9-card-name {
  display: block;
  font-size: 1.05rem;
  padding: 0.4rem 0.3rem;
  color: var(--we1c9-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============== Info card / features ============== */
.we1c9-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.we1c9-feature {
  background: var(--we1c9-card);
  border: 1px solid var(--we1c9-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.we1c9-feature .material-icons,
.we1c9-feature ion-icon {
  font-size: 28px;
  color: var(--we1c9-primary-soft);
}

.we1c9-feature h3 { font-size: 1.35rem; margin: 0.4rem 0; }

/* ============== RTP table ============== */
.we1c9-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--we1c9-card);
  border-radius: 10px;
  overflow: hidden;
}

.we1c9-rtp-table th,
.we1c9-rtp-table td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(240, 230, 140, 0.08);
  font-size: 1.2rem;
}

.we1c9-rtp-table th { color: var(--we1c9-text-strong); background: rgba(184, 134, 11, 0.18); }

.we1c9-rtp-table td.we1c9-rtp-value { color: var(--we1c9-primary-soft); font-weight: 700; }

/* ============== Testimonials ============== */
.we1c9-testimonial {
  background: var(--we1c9-card);
  border: 1px solid var(--we1c9-border);
  border-left: 3px solid var(--we1c9-primary);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.we1c9-testimonial .we1c9-testi-name {
  color: var(--we1c9-text-strong);
  font-weight: 700;
  font-size: 1.25rem;
}

.we1c9-testimonial .we1c9-stars { color: var(--we1c9-primary-soft); font-size: 1.1rem; }

/* ============== Payment / winners ============== */
.we1c9-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.we1c9-chip {
  background: rgba(240, 230, 140, 0.1);
  border: 1px solid var(--we1c9-border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 1.15rem;
  color: var(--we1c9-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.we1c9-winners {
  background: var(--we1c9-card);
  border-radius: 10px;
  border: 1px solid var(--we1c9-border);
  padding: 1rem;
}

.we1c9-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(240, 230, 140, 0.12);
  font-size: 1.2rem;
}

.we1c9-winner-row:last-child { border-bottom: 0; }

.we1c9-amount { color: var(--we1c9-primary-soft); font-weight: 700; }

/* ============== FAQ ============== */
.we1c9-faq-item {
  background: var(--we1c9-card);
  border: 1px solid var(--we1c9-border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.7rem;
}

.we1c9-faq-item h3 { color: var(--we1c9-primary-soft); margin-bottom: 0.4rem; font-size: 1.3rem; }

/* ============== Steps ============== */
.we1c9-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.we1c9-steps li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2.6rem;
  border-bottom: 1px dashed rgba(240, 230, 140, 0.12);
  counter-increment: step;
}

.we1c9-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--we1c9-primary);
  color: #1B263B;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  line-height: 2rem;
  font-size: 1.1rem;
}

/* ============== Promo CTA band ============== */
.we1c9-cta {
  background: linear-gradient(135deg, #B8860B, #FFB347);
  color: #1B263B;
  padding: 1.2rem;
  border-radius: 14px;
  text-align: center;
  margin: 1.4rem 0;
}

.we1c9-cta h2 { color: #1B263B; margin-bottom: 0.4rem; }
.we1c9-cta p { color: rgba(27, 38, 59, 0.85); }

/* ============== Footer ============== */
.we1c9-footer {
  background: rgba(27, 38, 59, 0.97);
  border-top: 1px solid var(--we1c9-border);
  padding: 1.6rem 1.2rem 2rem;
  color: var(--we1c9-muted);
}

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

.we1c9-footer-links a { font-size: 1.15rem; color: var(--we1c9-text); }

.we1c9-footer-copy {
  font-size: 1.1rem;
  margin-top: 0.8rem;
  color: var(--we1c9-muted);
  text-align: center;
}

/* ============== Mobile bottom nav ============== */
.we1c9-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: rgba(27, 38, 59, 0.98);
  border-top: 1px solid var(--we1c9-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.we1c9-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--we1c9-text);
  text-decoration: none;
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.we1c9-bottomnav-btn .material-icons,
.we1c9-bottomnav-btn ion-icon,
.we1c9-bottomnav-btn i { font-size: 22px; }

.we1c9-bottomnav-btn:hover { transform: scale(1.05); color: var(--we1c9-text-strong); }

.we1c9-bottomnav-active { color: var(--we1c9-primary-soft); }

/* ============== Desktop / larger screens ============== */
@media (min-width: 769px) {
  .we1c9-bottomnav { display: none; }
  main.we1c9-main { padding-bottom: 0; }
  body { background-size: cover; }
}

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

/* Utility */
.we1c9-text-lead { font-size: 1.35rem; line-height: 1.7; color: var(--we1c9-text); }
.we1c9-promo-text { color: var(--we1c9-primary-soft); font-weight: 700; }
.we1c9-center { text-align: center; }
.we1c9-mt { margin-top: 1.2rem; }
.we1c9-mb { margin-bottom: 1.2rem; }
.we1c9-hidden { display: none; }
