:root {
  --sv-ink: #0b1220;
  --sv-muted: #334155;
  --sv-body: #1c2430;
  --sv-brand: #e11d48;
  --sv-gold: #e8b84a;
  --sv-navy: #0f172a;
  --sv-display: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.page-template-page-templatessv888-home-php #wrapper,
.page-template-page-templatessv888-home-php #main,
.sv888-home-template #wrapper,
.sv888-home-template #main { padding: 0; margin: 0; }
.page-template-page-templatessv888-home-php .page-title-wrapper,
.page-template-page-templatessv888-home-php .page-header-wrapper { display: none !important; }
.page-template-page-templatessv888-home-php .page-wrapper { padding-top: 0 !important; }

.sv-inner { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

/* ===== Hero banner — original image only ===== */
.sv-hero {
  min-height: clamp(160px, 28vw, 280px);
  background-size: cover;
  background-position: center;
  background-color: #111;
}

.sv-hero-intro { padding: 1.5rem 0 0.5rem; background: #fff; }
.sv-hero-intro__panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.sv-hero-intro__head { text-align: center; margin-bottom: 1rem; }
.sv-hero-intro__title {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 0.55rem;
  font-family: var(--sv-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: var(--sv-ink) !important;
  -webkit-text-fill-color: var(--sv-ink) !important;
  background: none !important;
}
.sv-hero-intro__title strong { font-weight: 800; color: inherit; }
.sv-hero-intro__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sv-gold), rgba(232, 184, 74, 0));
}

.sv-hero-intro__callout {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(232, 184, 74, 0.28);
  border-left: 4px solid var(--sv-gold);
  background: linear-gradient(90deg, rgba(232, 184, 74, 0.1) 0%, rgba(232, 184, 74, 0.03) 100%);
  border-radius: 0 12px 12px 0;
}
.sv-hero__lead { margin: 0 0 0.75rem; font-size: 1.02rem; line-height: 1.7; color: var(--sv-body); text-align: justify; }
.sv-hero__keyword, .sv-hero__keyword strong { color: var(--sv-brand) !important; font-weight: 800; text-decoration: none; }
.sv-hero-intro__access { margin: 0; font-weight: 600; }
.sv-hero-intro__access a { color: var(--sv-brand) !important; font-weight: 800; }

.sv-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.sv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.35rem; border-radius: 999px;
  font-weight: 800; text-decoration: none !important; letter-spacing: 0.02em;
}
.sv-btn--register { background: linear-gradient(135deg, #f5d76e, #e8b84a); color: #111 !important; }
.sv-btn--login { background: var(--sv-navy); color: #fff !important; border: 1px solid rgba(232,184,74,.45); }

.sv-brand-entity { padding: 1.25rem 0 0.75rem; background: #fff; }
.sv-brand-entity h2 { margin: 0 0 0.75rem; font-size: 1.4rem; color: var(--sv-ink); }
.sv-brand-entity p { margin: 0 0 0.85rem; line-height: 1.65; color: var(--sv-body); }
.sv-brand-entity__facts {
  margin: 0; padding: 0.85rem 1rem; list-style: none; display: grid; gap: 0.35rem;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border: 1px solid #fecdd3; border-radius: 12px;
}
.sv-brand-entity a { color: var(--sv-brand); font-weight: 700; text-decoration: none; }

.sv-lobbies {
  margin: 1rem 0 0;
  padding: 1.35rem 0 1.5rem;
  background: linear-gradient(180deg, #9e1020 0%, #6b0a14 100%);
}
.sv-lobbies__head h2 { margin: 0 0 1rem; text-align: center; color: #fff !important; font-size: 1.35rem; }
.sv-lobbies__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.sv-lobby {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0.95rem 0.85rem; border-radius: 14px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: #fff !important; text-decoration: none !important;
  transition: transform .15s ease, background .15s ease;
}
.sv-lobby:hover { transform: translateY(-2px); background: rgba(255,255,255,0.16); }
.sv-lobby strong { font-size: 1rem; }
.sv-lobby span { font-size: 0.86rem; opacity: 0.88; }

.sv-seo { padding: 1.5rem 0 1rem; background: #f8fafc; }
.sv-seo__panel {
  background: #fff; border-radius: 16px; padding: 1.25rem 1.15rem 1.4rem;
  border: 1px solid rgba(15,23,42,.08);
}
.sv-seo__panel > h2 { margin: 0 0 1rem; text-align: center; color: var(--sv-ink); }
.sv-prose[data-collapse] {
  max-height: 360px; overflow: hidden; position: relative;
}
.sv-prose[data-collapse].is-open { max-height: none; }
.sv-prose[data-collapse]:not(.is-open)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.sv-seo__more {
  display: block; margin: 1rem auto 0; min-width: 168px; min-height: 44px;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(15,23,42,.18); border-radius: 999px; background: #fff;
  color: #0b1220; font-weight: 700; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.sv-seo__more:hover {
  background: #f8fafc;
  border-color: rgba(225, 29, 72, 0.35);
  color: var(--sv-brand);
}

.sv-related { padding: 0.75rem 0 1.75rem; background: #fff; text-align: center; }
.sv-related a { color: var(--sv-brand); font-weight: 700; text-decoration: none; }

.sv888-breadcrumb-wrap {
  background: #f8fafc; border-bottom: 1px solid rgba(15,23,42,.06);
}
.sv888-breadcrumb-inner {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 0.65rem 0; font-size: 0.9rem;
}
.sv888-breadcrumb-inner a { color: var(--sv-brand); text-decoration: none; font-weight: 600; }

@media (max-width: 900px) {
  .sv-lobbies__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .sv-lobbies__track { grid-template-columns: 1fr; }
  .sv-cta { flex-direction: column; }
  .sv-btn { width: 100%; }
}

/* Brand entity — always-visible SV888 block */
.sv-brand-entity {
  padding: 1.25rem 0 0.5rem;
  background: #fff;
}
.sv-brand-entity .sv-inner {
  background: linear-gradient(180deg, #fffef8 0%, #fff 100%);
  border: 1px solid rgba(232, 184, 74, 0.28);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.sv-brand-entity h2 {
  margin: 0 0 0.85rem;
  text-align: center;
  color: #0f172a !important;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
}
.sv-brand-entity p {
  margin: 0 0 0.85rem;
  color: #1c2430;
  line-height: 1.7;
  text-align: justify;
}
.sv-brand-entity a {
  color: #e11d48 !important;
  font-weight: 800;
  text-decoration: none;
}
.sv-brand-entity a:hover { text-decoration: underline; }
.sv-brand-entity__facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  border-left: 4px solid #e8b84a;
}
.sv-brand-entity__facts li {
  margin: 0.35rem 0;
  color: #334155;
  line-height: 1.55;
}

.sv-hero-intro__title {
  font-size: clamp(1.05rem, 2.4vw, 1.55rem) !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em;
  text-transform: none;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
