/* ==========================================
   JX ABC - VO LAM 1 PRIVATE SERVER
   Style chuẩn full màn hình, menu icon,
   responsive mọi thiết bị: PC - Tablet - Mobile
========================================== */

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

/* === CSS VARIABLES === */
:root {
  --gold: #ffd700;
  --gold-dark: #b8860b;
  --gold-light: #ffe066;
  --red: #ff4444;
  --orange: #ff6b35;
  --dark-bg: #0e0b06;
  --dark-panel: rgba(0, 0, 0, 0.65);
  --border-gold: rgba(255, 215, 0, 0.2);
  --header-h: 88px;
  --header-h-m: 62px;
}

/* === BASE === */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Tahoma, Arial, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  background: #1b170c url('images/bg_header_8000.jpg') center top no-repeat;
  background-size: 100% auto;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: var(--gold); }
img { max-width: 100%; height: auto; }

/* ==========================================
   OVERLAY (mobile menu)
========================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================
   SITE HEADER - Fixed full width
========================================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg,
    rgba(14, 11, 6, 0.98) 0%,
    rgba(14, 11, 6, 0.94) 70%,
    rgba(14, 11, 6, 0.85) 100%
  );
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  transition: all 0.3s;
}

/* Spacer bù cho fixed header */
.header-spacer {
  height: var(--header-h);
}

/* === LOGO === */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 20;
}

.header-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
  transition: all 0.3s ease;
}

.header-logo img:hover {
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
}

/* ==========================================
   NAVBAR - Icon Menu
========================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px;
  z-index: 10;
}

.navbar a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: bold;
  font-size: 14px;
  padding: 10px 15px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.navbar a .nav-icon {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.navbar a:hover {
  color: #fff;
  background: rgba(255, 215, 0, 0.12);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.navbar a:hover .nav-icon {
  transform: scale(1.2);
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 60%;
}

/* Active link */
.navbar a.active {
  color: #fff;
  background: rgba(255, 215, 0, 0.18);
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.8);
  box-shadow: inset 0 -2px 0 var(--gold);
}

/* ==========================================
   HAMBURGER MENU ICON (mobile)
========================================== */
.menu-icon {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 10px 14px;
  z-index: 1001;
  border-radius: 8px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.15);
  transition: all 0.3s ease;
}

.menu-icon:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold);
}

.menu-icon-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-icon-text {
  font-size: 10px;
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Hamburger -> X animation */
.menu-icon.open .menu-icon-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-icon.open .menu-icon-bar:nth-child(2) {
  opacity: 0;
}
.menu-icon.open .menu-icon-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   MAIN LAYOUT
========================================== */
.site-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.main-layout {
  display: flex;
  gap: 20px;
  padding: 16px 20px;
  max-width: 1500px;
  margin: 0 auto;
  margin: 0 auto;
}

/* ==========================================
   CONTAINER
========================================== */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 20px auto;
  padding: 30px 36px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
}

/* ==========================================
   LEFT SIDEBAR
========================================== */
.sidebar-left {
  width: 380px;
  flex-shrink: 0;
}

/* Download Button */
.download-block {
  position: relative;
  margin-bottom: 0;
}

.download-btn {
  display: block;
  width: 100%;
  height: 120px;
  text-indent: -9999px;
  background: url('images/bt-cai-dat.gif') no-repeat center;
  background-size: contain;
  transition: all 0.2s;
}

.download-btn:hover {
  background-image: url('images/bt-cai-dat-hover.gif');
}

/* Quick Buttons */
.quick-panel {
  background: url('images/bg-block-download.jpg') repeat-y;
  background-size: cover;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-panel a {
  display: block;
  padding: 16px 12px;
  text-align: center;
  color: var(--gold);
  font-weight: bold;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  transition: all 0.3s;
}

.quick-panel a:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* Sidebar Box */
.sidebar-box {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-box-header {
  background: linear-gradient(135deg, rgba(180, 0, 0, 0.8), rgba(139, 69, 19, 0.8));
  padding: 12px 18px;
  font-weight: bold;
  color: var(--gold);
  font-size: 16px;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.sidebar-box-body {
  padding: 14px 18px;
}

.sidebar-box-body p {
  margin: 5px 0;
  color: var(--gold);
  font-size: 14px;
}

.sidebar-box-body .hotline {
  font-size: 24px;
  font-weight: bold;
  color: var(--red);
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.4);
}

.sidebar-box-body a {
  color: var(--gold);
  display: block;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
  transition: color 0.2s;
  font-size: 14px;
}

.sidebar-box-body a:hover { color: #fff; }
.sidebar-box-body a:last-child { border-bottom: none; }

/* Sidebar Events */
.sidebar-events {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-events a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s;
}

.sidebar-events a:hover {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.sidebar-events img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

/* ==========================================
   RIGHT CONTENT
========================================== */
.content-right {
  flex: 1;
  min-width: 0;
}

/* ==========================================
   BANNER SLIDER
========================================== */
.banner-slider {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 16px;
  aspect-ratio: 16 / 7;
}

.banner-slider .slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.banner-slider .slide {
  min-width: 100%;
  position: relative;
}

.banner-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.slide-overlay h3 {
  font-size: 20px;
  color: var(--gold);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  margin: 0;
}

.slider-dots {
  position: absolute;
  bottom: 12px; right: 14px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dots .dot {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.slider-dots .dot.active {
  background: rgba(255, 215, 0, 0.8);
  color: #000;
  border-color: var(--gold);
}

.slider-arrows {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
  z-index: 5;
}

.slider-arrows button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.4);
  color: var(--gold);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-arrows button:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold);
}

/* ==========================================
   NEWS TABS
========================================== */
.news-block {
  background: url('images/bg-block-news.jpg') center bottom no-repeat;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.news-tabs {
  display: flex;
  list-style: none;
  background: linear-gradient(180deg, rgba(100, 50, 0, 0.8), rgba(60, 30, 0, 0.9));
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.news-tabs li { flex: 1; }

.news-tabs li a {
  display: block;
  padding: 14px 10px;
  text-align: center;
  color: #bda97a;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  transition: all 0.3s;
  border-right: 1px solid rgba(255, 215, 0, 0.1);
}

.news-tabs li:last-child a { border-right: none; }

.news-tabs li a:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

.news-tabs li a.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.15);
  box-shadow: inset 0 -3px 0 var(--gold);
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.news-content {
  display: none;
  min-height: 300px;
}

.news-content.active { display: block; }

.news-content ul {
  list-style: none;
  padding: 10px 0;
}

.news-content ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  color: var(--gold);
  font-size: 14px;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-content ul li a:hover {
  color: #fff;
  background: rgba(255, 215, 0, 0.05);
  padding-left: 26px;
}

.news-content ul li a .news-title { flex: 1; }
.news-content ul li a strong { color: var(--gold-light); }

.news-content ul li a .news-date {
  font-size: 12px;
  color: rgba(255, 215, 0, 0.6);
  margin-left: 12px;
  white-space: nowrap;
}

.news-view-all {
  display: block;
  text-align: right;
  padding: 10px 20px;
  color: var(--gold);
  font-size: 14px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  transition: color 0.2s;
  font-weight: bold;
}

.news-view-all:hover { color: #fff; }

/* ==========================================
   MINI BLOCKS
========================================== */
.mini-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.mini-block {
  display: block;
  padding: 22px 18px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.mini-block:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

/* ==========================================
   DAILY SCHEDULE
========================================== */
.daily-block {
  background: url('images/bg-block-tinhnang-rebuilt-ver2.jpg') no-repeat;
  background-size: cover;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.daily-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(100, 50, 0, 0.8), rgba(60, 30, 0, 0.9));
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.daily-header h3 {
  font-size: 16px;
  color: var(--gold);
  margin: 0;
  text-transform: uppercase;
}

.day-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-nav button {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
  width: 30px; height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.day-nav button:hover {
  background: rgba(255, 215, 0, 0.2);
}

.day-nav .current-day {
  font-size: 15px;
  color: var(--gold);
  font-weight: bold;
  min-width: 55px;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.daily-body {
  max-height: 380px;
  overflow-y: auto;
}

.daily-body::-webkit-scrollbar { width: 6px; }
.daily-body::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.daily-body::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 3px;
}

.schedule-row {
  display: flex;
  align-items: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: background 0.2s;
  gap: 10px;
}

.schedule-row:hover { background: rgba(255, 215, 0, 0.1); }

.schedule-time {
  min-width: 95px;
  font-size: 14px;
  color: var(--orange);
  font-weight: bold;
  text-align: center;
}

.schedule-name {
  flex: 1;
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================
   HOTLINE BLOCK
========================================== */
.hotline-block {
  background: url('images/bg-hotro-ver2.jpg') no-repeat;
  background-size: cover;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 16px;
  min-height: 150px;
}

.hotline-block p {
  color: var(--gold);
  font-size: 14px;
  margin: 4px 0;
}

.hotline-block .hl-number {
  font-size: 28px;
  font-weight: bold;
  color: var(--red);
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
  line-height: 34px;
}

.hotline-block a {
  color: var(--gold);
  font-weight: bold;
  font-size: 14px;
  transition: color 0.2s;
}

.hotline-block a:hover { color: #fff; }

/* ==========================================
   FLIPSTER 3D CAROUSEL
========================================== */
.flipster-section {
  max-width: 1900px;
  margin: 24px auto;
  text-align: center;
  padding: 0 20px;
}

.flipster-section h2 {
  color: var(--gold);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.flipster {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 25px 0;
  perspective: 2000px;
}

.flip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 320px;
  list-style: none;
}

.flip-item {
  position: absolute;
  transition: all 0.45s ease;
  cursor: pointer;
  width: 420px;
}

.flip-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.15);
  display: block;
}

.flip-item.flip-current {
  transform: translateX(0) rotateY(0deg) scale(1);
  z-index: 10;
  opacity: 1;
}

.flip-item.flip-current img {
  border-color: var(--gold);
  box-shadow: 0 8px 35px rgba(255, 215, 0, 0.25);
}

.flip-item.flip-prev {
  transform: translateX(-55%) rotateY(35deg) scale(0.85);
  z-index: 5;
  opacity: 0.8;
}

.flip-item.flip-next {
  transform: translateX(55%) rotateY(-35deg) scale(0.85);
  z-index: 5;
  opacity: 0.8;
}

.flip-item.flip-past {
  transform: translateX(-90%) rotateY(45deg) scale(0.7);
  z-index: 2;
  opacity: 0.5;
}

.flip-item.flip-future {
  transform: translateX(90%) rotateY(-45deg) scale(0.7);
  z-index: 2;
  opacity: 0.5;
}

.flip-item.flip-hidden {
  transform: translateX(0) scale(0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

.flipster-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.flipster-nav button {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.flipster-nav button:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold);
}

/* ==========================================
   TYPOGRAPHY
========================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  line-height: 1.3;
}

h1 { font-size: 26px; margin-bottom: 14px; }
h2 { font-size: 22px; margin: 20px 0 12px; }
h3 { font-size: 18px; margin: 16px 0 10px; }

p { color: var(--gold); margin-bottom: 10px; line-height: 1.7; }

ul { padding-left: 24px; color: var(--gold); margin-bottom: 12px; }
li { margin-bottom: 6px; color: var(--gold); line-height: 1.6; }

/* ==========================================
   CTA BUTTON
========================================== */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ffd700, #ff9f1c);
  color: #3b0000;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

/* ==========================================
   TABLE
========================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

th {
  background: linear-gradient(135deg, #7a070b, var(--gold-dark));
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
}

td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  font-size: 14px;
  color: var(--gold);
  vertical-align: middle;
}

tr:hover { background: rgba(255, 215, 0, 0.08); }

/* ==========================================
   GALLERY
========================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  opacity: 0;
  animation: fadeIn 0.8s forwards;
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
  border-color: var(--gold);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

/* ==========================================
   SITE FOOTER
========================================== */
.site-footer {
  width: 100%;
  background: url('images/footer.jpg') no-repeat bottom center;
  background-size: cover;
  background-color: var(--dark-bg);
  margin-top: 40px;
  border-top: 2px solid rgba(255, 215, 0, 0.15);
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 35px 30px 25px;
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 45px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0.9);
  transition: all 0.3s ease;
}

.footer-logos img:hover {
  opacity: 1;
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.footer-text {
  color: #bda97a;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.footer-text strong {
  color: var(--gold);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold);
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
  padding: 4px 10px;
  border-radius: 4px;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255, 215, 0, 0.1);
}

/* ==========================================
   FIREWORK CANVAS
========================================== */
#fireworks {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* ==========================================
   SCROLLBAR
========================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 215, 0, 0.5); }

/* ==========================================
   ARTICLES GRID & CARDS
========================================== */
.articles-section { margin: 30px 0; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.article-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.article-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-card:hover .article-thumb img {
  transform: scale(1.05);
}

.article-body {
  padding: 18px;
}

.article-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.article-title a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: #ff9f1c;
}

.article-excerpt {
  color: #999;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.article-date {
  color: #888;
}

.article-readmore {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s;
}

.article-readmore:hover {
  color: #ff9f1c;
}

/* Article full page styles */
.article-full { max-width: 900px; }

.article-featured-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.article-content {
  line-height: 1.8;
  color: #e0e0e0;
}

.article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 15px 0;
}

.article-content h2, .article-content h3 {
  color: #ffd700;
  margin: 20px 0 10px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.article-content table th,
.article-content table td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.article-content table th {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  font-weight: 600;
}

.article-content a {
  color: #ffd700;
  text-decoration: underline;
}

.article-content ul, .article-content ol {
  margin: 10px 0;
  padding-left: 25px;
}

/* Responsive: articles */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    height: 140px;
  }

  .article-title {
    font-size: 16px;
  }
}

/* ==========================================
   UTILITIES
========================================== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.highlight { color: var(--red); font-weight: bold; }

/* ==========================================
   RESPONSIVE: Tablet ≤1024px
========================================== */
@media (max-width: 1200px) {
  .sidebar-left { width: 320px; }
  .flip-item { width: 350px; }
  .flip-items { height: 280px; }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 8px 16px;
    min-height: 66px;
  }

  .header-logo img { height: 48px; }

  .navbar a {
    font-size: 12px;
    padding: 8px 10px;
    gap: 4px;
  }

  .navbar a .nav-icon { font-size: 15px; }

  .container { padding: 20px 24px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .header-spacer { height: 66px; }
}

/* ==========================================
   RESPONSIVE: Mobile ≤768px
========================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 6px 14px;
    min-height: var(--header-h-m);
    justify-content: space-between;
  }

  .header-logo img { height: 40px; }

  /* Hiện hamburger, ẩn navbar */
  .menu-icon { display: flex; }

  .navbar {
    display: none;
    position: fixed;
    top: var(--header-h-m);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(14, 11, 6, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 6px 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-height: calc(100vh - var(--header-h-m));
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
    z-index: 999;
  }

  .navbar.show {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .navbar a {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 215, 0, 0.06);
    border-radius: 0;
  }

  .navbar a .nav-icon {
    font-size: 20px;
    min-width: 30px;
    text-align: center;
  }

  .main-layout { flex-direction: column; padding: 10px; }
  .sidebar-left { width: 100%; order: 2; }
  .content-right { order: 1; }

  .download-btn { height: 90px; }
  .flip-item { width: 240px; }
  .flip-items { height: 200px; }
  .container { padding: 16px; margin: 10px 8px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }

  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }

  .header-spacer { height: var(--header-h-m); }

  /* Footer tablet */
  .footer-links { gap: 8px; }
  .footer-links a { font-size: 13px; padding: 4px 8px; }
  .footer-logos { gap: 16px; }
  .footer-logos img { height: 36px; }
}

/* ==========================================
   RESPONSIVE: Small Mobile ≤480px
========================================== */
@media (max-width: 480px) {
  .site-header {
    padding: 5px 10px;
    min-height: 54px;
  }

  .header-logo img { height: 34px; }

  .menu-icon {
    padding: 7px 10px;
  }

  .menu-icon-bar {
    width: 22px;
    height: 2px;
  }

  .navbar { top: 54px; max-height: calc(100vh - 54px); }
  .navbar a { padding: 12px 16px; font-size: 14px; }

  .quick-panel { grid-template-columns: 1fr; }
  .mini-blocks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .news-tabs li a { font-size: 12px; padding: 10px 6px; }

  .container { padding: 14px 10px; margin: 8px 4px; }
  h1 { font-size: 19px; }
  h2 { font-size: 16px; }

  .flip-item { width: 200px; }
  .flip-items { height: 160px; }

  .footer-links { gap: 6px; }
  .footer-links a { font-size: 12px; padding: 3px 6px; }
  .footer-logos { gap: 12px; }
  .footer-logos img { height: 28px; }

  .header-spacer { height: 54px; }
}

/* ==========================================
   RESPONSIVE: Large Screen ≥1600px
========================================== */
@media (min-width: 1600px) {
  .site-header { padding: 10px 40px; }
  .main-layout { padding: 20px 40px; }
  .container { padding: 36px 50px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}
