/* ============================================================
 * nustar apk - nustar-apk.css
 * Core stylesheet (prefix: vfea-)
 * Palette: #DEE2E6 | #AFEEEE | #FF69B4 | #B0E0E6 | #2E4057 | #F0F8FF
 * Mobile-first, max viewport 430px.
 * ============================================================ */

:root {
  --vfea-bg: #2E4057;
  --vfea-bg-soft: #34506b;
  --vfea-bg-deep: #243447;
  --vfea-text: #F0F8FF;
  --vfea-muted: #DEE2E6;
  --vfea-accent: #FF69B4;
  --vfea-accent-2: #AFEEEE;
  --vfea-accent-3: #B0E0E6;
  --vfea-gold: #FFD27F;
  --vfea-radius: 14px;
  --vfea-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  --vfea-header-h: 56px;
  --vfea-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--vfea-bg) 0%, var(--vfea-bg-deep) 100%);
  color: var(--vfea-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--vfea-accent-2); text-decoration: none; }
a:hover { color: var(--vfea-accent); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }

.vfea-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.vfea-wrapper { width: 100%; }

/* ---------------- Header ---------------- */
.vfea-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--vfea-header-h);
  background: rgba(36, 52, 71, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(175, 238, 238, 0.18);
  z-index: 1000;
}
.vfea-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.vfea-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.6rem; color: var(--vfea-text);
}
.vfea-brand img { width: 28px; height: 28px; border-radius: 6px; }
.vfea-brand .vfea-brand-accent { color: var(--vfea-accent); }

.vfea-header-actions { display: flex; align-items: center; gap: 8px; }
.vfea-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; cursor: pointer;
  font-weight: 700; font-size: 1.3rem;
  padding: 8px 14px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.vfea-btn:active { transform: scale(.96); }
.vfea-btn-primary {
  background: linear-gradient(135deg, var(--vfea-accent), #ff8fc7);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 105, 180, 0.45);
}
.vfea-btn-ghost {
  background: transparent;
  color: var(--vfea-accent-2);
  border: 1px solid rgba(175, 238, 238, 0.5);
}

.vfea-menu-btn {
  background: transparent; border: none; color: var(--vfea-text);
  font-size: 2rem; cursor: pointer; line-height: 1; padding: 4px 8px;
}

/* ---------------- Mobile slide menu ---------------- */
.vfea-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}
.vfea-menu-overlay.vfea-overlay-show { opacity: 1; pointer-events: auto; }

.vfea-mobile-menu {
  position: fixed; top: 0; right: -80%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--vfea-bg-deep);
  padding: 70px 18px 24px;
  transition: right .28s ease;
  z-index: 9999;
  overflow-y: auto;
}
.vfea-mobile-menu.vfea-menu-open { right: 0; }
.vfea-mobile-menu a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  color: var(--vfea-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(175, 238, 238, 0.12);
  font-size: 1.45rem;
}
.vfea-mobile-menu a:hover { background: rgba(255, 105, 180, 0.15); }
.vfea-mobile-menu .vfea-menu-cta { margin-top: 14px; text-align: center; }

/* ---------------- Main / sections ---------------- */
main { padding-top: calc(var(--vfea-header-h) + 8px); }
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

.vfea-section { padding: 22px 0; }
.vfea-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--vfea-text);
}
.vfea-section-title .vfea-acc { color: var(--vfea-accent); }
.vfea-section-title .vfea-acc2 { color: var(--vfea-accent-2); }
.vfea-lead { color: var(--vfea-muted); font-size: 1.45rem; }

/* ---------------- Carousel ---------------- */
.vfea-carousel {
  position: relative;
  border-radius: var(--vfea-radius);
  overflow: hidden;
  box-shadow: var(--vfea-shadow);
  margin-bottom: 6px;
}
.vfea-slide-viewport { overflow: hidden; }
.vfea-slide-track {
  display: flex;
  transition: transform .5s ease;
}
.vfea-slide {
  min-width: 100%;
  position: relative;
}
.vfea-slide img {
  width: 100%; height: 180px; object-fit: cover;
}
.vfea-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  font-weight: 700; font-size: 1.5rem; color: #fff;
}
.vfea-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 8px 0;
}
.vfea-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(240, 248, 255, 0.35);
  cursor: pointer;
}
.vfea-dot.vfea-dot-active { background: var(--vfea-accent); }

/* ---------------- Hero CTA ---------------- */
.vfea-hero-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 10px 0 4px;
}
.vfea-hero-cta .vfea-btn { flex: 1; justify-content: center; padding: 12px 16px; }

/* ---------------- Game grid ---------------- */
.vfea-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.vfea-game-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(175, 238, 238, 0.14);
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  transition: transform .15s ease, border-color .15s ease;
  cursor: pointer;
}
.vfea-game-card:hover { transform: translateY(-3px); border-color: var(--vfea-accent); }
.vfea-game-card img {
  width: 100%; height: 60px; object-fit: cover;
  border-radius: 8px; margin-bottom: 5px;
}
.vfea-game-card .vfea-game-name {
  font-size: 1.05rem;
  color: var(--vfea-text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- Cards / feature lists ---------------- */
.vfea-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(176, 224, 230, 0.18);
  border-radius: var(--vfea-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--vfea-shadow);
}
.vfea-card h3 { font-size: 1.55rem; color: var(--vfea-accent-2); margin-bottom: 8px; }
.vfea-card p { color: var(--vfea-muted); font-size: 1.35rem; margin: 0 0 8px; }

.vfea-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.vfea-feature-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.vfea-feature-item .material-icons,
.vfea-feature-item .vfea-ico {
  font-size: 26px; color: var(--vfea-accent);
}
.vfea-feature-item h4 { margin: 6px 0 4px; font-size: 1.3rem; }
.vfea-feature-item p { font-size: 1.2rem; color: var(--vfea-muted); margin: 0; }

/* ---------------- RTP / stat bars ---------------- */
.vfea-stat-row {
  display: flex; justify-content: space-between;
  font-size: 1.25rem; color: var(--vfea-muted);
  margin-bottom: 4px;
}
.vfea-bar {
  width: 100%; height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px; overflow: hidden;
  margin-bottom: 10px;
}
.vfea-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--vfea-accent-2), var(--vfea-accent));
}

/* ---------------- Testimonials ---------------- */
.vfea-testi {
  border-left: 3px solid var(--vfea-accent);
  padding: 6px 0 6px 12px;
  margin-bottom: 12px;
}
.vfea-testi p { margin: 0 0 4px; font-size: 1.3rem; }
.vfea-testi .vfea-stars { color: var(--vfea-gold); font-size: 1.2rem; }
.vfea-testi .vfea-author { font-size: 1.15rem; color: var(--vfea-muted); }

/* ---------------- Winners ticker ---------------- */
.vfea-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.vfea-winner .vfea-amt { color: var(--vfea-gold); font-weight: 700; }

/* ---------------- Payment ---------------- */
.vfea-pay-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.vfea-pay-row .vfea-pay {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px; text-align: center;
  font-size: 1.2rem; color: var(--vfea-muted);
}

/* ---------------- Text link ---------------- */
.vfea-text-link {
  color: var(--vfea-accent);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 105, 180, 0.5);
}
.vfea-text-link:hover { color: var(--vfea-accent-2); }

/* ---------------- Footer ---------------- */
.vfea-footer {
  background: var(--vfea-bg-deep);
  padding: 26px 14px 30px;
  border-top: 1px solid rgba(175, 238, 238, 0.15);
  margin-top: 18px;
}
.vfea-footer p { color: var(--vfea-muted); font-size: 1.25rem; }
.vfea-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.vfea-footer-links a {
  font-size: 1.15rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(176, 224, 230, 0.2);
}
.vfea-footer-copy { font-size: 1.1rem; color: rgba(240, 248, 255, 0.55); margin-top: 8px; }

/* ---------------- Bottom nav ---------------- */
.vfea-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--vfea-bottom-h);
  background: rgba(36, 52, 71, 0.98);
  border-top: 1px solid rgba(175, 238, 238, 0.2);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.3);
}
.vfea-bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px;
  color: var(--vfea-muted);
  font-size: 1.05rem;
  gap: 2px;
  transition: color .15s ease, transform .15s ease;
}
.vfea-bottom-nav a:active { transform: scale(.9); }
.vfea-bottom-nav a .material-icons,
.vfea-bottom-nav a .fas,
.vfea-bottom-nav a .far,
.vfea-bottom-nav a ion-icon {
  font-size: 24px;
}
.vfea-bottom-nav a.vfea-nav-active { color: var(--vfea-accent); }
.vfea-bottom-nav a .vfea-badge {
  position: absolute; transform: translate(8px, -10px);
  background: var(--vfea-accent); color: #fff;
  font-size: .9rem; padding: 1px 5px; border-radius: 8px;
}

/* Desktop: hide bottom nav, widen container */
@media (min-width: 769px) {
  .vfea-bottom-nav { display: none; }
  .vfea-container { max-width: 760px; }
  main { padding-bottom: 24px; }
}

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

/* ---------------- Mobile tuning <=430px ---------------- */
@media (max-width: 430px) {
  body { font-size: 1.5rem; }
  .vfea-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .vfea-game-card img { height: 70px; }
  .vfea-game-card .vfea-game-name { font-size: 1.1rem; }
  .vfea-section-title { font-size: 1.7rem; }
  .vfea-feature-row { grid-template-columns: 1fr; }
  .vfea-slide img { height: 160px; }
  .vfea-brand { font-size: 1.4rem; }
  .vfea-btn { font-size: 1.2rem; padding: 7px 12px; }
}
