/*
Theme Name: TX88 Child
Template: generatepress
Version: 1.0.0
Text Domain: tx88-child
*/

/* Hide GeneratePress default chrome */
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; }

html, body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Lexend Deca', 'Exo 2', sans-serif;
  overflow-x: clip;
  line-height: 1.65;
}
html {
  background-color: #000000;
  background-image: var(--tx-bg-img);
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: #ffd700; text-decoration: none; }
a:hover { color: #fff1a8; }

/* Boxed 1100px wrapper matching m.nerobet157.com */
.tx-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #000000;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.95);
  position: relative;
}
#page, .site-content, .inside-article, .entry-content {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  display: block !important;
}

/* Header Top (90px PC, 70px Mobile) */
.tx-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}
.tx-header-main {
  height: 90px;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tx-logo img {
  max-height: 78px;
  width: auto;
  display: block;
}
.tx-burger {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255, 215, 0, 0.55);
  color: #ffd700;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Gold 3D Button (UK88 / LU88 style from reference) */
.tx-btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  color: #1a1a1a !important;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
  overflow: hidden;
  background: linear-gradient(135deg, #fff3a0, #ffd700, #ffb300, #e6a800);
  box-shadow: 0 5px 0 #a67c00, 0 10px 18px rgba(0,0,0,.6), 0 0 18px rgba(255,215,0,.45), inset 0 2px 5px rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.tx-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #a67c00, 0 14px 24px rgba(0,0,0,.7), 0 0 26px rgba(255,215,0,.7);
}
.tx-btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-25deg);
  animation: txShine 4s linear infinite;
}
@keyframes txShine { 0%{left:-120%;} 100%{left:140%;} }

/* Bottom Nav Bar */
.tx-nav-bar {
  background: linear-gradient(90deg, #050505, #0d0d0d, #050505);
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(255, 180, 0, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
  padding: 6px 10px;
}
.tx-nav-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1090px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.tx-nav-list li a {
  display: block;
  color: #fff5cc !important;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.tx-nav-list li a:hover,
.tx-nav-list li.active a {
  color: #1a1a1a !important;
  background: linear-gradient(135deg, #fff3a0, #ffd700, #ffb300);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.75);
}

/* Hero Banner */
.tx-hero {
  width: 100%;
  display: block;
  overflow: hidden;
}
.tx-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Single 8XBET Box (.nha-cai-uy-tin) */
.tx-box-wrap {
  padding: 18px 16px 6px;
}
.nha-cai-uy-tin {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 18px;
  padding: 16px 22px;
  background: rgba(0, 0, 0, 0.45);
  border: 2.5px solid rgba(255, 255, 0, 0.75);
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(255, 255, 0, 0.35);
}
.nc-col-logo {
  flex: 0 0 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 16px;
  border-right: 2px solid rgba(255, 255, 0, 0.65);
}
.nc-col-logo img {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
}
.nc-col-info {
  flex: 1 1 54%;
  padding: 0 16px;
  border-right: 2px solid rgba(255, 255, 0, 0.65);
  text-align: center;
}
.nc-col-info h3 {
  margin: 0 0 8px;
  font-size: 18px !important;
  color: #ffd700;
  text-transform: uppercase;
}
.nc-col-info p {
  margin: 0;
  font-size: 13.5px;
  color: #f2f2f2;
  line-height: 1.5;
}
.nc-col-cta {
  flex: 0 0 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.button-nha-cai-uy-tin {
  background: radial-gradient(circle at top, #ffffcc, #ffff00, #cccc00, #332b00) !important;
  width: 170px;
  padding: 10px 14px;
  text-align: center;
  color: #000 !important;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 0, 0.9) !important;
  box-shadow: 0 0 16px rgba(255, 255, 0, 0.8), inset 0 0 6px rgba(255, 255, 255, 0.35);
  transition: all .25s ease;
  display: inline-block;
}
.button-nha-cai-uy-tin:hover {
  transform: translateY(-2px) scale(1.03);
  background: radial-gradient(circle at top, #b6ffb6, #00ff00, #009900, #0b0703) !important;
  border-color: rgba(0, 255, 0, 0.9) !important;
  box-shadow: 0 0 24px rgba(0, 255, 0, 0.85);
}

/* Section Title with Horizontal Lines (<b></b><span>...</span><b></b>) */
.section-title-container {
  max-width: 1040px;
  margin: 14px auto 14px;
  padding: 0 16px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  text-align: center;
}
.section-title b {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.7), transparent);
  display: block;
}
.section-title-main {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff5c2, #ffd700, #ffb800, #fff0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content Container */
.tx-content-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 20px 30px;
}
.tx-content-wrap h1 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffd700;
  margin: 10px 0 16px;
}
.tx-content-wrap h2 {
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffd700;
  margin: 26px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
}
.tx-content-wrap h3 {
  font-size: 17px;
  font-weight: 700;
  color: #f5d97a;
  margin: 18px 0 8px;
}
.tx-content-wrap p, .tx-content-wrap li {
  color: #eaeaea;
  font-size: 15px;
  line-height: 1.7;
}
.tx-content-wrap ul { padding-left: 22px; margin: 10px 0 16px; }
.tx-content-wrap figure {
  margin: 18px auto 22px !important;
  text-align: center !important;
  max-width: 800px;
}
.tx-content-wrap figure img {
  margin: 0 auto !important;
  display: block !important;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.25);
}
.tx-content-wrap figcaption {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 6px;
  font-style: italic;
}

/* Gold Luxury Table */
.tx-content-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 10, 0, 0.55);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin: 16px 0 22px;
}
.tx-content-wrap table th {
  color: #1a1a1a;
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(135deg, #fff3a0, #ffd700, #ffb800);
  padding: 12px 14px;
  text-align: left;
}
.tx-content-wrap table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 200, 0, 0.15);
  color: #f2f2f2;
  font-size: 14.5px;
}
.tx-content-wrap table td:first-child {
  color: #ffd700;
  font-weight: 700;
  border-left: 3px solid rgba(255, 215, 0, 0.5);
}

/* Posts 4-Col Grid (Cẩm Nang Cá Cược) */
.tx-posts-sec {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 20px 28px;
}
.tx-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tx-post-card {
  position: relative;
  background: #111111;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.tx-post-card:hover {
  transform: translateY(-3px);
  border-color: #ffd700;
}
.tx-post-thumb {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #050505;
}
.tx-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tx-date-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #caa64b, #f5d97a, #b8963a);
  color: #000;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6);
}
.tx-post-body {
  padding: 12px;
  text-align: center;
}
.tx-post-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff5cc;
  line-height: 1.35;
}
.tx-post-excerpt {
  margin: 0;
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.45;
}

/* Breadcrumb, Author Box & Related */
.tx-breadcrumb {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.tx-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 26px;
}
.tx-author-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3a0, #ffd700);
  color: #000;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
.tx-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  padding: 30px 20px 20px;
}
.tx-footer-top {
  max-width: 1040px;
  margin: 0 auto 24px;
  text-align: center;
}
.tx-footer-logo {
  max-width: 210px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}
.tx-footer-top p {
  font-size: 13.5px;
  color: #d4d4d8;
  max-width: 900px;
  margin: 0 auto;
}
.tx-footer-cols {
  max-width: 1040px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tx-footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: #ffd700;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}
.tx-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tx-footer-col ul li {
  margin-bottom: 7px;
  font-size: 13.5px;
}
.tx-footer-col ul li a {
  color: #e4e4e7;
}
.tx-footer-col ul li a:hover {
  color: #ffd700;
}
.tx-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.tx-footer-badges img {
  max-height: 44px;
  width: auto;
}
.tx-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #a1a1aa;
}

/* Mobile 390x844 */
@media (max-width: 768px) {
  .tx-header-main { height: 70px; }
  .tx-logo img { max-height: 54px; }
  .tx-burger { display: inline-flex; }
  .tx-nav-bar { display: none; }
  .tx-nav-bar.open { display: block; }
  .tx-nav-list { flex-direction: column; align-items: stretch; }
  .tx-nav-list li a { text-align: center; padding: 9px 12px; }
  .tx-btn-gold { padding: 8px 14px; font-size: 12px; }
  .nha-cai-uy-tin {
    flex-direction: row;
    padding: 12px 10px;
    gap: 8px;
  }
  .nc-col-logo { flex: 0 0 24%; padding-right: 8px; }
  .nc-col-info { flex: 1 1 46%; padding: 0 8px; }
  .nc-col-info h3 { font-size: 13px !important; }
  .nc-col-info p { font-size: 11px; }
  .nc-col-cta { flex: 0 0 28%; gap: 6px; }
  .button-nha-cai-uy-tin { width: 100%; font-size: 11px; padding: 7px 6px; }
  .tx-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tx-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tx-content-wrap table { display: block; overflow-x: auto; width: 100%; }
}
