/* ============================================================
 * rr 88 - core stylesheet (layout-d6d4.css)
 * Prefix: v458-  | Palette: #6495ED / #48D1CC / #1B263B
 * Mobile-first, max-width 430px wrapper
 * ============================================================ */

:root {
  --v458-primary: #6495ED;
  --v458-accent:  #48D1CC;
  --v458-bg:      #1B263B;
  --v458-bg-2:    #142033;
  --v458-card:    #213049;
  --v458-text:    #EAF2FF;
  --v458-muted:   #9DB2D2;
  --v458-gold:    #FFD27A;
  --v458-danger:  #FF6B6B;
  --v458-shadow:  0 8px 24px rgba(0,0,0,.35);
  --v458-radius:  14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 62.5%; }

body {
  margin: 0;
  background: linear-gradient(160deg, var(--v458-bg) 0%, var(--v458-bg-2) 100%);
  color: var(--v458-text);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--v458-accent); text-decoration: none; }

/* ===== Layout container (mobile-first, hard cap 430px) ===== */
.v458-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--v458-bg);
  box-shadow: var(--v458-shadow);
  min-height: 100vh;
}

.v458-container {
  width: 100%;
  padding: 0 14px;
}

main.v458-main {
  padding-top: 68px;   /* header clearance */
  padding-bottom: 24px;
}

/* ===== Header ===== */
.v458-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(27,38,59,.96), rgba(20,32,51,.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100,149,237,.25);
}
.v458-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.v458-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--v458-text);
  letter-spacing: .3px;
}
.v458-brand img { width: 30px; height: 30px; border-radius: 8px; }
.v458-brand .v458-brand-accent { color: var(--v458-accent); }

.v458-head-actions { display: flex; align-items: center; gap: 8px; }
.v458-icon-btn {
  width: 38px; height: 38px;
  border: none;
  border-radius: 10px;
  background: rgba(100,149,237,.18);
  color: var(--v458-text);
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s, background .2s;
}
.v458-icon-btn:active { transform: scale(.92); background: rgba(72,209,204,.35); }

.v458-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
}
.v458-btn:active { transform: scale(.95); }
.v458-btn-primary {
  background: linear-gradient(135deg, var(--v458-accent), var(--v458-primary));
  color: #0c1726;
  box-shadow: 0 4px 14px rgba(72,209,204,.35);
}
.v458-btn-ghost {
  background: transparent;
  color: var(--v458-text);
  border: 1px solid rgba(100,149,237,.6);
}
.v458-btn-gold {
  background: linear-gradient(135deg, var(--v458-gold), #ff9d5c);
  color: #2a1a00;
  box-shadow: 0 4px 14px rgba(255,210,122,.35);
}
.v458-btn-block { width: 100%; justify-content: center; padding: 12px 16px; font-size: 1.5rem; }

/* ===== Mobile slide-down menu ===== */
.v458-mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 9999;
  background: var(--v458-bg-2);
  border-bottom: 1px solid rgba(100,149,237,.25);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.v458-mobile-menu.v458-menu-open { max-height: 80vh; overflow-y: auto; }
.v458-mobile-menu .v458-container { padding: 10px 14px 16px; }
.v458-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  font-size: 1.45rem;
  color: var(--v458-text);
  border-bottom: 1px solid rgba(100,149,237,.12);
}
.v458-menu-link i, .v458-menu-link span.material-icons-outlined { font-size: 2rem; color: var(--v458-accent); }
.v458-menu-link:active { background: rgba(72,209,204,.12); }
.v458-menu-cta { display: flex; gap: 10px; margin-top: 12px; }

/* ===== Hero / Carousel ===== */
.v458-hero { position: relative; margin: 12px 0 4px; border-radius: var(--v458-radius); overflow: hidden; }
.v458-carousel { position: relative; }
.v458-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.v458-slide.v458-slide-active { display: block; }
.v458-slide img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--v458-radius); }
.v458-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(11,18,32,.88), transparent);
}
.v458-slide-overlay h2 { margin: 0 0 4px; font-size: 1.7rem; color: #fff; }
.v458-slide-overlay p { margin: 0; font-size: 1.25rem; color: var(--v458-muted); }
.v458-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0; }
.v458-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
}
.v458-dot.v458-dot-active { background: var(--v458-accent); width: 18px; border-radius: 4px; }

/* ===== Section titles ===== */
.v458-section { margin: 22px 0; }
.v458-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.v458-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--v458-text);
  display: inline-flex; align-items: center; gap: 8px;
}
.v458-section-title i { color: var(--v458-accent); }
.v458-section-title .v458-accent { color: var(--v458-accent); }
.v458-section-more { font-size: 1.25rem; color: var(--v458-accent); }

/* ===== Game grid ===== */
.v458-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v458-game {
  background: var(--v458-card);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  border: 1px solid rgba(100,149,237,.12);
}
.v458-game:active { transform: scale(.95); }
.v458-game:hover { box-shadow: 0 6px 16px rgba(72,209,204,.25); }
.v458-game img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; }
.v458-game-name {
  font-size: 1.2rem;
  color: var(--v458-text);
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v458-game-tag {
  display: inline-block;
  font-size: 1rem;
  color: var(--v458-gold);
  background: rgba(255,210,122,.12);
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

/* ===== Cards / generic ===== */
.v458-card {
  background: var(--v458-card);
  border-radius: var(--v458-radius);
  padding: 14px;
  box-shadow: var(--v458-shadow);
  border: 1px solid rgba(100,149,237,.12);
}
.v458-card h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--v458-text); }
.v458-card p { margin: 0 0 8px; color: var(--v458-muted); font-size: 1.3rem; line-height: 1.5; }

.v458-row { display: flex; gap: 10px; flex-wrap: wrap; }
.v458-col { flex: 1 1 0; min-width: 0; }

.v458-list { list-style: none; padding: 0; margin: 0; }
.v458-list li { padding: 8px 0; border-bottom: 1px dashed rgba(100,149,237,.18); font-size: 1.3rem; color: var(--v458-muted); }
.v458-list li i { color: var(--v458-accent); margin-right: 8px; }

/* ===== Feature / highlight tiles ===== */
.v458-tile {
  background: linear-gradient(135deg, rgba(100,149,237,.18), rgba(72,209,204,.12));
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.v458-tile i, .v458-tile .material-icons-outlined { font-size: 2.4rem; color: var(--v458-accent); }
.v458-tile h4 { margin: 6px 0 2px; font-size: 1.3rem; color: var(--v458-text); }
.v458-tile p { margin: 0; font-size: 1.15rem; color: var(--v458-muted); }

/* ===== Testimonials ===== */
.v458-testimonial {
  background: var(--v458-card);
  border-left: 3px solid var(--v458-accent);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.v458-testimonial p { margin: 0 0 6px; font-size: 1.3rem; color: var(--v458-text); }
.v458-testimonial .v458-stars { color: var(--v458-gold); font-size: 1.2rem; }
.v458-testimonial .v458-author { font-size: 1.15rem; color: var(--v458-muted); }

/* ===== Payment chips ===== */
.v458-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v458-chip {
  background: var(--v458-card);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.15rem;
  color: var(--v458-text);
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(100,149,237,.18);
}
.v458-chip i { color: var(--v458-accent); }

/* ===== Winners ticker ===== */
.v458-winners {
  background: var(--v458-card);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.25rem;
  color: var(--v458-muted);
  overflow: hidden;
}
.v458-winners b { color: var(--v458-gold); }
.v458-winners .v458-w-item { padding: 4px 0; border-bottom: 1px dashed rgba(100,149,237,.16); }
.v458-winners .v458-w-item:last-child { border-bottom: none; }

/* ===== RTP table ===== */
.v458-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.v458-table th, .v458-table td { padding: 7px 8px; text-align: left; border-bottom: 1px solid rgba(100,149,237,.16); }
.v458-table th { color: var(--v458-accent); font-weight: 700; }
.v458-table td { color: var(--v458-muted); }
.v458-table td b { color: var(--v458-gold); }

/* ===== CTA band ===== */
.v458-cta {
  background: linear-gradient(135deg, var(--v458-primary), var(--v458-accent));
  border-radius: var(--v458-radius);
  padding: 16px;
  text-align: center;
  color: #0c1726;
  margin: 18px 0;
}
.v458-cta h3 { margin: 0 0 6px; font-size: 1.7rem; color: #0c1726; }
.v458-cta p { margin: 0 0 10px; font-size: 1.25rem; color: #102236; }

/* ===== Reveal animation ===== */
.v458-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.v458-reveal.v458-visible { opacity: 1; transform: none; }

/* ===== Footer ===== */
.v458-footer {
  margin-top: 26px;
  padding: 20px 14px 14px;
  background: var(--v458-bg-2);
  border-top: 1px solid rgba(100,149,237,.18);
  font-size: 1.2rem;
  color: var(--v458-muted);
}
.v458-footer h4 { color: var(--v458-text); font-size: 1.35rem; margin: 8px 0 6px; }
.v458-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.v458-footer-links a {
  color: var(--v458-muted);
  font-size: 1.15rem;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(100,149,237,.08);
}
.v458-footer-links a:hover { color: var(--v458-accent); }
.v458-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.v458-footer-copy { margin-top: 10px; font-size: 1.1rem; color: var(--v458-muted); opacity: .8; text-align: center; }

/* ===== Bottom fixed mobile nav (5 buttons) ===== */
.v458-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(20,32,51,.98), rgba(11,18,32,.99));
  border-top: 1px solid rgba(100,149,237,.25);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 4px 0;
}
.v458-bottomnav-btn {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--v458-muted);
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: color .2s, transform .15s;
  text-decoration: none;
}
.v458-bottomnav-btn:active { transform: scale(.88); }
.v458-bottomnav-btn i,
.v458-bottomnav-btn .material-icons-outlined,
.v458-bottomnav-btn ion-icon { font-size: 22px; }
.v458-bottomnav-btn span { font-size: 1rem; color: inherit; }
.v458-bottomnav-btn.v458-bottomnav-active { color: var(--v458-accent); }
.v458-bottomnav-btn.v458-bottomnav-promo { color: var(--v458-gold); }
.v458-bottomnav-btn.v458-bottomnav-badge::after {
  content: "3";
  position: absolute;
  margin-left: 18px;
  margin-top: -6px;
  font-size: .9rem;
  background: var(--v458-danger);
  color: #fff;
  border-radius: 50%;
  width: 15px; height: 15px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Desktop: hide bottom nav + show desktop nav ===== */
.v458-desktop-nav { display: none; }
@media (min-width: 769px) {
  .v458-bottomnav { display: none; }
  .v458-desktop-nav { display: flex; gap: 14px; align-items: center; }
  .v458-desktop-nav a { color: var(--v458-text); font-size: 1.3rem; }
  .v458-desktop-nav a:hover { color: var(--v458-accent); }
}

/* Mobile bottom padding so content isn't covered */
@media (max-width: 768px) {
  main.v458-main { padding-bottom: 86px; }
}

/* Utility */
.v458-text-center { text-align: center; }
.v458-mt-12 { margin-top: 12px; }
.v458-mt-16 { margin-top: 16px; }
.v458-mb-12 { margin-bottom: 12px; }
.v458-hidden { display: none !important; }
.v458-link-text {
  color: var(--v458-accent);
  font-weight: 700;
  border-bottom: 1px dashed rgba(72,209,204,.5);
  cursor: pointer;
}
.v458-promo-inline {
  color: var(--v458-gold);
  font-weight: 800;
  cursor: pointer;
}
