/* ============================================================
   gacor108 win - layout.css
   All custom classes use prefix: ve3f-
   Palette: #B22222 / #EEEEEE / #FAF0E6 / #DB7093 / #262626 / #FF0000
   Mobile-first, max-width 430px on small screens
   ============================================================ */

:root {
  --ve3f-primary: #B22222;
  --ve3f-accent: #FF0000;
  --ve3f-soft: #DB7093;
  --ve3f-cream: #FAF0E6;
  --ve3f-light: #EEEEEE;
  --ve3f-dark: #262626;
  --ve3f-darker: #1a1a1a;
  --ve3f-text: #2b2b2b;
  --ve3f-muted: #6b6b6b;
  --ve3f-gold: #f5c542;
  --ve3f-radius: 12px;
  --ve3f-radius-sm: 8px;
  --ve3f-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  --ve3f-shadow-lg: 0 10px 30px rgba(178, 34, 34, 0.25);
}

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

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

body {
  font-family: 'Segoe UI', 'Roboto', 'Noto Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--ve3f-text);
  background: var(--ve3f-cream);
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

.ve3f-container { width: 100%; padding: 0 14px; }
.ve3f-wrapper { max-width: 430px; margin: 0 auto; padding: 0 14px; }
.ve3f-section { padding: 22px 14px; }
.ve3f-section--alt { background: var(--ve3f-light); }

/* ============== HEADER ============== */
.ve3f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #7a1414 0%, var(--ve3f-primary) 60%, var(--ve3f-accent) 100%);
  color: #fff;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.ve3f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ve3f-brand img { width: 30px; height: 30px; border-radius: 6px; }
.ve3f-brand-text { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ve3f-header-actions { display: flex; align-items: center; gap: 8px; }

.ve3f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.35rem;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  min-height: 36px;
  line-height: 1;
}
.ve3f-btn:active { transform: scale(0.94); }
.ve3f-btn--login { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.ve3f-btn--register { background: linear-gradient(135deg, var(--ve3f-gold), #f29a25); color: var(--ve3f-dark); box-shadow: var(--ve3f-shadow); }
.ve3f-btn--lg { padding: 12px 26px; font-size: 1.6rem; }

.ve3f-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}

/* ============== MOBILE MENU ============== */
.ve3f-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--ve3f-dark);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding: 60px 18px 24px;
  overflow-y: auto;
}
.ve3f-mobile-menu.ve3f-is-open { transform: translateX(0); }
.ve3f-mobile-menu a {
  display: block;
  color: #fff;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.5rem;
}
.ve3f-mobile-menu a:hover, .ve3f-mobile-menu a:focus { color: var(--ve3f-gold); }
.ve3f-mobile-menu h4 { color: var(--ve3f-soft); margin: 14px 0 6px; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; }

.ve3f-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.ve3f-overlay.ve3f-is-open { opacity: 1; visibility: visible; }

.ve3f-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* ============== HERO / CAROUSEL ============== */
.ve3f-hero { position: relative; overflow: hidden; }
.ve3f-carousel { position: relative; }
.ve3f-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.ve3f-slide.ve3f-is-active { display: block; }
.ve3f-slide img { width: 100%; height: 200px; object-fit: cover; }
.ve3f-slide-cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.ve3f-slide-cap h2 { font-size: 1.7rem; font-weight: 800; }
.ve3f-slide-cap p { font-size: 1.3rem; margin-top: 2px; }
.ve3f-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.ve3f-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.ve3f-slide-dot.ve3f-is-active { background: var(--ve3f-gold); width: 20px; border-radius: 4px; }

/* ============== HEADINGS ============== */
.ve3f-h1 {
  font-size: 2.0rem;
  font-weight: 900;
  color: var(--ve3f-primary);
  text-align: center;
  margin: 8px 0 4px;
  line-height: 1.25;
}
.ve3f-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ve3f-dark);
  margin-bottom: 12px;
  border-left: 4px solid var(--ve3f-primary);
  padding-left: 10px;
}
.ve3f-section-title .material-icons,
.ve3f-section-title i { color: var(--ve3f-primary); }
.ve3f-subtitle { font-size: 1.35rem; color: var(--ve3f-muted); margin-bottom: 12px; }

.ve3f-anchor-link { color: var(--ve3f-primary); font-weight: 700; text-decoration: underline; }

/* ============== GAME GRID ============== */
.ve3f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ve3f-card {
  background: #fff;
  border-radius: var(--ve3f-radius);
  box-shadow: var(--ve3f-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.ve3f-card:hover, .ve3f-card:active { transform: translateY(-3px); box-shadow: var(--ve3f-shadow-lg); }
.ve3f-card img { width: 100%; height: 110px; object-fit: cover; background: var(--ve3f-light); }
.ve3f-card-name {
  padding: 6px 8px;
  font-size: 1.2rem;
  text-align: center;
  color: var(--ve3f-dark);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ve3f-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--ve3f-accent);
  color: #fff;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.ve3f-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ve3f-primary);
}
.ve3f-cat-head i, .ve3f-cat-head .material-icons { color: var(--ve3f-primary); font-size: 22px; }

/* ============== CTA / CONTENT BLOCKS ============== */
.ve3f-cta {
  background: linear-gradient(135deg, var(--ve3f-primary), var(--ve3f-accent));
  color: #fff;
  border-radius: var(--ve3f-radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--ve3f-shadow-lg);
}
.ve3f-cta h3 { font-size: 1.8rem; margin-bottom: 6px; }
.ve3f-cta p { font-size: 1.35rem; margin-bottom: 12px; opacity: 0.95; }

.ve3f-prose { font-size: 1.4rem; line-height: 1.7; color: var(--ve3f-text); }
.ve3f-prose h3 { font-size: 1.6rem; color: var(--ve3f-dark); margin: 14px 0 6px; font-weight: 800; }
.ve3f-prose p { margin-bottom: 10px; }
.ve3f-prose ul { padding-left: 22px; margin-bottom: 10px; }
.ve3f-prose li { margin-bottom: 4px; }

.ve3f-card-box {
  background: #fff;
  border-radius: var(--ve3f-radius);
  padding: 14px;
  box-shadow: var(--ve3f-shadow);
  margin-bottom: 12px;
}
.ve3f-card-box h3 { font-size: 1.55rem; color: var(--ve3f-primary); margin-bottom: 6px; }

.ve3f-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ve3f-feature-item {
  flex: 1 1 45%;
  background: #fff;
  border-radius: var(--ve3f-radius);
  padding: 12px;
  text-align: center;
  box-shadow: var(--ve3f-shadow);
}
.ve3f-feature-item i, .ve3f-feature-item .material-icons {
  font-size: 28px;
  color: var(--ve3f-primary);
}
.ve3f-feature-item h4 { font-size: 1.4rem; margin: 6px 0 2px; color: var(--ve3f-dark); }
.ve3f-feature-item p { font-size: 1.2rem; color: var(--ve3f-muted); }

.ve3f-testimonial {
  background: #fff;
  border-left: 4px solid var(--ve3f-soft);
  padding: 12px;
  border-radius: var(--ve3f-radius-sm);
  margin-bottom: 10px;
  box-shadow: var(--ve3f-shadow);
}
.ve3f-testimonial p { font-size: 1.3rem; color: var(--ve3f-text); font-style: italic; }
.ve3f-testimonial .ve3f-author { display: block; margin-top: 6px; font-size: 1.2rem; color: var(--ve3f-primary); font-weight: 700; font-style: normal; }

.ve3f-winner-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.ve3f-winner-item {
  background: #fff;
  border-radius: var(--ve3f-radius-sm);
  padding: 8px 12px;
  box-shadow: var(--ve3f-shadow);
  min-width: 130px;
  text-align: center;
}
.ve3f-winner-item strong { display: block; color: var(--ve3f-accent); font-size: 1.4rem; }
.ve3f-winner-item span { font-size: 1.15rem; color: var(--ve3f-muted); }

.ve3f-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.ve3f-pay-item {
  background: #fff;
  border-radius: var(--ve3f-radius-sm);
  padding: 10px 4px;
  box-shadow: var(--ve3f-shadow);
}
.ve3f-pay-item i, .ve3f-pay-item .material-icons { font-size: 26px; color: var(--ve3f-primary); }
.ve3f-pay-item span { display: block; font-size: 1.1rem; margin-top: 4px; color: var(--ve3f-dark); }

.ve3f-app-cta {
  background: linear-gradient(135deg, var(--ve3f-soft), var(--ve3f-primary));
  color: #fff;
  border-radius: var(--ve3f-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ve3f-app-cta .ve3f-app-icon { font-size: 40px; }
.ve3f-app-cta h3 { font-size: 1.55rem; }
.ve3f-app-cta p { font-size: 1.25rem; opacity: 0.95; }

/* ============== FOOTER ============== */
.ve3f-footer {
  background: var(--ve3f-dark);
  color: var(--ve3f-light);
  padding: 24px 14px 30px;
  margin-top: 18px;
}
.ve3f-footer-brand { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.ve3f-footer p { font-size: 1.25rem; color: #cfcfcf; margin-bottom: 12px; }
.ve3f-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin-bottom: 14px;
}
.ve3f-footer-links a { color: #e7e7e7; font-size: 1.25rem; }
.ve3f-footer-links a:hover { color: var(--ve3f-gold); }
.ve3f-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.ve3f-footer-copy { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 12px; font-size: 1.15rem; color: #a5a5a5; }

/* ============== BOTTOM NAV (mobile only) ============== */
.ve3f-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #5a0f0f, var(--ve3f-dark));
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.35);
  border-top: 2px solid var(--ve3f-primary);
}
.ve3f-bottomnav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px 2px;
  transition: transform 0.18s ease, color 0.18s ease;
  position: relative;
}
.ve3f-bottomnav-item i,
.ve3f-bottomnav-item .material-icons {
  font-size: 22px;
  line-height: 1;
}
.ve3f-bottomnav-item span {
  font-size: 11px;
  line-height: 1.1;
}
.ve3f-bottomnav-item:active { transform: scale(0.88); color: var(--ve3f-gold); }
.ve3f-bottomnav-item.ve3f-is-current { color: var(--ve3f-gold); }
.ve3f-bottomnav-item.ve3f-is-current::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--ve3f-gold);
}

/* Main content bottom padding so nav doesn't cover content */
main { padding-bottom: 80px; }

/* Desktop: hide bottom nav and expand layout */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .ve3f-bottomnav { display: none; }
  main { padding-bottom: 24px; }
}

/* Small screens fine-tuning */
@media (max-width: 360px) {
  .ve3f-grid { grid-template-columns: repeat(2, 1fr); }
  .ve3f-slide img { height: 170px; }
  .ve3f-brand-text { font-size: 1.35rem; }
}
