/* HEADER – Neon Game Style */
.ovo-header {
  width: 100%;
  background: var(--header-bg);
  padding: 18px 0;
  box-shadow: 0 4px 20px var(--header-glow);
  transition: 0.35s ease;
}

.ovo-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */
.ovo-header img {
  max-width: 160px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

/* Menu icon */
.menu-icon {
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: 0.2s;
}

.menu-icon:hover {
  transform: scale(1.15);
}

/* Menu button wrapper */
.menu-container {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Backdrop menu */
.menu-backdrop {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100%;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: -4px 0 20px rgba(0, 255, 255, 0.25);
  transition: right 0.35s ease;
  z-index: 9999;
}

.menu-backdrop.active {
  right: 0;
}

/* Menu items */
.menu-items a {
  display: block;
  padding: 15px 0;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: 0.25s;
}

.menu-items a:hover {
  color: #38bdf8;
  text-shadow: 0 0 10px #38bdf8;
}

/* Submenu */
.menu-item-with-submenu .submenu {
  display: none;
  margin-left: 15px;
}

.menu-item-with-submenu:hover .submenu {
  display: block;
}

.submenu a {
  font-size: 16px;
  padding: 6px 0;
}

/* Close icon */
.close-icon {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.close-icon:hover {
  transform: scale(1.2);
}

/* Popup Menu */
.popup-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-menu.active {
  display: flex;
}

.popup-content {
  background: #0f172a;
  color: #fff;
  width: 90%;
  max-width: 350px;
  padding: 25px 20px;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
  animation: popupFade 0.25s ease-out;
}

@keyframes popupFade {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content a {
  display: block;
  padding: 12px 0;
  color: #bae6fd;
  font-size: 18px;
  text-decoration: none;
}

.popup-content a:hover {
  color: #38bdf8;
  text-shadow: 0 0 10px #38bdf8;
}
.theme-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(45deg, #38bdf8, #06b6d4);
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.35);
  transition: 0.25s ease;
}

.theme-toggle:hover {
  transform: scale(1.13);
}
/* ==== NEW HEADER TOP + USER INFO (MATCH NEON STYLE) ==== */

/* Wrapper để căn giữa + giãn cách đẹp */
.header-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}

/* Form search */
.header-top form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-top input[type="text"] {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #38bdf8;
  outline: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  transition: 0.25s;
  min-width: 230px;
}

.header-top input[type="text"]::placeholder {
  color: #a0aec0;
}

.header-top input[type="text"]:focus {
  border-color: #0ff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 8px #0ff;
}

.header-top button {
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(45deg, #38bdf8, #06b6d4);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.header-top button:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 10px #0ff;
}

/* ==== USER INFO ==== */
/* Giữ nguyên vị trí */
.user-info {
  color: #e2e8f0;
  font-size: 15px;
  margin-left: 20px; /* hoặc giữ nguyên CSS bạn đang có */
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nút đăng nhập / đăng ký */
.user-btn {
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(56, 189, 248, 0.4);
  transition: 0.25s ease;
  display: inline-block;
  font-size: 14px;
}

/* Hover neon */
.user-btn:hover {
  background: #0ff;
  color: #000;
  border-color: #0ff;
  box-shadow: 0 0 10px #0ff;
}

.user-info a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
}

.user-info a:hover {
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .header-top {
    flex-direction: column;
  }

  .header-top form {
    width: 100%;
    justify-content: center;
  }

  .header-top input[type="text"] {
    width: 75%;
  }

  .user-info {
    justify-content: center;
  }
}
