/**
 * Neon Gaming Mega Menu Styles
 * Generated via Neon Mega Menu Elementor Builder
 */

.neon-megamenu-container {
  --neon-primary: #00f0ff;
  --neon-secondary: #ff007f;
  --header-bg: rgba(11, 14, 23, 0.88);
  --text-color: #ffffff;
  --subtext-color: #9ca3af;
  --border-color: #00f0ff;
  --neon-glow-radius: 14px;
  --glass-blur: 16px;
  
  width: 100%;
  position: relative;
  z-index: 999;
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
}

.neon-megamenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--header-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 0 var(--neon-glow-radius) rgba(0, 240, 255, 0.25);
  transition: all 0.3s ease;
}

.neon-megamenu-header:hover {
  box-shadow: 0 0 calc(var(--neon-glow-radius) * 1.5) var(--neon-primary);
}

.neon-nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.neon-nav-item {
  position: relative;
}

.neon-menu-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.neon-menu-link:hover {
  color: var(--neon-primary);
  background: rgba(0, 240, 255, 0.08);
  text-shadow: 0 0 8px var(--neon-primary);
}

.custom-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

.neon-chevron {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.neon-nav-item:hover .neon-chevron {
  transform: rotate(180deg);
  color: var(--neon-primary);
}

/* Mega Dropdown Panel */
.neon-mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 780px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--neon-primary);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 25px rgba(0, 240, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.neon-nav-item.has-dropdown:hover .neon-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.neon-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.neon-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neon-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.3);
}

.neon-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.neon-links-list a {
  color: var(--subtext-color);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.neon-links-list a:hover {
  color: #fff;
  background: rgba(0, 240, 255, 0.1);
  padding-right: 0.75rem;
  text-shadow: 0 0 6px var(--neon-primary);
}

.neon-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.neon-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-primary);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 992px) {
  .neon-mobile-toggle { display: block; }
  .neon-nav-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: var(--header-bg);
    border: 2px solid var(--neon-primary);
    border-radius: 12px;
    padding: 1.5rem;
    display: none;
  }
  .neon-nav-list.is-open { display: flex; }
  .neon-mega-panel {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0;
  }
  .neon-mega-grid { grid-template-columns: 1fr; }
}
