/* ============================================================
 * Casino Plus Sign In - layout.css
 * Mobile-first styles. All custom classes use the v8c9- prefix.
 * Palette: #141414 / #AFEEEE / #E0FFFF / #40E0D0 / #26A69A
 * ============================================================ */

:root {
  --v8c9-bg: #141414;
  --v8c9-bg-soft: #1c1f24;
  --v8c9-bg-card: #1e242a;
  --v8c9-text: #E0FFFF;
  --v8c9-muted: #AFEEEE;
  --v8c9-primary: #40E0D0;
  --v8c9-accent: #26A69A;
  --v8c9-gold: #f4c542;
  --v8c9-border: rgba(175, 238, 238, 0.12);
  --v8c9-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #182124 0%, #0d0f12 70%);
  color: var(--v8c9-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

/* ===== Layout containers ===== */
.v8c9-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

.v8c9-container {
  padding: 0 1.4rem;
}

/* ===== Header ===== */
.v8c9-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(20,20,20,0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v8c9-border);
}

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

.v8c9-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.v8c9-logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

.v8c9-logo-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--v8c9-text);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v8c9-logo-name b { color: var(--v8c9-primary); }

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

.v8c9-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--v8c9-muted);
  font-size: 2.0rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  border-radius: 8px;
}

.v8c9-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 36px;
}

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

.v8c9-btn-primary {
  background: linear-gradient(135deg, var(--v8c9-primary), var(--v8c9-accent));
  color: #06241f;
  box-shadow: 0 4px 14px rgba(64, 224, 208, 0.35);
}

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

/* ===== Mobile expandable menu ===== */
.v8c9-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #101518;
  border-left: 1px solid var(--v8c9-border);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}

.v8c9-mobile-menu.v8c9-menu-open { transform: translateX(0); }

.v8c9-mobile-menu h4 {
  font-size: 1.3rem;
  color: var(--v8c9-muted);
  margin: 1.4rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v8c9-mobile-menu a {
  display: block;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--v8c9-border);
  color: var(--v8c9-text);
  font-size: 1.4rem;
}

.v8c9-mobile-menu a:active { color: var(--v8c9-primary); }

.v8c9-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

.v8c9-overlay.v8c9-menu-open { opacity: 1; pointer-events: auto; }

/* ===== Main content spacer ===== */
main {
  padding-top: 68px;
  padding-bottom: 1rem;
}

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

.v8c9-slides { position: relative; }

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

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

.v8c9-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

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

.v8c9-slide-caption h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--v8c9-primary);
}

.v8c9-slide-caption p {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  color: var(--v8c9-muted);
}

.v8c9-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  background: rgba(0,0,0,0.3);
}

.v8c9-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(175, 238, 238, 0.35);
  cursor: pointer;
}

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

/* ===== Section titles ===== */
.v8c9-section {
  margin: 1.6rem 0;
}

.v8c9-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.v8c9-section-title i { color: var(--v8c9-primary); font-size: 1.8rem; }

.v8c9-h1 {
  font-size: 2.0rem;
  font-weight: 800;
  margin: 0.6rem 0 0.4rem;
  line-height: 2.4rem;
  color: var(--v8c9-text);
}

.v8c9-h1 b { color: var(--v8c9-primary); }

/* ===== Filter tabs ===== */
.v8c9-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
}

.v8c9-filter-tab {
  border: 1px solid var(--v8c9-border);
  background: var(--v8c9-bg-card);
  color: var(--v8c9-muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  white-space: nowrap;
  cursor: pointer;
}

.v8c9-filter-tab.v8c9-active {
  background: var(--v8c9-primary);
  color: #06241f;
  border-color: var(--v8c9-primary);
}

/* ===== Game grid ===== */
.v8c9-game-group { margin-bottom: 1.4rem; }

.v8c9-group-label {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--v8c9-primary);
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.v8c9-game {
  display: block;
  background: var(--v8c9-bg-card);
  border: 1px solid var(--v8c9-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease;
  text-align: center;
}

.v8c9-game:active { transform: scale(0.95); }

.v8c9-game img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

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

/* ===== Cards & feature blocks ===== */
.v8c9-card {
  background: var(--v8c9-bg-card);
  border: 1px solid var(--v8c9-border);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--v8c9-shadow);
}

.v8c9-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  color: var(--v8c9-primary);
}

.v8c9-card p {
  margin: 0 0 0.6rem;
  color: var(--v8c9-muted);
  font-size: 1.3rem;
  line-height: 2.0rem;
}

.v8c9-text-link {
  color: var(--v8c9-primary);
  font-weight: 700;
  border-bottom: 1px dashed var(--v8c9-primary);
}

/* ===== Steps / lists ===== */
.v8c9-steps { padding-left: 1.2rem; margin: 0.4rem 0; }
.v8c9-steps li { margin-bottom: 0.5rem; line-height: 2.0rem; color: var(--v8c9-muted); }

.v8c9-list-check { list-style: none; padding: 0; margin: 0.4rem 0; }
.v8c9-list-check li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--v8c9-muted);
  line-height: 2.0rem;
}
.v8c9-list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--v8c9-primary);
}

/* ===== Stats row ===== */
.v8c9-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.v8c9-stat {
  background: var(--v8c9-bg-soft);
  border: 1px solid var(--v8c9-border);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}

.v8c9-stat b { display: block; font-size: 1.8rem; color: var(--v8c9-primary); }
.v8c9-stat span { font-size: 1.1rem; color: var(--v8c9-muted); }

/* ===== Testimonials ===== */
.v8c9-testimonial {
  background: var(--v8c9-bg-soft);
  border-left: 3px solid var(--v8c9-primary);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
}

.v8c9-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; color: var(--v8c9-text); line-height: 2.0rem; }
.v8c9-testimonial small { color: var(--v8c9-muted); }

/* ===== Payment chips ===== */
.v8c9-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v8c9-chip {
  background: var(--v8c9-bg-soft);
  border: 1px solid var(--v8c9-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 1.15rem;
  color: var(--v8c9-muted);
}
.v8c9-chip i { color: var(--v8c9-primary); margin-right: 0.3rem; }

/* ===== Banner CTA ===== */
.v8c9-cta {
  background: linear-gradient(135deg, var(--v8c9-accent), var(--v8c9-primary));
  border-radius: 14px;
  padding: 1.4rem;
  text-align: center;
  margin: 1.2rem 0;
  color: #06241f;
}

.v8c9-cta h3 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.v8c9-cta p { margin: 0 0 0.8rem; font-size: 1.25rem; color: #07332c; }

/* ===== Footer ===== */
.v8c9-footer {
  background: #0c0f12;
  border-top: 1px solid var(--v8c9-border);
  padding: 1.6rem 1.4rem 7rem;
  margin-top: 1.4rem;
  font-size: 1.2rem;
  color: var(--v8c9-muted);
}

.v8c9-footer-brand { margin-bottom: 1rem; line-height: 2.0rem; }

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

.v8c9-footer-links a {
  color: var(--v8c9-muted);
  font-size: 1.2rem;
  padding: 0.2rem 0;
}

.v8c9-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.v8c9-footer-promos button {
  flex: 1 1 45%;
  background: var(--v8c9-primary);
  color: #06241f;
  border: 0;
  border-radius: 8px;
  padding: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.2rem;
}

.v8c9-footer-copy {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--v8c9-border);
  text-align: center;
  font-size: 1.1rem;
}

/* ===== Bottom nav ===== */
.v8c9-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #13181c, #0a0d10);
  border-top: 1px solid var(--v8c9-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

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

.v8c9-bottom-nav-btn i,
.v8c9-bottom-nav-btn .material-icons-outlined,
.v8c9-bottom-nav-btn .bi {
  font-size: 22px;
}

.v8c9-bottom-nav-btn:active { transform: scale(0.9); }

.v8c9-bottom-nav-btn.v8c9-current,
.v8c9-bottom-nav-btn:hover { color: var(--v8c9-primary); }

.v8c9-bottom-nav-btn span { font-size: 1.05rem; }

/* ===== Reveal animation ===== */
.v8c9-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.v8c9-reveal.v8c9-visible { opacity: 1; transform: translateY(0); }

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .v8c9-bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

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