/* ===========================================================
   bigwin casino - core CSS (layout-5e68.css)
   All custom classes use the "v833-" prefix.
   Palette: #CD853F | #FFF8DC | #F0F8FF | #4169E1 | #2C2C2C | #ADB5BD
   =========================================================== */

:root {
  --v833-primary: #CD853F;
  --v833-accent: #4169E1;
  --v833-bg: #2C2C2C;
  --v833-bg-2: #1f1f1f;
  --v833-text: #FFF8DC;
  --v833-text-light: #F0F8FF;
  --v833-muted: #ADB5BD;
  --v833-border: rgba(255, 248, 220, 0.12);
  --v833-radius: 14px;
  --v833-header-h: 56px;
  --v833-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--v833-bg);
  color: var(--v833-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(--v833-primary); text-decoration: none; }
a:hover { color: var(--v833-text-light); }

/* ---------- Layout helpers ---------- */
.v833-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.v833-wrapper { padding-top: var(--v833-header-h); }

main { display: block; }

/* ---------- Top header ---------- */
.v833-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v833-header-h);
  background: linear-gradient(90deg, #1f1f1f 0%, #2C2C2C 100%);
  border-bottom: 2px solid var(--v833-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.v833-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v833-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--v833-text-light);
}

.v833-logo img { width: 30px; height: 30px; border-radius: 6px; }

.v833-logo span { color: var(--v833-primary); }

.v833-header-actions {
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.v833-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--v833-text-light);
  font-size: 2rem;
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.v833-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.v833-btn:active { transform: scale(0.95); }

.v833-btn-register {
  background: var(--v833-primary);
  color: #2C2C2C;
}
.v833-btn-register:hover { filter: brightness(1.08); color: #2C2C2C; }

.v833-btn-login {
  background: var(--v833-accent);
  color: var(--v833-text-light);
}
.v833-btn-login:hover { filter: brightness(1.08); color: var(--v833-text-light); }

.v833-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--v833-primary), #e0a050);
  color: #2C2C2C;
  font-weight: 800;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-size: 1.5rem;
}
.v833-btn-cta:hover { color: #2C2C2C; filter: brightness(1.05); }

.v833-link-text {
  color: var(--v833-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Mobile menu (slide down) ---------- */
.v833-mobile-menu {
  position: fixed;
  top: var(--v833-header-h);
  left: 0; right: 0;
  background: var(--v833-bg-2);
  border-bottom: 1px solid var(--v833-border);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.v833-mobile-menu-open { max-height: 520px; }

.v833-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1rem;
}
.v833-mobile-menu li { border-bottom: 1px solid var(--v833-border); }
.v833-mobile-menu li:last-child { border-bottom: 0; }
.v833-mobile-menu a {
  display: block;
  padding: 1.1rem 0.6rem;
  color: var(--v833-text);
  font-size: 1.4rem;
}

/* ---------- Carousel ---------- */
.v833-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--v833-radius);
  overflow: hidden;
  margin: 1rem 0;
}
.v833-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.v833-slide-active { display: block; }
.v833-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--v833-radius);
}
.v833-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.v833-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,248,220,0.45);
  border: 0; cursor: pointer; padding: 0;
}
.v833-dot-active { background: var(--v833-primary); }

/* ---------- Section / cards ---------- */
.v833-section {
  padding: 2rem 0;
}
.v833-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v833-text-light);
  margin: 0 0 0.4rem;
}
.v833-section-title em {
  color: var(--v833-primary);
  font-style: normal;
}
.v833-section-sub {
  color: var(--v833-muted);
  font-size: 1.3rem;
  margin: 0 0 1.2rem;
}

.v833-card {
  background: var(--v833-bg-2);
  border: 1px solid var(--v833-border);
  border-radius: var(--v833-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Game grid ---------- */
.v833-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.v833-game-item {
  text-align: center;
  cursor: pointer;
  background: var(--v833-bg-2);
  border: 1px solid var(--v833-border);
  border-radius: 12px;
  padding: 0.6rem 0.4rem;
  transition: transform .15s ease, border-color .15s ease;
}
.v833-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--v833-primary);
}
.v833-game-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.4rem;
}
.v833-game-item .v833-game-name {
  font-size: 1.2rem;
  color: var(--v833-text);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v833-cat-label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--v833-bg);
  background: var(--v833-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin: 1.2rem 0 0.8rem;
}

/* ---------- Feature / info list ---------- */
.v833-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--v833-border);
}
.v833-feature-row:last-child { border-bottom: 0; }
.v833-feature-row .material-icons,
.v833-feature-row .v833-ico { font-size: 22px; color: var(--v833-primary); }

/* ---------- RTP / stat compact ---------- */
.v833-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v833-stat {
  background: var(--v833-bg-2);
  border: 1px solid var(--v833-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.v833-stat .v833-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--v833-primary);
}
.v833-stat .v833-lbl {
  font-size: 1.2rem;
  color: var(--v833-muted);
}

/* ---------- Testimonials ---------- */
.v833-quote {
  background: var(--v833-bg-2);
  border-left: 3px solid var(--v833-accent);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.v833-quote p { margin: 0 0 0.4rem; font-size: 1.3rem; }
.v833-quote .v833-author { color: var(--v833-muted); font-size: 1.2rem; }

/* ---------- Payment / app badges ---------- */
.v833-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.v833-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--v833-bg-2);
  border: 1px solid var(--v833-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 1.3rem;
  color: var(--v833-text-light);
}

/* ---------- Footer ---------- */
.v833-footer {
  background: var(--v833-bg-2);
  border-top: 2px solid var(--v833-primary);
  padding: 2rem 0 6rem;
  margin-top: 2rem;
}
.v833-footer-brand { color: var(--v833-muted); font-size: 1.3rem; margin-bottom: 1rem; }
.v833-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0;
}
.v833-footer-links a {
  color: var(--v833-text-light);
  font-size: 1.25rem;
}
.v833-footer-copy { color: var(--v833-muted); font-size: 1.2rem; margin-top: 1rem; }

/* ---------- Bottom navigation (mobile) ---------- */
.v833-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--v833-bottom-h);
  background: linear-gradient(180deg, #2C2C2C 0%, #161616 100%);
  border-top: 1px solid var(--v833-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.v833-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--v833-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.v833-bottom-nav-btn:active { transform: scale(0.92); }
.v833-bottom-nav-btn .v833-nav-ico { font-size: 24px; color: var(--v833-text-light); }
.v833-bottom-nav-btn .v833-nav-label { font-size: 1.1rem; color: var(--v833-muted); }
.v833-bottom-nav-active .v833-nav-ico,
.v833-bottom-nav-active .v833-nav-label { color: var(--v833-primary); }

/* Reveal-on-scroll animation */
.v833-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.v833-reveal-visible { opacity: 1; transform: translateY(0); }

/* ---------- Desktop: hide bottom nav, widen container ---------- */
@media (min-width: 769px) {
  .v833-bottom-nav { display: none; }
  .v833-container { max-width: 900px; }
  .v833-header-inner { max-width: 900px; }
  .v833-footer { padding-bottom: 2rem; }
  .v833-grid { grid-template-columns: repeat(6, 1fr); }
  main { padding-bottom: 0 !important; }
}

/* ---------- Mobile bottom padding for nav clearance ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ---------- Small phone tuning ---------- */
@media (max-width: 430px) {
  .v833-section-title { font-size: 1.8rem; }
  .v833-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .v833-slide img { height: 170px; }
  .v833-game-item .v833-game-name { font-size: 1.1rem; }
  .v833-header-actions .v833-btn { padding: 0 0.9rem; font-size: 1.2rem; min-height: 34px; }
}
