/*!
 * bet100 apk layout stylesheet
 * All custom classes use wc486- prefix for namespace isolation
 * Palette: #00FFFF | #8FBC8F | #EEEEEE | #008B8B | #1E1E1E
 */

:root {
  --wc486-primary: #00FFFF;
  --wc486-accent: #8FBC8F;
  --wc486-text: #EEEEEE;
  --wc486-teal: #008B8B;
  --wc486-bg: #1E1E1E;
  --wc486-bg2: #142828;
  --wc486-card: #232a2a;
  --wc486-border: #2f3a3a;
  --wc486-muted: #9bb0b0;
  --wc486-danger: #ff5a5a;
  --wc486-gold: #ffd24a;
  --wc486-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--wc486-bg);
  color: var(--wc486-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a {
  color: var(--wc486-primary);
  text-decoration: none;
}

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

/* ===== Layout helpers ===== */
.wc486-container {
  width: 100%;
  padding: 0 1.2rem;
}

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

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

.wc486-grid {
  display: grid;
  gap: 0.9rem;
}

/* ===== Header ===== */
.wc486-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #0a1a1a 0%, #142828 100%);
  border-bottom: 1px solid var(--wc486-teal);
  z-index: 1000;
  padding: 0.6rem 0.8rem;
  box-shadow: var(--wc486-shadow);
}

.wc486-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.wc486-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.wc486-brand img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.5rem;
}

.wc486-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wc486-primary);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

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

.wc486-menu-toggle {
  background: transparent;
  border: 1px solid var(--wc486-teal);
  color: var(--wc486-primary);
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc486-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 1rem;
  border-radius: 0.55rem;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 3.4rem;
  line-height: 1;
}

.wc486-btn:active {
  transform: scale(0.96);
}

.wc486-btn-register {
  background: linear-gradient(135deg, #00FFFF, #008B8B);
  color: #0a1a1a;
}

.wc486-btn-login {
  background: transparent;
  color: var(--wc486-primary);
  border: 1px solid var(--wc486-primary);
}

.wc486-btn-block {
  width: 100%;
}

.wc486-btn-cta {
  background: linear-gradient(135deg, var(--wc486-gold), #ff9a2a);
  color: #1a1205;
  font-size: 1.4rem;
  padding: 0.9rem 1rem;
}

/* ===== Mobile expandable menu ===== */
#wc486-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #0d1a1a;
  border-top: 1px solid var(--wc486-border);
}

#wc486-mobile-menu.wc486-menu-open {
  max-height: 420px;
}

.wc486-menu-list {
  list-style: none;
  padding: 0.6rem 1rem;
}

.wc486-menu-list li {
  border-bottom: 1px solid var(--wc486-border);
}

.wc486-menu-list li:last-child {
  border-bottom: none;
}

.wc486-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 0.4rem;
  color: var(--wc486-text);
  font-size: 1.3rem;
}

.wc486-menu-list a i,
.wc486-menu-list a span.material-icons-outlined {
  color: var(--wc486-accent);
  font-size: 1.6rem;
  width: 1.8rem;
  text-align: center;
}

/* ===== Main spacer for fixed header ===== */
.wc486-main {
  padding-top: 5.6rem;
}

/* ===== Hero carousel ===== */
.wc486-carousel {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--wc486-shadow);
}

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

.wc486-slide.wc486-slide-active {
  display: block;
}

.wc486-slide img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.wc486-slide-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  font-size: 1.2rem;
  color: #fff;
}

.wc486-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.wc486-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.wc486-dot.wc486-dot-active {
  background: var(--wc486-primary);
}

/* ===== Headings ===== */
.wc486-h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--wc486-primary);
  line-height: 2.2rem;
  margin: 1rem 0 0.6rem;
}

.wc486-h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--wc486-primary);
  margin: 1.6rem 0 0.6rem;
  padding-left: 0.6rem;
  border-left: 3px solid var(--wc486-accent);
}

.wc486-h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wc486-accent);
  margin: 1rem 0 0.4rem;
}

.wc486-text {
  font-size: 1.25rem;
  line-height: 2rem;
  color: var(--wc486-text);
  margin-bottom: 0.6rem;
}

.wc486-muted {
  color: var(--wc486-muted);
}

.wc486-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 1rem;
  background: rgba(0, 255, 255, 0.12);
  color: var(--wc486-primary);
  font-size: 1.05rem;
  font-weight: 600;
  margin-right: 0.3rem;
}

/* ===== Game grid ===== */
.wc486-cat-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.4rem 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wc486-primary);
}

.wc486-cat-title i,
.wc486-cat-title span.material-icons-outlined {
  color: var(--wc486-gold);
}

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

.wc486-game-card {
  background: var(--wc486-card);
  border: 1px solid var(--wc486-border);
  border-radius: 0.7rem;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}

.wc486-game-card:active {
  transform: scale(0.96);
  border-color: var(--wc486-primary);
}

.wc486-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #0d1a1a;
}

.wc486-game-name {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  color: var(--wc486-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info / feature cards ===== */
.wc486-card {
  background: var(--wc486-card);
  border: 1px solid var(--wc486-border);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.wc486-card-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--wc486-border);
}

.wc486-card-row:last-child {
  border-bottom: none;
}

.wc486-icon-circle {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.12);
  color: var(--wc486-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.wc486-faq {
  background: var(--wc486-card);
  border: 1px solid var(--wc486-border);
  border-radius: 0.7rem;
  padding: 0.9rem;
  margin-bottom: 0.7rem;
}

.wc486-faq-q {
  font-weight: 700;
  color: var(--wc486-primary);
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
}

.wc486-faq-a {
  color: var(--wc486-text);
  font-size: 1.2rem;
  line-height: 1.9rem;
}

/* ===== RTP table ===== */
.wc486-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
}

.wc486-table th,
.wc486-table td {
  text-align: left;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--wc486-border);
}

.wc486-table th {
  color: var(--wc486-primary);
  font-weight: 700;
}

.wc486-bar {
  height: 0.6rem;
  background: #0d1a1a;
  border-radius: 1rem;
  overflow: hidden;
}

.wc486-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--wc486-accent), var(--wc486-primary));
}

/* ===== Testimonial ===== */
.wc486-testi {
  background: var(--wc486-card);
  border-left: 3px solid var(--wc486-gold);
  border-radius: 0.6rem;
  padding: 0.8rem;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  line-height: 1.9rem;
}

.wc486-testi-author {
  display: block;
  margin-top: 0.4rem;
  color: var(--wc486-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== Winners ===== */
.wc486-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.7rem;
  background: var(--wc486-card);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.wc486-winner-amount {
  color: var(--wc486-gold);
  font-weight: 700;
}

/* ===== Payment chips ===== */
.wc486-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wc486-pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  background: var(--wc486-card);
  border: 1px solid var(--wc486-border);
  border-radius: 1.2rem;
  font-size: 1.1rem;
}

/* ===== CTA banner ===== */
.wc486-cta {
  background: linear-gradient(135deg, #008B8B, #00FFFF);
  border-radius: 0.9rem;
  padding: 1.2rem;
  text-align: center;
  color: #0a1a1a;
  margin: 1.2rem 0;
}

.wc486-cta h3 {
  color: #0a1a1a;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.wc486-cta p {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: #0a1a1a;
}

/* ===== Promo link inline text ===== */
.wc486-promo-text {
  color: var(--wc486-gold);
  font-weight: 700;
  cursor: pointer;
}

.wc486-promo-text:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.wc486-footer {
  background: #0d1a1a;
  border-top: 1px solid var(--wc486-teal);
  padding: 1.6rem 1rem 7rem;
  margin-top: 1.5rem;
}

.wc486-footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wc486-primary);
  margin-bottom: 0.4rem;
}

.wc486-footer-desc {
  font-size: 1.15rem;
  line-height: 1.9rem;
  color: var(--wc486-muted);
  margin-bottom: 1rem;
}

.wc486-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wc486-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #00FFFF, #008B8B);
  color: #0a1a1a;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
}

.wc486-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}

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

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

/* ===== Mobile bottom nav ===== */
.wc486-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #0d1a1a, #050d0d);
  border-top: 1px solid var(--wc486-teal);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.5);
}

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

.wc486-bottom-nav-btn i,
.wc486-bottom-nav-btn span.material-icons-outlined,
.wc486-bottom-nav-btn ion-icon {
  font-size: 2.2rem;
}

.wc486-bottom-nav-btn:active {
  transform: scale(0.92);
}

.wc486-bottom-nav-btn.wc486-nav-active {
  color: var(--wc486-primary);
}

.wc486-bottom-nav-btn.wc486-nav-promo {
  color: var(--wc486-gold);
}

.wc486-nav-badge {
  position: absolute;
  top: 0.5rem;
  right: calc(50% - 1.6rem);
  background: var(--wc486-danger);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 1rem;
  padding: 0 0.35rem;
  min-width: 1.3rem;
  line-height: 1.3rem;
  text-align: center;
}

/* ===== Desktop hide bottom nav ===== */
@media (min-width: 769px) {
  .wc486-bottom-nav {
    display: none;
  }
  body {
    max-width: 768px;
  }
}

/* ===== Mobile bottom padding for content clearance ===== */
@media (max-width: 768px) {
  .wc486-main {
    padding-bottom: 7rem;
  }
}
