/* =========================================================
   wk777.homes - Base styles (basefiles)
   Class prefix: ve29-
   Palette: #FF6347 (coral) | #006400 (deep green) | #00FA9A (mint)
            #C0C0C0 (silver) | #1E1E1E (ink)
   Mobile-first, max-width 430px.
   ========================================================= */

:root {
  --ve29-primary: #FF6347;
  --ve29-secondary: #006400;
  --ve29-accent: #00FA9A;
  --ve29-silver: #C0C0C0;
  --ve29-bg: #1E1E1E;
  --ve29-bg-2: #262626;
  --ve29-bg-3: #303030;
  --ve29-text: #F5F5F5;
  --ve29-text-dim: #B5B5B5;
  --ve29-radius: 1.2rem;
  --ve29-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.45);
  --ve29-header-h: 6rem;
  --ve29-bottom-h: 6.4rem;
  font-size: 62.5%;
}

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

html, body {
  background: var(--ve29-bg);
  color: var(--ve29-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

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

.ve29-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, #1E1E1E 0%, #232323 60%, #1E1E1E 100%);
  min-height: 100vh;
}

/* ---------- Header ---------- */
.ve29-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #006400 0%, #1E1E1E 70%);
  border-bottom: 0.2rem solid var(--ve29-primary);
  box-shadow: 0 0.3rem 1rem rgba(0,0,0,0.55);
  max-width: 430px;
  margin: 0 auto;
}
.ve29-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: var(--ve29-header-h);
}
.ve29-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ve29-text);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05rem;
}
.ve29-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.ve29-logo span { color: var(--ve29-primary); }

.ve29-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.ve29-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4rem;
  padding: 0 1.2rem;
  border-radius: 0.8rem;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ve29-btn:active { transform: scale(0.96); }
.ve29-btn-register {
  background: linear-gradient(135deg, #FF6347 0%, #FF3d20 100%);
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(255,99,71,0.45);
}
.ve29-btn-login {
  background: linear-gradient(135deg, #00FA9A 0%, #00b377 100%);
  color: #08260c;
  box-shadow: 0 0.3rem 0.8rem rgba(0,250,154,0.35);
}
.ve29-menu-icon {
  width: 4rem; height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ve29-text);
  border: 0.1rem solid var(--ve29-silver);
  border-radius: 0.8rem;
  cursor: pointer;
}
.ve29-menu-icon i { font-size: 2.2rem; }

/* ---------- Mobile menu drawer ---------- */
.ve29-mobile-menu {
  position: fixed;
  top: var(--ve29-header-h); left: 0; right: 0;
  z-index: 9999;
  background: rgba(30,30,30,0.98);
  border-bottom: 0.2rem solid var(--ve29-accent);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-width: 430px;
  margin: 0 auto;
}
.ve29-mobile-menu.ve29-menu-open { max-height: 60rem; }
.ve29-mobile-menu nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 1rem;
}
.ve29-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--ve29-bg-2);
  border-radius: 0.8rem;
  color: var(--ve29-text);
  font-size: 1.3rem;
  font-weight: 600;
  border-left: 0.3rem solid var(--ve29-primary);
}
.ve29-mobile-menu a i { font-size: 1.8rem; color: var(--ve29-accent); }

/* ---------- Hero carousel ---------- */
.ve29-hero {
  margin-top: var(--ve29-header-h);
  position: relative;
  overflow: hidden;
  border-bottom: 0.2rem solid var(--ve29-primary);
}
.ve29-hero-track {
  display: flex;
  transition: transform 0.5s ease;
}
.ve29-hero-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.ve29-hero-slide img { width: 100%; height: 22rem; object-fit: cover; }
.ve29-hero-caption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: linear-gradient(90deg, rgba(0,100,0,0.85), rgba(30,30,30,0.55));
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  color: #fff;
}
.ve29-hero-caption b { color: var(--ve29-accent); font-size: 1.5rem; }
.ve29-hero-dots {
  position: absolute;
  bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
}
.ve29-hero-dot {
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
}
.ve29-hero-dot-active { background: var(--ve29-primary); width: 2.2rem; border-radius: 0.6rem; }

/* ---------- Main content ---------- */
main.ve29-main {
  padding: 1.2rem 1rem calc(var(--ve29-bottom-h) + 2rem);
}
.ve29-section { margin: 2rem 0; }
.ve29-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ve29-text);
  margin-bottom: 0.8rem;
  padding-left: 0.8rem;
  border-left: 0.4rem solid var(--ve29-primary);
}
.ve29-section-title em { color: var(--ve29-accent); font-style: normal; }
.ve29-section-sub {
  color: var(--ve29-text-dim);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.ve29-h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(90deg, #FF6347, #00FA9A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}

/* ---------- CTA text link ---------- */
.ve29-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: rgba(255,99,71,0.12);
  border: 0.15rem dashed var(--ve29-primary);
  color: var(--ve29-primary);
  font-weight: 800;
  border-radius: 0.8rem;
  cursor: pointer;
}
.ve29-cta-text {
  color: var(--ve29-accent);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Game grid ---------- */
.ve29-cat-block { margin: 1.6rem 0; }
.ve29-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.8rem;
}
.ve29-cat-head h2 {
  font-size: 1.7rem; font-weight: 800; color: var(--ve29-accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.ve29-cat-head h2 i { color: var(--ve29-primary); font-size: 2rem; }
.ve29-cat-tag {
  font-size: 1.1rem; color: var(--ve29-text-dim);
  background: var(--ve29-bg-2); padding: 0.2rem 0.6rem; border-radius: 0.6rem;
}
.ve29-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.ve29-game-card {
  background: var(--ve29-bg-2);
  border-radius: 0.8rem;
  overflow: hidden;
  border: 0.1rem solid #3a3a3a;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ve29-game-card:active { transform: scale(0.95); border-color: var(--ve29-primary); }
.ve29-game-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #111;
}
.ve29-game-card-name {
  font-size: 1.05rem;
  text-align: center;
  padding: 0.4rem 0.2rem;
  color: var(--ve29-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Generic cards ---------- */
.ve29-card {
  background: var(--ve29-bg-2);
  border-radius: var(--ve29-radius);
  padding: 1.4rem;
  box-shadow: var(--ve29-shadow);
  border: 0.1rem solid #333;
}
.ve29-card h3 { font-size: 1.5rem; color: var(--ve29-accent); margin-bottom: 0.6rem; }
.ve29-card p { color: var(--ve29-text-dim); font-size: 1.3rem; }

.ve29-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.ve29-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }

/* ---------- Feature list ---------- */
.ve29-features { display: grid; gap: 0.8rem; }
.ve29-feature {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--ve29-bg-2);
  padding: 1rem; border-radius: 0.8rem;
  border-left: 0.3rem solid var(--ve29-accent);
}
.ve29-feature i { font-size: 2.2rem; color: var(--ve29-primary); flex-shrink: 0; }
.ve29-feature h4 { font-size: 1.35rem; color: var(--ve29-text); margin-bottom: 0.2rem; }
.ve29-feature p { font-size: 1.2rem; color: var(--ve29-text-dim); }

/* ---------- RTP / stats ---------- */
.ve29-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 0.1rem dashed #3a3a3a;
}
.ve29-rtp-row:last-child { border-bottom: 0; }
.ve29-rtp-name { font-size: 1.25rem; color: var(--ve29-text); }
.ve29-rtp-bar {
  flex: 1; height: 0.8rem; margin: 0 0.8rem;
  background: #111; border-radius: 0.6rem; overflow: hidden;
}
.ve29-rtp-fill { height: 100%; background: linear-gradient(90deg, #00FA9A, #FF6347); }
.ve29-rtp-value { font-size: 1.25rem; color: var(--ve29-accent); font-weight: 800; }

/* ---------- Testimonials ---------- */
.ve29-testi {
  background: var(--ve29-bg-2);
  border-radius: 0.8rem; padding: 1rem; margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--ve29-primary);
}
.ve29-testi-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.ve29-testi-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--ve29-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.ve29-testi-name { font-size: 1.25rem; color: var(--ve29-text); font-weight: 700; }
.ve29-testi-stars { color: #FFD700; font-size: 1.1rem; }
.ve29-testi p { font-size: 1.2rem; color: var(--ve29-text-dim); }

/* ---------- Payment chips ---------- */
.ve29-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ve29-pay {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--ve29-bg-2); padding: 0.5rem 0.9rem;
  border-radius: 0.8rem; border: 0.1rem solid #3a3a3a;
  font-size: 1.15rem; color: var(--ve29-text);
}
.ve29-pay i { color: var(--ve29-accent); font-size: 1.6rem; }

/* ---------- Winners ticker ---------- */
.ve29-winners {
  background: linear-gradient(90deg, #006400, #1E1E1E);
  border-radius: 0.8rem; padding: 0.8rem 1rem;
  display: grid; gap: 0.4rem;
}
.ve29-winner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.2rem; color: #fff;
}
.ve29-winner b { color: var(--ve29-accent); }
.ve29-winner span { color: var(--ve29-silver); }

/* ---------- App CTA ---------- */
.ve29-app-cta {
  background: radial-gradient(circle at top right, #006400, #1E1E1E 70%);
  border-radius: var(--ve29-radius); padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  border: 0.1rem solid var(--ve29-accent);
}
.ve29-app-cta h3 { color: var(--ve29-accent); font-size: 1.6rem; }
.ve29-app-cta p { color: var(--ve29-text-dim); font-size: 1.25rem; }
.ve29-app-btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.ve29-faq details {
  background: var(--ve29-bg-2);
  border-radius: 0.8rem; padding: 0.8rem 1rem;
  margin-bottom: 0.6rem; border-left: 0.3rem solid var(--ve29-primary);
}
.ve29-faq summary {
  font-size: 1.3rem; font-weight: 700; color: var(--ve29-text);
  cursor: pointer; list-style: none;
}
.ve29-faq summary::-webkit-details-marker { display: none; }
.ve29-faq details[open] summary { color: var(--ve29-accent); }
.ve29-faq p { margin-top: 0.6rem; font-size: 1.2rem; color: var(--ve29-text-dim); }

/* ---------- Footer ---------- */
.ve29-footer {
  background: #161616;
  border-top: 0.2rem solid var(--ve29-primary);
  padding: 1.6rem 1rem calc(var(--ve29-bottom-h) + 1.6rem);
  color: var(--ve29-text-dim);
}
.ve29-footer-brand { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--ve29-text); }
.ve29-footer-brand b { color: var(--ve29-primary); }
.ve29-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}
.ve29-footer-links a {
  font-size: 1.15rem; color: var(--ve29-text-dim);
  padding: 0.3rem 0;
}
.ve29-footer-links a:hover { color: var(--ve29-accent); }
.ve29-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.ve29-footer-promo button {
  flex: 1 1 auto; min-height: 3.6rem;
  background: var(--ve29-bg-2); color: var(--ve29-accent);
  border: 0.1rem solid var(--ve29-accent); border-radius: 0.6rem;
  font-size: 1.15rem; font-weight: 700; cursor: pointer; padding: 0 0.6rem;
}
.ve29-footer-promo button:hover { background: var(--ve29-primary); color: #fff; border-color: var(--ve29-primary); }
.ve29-copy { font-size: 1.1rem; color: #777; margin-top: 0.8rem; text-align: center; }

/* ---------- Bottom nav ---------- */
.ve29-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--ve29-bottom-h);
  background: linear-gradient(180deg, #232323 0%, #1E1E1E 100%);
  border-top: 0.2rem solid var(--ve29-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.6);
}
.ve29-bottom-nav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; background: transparent; border: none; color: var(--ve29-text-dim);
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  min-width: 6rem; min-height: 6rem;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.ve29-bottom-nav-btn i { font-size: 2.4rem; }
.ve29-bottom-nav-btn .material-icons,
.ve29-bottom-nav-btn .ion { font-size: 2.4rem; }
.ve29-bottom-nav-btn:active { transform: scale(0.9); }
.ve29-bottom-nav-btn:hover { color: var(--ve29-accent); }
.ve29-bottom-nav-active { color: var(--ve29-primary); }
.ve29-bottom-nav-active::before {
  content: ''; position: absolute; top: 0; left: 25%; right: 25%;
  height: 0.3rem; background: var(--ve29-primary); border-radius: 0 0 0.6rem 0.6rem;
}
.ve29-nav-badge {
  position: absolute; top: 0.6rem; right: 1.2rem;
  background: var(--ve29-primary); color: #fff;
  font-size: 0.9rem; font-weight: 800;
  border-radius: 1rem; padding: 0 0.4rem; min-width: 1.6rem; text-align: center;
}

/* ---------- Reveal animation ---------- */
.ve29-reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity 0.5s ease, transform 0.5s ease; }
.ve29-reveal.ve29-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .ve29-bottom-nav { display: none; }
  .ve29-wrapper { max-width: 430px; }
  main.ve29-main { padding-bottom: 2rem; }
  .ve29-footer { padding-bottom: 1.6rem; }
}

@media (max-width: 768px) {
  main.ve29-main { padding-bottom: calc(var(--ve29-bottom-h) + 2rem); }
}

@media (max-width: 360px) {
  .ve29-game-grid { grid-template-columns: repeat(2, 1fr); }
  .ve29-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
