/* ==========================================================================
   EXITLAG VIETNAM — ESPORTS PRO HEADER, MOBILE DRAWER, BOTTOM DOCK & FOOTER
   ========================================================================== */

[data-include="menu.html"] {
  display: block;
  width: 100%;
  height: 71px;
  flex-shrink: 0;
}

header.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(8, 11, 16, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  height: 70px;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-exitlag {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-exitlag img {
  height: 28px;
  width: auto;
  display: block;
}

.vn-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.vn-badge img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(197, 32, 33, 0.6);
}

.vn-badge-text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #cbd5e1;
  white-space: nowrap;
}

/* DESKTOP TOP NAV */
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: auto;
  flex: 1;
}

.top-nav a.nav-link {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.top-nav a.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.top-nav a.nav-link.active {
  color: #ffffff;
  background: rgba(197, 32, 33, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 30, 66, 0.38);
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 6px;
  flex-shrink: 0;
}

.top-nav a.btn-nav-redeem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.top-nav a.btn-nav-redeem:hover,
.top-nav a.btn-nav-redeem.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-redeemcode,
.top-nav a.btn-redeemcode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  margin-left: 4px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff1e42 0%, #c52021 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 18px rgba(197, 32, 33, 0.42);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.btn-redeemcode:hover,
button.btn-redeemcode:hover,
a.btn-redeemcode.active {
  background: linear-gradient(135deg, #ff3355 0%, #d92324 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 30, 66, 0.58);
}

.mobile-header-right {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1120px) {
  .vn-badge-text {
    display: none;
  }
  .vn-badge {
    padding: 4px 6px;
  }
  .top-nav a.nav-link {
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  [data-include="menu.html"] {
    height: 61px;
  }

  .top-nav {
    display: none !important;
  }

  .header-inner {
    height: 60px;
    padding: 0 16px;
    flex-direction: row !important;
  }

  .logo-group {
    flex-direction: row !important;
    gap: 8px;
  }

  .mobile-header-right {
    display: flex !important;
  }
}

/* ==========================================================================
   MOBILE BOTTOM DOCK NAVIGATION (<= 768px)
   ========================================================================== */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 68px;
    padding: 0 6px env(safe-area-inset-bottom, 0px);
    background: rgba(9, 12, 17, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 999;
  }

  .bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    gap: 4px;
    position: relative;
    transition: color 0.2s ease;
  }

  .bottom-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .bottom-icon svg {
    width: 20px;
    height: 20px;
  }

  .bottom-text {
    line-height: 1.1;
    white-space: nowrap;
  }

  .bottom-item.active {
    color: #ffffff;
  }

  .bottom-item.active:not(.highlight) .bottom-icon {
    color: #ff2a4b;
    background: rgba(197, 32, 33, 0.16);
  }

  .bottom-item.active:not(.highlight)::after {
    content: "";
    position: absolute;
    top: 0;
    width: 24px;
    height: 2.5px;
    border-radius: 0 0 4px 4px;
    background: #ff1e42;
  }

  .bottom-item.highlight {
    color: #ffffff;
    font-weight: 700;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .bottom-item.highlight .bottom-icon {
    background: linear-gradient(135deg, #ff1e42 0%, #c52021 100%);
    width: 42px;
    height: 42px;
    border-radius: 13px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    margin-top: -18px;
    box-shadow: 0 8px 20px rgba(197, 32, 33, 0.5);
  }

  .bottom-item.highlight svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
  }

  .bottom-item.highlight .bottom-text {
    color: #ff4d6a;
    font-weight: 700;
  }

  body {
    padding-bottom: 76px;
  }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
[data-include="menufooter.html"] {
  display: block;
  width: 100%;
}

.footer {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #0b0e14 0%, #07090d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 24px 0;
  color: #94a3b8;
}

.footer-inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.footer-col {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
}

.footer-logo img {
  display: block;
  height: auto;
}

.footer-flag {
  border-radius: 2px;
}

.footer-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 310px;
}

.footer-hotline {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  padding: 10px 14px;
  width: fit-content;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hotline-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  font-weight: 600;
}

.hotline-number {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc !important;
  letter-spacing: 0.3px;
}

.hotline-number:hover {
  color: #ff4d4f !important;
}

.footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin: 0 0 16px;
  color: #f8fafc;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul li {
  margin: 0;
}

.footer a {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer a.footer-link-highlight {
  color: #ff5c5f;
  font-weight: 600;
}

.footer a.footer-link-highlight:hover {
  color: #ff8082;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #cbd5e1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: #e11d48;
  border-color: #fb7185;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.footer-cert {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.footer-cert img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-cert img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0 24px;
}

.footer-bottom-inner {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 44px 18px 80px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    margin-top: 32px;
    padding: 18px 0 12px;
  }
}
