/* windream app - core stylesheet
   Palette: #FFE4B5 light | #34495E dark bg | #DEB887 accent
   All custom classes prefixed va4f- | 1rem = 10px | line-height 1.5rem */
:root {
  --va4f-bg-deep: #2C3E50; --va4f-bg: #34495E; --va4f-bg-light: #3E5668;
  --va4f-text: #FFE4B5; --va4f-text-muted: #DEB887; --va4f-primary: #DEB887;
  --va4f-accent: #FFE4B5; --va4f-gold: #FFD27F; --va4f-dark: #1F2D3D;
  --va4f-shadow: rgba(0, 0, 0, 0.35); --va4f-radius: 1.2rem; --va4f-radius-sm: 0.8rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--va4f-bg-deep); color: var(--va4f-text);
  line-height: 1.5rem; font-size: 1.4rem; overflow-x: hidden; min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--va4f-gold); text-decoration: none; }
a:hover { color: var(--va4f-accent); text-decoration: underline; }

/* Layout containers */
.va4f-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.va4f-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
main.va4f-main { flex: 1; padding-bottom: 80px; }

/* Header */
.va4f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--va4f-bg-deep) 0%, var(--va4f-bg) 100%);
  box-shadow: 0 0.2rem 1rem var(--va4f-shadow); transition: padding 0.3s ease;
}
.va4f-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.va4f-header-scrolled .va4f-header-inner { padding: 0.5rem 1.2rem; }
.va4f-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--va4f-accent); font-weight: 700; font-size: 1.6rem;
}
.va4f-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.va4f-header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Buttons */
.va4f-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.4rem; font-size: 1.3rem; font-weight: 600; border-radius: 2rem;
  border: none; cursor: pointer; text-decoration: none; transition: all 0.25s ease;
  min-height: 3.6rem; min-width: 4.4rem; white-space: nowrap;
}
.va4f-btn:hover { text-decoration: none; transform: translateY(-1px); }
.va4f-btn-primary {
  background: linear-gradient(135deg, #FFD27F 0%, #DEB887 100%);
  color: #2C3E50; box-shadow: 0 0.4rem 1rem rgba(255, 210, 127, 0.3);
}
.va4f-btn-outline { background: transparent; color: var(--va4f-accent); border: 1.5px solid var(--va4f-primary); }
.va4f-btn-block { display: flex; width: 100%; }
.va4f-btn-menu {
  background: transparent; color: var(--va4f-accent);
  border: 1.5px solid var(--va4f-primary);
  width: 3.6rem; height: 3.6rem; border-radius: 0.8rem; padding: 0; font-size: 1.6rem;
}

/* Mobile menu drawer */
.va4f-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 85%; max-width: 320px; height: 100vh;
  background: var(--va4f-bg-deep); z-index: 9999; padding: 5rem 1.5rem 2rem;
  overflow-y: auto; transition: right 0.3s ease; box-shadow: -0.5rem 0 1.5rem var(--va4f-shadow);
}
.va4f-mobile-menu.va4f-menu-open { right: 0; }
.va4f-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.va4f-menu-overlay.va4f-overlay-show { opacity: 1; pointer-events: auto; }
.va4f-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem; background: transparent;
  border: none; color: var(--va4f-accent); font-size: 2rem; cursor: pointer;
  width: 3.6rem; height: 3.6rem;
}
.va4f-menu-section { margin-bottom: 2rem; }
.va4f-menu-title {
  font-size: 1.2rem; text-transform: uppercase; color: var(--va4f-text-muted);
  margin-bottom: 0.8rem; letter-spacing: 0.1rem;
}
.va4f-menu-link {
  display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.2rem;
  color: var(--va4f-accent); font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 228, 181, 0.1); transition: all 0.2s ease;
}
.va4f-menu-link:hover {
  background: rgba(255, 228, 181, 0.06); padding-left: 1.6rem;
  color: var(--va4f-gold); text-decoration: none;
}
.va4f-menu-link i, .va4f-menu-link .material-icons-outlined,
.va4f-menu-link ion-icon, .va4f-menu-link .bi { width: 2rem; font-size: 1.6rem; }

/* Carousel */
.va4f-carousel {
  position: relative; overflow: hidden; border-radius: 1rem;
  margin: 6.5rem 0 1.5rem; box-shadow: 0 0.4rem 1.5rem var(--va4f-shadow);
}
.va4f-carousel-track { display: flex; transition: transform 0.5s ease; }
.va4f-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.va4f-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.va4f-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 2.5rem 1.2rem 1.2rem; color: #fff;
}
.va4f-carousel-caption h3 { font-size: 1.7rem; margin-bottom: 0.3rem; color: var(--va4f-gold); }
.va4f-carousel-caption p { font-size: 1.2rem; color: #FFE4B5; }
.va4f-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.va4f-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); border: none; cursor: pointer; transition: all 0.2s ease;
}
.va4f-carousel-dot.va4f-carousel-dot-active { background: var(--va4f-gold); width: 2.4rem; border-radius: 0.4rem; }

/* Hero / sections */
.va4f-hero { padding: 1rem 1.2rem 1.5rem; text-align: center; }
.va4f-hero h1 { font-size: 2.2rem; line-height: 1.3; margin-bottom: 1rem; color: var(--va4f-accent); }
.va4f-hero p { font-size: 1.35rem; color: var(--va4f-text-muted); margin-bottom: 1.5rem; }
.va4f-section { padding: 1.5rem 0; }
.va4f-section-title {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem;
  color: var(--va4f-accent); display: flex; align-items: center; gap: 0.6rem;
}
.va4f-section-subtitle { font-size: 1.3rem; color: var(--va4f-text-muted); margin-bottom: 1.2rem; }

/* Game grid */
.va4f-game-cat-title {
  font-size: 1.6rem; color: var(--va4f-accent); margin: 1.8rem 0 1rem;
  padding-left: 1rem; border-left: 4px solid var(--va4f-primary);
}
.va4f-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.va4f-game-card {
  background: var(--va4f-bg); border-radius: 0.8rem; overflow: hidden;
  cursor: pointer; transition: all 0.25s ease; box-shadow: 0 0.2rem 0.8rem var(--va4f-shadow);
}
.va4f-game-card:hover {
  transform: translateY(-3px); box-shadow: 0 0.5rem 1.5rem rgba(255, 210, 127, 0.25);
  text-decoration: none;
}
.va4f-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.va4f-game-name {
  padding: 0.5rem 0.4rem; font-size: 1.1rem; text-align: center; color: var(--va4f-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Content cards */
.va4f-card {
  background: var(--va4f-bg); border-radius: var(--va4f-radius); padding: 1.5rem;
  margin-bottom: 1.2rem; box-shadow: 0 0.2rem 1rem var(--va4f-shadow);
}
.va4f-card h2 { font-size: 1.7rem; color: var(--va4f-accent); margin-bottom: 0.8rem; }
.va4f-card h3 { font-size: 1.4rem; color: var(--va4f-primary); margin: 1rem 0 0.5rem; }
.va4f-card p { margin-bottom: 0.8rem; color: var(--va4f-text); }
.va4f-card ul { padding-left: 1.8rem; margin-bottom: 0.8rem; }
.va4f-card li { margin-bottom: 0.4rem; }

/* FAQ items */
.va4f-faq-item { border-bottom: 1px solid rgba(255, 228, 181, 0.1); padding: 1rem 0; }
.va4f-faq-q { font-size: 1.4rem; color: var(--va4f-accent); font-weight: 600; margin-bottom: 0.5rem; }
.va4f-faq-a { font-size: 1.3rem; color: var(--va4f-text); }

/* Promo banner */
.va4f-promo-banner {
  background: linear-gradient(135deg, #DEB887 0%, #FFD27F 100%);
  color: #2C3E50; padding: 1.6rem; border-radius: var(--va4f-radius);
  text-align: center; margin: 1.5rem 0;
}
.va4f-promo-banner h3 { font-size: 1.7rem; margin-bottom: 0.5rem; color: #2C3E50; }
.va4f-promo-banner p { color: #34495E; font-size: 1.3rem; margin-bottom: 1rem; }
.va4f-promo-banner .va4f-btn { background: #2C3E50; color: #FFE4B5; }

/* RTP table */
.va4f-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; margin: 1rem 0; }
.va4f-rtp-table th, .va4f-rtp-table td {
  padding: 0.8rem 0.6rem; text-align: left; border-bottom: 1px solid rgba(255, 228, 181, 0.1);
}
.va4f-rtp-table th { color: var(--va4f-accent); font-weight: 600; }
.va4f-rtp-bar { height: 0.6rem; background: rgba(255, 228, 181, 0.1); border-radius: 0.3rem; overflow: hidden; margin-top: 0.3rem; }
.va4f-rtp-bar-fill { height: 100%; background: linear-gradient(90deg, #DEB887, #FFD27F); border-radius: 0.3rem; }

/* Generic list */
.va4f-list { list-style: none; }
.va4f-list-item {
  padding: 0.8rem 1rem; background: var(--va4f-bg); border-radius: 0.6rem;
  margin-bottom: 0.6rem; display: flex; justify-content: space-between;
  align-items: center; font-size: 1.3rem;
}
.va4f-list-item .va4f-amount { color: var(--va4f-gold); font-weight: 700; }

/* Testimonials */
.va4f-testimonial {
  background: var(--va4f-bg); border-left: 4px solid var(--va4f-primary);
  padding: 1rem 1.2rem; border-radius: 0.6rem; margin-bottom: 0.8rem;
}
.va4f-testimonial p { font-style: italic; margin-bottom: 0.4rem; }
.va4f-testimonial-author { font-size: 1.2rem; color: var(--va4f-primary); font-weight: 600; }

/* Badges */
.va4f-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem;
  background: rgba(255, 210, 127, 0.15); color: var(--va4f-gold);
  border-radius: 1rem; font-size: 1.1rem; margin: 0.2rem;
}

/* Feature grid */
.va4f-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.va4f-feature-item { background: var(--va4f-bg); padding: 1rem; border-radius: 0.8rem; text-align: center; }
.va4f-feature-item i, .va4f-feature-item .material-icons-outlined,
.va4f-feature-item ion-icon, .va4f-feature-item .bi {
  font-size: 2.4rem; color: var(--va4f-gold); margin-bottom: 0.4rem;
}
.va4f-feature-item h3 { font-size: 1.3rem; color: var(--va4f-accent); margin-bottom: 0.3rem; }
.va4f-feature-item p { font-size: 1.1rem; color: var(--va4f-text-muted); }

/* Footer */
.va4f-footer {
  background: var(--va4f-dark); padding: 2.5rem 1.2rem 2rem;
  margin-top: 2rem; border-top: 3px solid var(--va4f-primary);
}
.va4f-footer-inner { max-width: 430px; margin: 0 auto; }
.va4f-footer-brand { color: var(--va4f-accent); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.8rem; }
.va4f-footer-desc { font-size: 1.2rem; color: var(--va4f-text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.va4f-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.va4f-footer-links a {
  font-size: 1.2rem; padding: 0.4rem 0.8rem;
  background: rgba(255, 228, 181, 0.06); border-radius: 0.4rem; color: var(--va4f-text-muted);
}
.va4f-footer-links a:hover { background: rgba(255, 210, 127, 0.15); color: var(--va4f-gold); text-decoration: none; }
.va4f-footer-copyright {
  text-align: center; font-size: 1.1rem; color: rgba(255, 228, 181, 0.5);
  padding-top: 1.2rem; border-top: 1px solid rgba(255, 228, 181, 0.08);
}

/* Mobile bottom nav */
.va4f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 6rem;
  background: linear-gradient(180deg, var(--va4f-bg) 0%, var(--va4f-bg-deep) 100%);
  display: flex; justify-content: space-around; align-items: center; z-index: 1000;
  box-shadow: 0 -0.3rem 1rem var(--va4f-shadow); border-top: 1px solid rgba(255, 210, 127, 0.2);
}
.va4f-bottom-nav-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 6rem; background: transparent; border: none; color: var(--va4f-text-muted);
  font-size: 1rem; cursor: pointer; padding: 0.4rem; gap: 0.2rem; transition: all 0.25s ease; text-decoration: none;
}
.va4f-bottom-nav-btn:hover, .va4f-bottom-nav-btn:active {
  color: var(--va4f-gold); transform: scale(1.05); text-decoration: none;
}
.va4f-bottom-nav-btn i, .va4f-bottom-nav-btn .material-icons-outlined,
.va4f-bottom-nav-btn ion-icon, .va4f-bottom-nav-btn .bi {
  font-size: 2.2rem; margin-bottom: 0.2rem;
}
.va4f-bottom-nav-active { color: var(--va4f-gold); }
.va4f-bottom-nav-active::before {
  content: ''; position: absolute; top: 0;
  width: 3rem; height: 0.3rem; background: var(--va4f-gold); border-radius: 0 0 0.3rem 0.3rem;
}

/* Responsive rules */
@media (min-width: 769px) { .va4f-bottom-nav { display: none; } main.va4f-main { padding-bottom: 2rem; } }
@media (max-width: 768px) { main.va4f-main { padding-bottom: 8rem; } }
@media (min-width: 431px) { .va4f-header-inner, .va4f-footer-inner, .va4f-container { max-width: 430px; } }

/* Utilities */
.va4f-text-center { text-align: center; }
.va4f-text-gold { color: var(--va4f-gold); }
.va4f-text-primary { color: var(--va4f-primary); }
.va4f-mt-2 { margin-top: 1rem; } .va4f-mt-4 { margin-top: 2rem; } .va4f-mb-2 { margin-bottom: 1rem; }
.va4f-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.va4f-py-2 { padding: 1rem 0; }
