/* ==============================================================================
   SHOP NTS MMO - MODERN CYBER LUXURY MASTER CSS (style.css)
   ============================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.35);
  --secondary: #0f172a;
  --accent: #f59e0b;
  --bg-dark: #0b1120;
  --bg-dark-card: #0f172a;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ================= 1. TOP ANNOUNCEMENT BAR (NỀN TỐI - CHỮ TRẮNG 100%) ================= */
.top-bar-announcement {
  background: linear-gradient(90deg, #0b1120 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-announcement span,
.top-bar-announcement a,
.top-bar-announcement div {
  color: #ffffff !important;
}

.top-bar-announcement a:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

/* ================= 2. MAIN NAVBAR (NỀN TỐI - CHỮ TRẮNG 100%) ================= */
.main-navbar {
  background-color: #0b1120 !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-logo {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff !important;
}

.nav-link-custom {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 16px !important;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.nav-link-custom:hover, 
.nav-link-custom.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.btn-fb-group {
  background: linear-gradient(135deg, #1877f2, #0d65d9);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
}

.btn-fb-group:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
  color: #ffffff !important;
}

.btn-lang-toggle {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
}

.btn-lang-toggle.active {
  background-color: #0284c7;
  color: #ffffff !important;
}

.btn-boss-portal {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-boss-portal:hover {
  background: #f59e0b;
  color: #0f172a !important;
}

/* ================= 3. HERO & CYBER LOBBY (NỀN TỐI - CHỮ TRẮNG 100%) ================= */
.cyber-hero-section {
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 60%, #1e293b 100%) !important;
  color: #ffffff !important;
  padding: 65px 0 55px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cyber-hero-section h1,
.cyber-hero-section h2,
.cyber-hero-section h3,
.cyber-hero-section h4,
.cyber-hero-section p,
.cyber-hero-section span,
.cyber-hero-section div {
  color: #ffffff !important;
}

.cyber-hero-section .text-light,
.cyber-hero-section .opacity-75,
.cyber-hero-section .lead {
  color: #f1f5f9 !important;
  opacity: 1 !important;
}

.cyber-hero-section .text-muted {
  color: #cbd5e1 !important;
}

.cyber-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(2, 132, 199, 0) 70%);
  pointer-events: none;
}

.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cyber-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #ffffff !important;
}

/* ================= 4. PRODUCT CARDS & LOBBY GRID ================= */
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.15);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #f1f5f9;
  overflow: hidden;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.badge-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-stock span {
  color: #ffffff !important;
}

.price-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: -0.5px;
}

/* ================= 5. ZALO FLOATING BUTTON ================= */
.zalo-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0068ff, #0052cc);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 18px 8px 8px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 104, 255, 0.4);
  transition: all 0.3s ease;
  animation: zaloPulse 2.5s infinite;
}

.zalo-floating-btn:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 104, 255, 0.5);
  color: #ffffff !important;
}

.zalo-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zalo-text {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: #ffffff !important;
}

@keyframes zaloPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

/* ================= 6. POPUP & MODAL ĐIỀU KHOẢN ================= */
.nts-terms-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nts-terms-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nts-terms-box {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.nts-terms-overlay.active .nts-terms-box {
  transform: scale(1);
}

.nts-terms-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff !important;
  padding: 20px 25px;
  border-bottom: 2px solid #0284c7;
}

.nts-terms-header h5,
.nts-terms-header span {
  color: #ffffff !important;
}

.nts-terms-body {
  padding: 25px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  max-height: 380px;
  overflow-y: auto;
}

.nts-terms-footer {
  padding: 16px 25px;
  background-color: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ================= 7. VIP MEMBER LOCKED POST BOX ================= */
.vip-lock-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.vip-lock-preview {
  position: relative;
  max-height: 160px;
  overflow: hidden;
}

.vip-lock-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.vip-lock-card {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  color: #ffffff !important;
  padding: 35px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vip-lock-card h4,
.vip-lock-card p {
  color: #ffffff !important;
}

/* ================= 8. FOOTER HIỆN ĐẠI (NỀN TỐI - CHỮ TRẮNG 100% ĐỘ TƯƠNG PHẢN CAO) ================= */
.main-footer {
  background-color: #0b1120 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 0.92rem;
}

.main-footer h5,
.main-footer h6,
.main-footer strong,
.main-footer div,
.main-footer span,
.main-footer p {
  color: #ffffff !important;
}

.main-footer a {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.main-footer a:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: #ffffff !important;
}

.footer-copyright {
  color: #ffffff !important;
  font-size: 0.85rem;
}