/*
Theme Name: V9BET Theme
Theme URI: https://v9betmobile.co/
Author: V9BET Development Team
Author URI: https://v9betmobile.co/
Description: Theme WordPress V9BET chuyên nghiệp, giao diện mượt mà, tối ưu chuẩn SEO RankMath/Yoast, hỗ trợ Responsive Mobile/Tablet/Desktop, tốc độ cao, tích hợp Mục lục TOC, Schema JSON-LD, Breadcrumbs, Swiper Brand Slider và hiệu ứng LED Neon rực rỡ.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: v9bet
Tags: entertainment, casino, blog, responsive-layout, custom-menu, featured-images, full-width-template, sticky-post, theme-options, translation-ready
*/

/* Reset & Base Variables */
:root {
  --primary-color: #446084;
  --secondary-color: #c05530;
  --success-color: #627d47;
  --alert-color: #b20000;
  --base-color: #0a0a0a;
  --link-color: #b30909;
  --link-color-hover: #e6d40e;
  --header-bg: rgba(9, 0, 68, 0.9);
  --header-bottom-bg: #0c1b3a;
  --accent-gold: #f9e024;
  --drawer-width: 300px;
  --max-width: 1170px;
}

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

html {
  font-size: 16px;
  background-color: #ffffff !important;
  background-image: url('assets/images/background-v9bet.webp');
  background-repeat: repeat;
  background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", serif;
  font-size: 101%;
  font-weight: 400;
  line-height: 1.6;
  color: #0a0a0a;
  background-color: transparent;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.boxed #wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(224, 235, 244, 0.68);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover, a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  color: #0a0a0a;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
  line-height: 1.3;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
  margin-bottom: 1em;
  text-align: justify;
}

ul, ol {
  margin-bottom: 1em;
  padding-left: 20px;
}

li {
  margin-bottom: 0.3em;
}

blockquote {
  margin: 1.5em 0;
  padding: 15px 20px;
  background: #ffffff;
  border-left: 4px solid #00d9ff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: #fff;
  border: 1px solid #ddd;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

table th {
  background: #f7f9fa;
  font-weight: 700;
  color: #d32f2f;
}

figure.wp-caption {
  margin: 1.5em auto;
  max-width: 100%;
  text-align: center;
}

figure.wp-caption img {
  border-radius: 6px;
  margin: 0 auto;
}

figcaption.wp-caption-text {
  font-size: 0.88rem;
  font-style: italic;
  color: #666;
  margin-top: 6px;
}

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  width: 100%;
}

.large-12 { flex: 0 0 100%; max-width: 100%; }
.large-9 { flex: 0 0 75%; max-width: 75%; }
.large-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.large-6 { flex: 0 0 50%; max-width: 50%; }
.large-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.large-3 { flex: 0 0 25%; max-width: 25%; }
.large-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }

.flex-row { display: flex; flex-wrap: wrap; align-items: center; }
.flex-col { position: relative; }
.flex-grow { flex-grow: 1; }
.flex-left { justify-content: flex-start; }
.flex-right { justify-content: flex-end; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.relative { position: relative; }
.z-top { z-index: 999; }
.fill { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Buttons with glowing neon effect */
.button {
  display: inline-block;
  padding: 8px 24px;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  line-height: 1.5;
  border: none;
}

.button.plain {
  position: relative;
  display: inline-block;
  padding: 6px 20px;
  font-weight: bold;
  color: #ffffff !important;
  text-transform: uppercase;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #00d9ff, #0050b3, #FFD700);
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.4);
  overflow: hidden;
  z-index: 1;
}

.button.plain:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
}

.button.primary {
  position: relative;
  display: inline-block;
  padding: 6px 20px;
  font-weight: bold;
  color: #ffffff !important;
  text-transform: uppercase;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #00d9ff, #0050b3, #FFD700);
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.4);
  overflow: hidden;
  z-index: 1;
}

.button.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 15px rgba(0, 217, 255, 0.5);
}

.button.primary::after,
.button.plain::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 2px solid transparent;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, #FFD700 0%, #00d9ff 50%, #FFD700 100%);
  background-repeat: no-repeat;
  background-size: 200% 200%;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: borderRun 4s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes borderRun {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Animations */
.textctgx {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  color: #000;
  text-shadow: none;
  animation: darkLightBlink 3s infinite;
}

@keyframes darkLightBlink {
  0%, 100% {
    color: #000;
    text-shadow: none;
  }
  50% {
    color: #00aaff;
    text-shadow: 0 0 5px rgba(0,170,255,0.8), 0 0 15px rgba(0,170,255,0.6), 0 0 25px rgba(0,170,255,0.4);
  }
}

.footer-menu-title {
  font-weight: bold;
  font-size: 16px;
  position: relative;
  display: inline-block;
  color: #fff;
  background: linear-gradient(to right, #ffffff 0%, #00ffff 20%, #00ffff 40%, #ffffff 60%, #00ffff 80%, #ffffff 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: electric-text 2s linear infinite;
  text-shadow: 0 0 10px #00ffff80, 0 0 20px #00ffff40;
  margin-bottom: 12px;
}

@keyframes electric-text {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Badges */
.label-new > a::after {
  content: "Mới";
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  font-weight: bold;
  vertical-align: middle;
}

.label-hot > a::after {
  content: "Nổi bật";
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: #ff9800;
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  font-weight: bold;
  vertical-align: middle;
}
