/*
Theme Name: vn88-shop-child
Template: generatepress
Version: 1.0
Description: VN88 (vn88.shop) GeneratePress Child Theme
*/

:root {
  --vn-red: #c20000;
  --vn-red-dark: #990000;
  --vn-black: #0d0d0d;
  --vn-footer: #111111;
  --vn-gold: #ffd700;
  --vn-text: #1e293b;
  --vn-muted: #475569;
  --vn-border: #e2e8f0;
}

html {
  background: #0a0000 url('https://vn88.shop/wp-content/themes/vn88-shop-child/assets/back.webp') no-repeat center top fixed !important;
  background-size: cover !important;
  overflow-x: clip;
}

body {
  margin: 0 !important;
  padding: 0 0 82px 0 !important;
  background: transparent !important;
  color: var(--vn-text) !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  overflow-x: clip;
  line-height: 1.72;
}

#page, .site, .site-content, .hfeed {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

header.site-header,
footer.site-info,
.site-footer,
#right-sidebar,
.sidebar,
.widget-area,
footer.entry-meta,
.entry-meta,
.post-navigation,
.comments-area,
#comments,
.page-header-image,
.featured-image.page-header-image {
  display: none !important;
}

.vn88-boxed {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 36px rgba(0, 0, 0, .72);
  box-sizing: border-box;
}

/* Top Black Header Bar */
.vn88-hdr {
  position: relative;
  z-index: 60;
}

.vn88-topbar {
  background: #0d0d0d;
  height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #222222;
  box-sizing: border-box;
}

.vn88-topbar-spacer {
  min-width: 0;
}

.vn88-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.vn88-logo img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.vn88-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.vn88-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform .18s, filter .18s;
}

.vn88-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.vn88-btn-login {
  background: #1a1a1a;
  color: #ffd700 !important;
  border: 1.5px solid #ffd700;
}

.vn88-btn-reg {
  position: relative;
  background: linear-gradient(180deg, #ff1e00 0%, #c20000 58%, #f59e0b 100%);
  color: #ffffff !important;
  border: 1.5px solid #ffce21;
  box-shadow: 0 0 14px rgba(255, 206, 33, .45);
  animation: vn88-glow 2s infinite ease-in-out;
}

@keyframes vn88-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 206, 33, .45); }
  50% { box-shadow: 0 0 20px rgba(255, 206, 33, .85); }
}

/* Red Nav Bar */
.vn88-nav {
  background: #c20000;
  min-height: 50px;
}

.vn88-menu {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.vn88-menu > li {
  position: relative;
  margin: 0;
}

.vn88-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 15px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .18s, border-color .18s;
}

.vn88-menu > li.active > a,
.vn88-menu > li > a:hover {
  color: #eeee22 !important;
  border-bottom-color: #eeee22;
}

.vn88-caret {
  font-size: 10px;
  opacity: .85;
}

.vn88-menu > li > ul.vn88-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #ffffff;
  border: 1px solid #0d0d0d;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 99;
}

.vn88-menu > li:hover > ul.vn88-sub {
  display: block;
}

.vn88-menu > li > ul.vn88-sub li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

.vn88-menu > li > ul.vn88-sub li a:hover {
  background: #fff1f2;
  color: #c20000 !important;
}

/* Hero Banner */
.vn88-hero {
  width: 100%;
  display: block;
  line-height: 0;
  background: #0d0d0d;
}

.vn88-hero a {
  display: block;
  width: 100%;
}

.vn88-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* White Content Card */
.vn88-content-card {
  background: #ffffff;
  padding: 28px 34px 32px;
  box-sizing: border-box;
}

.vn88-breadcrumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.vn88-breadcrumb a {
  color: #c20000;
  text-decoration: none;
  font-weight: 700;
}

.vn88-content-card h1 {
  font-size: clamp(21px, 2.3vw, 27px);
  color: #c20000;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
}

.vn88-content-card h2 {
  font-size: 20px;
  color: #c20000;
  font-weight: 800;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #fee2e2;
}

.vn88-content-card h3 {
  font-size: 16.5px;
  color: #0f172a;
  font-weight: 700;
  margin: 18px 0 8px;
}

.vn88-content-card a {
  color: #c20000;
  font-weight: 700;
}

.vn88-content-card blockquote {
  margin: 16px 0 22px;
  padding: 14px 18px;
  background: #fff5f5;
  border-left: 4px solid #c20000;
  border-radius: 6px;
  color: #1e293b;
  font-style: italic;
}

.vn88-content-card blockquote p {
  margin: 0;
}

.vn88-content-card figure,
article figure {
  margin: 18px auto 22px !important;
  text-align: center !important;
  max-width: 800px !important;
}

.vn88-content-card figure img,
article figure img {
  margin: 0 auto !important;
  display: block !important;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
}

.vn88-content-card figcaption {
  margin-top: 7px;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

.vn88-content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  display: block;
  overflow-x: auto;
}

.vn88-content-card th,
.vn88-content-card td {
  padding: 10px 12px;
  border: 1px solid #fecaca;
  font-size: 14px;
  text-align: left;
}

.vn88-content-card th {
  background: #c20000;
  color: #ffffff;
  font-weight: 700;
}

.vn88-author-box {
  margin-top: 26px;
  padding: 16px 18px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

.vn88-author-box strong {
  color: #c20000;
  font-size: 14.5px;
}

.vn88-author-box p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: #334155;
}

/* Posts Grids */
.vn88-sec-h {
  font-size: 20px;
  font-weight: 800;
  color: #c20000;
  text-align: center;
  margin: 30px 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fee2e2;
  text-transform: uppercase;
}

.vn88-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 10px;
}

.vn88-rel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 10px;
}

.vn88-post-grid > *,
.vn88-rel-grid > *,
.vn88-ftr-in > * {
  min-width: 0;
  max-width: 100%;
}

.vn88-pcard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
  transition: transform .18s, box-shadow .18s;
}

.vn88-pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(194, 0, 0, .14);
}

.vn88-pcard-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #111111;
}

.vn88-pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vn88-badge-date {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #c20000;
  color: #ffffff;
  padding: 4px 7px;
  border-radius: 4px;
  text-align: center;
  line-height: 1.15;
  font-size: 11px;
  font-weight: 800;
}

.vn88-pcard h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #c20000;
  margin: 0;
  padding: 12px 12px 6px;
  line-height: 1.4;
  border-left: none !important;
}

.vn88-pcard p {
  font-size: 13px;
  color: #475569;
  margin: 0;
  padding: 0 12px 12px;
  line-height: 1.5;
}

.vn88-pagination {
  margin-top: 22px;
  text-align: center;
}

.vn88-pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #c20000;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.vn88-pagination .page-numbers.current {
  background: #c20000;
  color: #ffffff;
  border-color: #c20000;
}

/* Dark #111 Footer */
.vn88-ftr {
  background: #111111;
  color: #e2e8f0;
  padding: 30px 28px 20px;
  border-top: 3px solid #c20000;
  box-sizing: border-box;
}

.vn88-ftr-in {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1.25fr;
  gap: 24px;
}

.vn88-ftr-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  background: transparent !important;
}

.vn88-ftr p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.65;
}

.vn88-ftr h4 {
  color: #ffd700;
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.vn88-ftr a {
  color: #e2e8f0;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
}

.vn88-ftr a:hover {
  color: #ffd700;
}

.vn88-ftr-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: #cbd5e1;
}

.vn88-ftr-meta li {
  margin-bottom: 7px;
  line-height: 1.5;
}

.vn88-ftr-meta a {
  display: inline;
  color: #ffd700;
}

.vn88-ftr-copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* Sticky Bottom 8XBET GIF */
#x8-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 4px;
}

.x8-wrap {
  pointer-events: auto;
  position: relative;
  max-width: 1140px;
  width: 96vw;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.x8-wrap a {
  display: block;
  flex: 1;
  max-width: 565px;
}

.x8-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.x8-close {
  position: absolute;
  top: -10px;
  right: -6px;
  background: #c20000;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 99px;
  width: 24px;
  height: 24px;
  font-weight: 800;
  cursor: pointer;
  line-height: 20px;
  padding: 0;
}

@media (max-width: 768px) {
  .vn88-topbar {
    height: auto;
    min-height: 62px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .vn88-topbar-spacer {
    display: none;
  }

  .vn88-logo {
    justify-content: flex-start;
  }

  .vn88-logo img {
    height: 34px;
    max-width: 126px;
  }

  .vn88-ctas {
    gap: 5px;
  }

  .vn88-btn {
    height: 32px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 6px;
  }

  .vn88-nav ul.vn88-menu {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding: 4px 6px;
    gap: 2px;
  }

  .vn88-nav ul.vn88-menu > li > a {
    padding: 8px 9px;
    font-size: 12px;
  }

  .vn88-nav ul.vn88-menu > li > ul.vn88-sub {
    display: none !important;
  }

  .vn88-content-card {
    padding: 18px 14px 24px;
  }

  .vn88-post-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vn88-rel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .vn88-ftr {
    padding: 22px 16px 18px;
  }

  .vn88-ftr-in {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .x8-wrap a:nth-child(2) {
    display: none;
  }
}
