/* ============================================================
 * 1xbet login mobile - design-c3d6.css
 * Mobile-first stylesheet. All custom classes use prefix "wc3d6-".
 * Palette: #D2B48C (tan) | #1A1A1A (dark) | #FFC0CB (pink)
 *          #FFB6C1 (light pink) | #BAE1FF (light blue)
 * ============================================================ */

:root {
  --wc3d6-primary: #D2B48C;      /* tan / brand */
  --wc3d6-bg: #1A1A1A;           /* dark background */
  --wc3d6-text: #FAF6EF;         /* light text */
  --wc3d6-pink: #FFC0CB;
  --wc3d6-pink-soft: #FFB6C1;
  --wc3d6-blue: #BAE1FF;
  --wc3d6-muted: #B8B0A6;
  --wc3d6-card: #232020;
  --wc3d6-border: rgba(210, 180, 140, 0.25);
  --wc3d6-radius: 14px;
  --wc3d6-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --wc3d6-maxw: 430px;
}

* { box-sizing: border-box; }

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

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

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

a { color: var(--wc3d6-pink); text-decoration: none; }
a:hover { color: var(--wc3d6-blue); }

/* ---------- Layout containers ---------- */
.wc3d6-wrapper {
  width: 100%;
  max-width: 430px;          /* mobile-first primary container width */
  margin: 0 auto;
  padding: 0 14px;
}

.wc3d6-container {
  width: 100%;
  max-width: var(--wc3d6-maxw);
  margin: 0 auto;
}

main { padding-bottom: 80px; }

/* ---------- Header ---------- */
.wc3d6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #161616 0%, #1f1c19 100%);
  border-bottom: 1px solid var(--wc3d6-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.wc3d6-header-inner {
  max-width: var(--wc3d6-maxw);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc3d6-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.wc3d6-logo img {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.wc3d6-logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--wc3d6-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc3d6-logo-text span { color: var(--wc3d6-pink); }

.wc3d6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.wc3d6-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.wc3d6-btn-register {
  background: linear-gradient(135deg, var(--wc3d6-pink), var(--wc3d6-pink-soft));
  color: #1A1A1A;
  box-shadow: 0 3px 10px rgba(255, 182, 193, 0.45);
}
.wc3d6-btn-login {
  background: transparent;
  color: var(--wc3d6-primary);
  border: 1.5px solid var(--wc3d6-primary);
}
.wc3d6-menu-btn {
  background: transparent;
  border: none;
  color: var(--wc3d6-text);
  font-size: 2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Nav menu ---------- */
.wc3d6-nav {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 9999;
  background: #1c1a18;
  border-bottom: 1px solid var(--wc3d6-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.wc3d6-nav-open { max-height: 460px; box-shadow: var(--wc3d6-shadow); }
.wc3d6-nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 14px;
  max-width: var(--wc3d6-maxw);
  margin: 0 auto;
}
.wc3d6-nav-list li {
  border-bottom: 1px solid rgba(210, 180, 140, 0.12);
}
.wc3d6-nav-list li:last-child { border-bottom: none; }
.wc3d6-nav-list a {
  display: block;
  padding: 12px 4px;
  color: var(--wc3d6-text);
  font-size: 1.4rem;
}
.wc3d6-nav-list a i { color: var(--wc3d6-primary); margin-right: 8px; }

/* ---------- Hero / Carousel ---------- */
.wc3d6-hero {
  margin-top: 56px;
  padding: 14px 0 4px;
}
.wc3d6-carousel {
  position: relative;
  border-radius: var(--wc3d6-radius);
  overflow: hidden;
  box-shadow: var(--wc3d6-shadow);
  background: #000;
}
.wc3d6-slides { position: relative; }
.wc3d6-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.wc3d6-slide.wc3d6-active { display: block; }
.wc3d6-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.wc3d6-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff;
}
.wc3d6-slide-caption h2 {
  margin: 0 0 4px;
  font-size: 1.7rem;
  color: var(--wc3d6-primary);
}
.wc3d6-slide-caption p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--wc3d6-pink);
}
.wc3d6-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}
.wc3d6-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(210, 180, 140, .35);
  border: none;
  cursor: pointer;
}
.wc3d6-dot.wc3d6-active { background: var(--wc3d6-primary); }

/* ---------- Section headings ---------- */
.wc3d6-section {
  padding: 18px 0 8px;
}
.wc3d6-section-title {
  font-size: 1.8rem;
  margin: 0 0 12px;
  color: var(--wc3d6-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc3d6-section-title::before {
  content: "";
  width: 4px; height: 20px;
  background: linear-gradient(var(--wc3d6-pink), var(--wc3d6-blue));
  border-radius: 2px;
}
.wc3d6-lead {
  font-size: 1.4rem;
  color: var(--wc3d6-muted);
  margin: 0 0 12px;
}
.wc3d6-prose p { font-size: 1.4rem; margin: 0 0 10px; }
.wc3d6-prose h3 {
  font-size: 1.5rem;
  color: var(--wc3d6-pink);
  margin: 14px 0 6px;
}

/* ---------- Filter buttons ---------- */
.wc3d6-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.wc3d6-filter-btn {
  padding: 6px 14px;
  border-radius: 16px;
  background: #2a2624;
  color: var(--wc3d6-text);
  border: 1px solid var(--wc3d6-border);
  font-size: 1.25rem;
  cursor: pointer;
}
.wc3d6-filter-btn.wc3d6-active {
  background: var(--wc3d6-primary);
  color: #1A1A1A;
  border-color: var(--wc3d6-primary);
  font-weight: 700;
}

/* ---------- Game grid ---------- */
.wc3d6-game-group { margin-bottom: 22px; }
.wc3d6-game-group h3 {
  font-size: 1.5rem;
  color: var(--wc3d6-blue);
  margin: 0 0 10px;
  text-transform: capitalize;
}
.wc3d6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wc3d6-game-card {
  background: var(--wc3d6-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
.wc3d6-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--wc3d6-primary);
  box-shadow: var(--wc3d6-shadow);
}
.wc3d6-game-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
}
.wc3d6-game-card-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  color: var(--wc3d6-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / generic ---------- */
.wc3d6-card {
  background: var(--wc3d6-card);
  border-radius: var(--wc3d6-radius);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--wc3d6-border);
}
.wc3d6-card h3 { margin: 0 0 8px; color: var(--wc3d6-primary); font-size: 1.6rem; }

.wc3d6-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.wc3d6-cta-row .wc3d6-btn { flex: 1; min-width: 130px; }

/* ---------- Features list ---------- */
.wc3d6-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.wc3d6-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #211d1b;
  padding: 12px;
  border-radius: 12px;
}
.wc3d6-feature i {
  font-size: 2.2rem;
  color: var(--wc3d6-pink);
  min-width: 30px;
}
.wc3d6-feature h4 { margin: 0 0 4px; font-size: 1.35rem; color: var(--wc3d6-primary); }
.wc3d6-feature p { margin: 0; font-size: 1.25rem; color: var(--wc3d6-muted); }

/* ---------- Testimonials ---------- */
.wc3d6-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.wc3d6-testimonial {
  background: #1f1c1a;
  border-left: 3px solid var(--wc3d6-blue);
  border-radius: 10px;
  padding: 12px;
}
.wc3d6-testimonial p { margin: 0 0 6px; font-size: 1.3rem; }
.wc3d6-testimonial cite { color: var(--wc3d6-primary); font-style: normal; font-size: 1.2rem; }

/* ---------- Winners ticker ---------- */
.wc3d6-winners {
  background: #14110f;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--wc3d6-border);
}
.wc3d6-winner {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(210, 180, 140, .18);
  font-size: 1.25rem;
}
.wc3d6-winner:last-child { border-bottom: none; }
.wc3d6-winner span:first-child { color: var(--wc3d6-text); }
.wc3d6-winner span:last-child { color: var(--wc3d6-pink); font-weight: 700; }

/* ---------- Payment chips ---------- */
.wc3d6-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wc3d6-chip {
  background: #2a2624;
  border: 1px solid var(--wc3d6-border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: var(--wc3d6-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wc3d6-chip i { color: var(--wc3d6-blue); }

/* ---------- RTP table ---------- */
.wc3d6-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}
.wc3d6-rtp-table th, .wc3d6-rtp-table td {
  padding: 8px;
  border-bottom: 1px solid var(--wc3d6-border);
  text-align: left;
}
.wc3d6-rtp-table th { color: var(--wc3d6-primary); }
.wc3d6-rtp-table td:last-child { color: var(--wc3d6-pink); font-weight: 700; }

/* ---------- Footer ---------- */
.wc3d6-footer {
  background: #14110f;
  border-top: 1px solid var(--wc3d6-border);
  padding: 22px 0 24px;
  margin-top: 16px;
}
.wc3d6-footer-brand {
  font-size: 1.4rem;
  color: var(--wc3d6-muted);
  margin-bottom: 12px;
}
.wc3d6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.wc3d6-footer-links a {
  background: #221e1c;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 1.2rem;
  color: var(--wc3d6-text);
  border: 1px solid var(--wc3d6-border);
}
.wc3d6-footer-links a:hover { color: var(--wc3d6-pink); }
.wc3d6-footer-copy {
  font-size: 1.2rem;
  color: var(--wc3d6-muted);
  text-align: center;
  margin-top: 12px;
}

/* ---------- Mobile bottom nav ---------- */
.wc3d6-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #1f1c19, #14110f);
  border-top: 1px solid var(--wc3d6-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.4);
}
.wc3d6-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--wc3d6-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 2px;
  transition: color .15s ease, transform .15s ease;
}
.wc3d6-bottomnav-btn i,
.wc3d6-bottomnav-btn .material-icons-outlined,
.wc3d6-bottomnav-btn ion-icon {
  font-size: 22px;
}
.wc3d6-bottomnav-btn:hover { transform: translateY(-2px); }
.wc3d6-bottomnav-btn.wc3d6-current,
.wc3d6-bottomnav-btn:active {
  color: var(--wc3d6-primary);
}
.wc3d6-bottomnav-btn.wc3d6-promo {
  color: var(--wc3d6-pink);
}
.wc3d6-bottomnav-btn.wc3d6-promo i { color: var(--wc3d6-pink); }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  .wc3d6-bottomnav { display: none; }
  main { padding-bottom: 24px; }
  .wc3d6-wrapper, .wc3d6-container, .wc3d6-header-inner, .wc3d6-nav-list {
    max-width: 760px;
  }
  .wc3d6-grid { grid-template-columns: repeat(6, 1fr); }
  .wc3d6-features { grid-template-columns: repeat(2, 1fr); }
  .wc3d6-testimonials { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
