/* ==========================================================================
   mm88 net - design.css
   Prefix: ve1a-  | Palette: #0D1117 / #CD853F
   Mobile-first HTML5 casino layout
   ========================================================================== */

:root {
  --ve1a-bg: #0D1117;
  --ve1a-bg-2: #11161f;
  --ve1a-bg-3: #161c27;
  --ve1a-card: #1a212e;
  --ve1a-gold: #CD853F;
  --ve1a-gold-2: #e0a45a;
  --ve1a-gold-soft: rgba(205, 133, 63, 0.15);
  --ve1a-text: #f2ece2;
  --ve1a-text-dim: #a8a39a;
  --ve1a-border: #2a3140;
  --ve1a-red: #d9534f;
  --ve1a-green: #4caf50;
  --ve1a-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --ve1a-radius: 14px;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif;
  background: var(--ve1a-bg);
  color: var(--ve1a-text);
  line-height: 1.6;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ve1a-gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ve1a-gold); }
img { max-width: 100%; display: block; }

/* ---------------- Header ---------------- */
.ve1a-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, #0b0f16 0%, #11161f 100%);
  border-bottom: 1px solid var(--ve1a-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 1000;
  box-shadow: var(--ve1a-shadow);
}
.ve1a-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.9rem; color: var(--ve1a-gold);
  letter-spacing: .5px;
}
.ve1a-logo .ve1a-logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--ve1a-gold), #6e4521);
  display: flex; align-items: center; justify-content: center;
  color: #0D1117; font-weight: 900; font-size: 1.6rem;
}
.ve1a-logo small { display: block; font-size: 1rem; color: var(--ve1a-text-dim); font-weight: 500; }

.ve1a-header-actions { display: flex; gap: 8px; align-items: center; }
.ve1a-btn {
  font-family: inherit;
  border: none;
  border-radius: 20px;
  padding: 9px 18px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.ve1a-btn:active { transform: scale(0.96); }
.ve1a-btn-login {
  background: transparent;
  color: var(--ve1a-text);
  border: 1px solid var(--ve1a-border);
}
.ve1a-btn-login:hover { border-color: var(--ve1a-gold); color: var(--ve1a-gold); }
.ve1a-btn-register {
  background: linear-gradient(135deg, var(--ve1a-gold), #a06530);
  color: #0D1117;
  box-shadow: 0 4px 14px rgba(205, 133, 63, .4);
}
.ve1a-btn-register:hover { box-shadow: 0 6px 20px rgba(205, 133, 63, .6); }

.ve1a-menu-toggle {
  display: none;
  background: transparent; border: none; color: var(--ve1a-text);
  font-size: 2rem; cursor: pointer; padding: 4px 8px;
}

/* ---------------- Top nav (desktop) ---------------- */
.ve1a-topnav {
  display: none;
  background: var(--ve1a-bg-2);
  border-bottom: 1px solid var(--ve1a-border);
  padding: 0 20px;
  position: sticky;
  top: 60px;
  z-index: 999;
}
.ve1a-topnav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
}
.ve1a-topnav a {
  display: block;
  padding: 12px 16px;
  color: var(--ve1a-text-dim);
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.ve1a-topnav a:hover { color: var(--ve1a-gold); border-bottom-color: var(--ve1a-gold); }

/* ---------------- Mobile slide menu ---------------- */
.ve1a-mobile-menu {
  position: fixed;
  top: 0; left: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--ve1a-bg-2);
  z-index: 9999;
  transition: left .3s ease;
  padding: 20px 18px;
  overflow-y: auto;
  box-shadow: 4px 0 30px rgba(0, 0, 0, .6);
}
.ve1a-mobile-menu.ve1a-open { left: 0; }
.ve1a-mobile-menu h3 {
  color: var(--ve1a-gold); font-size: 1.6rem; margin: 18px 0 8px;
  border-bottom: 1px solid var(--ve1a-border); padding-bottom: 6px;
}
.ve1a-mobile-menu a {
  display: block;
  padding: 10px 8px;
  color: var(--ve1a-text);
  font-size: 1.4rem;
  border-radius: 6px;
}
.ve1a-mobile-menu a:hover { background: var(--ve1a-bg-3); color: var(--ve1a-gold); }
.ve1a-menu-close {
  background: transparent; border: 1px solid var(--ve1a-border);
  color: var(--ve1a-text); padding: 6px 12px; border-radius: 6px;
  font-size: 1.3rem; cursor: pointer; margin-bottom: 10px;
}
.ve1a-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 9998;
  display: none;
}
.ve1a-overlay.ve1a-open { display: block; }

/* ---------------- Layout ---------------- */
.ve1a-main {
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px;
}
.ve1a-section { margin: 30px 0; }
.ve1a-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  border-left: 4px solid var(--ve1a-gold);
  padding-left: 12px;
}
.ve1a-section-head h2 {
  font-size: 1.9rem; color: var(--ve1a-text); font-weight: 800;
}
.ve1a-section-head .ve1a-more {
  font-size: 1.25rem; color: var(--ve1a-gold); font-weight: 600;
}

/* ---------------- Hero / Carousel ---------------- */
.ve1a-hero {
  position: relative;
  border-radius: var(--ve1a-radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--ve1a-shadow);
}
.ve1a-hero-slides { display: flex; transition: transform .5s ease; }
.ve1a-hero-slide {
  min-width: 100%;
  position: relative;
  background: linear-gradient(135deg, #1a2230 0%, #2a1a10 100%);
  padding: 30px 22px;
  min-height: 220px;
}
.ve1a-hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(205,133,63,.35), transparent 50%);
}
.ve1a-hero-content { position: relative; z-index: 2; max-width: 80%; }
.ve1a-hero-tag {
  display: inline-block;
  background: var(--ve1a-gold);
  color: #0D1117;
  font-size: 1.1rem; font-weight: 800;
  padding: 3px 10px; border-radius: 10px;
  margin-bottom: 8px;
}
.ve1a-hero-content h1 {
  font-size: 2.6rem; line-height: 1.2; margin-bottom: 8px;
  color: #fff;
}
.ve1a-hero-content p { font-size: 1.35rem; color: var(--ve1a-text-dim); margin-bottom: 14px; }
.ve1a-hero-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--ve1a-gold), #a06530);
  color: #0D1117; font-weight: 800; font-size: 1.4rem;
  padding: 10px 22px; border-radius: 22px;
  box-shadow: 0 4px 14px rgba(205,133,63,.4);
}
.ve1a-hero-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 3;
}
.ve1a-hero-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
}
.ve1a-hero-dots span.ve1a-active { background: var(--ve1a-gold); width: 18px; border-radius: 4px; }

/* ---------------- Quick stats ---------------- */
.ve1a-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.ve1a-stat {
  background: var(--ve1a-card);
  border: 1px solid var(--ve1a-border);
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
}
.ve1a-stat b { display: block; color: var(--ve1a-gold); font-size: 1.7rem; font-weight: 800; }
.ve1a-stat span { font-size: 1.05rem; color: var(--ve1a-text-dim); }

/* ---------------- Category chips ---------------- */
.ve1a-chips {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}
.ve1a-chips::-webkit-scrollbar { display: none; }
.ve1a-chip {
  flex: 0 0 auto;
  background: var(--ve1a-card);
  border: 1px solid var(--ve1a-border);
  color: var(--ve1a-text-dim);
  padding: 8px 16px;
  border-radius: 18px;
  font-size: 1.25rem; font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.ve1a-chip.ve1a-active,
.ve1a-chip:hover {
  background: var(--ve1a-gold-soft);
  border-color: var(--ve1a-gold);
  color: var(--ve1a-gold);
}

/* ---------------- Game grid ---------------- */
.ve1a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ve1a-card {
  background: var(--ve1a-card);
  border: 1px solid var(--ve1a-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.ve1a-card:hover {
  transform: translateY(-3px);
  border-color: var(--ve1a-gold);
  box-shadow: 0 6px 18px rgba(205,133,63,.25);
}
.ve1a-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #20283a, #2a1a10);
  overflow: hidden;
}
.ve1a-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ve1a-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: rgba(217, 83, 79, .9);
  color: #fff; font-size: 1rem; font-weight: 700;
  padding: 2px 8px; border-radius: 8px;
}
.ve1a-card-tag.ve1a-hot { background: rgba(217, 83, 79, .9); }
.ve1a-card-tag.ve1a-new { background: rgba(76, 175, 80, .9); }
.ve1a-card-tag.ve1a-top { background: rgba(205, 133, 63, .95); color:#0D1117; }
.ve1a-card-play {
  position: absolute; inset: 0;
  background: rgba(13, 17, 23, .75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.ve1a-card:hover .ve1a-card-play { opacity: 1; }
.ve1a-card-play span {
  background: var(--ve1a-gold); color: #0D1117;
  padding: 6px 16px; border-radius: 16px; font-weight: 700; font-size: 1.25rem;
}
.ve1a-card-body {
  padding: 8px 10px;
}
.ve1a-card-body h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--ve1a-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ve1a-card-body .ve1a-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px;
}
.ve1a-card-body .ve1a-card-cat {
  font-size: 1rem; color: var(--ve1a-text-dim);
}
.ve1a-card-body .ve1a-card-rtp {
  font-size: 1rem; color: var(--ve1a-green); font-weight: 700;
}

/* ---------------- Feature / promo banners ---------------- */
.ve1a-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.ve1a-feature {
  background: linear-gradient(135deg, var(--ve1a-card), #16110a);
  border: 1px solid var(--ve1a-border);
  border-radius: 12px;
  padding: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.ve1a-feature .ve1a-feature-ico {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 10px;
  background: var(--ve1a-gold-soft);
  color: var(--ve1a-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.ve1a-feature h4 { font-size: 1.35rem; color: var(--ve1a-text); margin-bottom: 3px; }
.ve1a-feature p { font-size: 1.15rem; color: var(--ve1a-text-dim); line-height: 1.45; }

.ve1a-promo-banner {
  background: linear-gradient(120deg, #2a1a10, #1a2230);
  border: 1px solid var(--ve1a-gold);
  border-radius: var(--ve1a-radius);
  padding: 22px 18px;
  margin: 24px 0;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.ve1a-promo-banner::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205,133,63,.35), transparent 70%);
}
.ve1a-promo-banner h3 { color: var(--ve1a-gold); font-size: 1.9rem; }
.ve1a-promo-banner p { color: var(--ve1a-text-dim); font-size: 1.3rem; }
.ve1a-promo-banner .ve1a-btn-register { align-self: flex-start; margin-top: 6px; }

/* ---------------- SEO article ---------------- */
.ve1a-article {
  background: var(--ve1a-bg-2);
  border: 1px solid var(--ve1a-border);
  border-radius: var(--ve1a-radius);
  padding: 22px 18px;
  margin: 24px 0;
  line-height: 1.7;
}
.ve1a-article h2 {
  color: var(--ve1a-gold); font-size: 2rem; margin: 18px 0 10px;
}
.ve1a-article h2:first-child { margin-top: 0; }
.ve1a-article h3 { color: var(--ve1a-text); font-size: 1.6rem; margin: 14px 0 6px; }
.ve1a-article p { color: var(--ve1a-text-dim); font-size: 1.35rem; margin-bottom: 10px; }
.ve1a-article ul { padding-left: 20px; margin-bottom: 12px; }
.ve1a-article li { color: var(--ve1a-text-dim); font-size: 1.3rem; margin-bottom: 5px; }
.ve1a-article a { color: var(--ve1a-gold-2); border-bottom: 1px dotted var(--ve1a-gold); }
.ve1a-article strong { color: var(--ve1a-text); }

/* ---------------- FAQ ---------------- */
.ve1a-faq { margin: 24px 0; }
.ve1a-faq-item {
  background: var(--ve1a-card);
  border: 1px solid var(--ve1a-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.ve1a-faq-q {
  width: 100%; text-align: left;
  background: transparent; border: none;
  color: var(--ve1a-text); font-weight: 700; font-size: 1.35rem;
  padding: 14px 16px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.ve1a-faq-q .ve1a-faq-icon { color: var(--ve1a-gold); transition: transform .2s; }
.ve1a-faq-item.ve1a-open .ve1a-faq-icon { transform: rotate(45deg); }
.ve1a-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 16px;
}
.ve1a-faq-item.ve1a-open .ve1a-faq-a { max-height: 400px; padding-bottom: 14px; }
.ve1a-faq-a p { color: var(--ve1a-text-dim); font-size: 1.25rem; padding-top: 4px; }

/* ---------------- Footer ---------------- */
.ve1a-footer {
  background: var(--ve1a-bg-2);
  border-top: 1px solid var(--ve1a-border);
  padding: 26px 16px 30px;
  margin-top: 30px;
}
.ve1a-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ve1a-footer h4 {
  color: var(--ve1a-gold); font-size: 1.5rem; margin-bottom: 10px;
}
.ve1a-footer ul { list-style: none; }
.ve1a-footer li { margin-bottom: 6px; }
.ve1a-footer a { color: var(--ve1a-text-dim); font-size: 1.2rem; }
.ve1a-footer a:hover { color: var(--ve1a-gold); }
.ve1a-footer-bottom {
  max-width: 1200px; margin: 18px auto 0;
  border-top: 1px solid var(--ve1a-border);
  padding-top: 14px;
  text-align: center;
  color: var(--ve1a-text-dim); font-size: 1.15rem;
}
.ve1a-footer-brand { grid-column: 1 / -1; }
.ve1a-footer-brand p { color: var(--ve1a-text-dim); font-size: 1.2rem; margin-top: 6px; }

/* ---------------- Bottom nav ---------------- */
.ve1a-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #11161f, #0b0f16);
  border-top: 1px solid var(--ve1a-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,.5);
}
.ve1a-bottomnav a, .ve1a-bottomnav button {
  flex: 1;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ve1a-text-dim);
  font-size: 1.05rem; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  min-height: 60px;
  padding: 6px 2px;
  gap: 3px;
  transition: color .2s;
}
.ve1a-bottomnav .ve1a-ico { font-size: 2.1rem; line-height: 1; }
.ve1a-bottomnav a:hover, .ve1a-bottomnav button:hover,
.ve1a-bottomnav .ve1a-active { color: var(--ve1a-gold); }
.ve1a-bottomnav .ve1a-bn-promo {
  position: relative;
}
.ve1a-bottomnav .ve1a-bn-promo .ve1a-ico {
  background: linear-gradient(135deg, var(--ve1a-gold), #a06530);
  color: #0D1117;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -22px;
  font-size: 2.2rem;
  box-shadow: 0 4px 14px rgba(205,133,63,.5);
  border: 3px solid var(--ve1a-bg);
}

/* ---------------- Responsive ---------------- */
@media (min-width: 600px) {
  .ve1a-grid { grid-template-columns: repeat(4, 1fr); }
  .ve1a-hero-content h1 { font-size: 3.2rem; }
  .ve1a-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 769px) {
  .ve1a-menu-toggle { display: none; }
  .ve1a-topnav { display: block; }
  .ve1a-bottomnav { display: none; }
  .ve1a-grid { grid-template-columns: repeat(5, 1fr); }
  .ve1a-features { grid-template-columns: repeat(4, 1fr); }
  .ve1a-footer-inner { grid-template-columns: repeat(5, 1fr); }
  .ve1a-main { padding: 20px; }
  .ve1a-hero-slide { min-height: 280px; padding: 40px; }
}
@media (max-width: 768px) {
  .ve1a-menu-toggle { display: inline-block; }
  .ve1a-header-actions .ve1a-btn { padding: 8px 14px; font-size: 1.25rem; }
  .ve1a-main { padding-bottom: 80px; }
  .ve1a-footer-inner { grid-template-columns: repeat(2, 1fr); }
  .ve1a-promo-card { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .ve1a-grid { grid-template-columns: repeat(2, 1fr); }
  .ve1a-features { grid-template-columns: 1fr; }
}

.ve1a-text-link {
  color: var(--ve1a-gold); font-weight: 700;
  border-bottom: 1px dotted var(--ve1a-gold);
  cursor: pointer;
}
.ve1a-hidden { display: none !important; }

/* === Mobile fine-tune: small phones <= 430px === */
@media (max-width: 430px) {
  html { font-size: 14px; -webkit-text-size-adjust: 100%; }
  body { font-size: 14px; line-height: 1.5; overflow-x: hidden; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  img { max-width: 100%; height: auto; }
  .ve1ahero-title { font-size: 1.6rem !important; }
  .ve1agame-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .ve1acard { padding: 6px !important; }
  .ve1asection { padding: 12px 10px !important; }
  .ve1abottom-nav { height: 56px !important; }
  .ve1abottom-nav a { font-size: 10px !important; }
}
