/* ============================================================
   EZ RANKINGS — CLASSIC NAVIGATION v3
   Colors: #ffffff | #000000 | #f5c400
   Parent scope: .ez-nav-wrapper
   ============================================================ */

.ez-nav-wrapper {
  --ez-yellow:   #f5c400;
  --ez-black:    #000000;
  --ez-white:    #ffffff;
  --ez-border:   rgba(0,0,0,0.10);
  --ez-light:    rgba(245,196,0,0.06);
  --ez-shadow:   0 6px 32px rgba(0,0,0,0.10);
  --ez-nav-h:    72px;
  --ez-trans:    0.25s ease;
}

/* ============================================================
   HEADER
   ============================================================ */
.ez-nav-wrapper .ez-header {
    background: var(--ez-white);
    position: relative;
    z-index: 900;
    transition: box-shadow var(--ez-trans);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.ez-nav-wrapper .ez-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  box-shadow: var(--ez-shadow);
  animation: ezSlideDown 0.3s ease;
}

@keyframes ezSlideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.ez-nav-wrapper .ez-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ez-nav-h);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 16px;
}

/* ---- Logo ---- */
.ez-nav-wrapper .ez-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.ez-nav-wrapper .ez-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* ============================================================
   DESKTOP NAVIGATION  — centered
   ============================================================ */
.ez-nav-wrapper .ez-desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  flex: 1;
}

.ez-nav-wrapper .ez-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: 0;
}

.ez-nav-wrapper .ez-nav-item {
  position: static;
  display: flex;
  align-items: stretch;
}

.ez-nav-wrapper .ez-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ez-black);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color var(--ez-trans), border-color var(--ez-trans), background var(--ez-trans);
    cursor: pointer;
    letter-spacing: 0.01em;
}

.ez-nav-wrapper .ez-nav-link .ez-arr {
  font-size: 9px;
  margin-top: 1px;
  transition: transform var(--ez-trans);
}

.ez-nav-wrapper .ez-nav-item:hover > .ez-nav-link,
.ez-nav-wrapper .ez-nav-item:focus-within > .ez-nav-link {
  color: var(--ez-black);
  background: var(--ez-light);
  border-bottom-color: var(--ez-yellow);
}

.ez-nav-wrapper .ez-nav-item:hover > .ez-nav-link .ez-arr,
.ez-nav-wrapper .ez-nav-item:focus-within > .ez-nav-link .ez-arr {
  transform: rotate(180deg);
}

/* ============================================================
   MEGA PANEL
   ============================================================ */
.ez-nav-wrapper .ez-mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ez-white);
  border-top: 3px solid var(--ez-yellow);
  border-bottom: 1px solid var(--ez-border);
  box-shadow: var(--ez-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--ez-trans), transform var(--ez-trans), visibility var(--ez-trans);
  z-index: 800;
}

.ez-nav-wrapper .ez-nav-item:hover > .ez-mega-panel,
.ez-nav-wrapper .ez-nav-item:focus-within > .ez-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ez-nav-wrapper .ez-mega-inner {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 28px 32px;
  gap: 0;
}

/* Columns */
.ez-nav-wrapper .ez-mc {
  flex: 1;
  padding: 0 22px;
  border-right: 1px solid var(--ez-border);
}
.ez-nav-wrapper .ez-mc:first-child { padding-left: 0; }
.ez-nav-wrapper .ez-mc:last-child  { padding-right: 0; border-right: none; }

/* Column group (sub-section) */
.ez-nav-wrapper .ez-cg {
  margin-bottom: 22px;
}
.ez-nav-wrapper .ez-cg:last-child { margin-bottom: 0; }

/* Column heading */
.ez-nav-wrapper .ez-ch {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ez-yellow);
    margin: 0 0 9px;
    padding: 0 0 0 10px;
    border-left: 3px solid var(--ez-yellow);
    display: block;
}
.ez-nav-wrapper .ez-ch--blank {
    border-left: none;
    padding-left: 0;
}

/* Links list */
.ez-nav-wrapper .ez-cl {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ez-nav-wrapper .ez-cl li { margin: 0; }

.ez-nav-wrapper .ez-cl a {
  display: block;
  padding: 5px 4px 5px 0px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ez-black);
  text-decoration: none;
  border-left: 2px solid transparent;
  line-height: 1.45;
  transition: border-color var(--ez-trans), padding-left var(--ez-trans), background var(--ez-trans);
}

.ez-nav-wrapper .ez-cl a:hover {
  background: var(--ez-light);
  border-left-color: var(--ez-yellow);
  padding-left: 14px;
  color: var(--ez-black);
}

/* ============================================================
   HEADER ACTIONS  (CTA + Hamburger)
   ============================================================ */
.ez-nav-wrapper .ez-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* CTA Button */
.ez-nav-wrapper .ez-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ez-yellow);
  color: var(--ez-black);
  font-size: 13px;
  font-weight: 800;
 padding: 6px 20px;
    border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background var(--ez-trans), transform var(--ez-trans), box-shadow var(--ez-trans);
  box-shadow: 0 3px 10px rgba(245,196,0,0.35);
}
.ez-nav-wrapper .ez-cta:hover {
  background: #e0b200;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(245,196,0,0.45);
  color: var(--ez-black);
  text-decoration: none;
}
.ez-nav-wrapper .ez-cta .ez-cta-icon {
  font-size: 11px;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.ez-nav-wrapper .ez-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--ez-yellow);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 9px;
  width: 40px;
  height: 40px;
}
.ez-nav-wrapper .ez-burger span {
  display: block;
  height: 2px;
  background: var(--ez-black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.ez-nav-wrapper .ez-burger span:nth-child(1) { width: 20px; }
.ez-nav-wrapper .ez-burger span:nth-child(2) { width: 14px; }
.ez-nav-wrapper .ez-burger span:nth-child(3) { width: 20px; }

.ez-nav-wrapper .ez-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 20px;
}
.ez-nav-wrapper .ez-burger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.ez-nav-wrapper .ez-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 20px;
}

/* ============================================================
   OVERLAY
   ============================================================ */
.ez-nav-wrapper .ez-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ez-nav-wrapper .ez-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.ez-nav-wrapper .ez-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 92vw;
  height: 100%;
  background: var(--ez-white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.20);
}
.ez-nav-wrapper .ez-drawer.show {
  transform: translateX(0);
}

/* Drawer top bar — black bg with yellow logo accent */
.ez-nav-wrapper .ez-drw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 60px;
  background: var(--ez-black);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.ez-nav-wrapper .ez-drw-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.ez-nav-wrapper .ez-drw-close {
  background: var(--ez-yellow);
  border: none;
  color: var(--ez-black);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.ez-nav-wrapper .ez-drw-close:hover { opacity: 0.8; }

/* Drawer scrollable body */
.ez-nav-wrapper .ez-drw-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Drawer menu list */
.ez-nav-wrapper .ez-drw-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ez-nav-wrapper .ez-drw-item {
  border-bottom: 1px solid var(--ez-border);
}

/* Drawer row: link + expand toggle */
.ez-nav-wrapper .ez-drw-row {
  display: flex;
  align-items: stretch;
  min-height: 52px;
}

.ez-nav-wrapper .ez-drw-link {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ez-black);
  text-decoration: none;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.ez-nav-wrapper .ez-drw-link:hover {
  background: var(--ez-light);
  color: var(--ez-black);
  text-decoration: none;
}

.ez-nav-wrapper .ez-drw-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 10px;
  stroke: var(--ez-yellow);
  transition: stroke 0.2s;
}
.ez-nav-wrapper .ez-drw-link:hover .ez-drw-icon {
  stroke: var(--ez-black);
}

.ez-nav-wrapper .ez-drw-tog {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  background: none;
  border: none;
  border-left: 1px solid var(--ez-border);
  cursor: pointer;
  color: var(--ez-black);
  transition: background 0.2s;
  flex-shrink: 0;
}
.ez-nav-wrapper .ez-drw-tog i {
  font-size: 11px;
  transition: transform 0.3s ease;
}
.ez-nav-wrapper .ez-drw-tog:hover {
  background: var(--ez-yellow);
}
.ez-nav-wrapper .ez-drw-item.is-open > .ez-drw-row .ez-drw-tog {
  background: var(--ez-yellow);
}
.ez-nav-wrapper .ez-drw-item.is-open > .ez-drw-row .ez-drw-tog i {
  transform: rotate(90deg);
}

/* Drawer accordion panel */
.ez-nav-wrapper .ez-drw-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--ez-light);
  border-top: 1px solid var(--ez-border);
}

/* Sub-section inside panel */
.ez-nav-wrapper .ez-drw-sec {
  border-bottom: 1px solid var(--ez-border);
}
.ez-nav-wrapper .ez-drw-sec:last-child { border-bottom: none; }

.ez-nav-wrapper .ez-sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px 10px 20px;
  background: none;
  border: none;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ez-black);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.ez-nav-wrapper .ez-sec-hd:hover { background: rgba(245,196,0,0.15); }
.ez-nav-wrapper .ez-sec-hd i {
  font-size: 9px;
  transition: transform 0.3s;
  flex-shrink: 0;
  opacity: 0.5;
}
.ez-nav-wrapper .ez-drw-sec.is-open > .ez-sec-hd {
  background: var(--ez-yellow);
}
.ez-nav-wrapper .ez-drw-sec.is-open > .ez-sec-hd i {
  transform: rotate(90deg);
  opacity: 1;
}

.ez-nav-wrapper .ez-sec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    background: var(--ez-white);
}

.ez-nav-wrapper .ez-sec-list a {
  display: block;
  padding: 8px 18px 8px 30px;
  font-size: 13px;
  color: var(--ez-black);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, padding-left 0.2s, background 0.2s;
  line-height: 1.4;
}
.ez-nav-wrapper .ez-sec-list a:hover {
  border-left-color: var(--ez-yellow);
  padding-left: 34px;
  background: var(--ez-light);
  text-decoration: none;
  color: var(--ez-black);
}

/* Drawer bottom CTA */
.ez-nav-wrapper .ez-drw-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--ez-border);
  background: var(--ez-white);
  flex-shrink: 0;
}
.ez-nav-wrapper .ez-drw-foot .ez-cta {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14px;
  border-radius: 4px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (min-width: 992px) {
  .ez-nav-wrapper .ez-burger  { display: none !important; }
  .ez-nav-wrapper .ez-overlay { display: none !important; }
  .ez-nav-wrapper .ez-drawer  { display: none !important; }
}

@media (max-width: 991px) {
  
  .ez-nav-wrapper .ez-desktop-nav     { display: none !important; }
  .ez-nav-wrapper .ez-actions .ez-cta { display: none !important; }
  .ez-nav-wrapper .ez-burger          { display: flex !important; }

  .ez-nav-wrapper .ez-header-inner {
    padding: 0 16px;
  }
  .ez-nav-wrapper .ez-logo img {
    height: 36px;
  }
    .ez-ai-mode {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 15px;
    border: 1.5px solid #f4c430;
    border-radius: 999px;
    font-size: 12px;}.ez-ai-icon {
    position: relative;
    z-index: 1;
    font-size: 11px;
    color: #f4c430;
    animation: aiSparkle 2.2s ease-in-out infinite;
}
}

@media (max-width: 320px) {
  .ez-nav-wrapper .ez-drawer {
    width: 100%;
    max-width: 100%;
  }
}
.ez-ai-mode {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 22px;
    border: 1.5px solid #f4c430;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 0 18px rgba(244, 196, 48, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ez-ai-text {
   position: relative;
   z-index: 1;
   letter-spacing: 0.4px;
   background: linear-gradient(135deg, #ffe169, #f4c430, #e0a800);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
}

.ez-ai-icon {
   position: relative;
   z-index: 1;
   font-size: 15px;
   color: #f4c430;
   animation: aiSparkle 2.2s ease-in-out infinite;
}

.ez-ai-glow {
   position: absolute;
   top: 0;
   left: -120%;
   width: 55%;
   height: 100%;
   background: linear-gradient(120deg, transparent, rgba(244, 196, 48, 0.45), transparent);
   transform: skewX(-20deg);
   animation: aiShimmer 3.4s ease-in-out infinite;
}

.ez-ai-mode:hover {
   transform: translateY(-2px) scale(1.03);
   box-shadow: 0 0 28px rgba(244, 196, 48, 0.6);
}

.ez-ai-mode:active { transform: translateY(0) scale(0.98); }

@keyframes aiShimmer {
   0%   { left: -120%; }
   60%  { left: 130%; }
   100% { left: 130%; }
}

@keyframes aiSparkle {
   0%, 100% { transform: scale(1) rotate(0deg); }
   50%      { transform: scale(1.18) rotate(-8deg); }
}