/* 58vin - style.css
 * All custom classes use the "vf00-" prefix.
 * Mobile-first design, max-width 430px viewport.
 */

:root {
  --vf00-primary: #A0522D;
  --vf00-accent: #FF6347;
  --vf00-accent2: #CD5C5C;
  --vf00-light: #E5E5E5;
  --vf00-dark: #2C2C2C;
  --vf00-bg: #1a1a1a;
  --vf00-bg2: #232323;
  --vf00-card: #2a2a2a;
  --vf00-gold: #FFD700;
  --vf00-text: #f5f5f5;
  --vf00-muted: #b5b5b5;
  --vf00-radius: 12px;
  --vf00-header-h: 56px;
  --vf00-bottom-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--vf00-bg);
  color: var(--vf00-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

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

/* Header */
.vf00-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--vf00-header-h);
  background: linear-gradient(90deg, var(--vf00-dark), var(--vf00-primary));
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.vf00-logo { display: flex; align-items: center; gap: .6rem; color: var(--vf00-gold); font-weight: 700; font-size: 1.6rem; }
.vf00-logo img { width: 28px; height: 28px; border-radius: 6px; }
.vf00-header-actions { display: flex; align-items: center; gap: .6rem; }
.vf00-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem; border-radius: 20px; font-weight: 600;
  font-size: 1.2rem; border: none; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  min-height: 36px;
}
.vf00-btn:active { transform: scale(.95); }
.vf00-btn-login { background: transparent; color: var(--vf00-light); border: 1px solid var(--vf00-light); }
.vf00-btn-register { background: var(--vf00-accent); color: #fff; }
.vf00-menu-btn {
  background: transparent; border: none; color: var(--vf00-light);
  font-size: 2rem; cursor: pointer; padding: .2rem .5rem;
  line-height: 1;
}

/* Mobile expandable menu */
.vf00-mobile-menu {
  position: fixed; top: var(--vf00-header-h); left: 0; right: 0; z-index: 9999;
  max-width: 430px; margin: 0 auto;
  background: var(--vf00-bg2);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
.vf00-mobile-menu.vf00-open { max-height: 480px; }
.vf00-mobile-menu ul { list-style: none; padding: .5rem 0; }
.vf00-mobile-menu li a {
  display: block; padding: 1.1rem 1.5rem; color: var(--vf00-text);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.4rem;
}
.vf00-mobile-menu li a:active { background: rgba(255,99,71,.15); }

/* Layout */
.vf00-main { padding-top: var(--vf00-header-h); padding-bottom: 80px; }
.vf00-container { padding: 1.2rem; }
.vf00-section { margin: 1.6rem 0; }
.vf00-section-title {
  font-size: 1.7rem; font-weight: 700; color: var(--vf00-gold);
  margin-bottom: .8rem; padding-left: .6rem;
  border-left: 4px solid var(--vf00-accent);
}

/* Carousel */
.vf00-carousel { position: relative; border-radius: var(--vf00-radius); overflow: hidden; margin-bottom: 1.2rem; }
.vf00-slide {
  display: none; position: relative; cursor: pointer;
}
.vf00-slide.vf00-active { display: block; }
.vf00-slide img { width: 100%; height: 180px; object-fit: cover; }
.vf00-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  padding: 1.5rem 1rem .8rem; color: #fff; font-size: 1.3rem; font-weight: 600;
}
.vf00-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; }
.vf00-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.vf00-dot.vf00-active { background: var(--vf00-accent); }

/* H1 / hero */
.vf00-h1 {
  font-size: 1.9rem; font-weight: 800; color: var(--vf00-gold);
  text-align: center; margin: 1.2rem 0; line-height: 1.3;
}
.vf00-intro { color: var(--vf00-muted); text-align: center; padding: 0 1rem; margin-bottom: 1.2rem; font-size: 1.3rem; }

/* Game grid */
.vf00-game-group { margin-bottom: 1.6rem; }
.vf00-game-group-title {
  font-size: 1.5rem; font-weight: 700; color: var(--vf00-accent2);
  margin: 1rem 0 .6rem; display: flex; align-items: center; gap: .5rem;
}
.vf00-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
}
.vf00-game-card {
  background: var(--vf00-card); border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: transform .15s ease;
  border: 1px solid rgba(255,255,255,.05);
}
.vf00-game-card:active { transform: scale(.95); }
.vf00-game-card img { width: 100%; height: 80px; object-fit: cover; }
.vf00-game-name {
  font-size: 1.05rem; color: var(--vf00-light); text-align: center;
  padding: .4rem .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Generic card / module */
.vf00-card {
  background: var(--vf00-card); border-radius: var(--vf00-radius);
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.05);
}
.vf00-card h2 { font-size: 1.5rem; color: var(--vf00-gold); margin-bottom: .6rem; }
.vf00-card h3 { font-size: 1.3rem; color: var(--vf00-accent); margin: .8rem 0 .4rem; }
.vf00-card p { color: var(--vf00-muted); margin-bottom: .6rem; font-size: 1.3rem; }
.vf00-card ul { padding-left: 1.5rem; color: var(--vf00-muted); }
.vf00-card li { margin-bottom: .3rem; }

/* Promo link text */
.vf00-promo-link {
  color: var(--vf00-accent); font-weight: 700; cursor: pointer;
}
.vf00-promo-btn {
  display: inline-block; background: var(--vf00-accent); color: #fff;
  padding: .8rem 1.6rem; border-radius: 24px; font-weight: 700;
  font-size: 1.3rem; margin: .6rem 0; cursor: pointer;
  text-align: center; border: none;
}
.vf00-promo-btn:active { transform: scale(.95); }

/* RTP compact table */
.vf00-rtp-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: 1.25rem; }
.vf00-rtp-row span:last-child { color: var(--vf00-gold); font-weight: 700; }

/* Testimonials */
.vf00-testimonial { background: var(--vf00-bg2); border-radius: 10px; padding: 1rem; margin-bottom: .8rem; }
.vf00-testimonial .vf00-user { color: var(--vf00-accent); font-weight: 600; font-size: 1.2rem; }
.vf00-testimonial p { color: var(--vf00-muted); font-size: 1.25rem; margin-top: .3rem; }

/* Payment methods */
.vf00-pay-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; }
.vf00-pay-item { background: var(--vf00-bg2); border-radius: 8px; padding: .8rem .2rem; text-align: center; font-size: 1rem; color: var(--vf00-light); }

/* Winners */
.vf00-winner { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.2rem; }
.vf00-winner .vf00-amount { color: var(--vf00-gold); font-weight: 700; }

/* App download CTA */
.vf00-app-cta { background: linear-gradient(135deg, var(--vf00-primary), var(--vf00-accent2)); border-radius: var(--vf00-radius); padding: 1.4rem; text-align: center; color: #fff; }
.vf00-app-cta h3 { color: #fff; margin-bottom: .5rem; }
.vf00-app-cta .vf00-promo-btn { background: #fff; color: var(--vf00-primary); }

/* Footer */
.vf00-footer { background: var(--vf00-dark); padding: 1.6rem 1.2rem 2rem; color: var(--vf00-muted); font-size: 1.2rem; }
.vf00-footer-brand { color: var(--vf00-light); margin-bottom: .8rem; font-size: 1.3rem; }
.vf00-footer-links { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin: .8rem 0; }
.vf00-footer-links a { color: var(--vf00-muted); font-size: 1.15rem; }
.vf00-footer-links a:hover { color: var(--vf00-accent); }
.vf00-footer-promo { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.vf00-footer-promo .vf00-promo-btn { margin: 0; font-size: 1.15rem; padding: .5rem 1rem; }
.vf00-copyright { text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem; margin-top: .8rem; font-size: 1.1rem; }

/* Bottom nav */
.vf00-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: var(--vf00-bottom-h);
  background: var(--vf00-dark);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -2px 8px rgba(0,0,0,.4);
}
.vf00-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--vf00-muted); font-size: 1rem; cursor: pointer;
  gap: .2rem; transition: color .15s ease, transform .15s ease;
}
.vf00-nav-btn .vf00-ico { font-size: 22px; line-height: 1; }
.vf00-nav-btn .vf00-label { font-size: 1rem; }
.vf00-nav-btn:active { transform: scale(.9); color: var(--vf00-accent); }
.vf00-nav-btn.vf00-current { color: var(--vf00-accent); }

/* Filter buttons */
.vf00-filters { display: flex; gap: .5rem; overflow-x: auto; padding: .5rem 0; margin-bottom: .5rem; }
.vf00-filter-btn {
  padding: .4rem .9rem; border-radius: 16px; background: var(--vf00-bg2);
  color: var(--vf00-muted); border: 1px solid rgba(255,255,255,.08);
  font-size: 1.15rem; cursor: pointer; white-space: nowrap;
}
.vf00-filter-btn.vf00-active { background: var(--vf00-accent); color: #fff; }

/* Desktop */
@media (min-width: 769px) {
  .vf00-bottom-nav { display: none; }
  body { max-width: 768px; }
  .vf00-header, .vf00-mobile-menu { max-width: 768px; }
  .vf00-game-grid { grid-template-columns: repeat(5, 1fr); }
  .vf00-main { padding-bottom: 2rem; }
}

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