/* h12.click core stylesheet — all custom classes use v2ce- prefix */
/* Palette: #E5E5E5 light text | #262626 dark bg | #FF5722 accent */
/* Root font 62.5% => 1rem = 10px */

:root {
  --v2ce-bg: #262626;
  --v2ce-bg-2: #1c1c1c;
  --v2ce-bg-3: #303030;
  --v2ce-text: #E5E5E5;
  --v2ce-muted: #b5b5b5;
  --v2ce-accent: #FF5722;
  --v2ce-accent-2: #ff7a48;
  --v2ce-gold: #f5b440;
  --v2ce-border: #3a3a3a;
}

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

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

body {
  font-family: "Segoe UI", "Roboto", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--v2ce-bg);
  color: var(--v2ce-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

/* ===== Header ===== */
.v2ce-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #232323 100%);
  border-bottom: 1px solid var(--v2ce-border);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.v2ce-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--v2ce-text);
  letter-spacing: 0.5px;
}
.v2ce-logo .v2ce-logo-mark {
  width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--v2ce-accent) 0%, var(--v2ce-gold) 100%);
  border-radius: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; font-weight: 800;
  box-shadow: 0 2px 6px rgba(255,87,34,0.4);
}
.v2ce-logo small { color: var(--v2ce-muted); font-size: 1rem; font-weight: 500; }

.v2ce-header-actions { display: flex; align-items: center; gap: 0.4rem; }
.v2ce-btn {
  font-size: 1.25rem; font-weight: 700;
  padding: 0.55rem 1.1rem; border-radius: 0.7rem;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: transform 0.12s ease, opacity 0.12s ease;
  color: #fff;
}
.v2ce-btn:active { transform: scale(0.96); }
.v2ce-btn-login { background: transparent; border: 1px solid var(--v2ce-accent); color: var(--v2ce-accent-2); }
.v2ce-btn-register { background: linear-gradient(135deg, var(--v2ce-accent) 0%, var(--v2ce-accent-2) 100%); }
.v2ce-icon-btn {
  width: 3rem; height: 3rem; border-radius: 0.6rem;
  background: var(--v2ce-bg-3); color: var(--v2ce-text);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--v2ce-border); cursor: pointer;
  font-size: 1.5rem;
}

/* ===== Mobile menu ===== */
.v2ce-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--v2ce-bg-2);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  transition: right 0.25s ease;
  overflow-y: auto;
  border-left: 1px solid var(--v2ce-border);
}
.v2ce-mobile-menu.v2ce-menu-open { right: 0; }
.v2ce-mobile-menu h4 { color: var(--v2ce-accent-2); font-size: 1.2rem; margin: 1.2rem 0 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.v2ce-mobile-menu a {
  display: block; color: var(--v2ce-text);
  padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--v2ce-border);
  font-size: 1.3rem;
}
.v2ce-mobile-menu a:active { background: var(--v2ce-bg-3); }
.v2ce-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 3rem; height: 3rem;
  border-radius: 50%; background: var(--v2ce-bg-3); color: #fff;
  border: none; font-size: 1.6rem; cursor: pointer;
}

/* ===== Main ===== */
main { padding: 1rem 0.9rem; }
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

.v2ce-section { margin: 1.6rem 0; }
.v2ce-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.45rem; font-weight: 800; margin-bottom: 0.8rem;
  color: var(--v2ce-text);
}
.v2ce-section-title i { color: var(--v2ce-accent); }
.v2ce-section-title .v2ce-more { margin-left: auto; font-size: 1.1rem; color: var(--v2ce-accent-2); font-weight: 600; }

/* ===== Slider ===== */
.v2ce-slider {
  position: relative; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.v2ce-slide {
  display: none; position: relative;
  background: linear-gradient(135deg, #3a1d0e 0%, #1a1a1a 100%);
}
.v2ce-slide:first-child { display: block; }
.v2ce-slide img { width: 100%; height: 200px; object-fit: cover; opacity: 0.55; }
.v2ce-slide-inner {
  position: absolute; inset: 0;
  padding: 1.5rem 1.2rem; display: flex; flex-direction: column; justify-content: center;
}
.v2ce-slide-tag { font-size: 1rem; color: var(--v2ce-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.4rem; }
.v2ce-slide h2 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.6rem; }
.v2ce-slide p { font-size: 1.2rem; color: var(--v2ce-muted); margin-bottom: 0.9rem; }
.v2ce-slide .v2ce-btn { align-self: flex-start; padding: 0.7rem 1.4rem; font-size: 1.2rem; }
.v2ce-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  cursor: pointer; font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
}
.v2ce-arrow-prev { left: 0.5rem; }
.v2ce-arrow-next { right: 0.5rem; }

/* ===== Hero promo banner ===== */
.v2ce-hero-cta {
  background: linear-gradient(135deg, var(--v2ce-accent) 0%, #c8390f 100%);
  border-radius: 1rem; padding: 1.2rem;
  color: #fff; margin: 1rem 0;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 4px 14px rgba(255,87,34,0.35);
}
.v2ce-hero-cta .v2ce-hero-icon { font-size: 2.6rem; }
.v2ce-hero-cta div { flex: 1; }
.v2ce-hero-cta h3 { font-size: 1.3rem; font-weight: 800; }
.v2ce-hero-cta p { font-size: 1.1rem; opacity: 0.9; }
.v2ce-hero-cta .v2ce-btn-ghost {
  background: #fff; color: var(--v2ce-accent); font-weight: 800;
  padding: 0.6rem 1rem; border-radius: 0.6rem; font-size: 1.15rem;
}

/* ===== Tabs ===== */
.v2ce-tabs {
  display: flex; gap: 0.4rem; overflow-x: auto;
  padding-bottom: 0.5rem; margin-bottom: 0.8rem;
  scrollbar-width: none;
}
.v2ce-tabs::-webkit-scrollbar { display: none; }
.v2ce-tab {
  flex: 0 0 auto; padding: 0.55rem 1.1rem;
  background: var(--v2ce-bg-3); border: 1px solid var(--v2ce-border);
  border-radius: 2rem; color: var(--v2ce-text); font-size: 1.15rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.v2ce-tab.v2ce-tab-active {
  background: linear-gradient(135deg, var(--v2ce-accent) 0%, var(--v2ce-accent-2) 100%);
  border-color: transparent; color: #fff;
}

/* ===== Game grid ===== */
.v2ce-cat-panel { display: none; }
.v2ce-cat-panel.v2ce-panel-active { display: block; }
.v2ce-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.v2ce-game-card {
  background: var(--v2ce-bg-3); border-radius: 0.8rem; overflow: hidden;
  border: 1px solid var(--v2ce-border);
  transition: transform 0.12s ease;
  display: flex; flex-direction: column;
}
.v2ce-game-card:active { transform: scale(0.97); }
.v2ce-game-card .v2ce-game-thumb {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
}
.v2ce-game-card .v2ce-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v2ce-game-badge {
  position: absolute; top: 0.3rem; left: 0.3rem;
  background: var(--v2ce-accent); color: #fff;
  font-size: 0.9rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 0.4rem;
}
.v2ce-game-badge.v2ce-badge-hot { background: var(--v2ce-gold); color: #1a1a1a; }
.v2ce-game-name {
  font-size: 1.05rem; font-weight: 600;
  padding: 0.4rem 0.5rem 0.55rem; text-align: center;
  color: var(--v2ce-text);
  line-height: 1.25; min-height: 3.4rem;
  display: flex; align-items: center; justify-content: center;
}
.v2ce-game-play {
  display: block; text-align: center;
  background: var(--v2ce-bg-2); color: var(--v2ce-accent-2);
  font-size: 1rem; font-weight: 700;
  padding: 0.4rem; border-top: 1px solid var(--v2ce-border);
}

/* ===== Featured / promo cards ===== */
.v2ce-promo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.v2ce-promo-card {
  border-radius: 0.9rem; padding: 1rem; min-height: 9rem;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; position: relative; overflow: hidden;
}
.v2ce-promo-card.v2ce-pc-1 { background: linear-gradient(135deg, #b8860b 0%, #6b4d05 100%); }
.v2ce-promo-card.v2ce-pc-2 { background: linear-gradient(135deg, #2c7a3c 0%, #15401e 100%); }
.v2ce-promo-card.v2ce-pc-3 { background: linear-gradient(135deg, #6a3d8a 0%, #321a47 100%); }
.v2ce-promo-card.v2ce-pc-4 { background: linear-gradient(135deg, #c8390f 0%, #6b1f06 100%); }
.v2ce-promo-card h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.2rem; }
.v2ce-promo-card p { font-size: 1rem; opacity: 0.92; }
.v2ce-promo-card .v2ce-pc-btn {
  align-self: flex-start; margin-top: 0.6rem;
  background: rgba(255,255,255,0.92); color: #1a1a1a;
  font-size: 1rem; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: 0.5rem;
}
.v2ce-promo-card .material-icons { font-size: 2.4rem; position: absolute; top: 0.6rem; right: 0.6rem; opacity: 0.45; }

/* ===== SEO content blocks ===== */
.v2ce-seo-block {
  background: var(--v2ce-bg-2); border-radius: 1rem;
  padding: 1.2rem; border: 1px solid var(--v2ce-border);
}
.v2ce-seo-block h2 { font-size: 1.45rem; margin-bottom: 0.6rem; color: var(--v2ce-accent-2); }
.v2ce-seo-block h3 { font-size: 1.25rem; margin: 1rem 0 0.4rem; color: var(--v2ce-text); }
.v2ce-seo-block p { font-size: 1.15rem; color: var(--v2ce-muted); margin-bottom: 0.7rem; }
.v2ce-seo-block ul { padding-left: 1.6rem; margin-bottom: 0.7rem; }
.v2ce-seo-block li { font-size: 1.1rem; color: var(--v2ce-muted); margin-bottom: 0.35rem; }
.v2ce-seo-block a { color: var(--v2ce-accent-2); font-weight: 600; text-decoration: underline; }

/* ===== Steps ===== */
.v2ce-steps { display: flex; flex-direction: column; gap: 0.7rem; }
.v2ce-step {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--v2ce-bg-3); padding: 0.8rem; border-radius: 0.7rem;
  border-left: 3px solid var(--v2ce-accent);
}
.v2ce-step-num {
  flex: 0 0 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--v2ce-accent); color: #fff;
  font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.v2ce-step h4 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.v2ce-step p { font-size: 1.05rem; color: var(--v2ce-muted); }

/* ===== FAQ ===== */
.v2ce-faq-item {
  background: var(--v2ce-bg-3); border-radius: 0.7rem;
  margin-bottom: 0.6rem; border: 1px solid var(--v2ce-border); overflow: hidden;
}
.v2ce-faq-q {
  padding: 1rem; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.v2ce-faq-q .v2ce-faq-toggle { color: var(--v2ce-accent-2); transition: transform 0.2s; }
.v2ce-faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 1rem; font-size: 1.1rem; color: var(--v2ce-muted);
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.v2ce-faq-a.v2ce-faq-open { max-height: 500px; padding: 0 1rem 1rem; }

/* ===== Footer ===== */
.v2ce-footer {
  background: var(--v2ce-bg-2); border-top: 1px solid var(--v2ce-border);
  padding: 1.5rem 1rem 2rem; margin-top: 1.5rem;
}
.v2ce-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.v2ce-footer h5 { color: var(--v2ce-accent-2); font-size: 1.15rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.v2ce-footer a { display: block; color: var(--v2ce-muted); font-size: 1.05rem; padding: 0.3rem 0; }
.v2ce-footer a:hover { color: var(--v2ce-accent-2); }
.v2ce-footer-bottom { border-top: 1px solid var(--v2ce-border); padding-top: 1rem; text-align: center; color: var(--v2ce-muted); font-size: 1rem; }
.v2ce-18plus { display: inline-block; border: 1px solid var(--v2ce-muted); border-radius: 50%; width: 2.2rem; height: 2.2rem; line-height: 2.1rem; text-align: center; font-weight: 700; margin-right: 0.4rem; }

/* ===== Bottom nav ===== */
.v2ce-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
  border-top: 1px solid var(--v2ce-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; z-index: 1000; padding: 0.3rem 0;
}
.v2ce-bn-btn {
  flex: 1; background: transparent; border: none; color: var(--v2ce-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; min-width: 60px; min-height: 56px;
  font-size: 1rem; font-weight: 600;
  transition: color 0.15s ease, transform 0.12s ease;
}
.v2ce-bn-btn:active { transform: scale(0.92); }
.v2ce-bn-btn i, .v2ce-bn-btn .material-icons { font-size: 22px; }
.v2ce-bn-btn span { font-size: 10px; line-height: 1; }
.v2ce-bn-btn.v2ce-bn-active { color: var(--v2ce-accent); }
.v2ce-bn-btn.v2ce-bn-promo {
  color: #fff;
  background: linear-gradient(180deg, var(--v2ce-accent) 0%, #c8390f 100%);
  border-radius: 0.6rem 0.6rem 0 0;
  margin: 0 0.2rem;
  position: relative; top: -0.4rem;
  box-shadow: 0 -3px 8px rgba(255,87,34,0.4);
}

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .v2ce-bottom-nav { display: none; }
  body { max-width: 768px; }
  main { padding-bottom: 1.5rem; }
}

/* ===== Page H1 heading ===== */
.v2ce-h1 {
  font-size: 1.6rem; font-weight: 800; line-height: 1.3;
  color: var(--v2ce-text); margin: 0.3rem 0.1rem 0.9rem;
}
.v2ce-h1 span { color: var(--v2ce-accent); }

/* ===== Bold promotional text link ===== */
.v2ce-promo-link {
  color: var(--v2ce-gold); font-weight: 800;
  text-decoration: underline; cursor: pointer;
}
.v2ce-promo-link:active { color: var(--v2ce-accent-2); }

/* Slides are clickable promo areas */
.v2ce-slide { cursor: pointer; }

/* ===== Utility ===== */
.v2ce-hide { display: none !important; }
.v2ce-text-center { text-align: center; }
.v2ce-marquee {
  background: var(--v2ce-bg-3); padding: 0.5rem 1rem; border-radius: 0.6rem;
  font-size: 1.05rem; color: var(--v2ce-gold); margin-bottom: 0.8rem;
  overflow: hidden; white-space: nowrap;
}
.v2ce-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin: 0.6rem 0;
}
.v2ce-trust span {
  background: var(--v2ce-bg-3); border: 1px solid var(--v2ce-border);
  border-radius: 0.5rem; padding: 0.35rem 0.7rem; font-size: 1rem; color: var(--v2ce-muted);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.v2ce-trust i { color: var(--v2ce-accent); }
