/**
 * jl36 - Core Stylesheet
 * All classes use prefix "ve3a-" for namespace isolation
 * Color palette: #333333 (bg) | #BC8F8F | #FFA500 | #98FB98 | #FFB347
 * Mobile-first design, max-width 430px
 */

:root {
  --ve3a-primary: #FFA500;
  --ve3a-bg: #333333;
  --ve3a-text: #FFFFFF;
  --ve3a-accent: #BC8F8F;
  --ve3a-highlight: #98FB98;
  --ve3a-warm: #FFB347;
  --ve3a-dark: #1a1a1a;
  --ve3a-darker: #0d0d0d;
  --ve3a-card-bg: #2a2a2a;
  --ve3a-border: #444444;
  --ve3a-radius: 1.2rem;
  --ve3a-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.4);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--ve3a-bg);
  color: var(--ve3a-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ve3a-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--ve3a-warm); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.ve3a-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--ve3a-darker);
  border-bottom: 0.2rem solid var(--ve3a-primary);
  padding: 0.8rem 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}
.ve3a-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.ve3a-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--ve3a-text);
}
.ve3a-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }
.ve3a-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--ve3a-primary); }
.ve3a-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.ve3a-btn-register {
  background: var(--ve3a-primary); color: var(--ve3a-darker);
  font-weight: 700; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border-radius: 0.6rem; border: none;
  cursor: pointer; transition: all 0.3s;
  min-height: 3.2rem; min-width: 5.5rem;
}
.ve3a-btn-register:hover { background: var(--ve3a-warm); transform: scale(1.05); }
.ve3a-btn-login {
  background: transparent; color: var(--ve3a-primary);
  font-weight: 600; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border-radius: 0.6rem;
  border: 0.15rem solid var(--ve3a-primary);
  cursor: pointer; transition: all 0.3s;
  min-height: 3.2rem;
}
.ve3a-btn-login:hover { background: rgba(255,165,0,0.15); }
.ve3a-menu-toggle {
  background: none; border: none; color: var(--ve3a-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  min-width: 4.4rem; min-height: 4.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.ve3a-mobile-menu {
  display: none; position: fixed; top: 5.2rem; left: 0; right: 0;
  z-index: 9999;
  background: var(--ve3a-darker);
  border-bottom: 0.2rem solid var(--ve3a-primary);
  padding: 1rem 0;
  max-width: 430px; margin: 0 auto;
  animation: ve3a-slideDown 0.3s ease;
}
@keyframes ve3a-slideDown { from { opacity: 0; transform: translateY(-1rem); } to { opacity: 1; transform: translateY(0); } }
.ve3a-mobile-menu a {
  display: block; padding: 1rem 1.6rem;
  color: var(--ve3a-text); font-size: 1.4rem;
  border-bottom: 0.1rem solid var(--ve3a-border);
  transition: background 0.2s;
}
.ve3a-mobile-menu a:hover { background: rgba(255,165,0,0.1); color: var(--ve3a-primary); }

/* Main Content */
.ve3a-main { padding-top: 5.8rem; }
@media (max-width: 768px) { .ve3a-main { padding-bottom: 8rem; } }

/* Carousel */
.ve3a-carousel { position: relative; overflow: hidden; margin-bottom: 1.5rem; }
.ve3a-slide { display: none; width: 100%; cursor: pointer; }
.ve3a-slide-active { display: block; animation: ve3a-fade 0.8s ease; }
@keyframes ve3a-fade { from { opacity: 0.4; } to { opacity: 1; } }
.ve3a-slide img { width: 100%; height: auto; min-height: 18rem; object-fit: cover; }
.ve3a-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  padding: 0.8rem 1rem; cursor: pointer; font-size: 1.6rem;
  border-radius: 0.4rem;
}
.ve3a-carousel-prev { left: 0.5rem; }
.ve3a-carousel-next { right: 0.5rem; }
.ve3a-dots { text-align: center; padding: 0.5rem 0; position: absolute; bottom: 0.5rem; left: 0; right: 0; }
.ve3a-dot {
  display: inline-block; width: 0.8rem; height: 0.8rem;
  border-radius: 50%; background: rgba(255,255,255,0.4);
  margin: 0 0.3rem; cursor: pointer; transition: background 0.3s;
}
.ve3a-dot-active { background: var(--ve3a-primary); }

/* Sections */
.ve3a-section { padding: 1.5rem 1.2rem; }
.ve3a-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--ve3a-primary);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 0.2rem solid var(--ve3a-accent);
}

/* Game Grid */
.ve3a-game-cat-title {
  font-size: 1.6rem; font-weight: 700; color: var(--ve3a-warm);
  margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 0.3rem solid var(--ve3a-primary);
}
.ve3a-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.ve3a-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  border-radius: 0.8rem; overflow: hidden;
  background: var(--ve3a-card-bg);
}
.ve3a-game-item:hover { transform: scale(1.05); }
.ve3a-game-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6rem 0.6rem 0 0; }
.ve3a-game-name {
  font-size: 0.95rem; color: var(--ve3a-text);
  padding: 0.3rem 0.2rem; line-height: 1.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Content Cards */
.ve3a-card {
  background: var(--ve3a-card-bg);
  border-radius: var(--ve3a-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 0.1rem solid var(--ve3a-border);
  box-shadow: var(--ve3a-shadow);
}
.ve3a-card h2 { color: var(--ve3a-primary); font-size: 1.6rem; margin-bottom: 0.8rem; }
.ve3a-card h3 { color: var(--ve3a-warm); font-size: 1.4rem; margin: 0.8rem 0 0.5rem; }
.ve3a-card p { color: var(--ve3a-text); font-size: 1.2rem; line-height: 1.6rem; margin-bottom: 0.6rem; }
.ve3a-card ul { padding-left: 1.5rem; margin-bottom: 0.6rem; }
.ve3a-card li { color: var(--ve3a-text); font-size: 1.2rem; line-height: 1.5rem; margin-bottom: 0.3rem; list-style: disc; }

/* Promotional Buttons */
.ve3a-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ve3a-primary), var(--ve3a-warm));
  color: var(--ve3a-darker);
  font-weight: 700; font-size: 1.3rem;
  padding: 0.8rem 2rem;
  border-radius: 0.8rem;
  border: none; cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  min-height: 4.4rem;
}
.ve3a-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0.4rem 1.5rem rgba(255,165,0,0.4); }

/* Promotional text link */
.ve3a-promo-link {
  color: var(--ve3a-primary); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
.ve3a-promo-link:hover { color: var(--ve3a-warm); }

/* Footer */
.ve3a-footer {
  background: var(--ve3a-darker);
  padding: 2rem 1.2rem 1.5rem;
  border-top: 0.2rem solid var(--ve3a-accent);
}
.ve3a-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.ve3a-footer-brand p { color: #aaa; font-size: 1.1rem; line-height: 1.5rem; margin-bottom: 0.3rem; }
.ve3a-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.ve3a-footer-link {
  background: var(--ve3a-card-bg); color: var(--ve3a-primary);
  padding: 0.5rem 1rem; border-radius: 0.5rem;
  font-size: 1.1rem; font-weight: 600;
  border: 0.1rem solid var(--ve3a-border);
  transition: all 0.3s; cursor: pointer;
}
.ve3a-footer-link:hover { background: var(--ve3a-primary); color: var(--ve3a-darker); }
.ve3a-footer-copy { text-align: center; color: #666; font-size: 1rem; padding-top: 1rem; border-top: 0.1rem solid var(--ve3a-border); }

/* Bottom Navigation */
.ve3a-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--ve3a-darker);
  border-top: 0.15rem solid var(--ve3a-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0.3rem 0;
  max-width: 430px; margin: 0 auto;
}
.ve3a-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5rem;
  background: none; border: none;
  color: #888; font-size: 1rem; cursor: pointer;
  transition: all 0.3s; padding: 0.2rem;
}
.ve3a-bottom-btn .ve3a-bnav-icon { font-size: 2.2rem; margin-bottom: 0.2rem; transition: transform 0.2s; }
.ve3a-bottom-btn .ve3a-bnav-text { font-size: 0.9rem; }
.ve3a-bottom-btn:hover, .ve3a-bottom-btn.ve3a-active { color: var(--ve3a-primary); }
.ve3a-bottom-btn:hover .ve3a-bnav-icon { transform: scale(1.15); }
.ve3a-bottom-btn.ve3a-active .ve3a-bnav-icon { color: var(--ve3a-primary); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) { .ve3a-bottom-nav { display: none; } }

/* Utility */
.ve3a-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.ve3a-text-center { text-align: center; }
.ve3a-mt-1 { margin-top: 1rem; }
.ve3a-mb-1 { margin-bottom: 1rem; }
.ve3a-mb-2 { margin-bottom: 2rem; }
.ve3a-highlight { color: var(--ve3a-primary); font-weight: 600; }
.ve3a-accent-text { color: var(--ve3a-accent); }

/* FAQ Accordion */
.ve3a-faq-item { margin-bottom: 0.8rem; }
.ve3a-faq-q {
  background: var(--ve3a-card-bg); color: var(--ve3a-primary);
  padding: 1rem; border-radius: 0.6rem;
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: 0.1rem solid var(--ve3a-border);
  transition: background 0.3s;
}
.ve3a-faq-q:hover { background: #353535; }
.ve3a-faq-a {
  background: rgba(42,42,42,0.6); padding: 1rem;
  font-size: 1.2rem; line-height: 1.6rem; color: var(--ve3a-text);
  border-radius: 0 0 0.6rem 0.6rem;
  border: 0.1rem solid var(--ve3a-border); border-top: none;
}

/* RTP Table */
.ve3a-rtp-table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; }
.ve3a-rtp-table th, .ve3a-rtp-table td {
  padding: 0.6rem 0.8rem; font-size: 1.1rem;
  border-bottom: 0.1rem solid var(--ve3a-border);
}
.ve3a-rtp-table th { color: var(--ve3a-primary); text-align: left; font-size: 1.2rem; }
.ve3a-rtp-table td { color: var(--ve3a-text); }
.ve3a-rtp-high { color: var(--ve3a-highlight); font-weight: 600; }

/* Winner Ticker */
.ve3a-winner-ticker {
  background: var(--ve3a-card-bg); border-radius: 0.8rem;
  overflow: hidden; margin-bottom: 1rem;
  border: 0.1rem solid var(--ve3a-border);
}
.ve3a-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 1rem; font-size: 1.1rem;
  border-bottom: 0.1rem solid rgba(68,68,68,0.5);
}
.ve3a-winner-name { color: var(--ve3a-warm); font-weight: 600; }
.ve3a-winner-amount { color: var(--ve3a-highlight); font-weight: 700; }
.ve3a-winner-game { color: #aaa; font-size: 1rem; }

/* Testimonials */
.ve3a-testimonial {
  background: var(--ve3a-card-bg); border-radius: 0.8rem;
  padding: 1.2rem; margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--ve3a-primary);
}
.ve3a-testimonial-text { color: var(--ve3a-text); font-size: 1.2rem; line-height: 1.5rem; font-style: italic; }
.ve3a-testimonial-author { color: var(--ve3a-warm); font-size: 1.1rem; margin-top: 0.5rem; font-weight: 600; }

/* Internal links */
.ve3a-internal-link {
  color: var(--ve3a-accent); text-decoration: underline;
  transition: color 0.3s;
}
.ve3a-internal-link:hover { color: var(--ve3a-warm); }
