.hud{
  position: sticky;
  top:0;
  z-index: 1000;
  height: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 18px;
  background: rgba(8,12,25,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hud-center-menu{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  width:max-content;
  z-index:7;
  pointer-events:auto;
}

.hud-center-links{
  display:flex;
  align-items:center;
  gap:8px;
}

.hud-center-link{
  color:rgba(240,232,207,0.8);
  text-decoration:none;
  font-size:12px;
  letter-spacing:0.35px;
  padding:7px 2px;
  border:0;
  background:transparent;
  border-radius:0;
  transition:color 140ms ease, opacity 140ms ease;
}

.hud-center-more{
  background:none;
  cursor:pointer;
  font-family:inherit;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.hud-center-more-caret{
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  opacity:0.85;
  transition:transform 140ms ease, opacity 140ms ease;
}

.hud-center-more[aria-expanded="true"] .hud-center-more-caret{
  transform:rotate(-135deg) translateY(-1px);
  opacity:1;
}

.hud-center-link:hover{
  color:#fff8e5;
  opacity:1;
}

.hud-center-link.active{
  color:#fff8e5;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:1px;
  text-decoration-color:rgba(200,179,126,0.8);
}

.hud-menu-hint{
  font-size:11px;
  opacity:0.72;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  letter-spacing:0.5px;
  text-decoration:none;
  color:inherit;
}

.hud-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.logo-icon{
  color:#c8b37e;
  text-shadow:0 0 8px rgba(200,179,126,0.6);
}

#logo-home {
  width: 220px;
  margin-top: 15px;
}

.brand-logo{
  width:26px;
  height:26px;
  color: currentColor;
  opacity: 0.95;
}

.hud-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 31px;
  height: 31px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.hud-menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  color: #FFFFE6; 
}

.hud-menu-main{
  width:44px;
  height:32px;
  min-width:44px;
  padding:5px 8px;
  border-radius:10px;
  gap:4px;
  align-items:center;
  pointer-events:auto;
}

.hud-menu-main span{
  width:22px;
}

.hud-nav{
  display:none;
  gap:10px;
  flex:1;
  min-width:0;
  justify-content:center;
  position:relative;
  z-index:2;
}

.hud-right{
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  z-index:4;
}

.hud-auth{
  width:190px;
  display:flex;
  justify-content:flex-end;
}

.hud-auth-button{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
  text-decoration:none;
  font-size:13px;
}

.hud-auth-button:hover{
  border-color: rgba(200,179,126,0.35);
  box-shadow: 0 0 10px rgba(200,179,126,0.25);
}

.hud-link{
  color:#c8b37e;
  text-decoration:none;
  font-size:14px;
  position:relative;
}

.hud-countdowns{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.hud-countdown{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
  max-width:240px;
  text-decoration:none;
  border:1px solid rgba(200,179,126,0.45);
  border-radius:10px;
  padding:6px 10px;
  background:none;
  color:#f0e8cf;
}

.hud-countdown-promo{
  max-width:320px;
  border-color:rgba(200,179,126,0.58);
  color:#f0e8cf;
}

.hud-countdown-promo .hud-countdown-label{
  color:#c0c6d4;
}

.hud-countdown-promo .hud-countdown-title{
  color:#c8b37e;
  text-shadow:0 0 6px rgba(200,179,126,0.28);
}

.hud-countdown-promo:hover{
  border-color:#c8b37e;
  box-shadow:0 0 10px rgba(200,179,126,0.34);
}

.hud-countdown-icon{
  width:16px;
  height:16px;
  flex:0 0 auto;
  color:#c8b37e;
}

.hud-countdown-icon-img{
  border-radius:4px;
  object-fit:cover;
}

.hud-countdown:hover{
  border-color:#c8b37e;
  box-shadow:0 0 10px rgba(200,179,126,0.35);
}

.hud-countdown[data-warning-active="1"]{
  border-color:#d44a4a;
  box-shadow:0 0 10px rgba(212,74,74,0.32);
}

.hud-countdown[data-warning-active="1"]:hover{
  border-color:#e15959;
  box-shadow:0 0 12px rgba(225,89,89,0.4);
}

.hud-countdown-label{
  font-size:12px;
  letter-spacing:0.4px;
  color:#c8b37e;
}

.hud-countdown-title{
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:125px;
}

.hud-countdown-timer{
  font-size:13px;
  color:#c8b37e;
  white-space:nowrap;
}

.hud-calendar-timers{
  gap:6px;
}

.hud-calendar-timerbtn{
  gap:6px;
}

.hud-link:hover{
  color:#e0ca90;
  text-shadow:0 0 6px rgba(200,179,126,0.55);
}

.hud-menu-btn{
  background:none;
  border:1px solid rgba(200,179,126,0.45);
  color:#c8b37e;
  border-radius:10px;
  padding:6px 10px;
  cursor:pointer;
}

.hud-calendar-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  position:relative;
  z-index:6;
}

.hud-calendar-icon{
  width:18px;
  height:18px;
}

.hud-calendar-text{
  font-size:13px;
}

.hud-calendar-btn.active{
  border-color:#c8b37e;
  box-shadow:0 0 10px rgba(200,179,126,0.4);
}

.hud-menu-btn:hover{
  border-color:#c8b37e;
  box-shadow:0 0 10px rgba(200,179,126,0.4);
}

/* Mobil nav toggle */
.hud-nav-toggle{ display:none; }

@media (max-width: 1100px){
  .hud{
    height:auto;
    min-height:56px;
    flex-wrap:wrap;
    align-items:flex-start;
    padding:8px 12px;
    column-gap:8px;
    row-gap:8px;
  }
  #logo-home{
    width:160px;
    margin-top:0;
  }
  .hud-left{
    order:1;
    flex:1 1 auto;
  }
  .hud-right{
    order:3;
    margin-left:0;
    gap:8px;
  }
  .hud-auth{
    width:auto;
  }
  .hud-auth-button{
    width:auto;
    white-space:nowrap;
  }
  .hud-nav-toggle{
    order:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 8px;
    margin-left:0;
  }
  .hud-center-menu{ display:none; }
  .hud-center-menu{
    position:static;
    transform:none;
    order:2;
    margin-left:auto;
    pointer-events:auto;
  }

  .hud-center-links{
    display:none;
  }

  .hud-nav{
    order:4;
    flex:0 0 100%;
    width:100%;
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:8px;
    padding:8px 0 0;
    pointer-events:auto;
  }
  .hud-nav.is-open{ display:flex; }

  .hud-mobile-link{
    display:block;
    padding:8px 10px;
    border-radius:10px;
    border:1px solid rgba(200,179,126,0.28);
    background:rgba(255,255,255,0.03);
    color:#f0e8cf;
  }

  .hud-mobile-link.active{
    border-color:rgba(200,179,126,0.52);
    background:rgba(200,179,126,0.12);
  }

  .hud-mobile-link:hover{
    color:#fff8e5;
    border-color:#c8b37e;
    box-shadow:none;
    text-shadow:none;
  }

  .hud-countdowns{ display:none; }
  .hud-calendar-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 8px;
  }
  .hud-calendar-text{ display:none; }
}

@media (max-width: 700px){
  #logo-home{ width:132px; }
  .hud-menu-hint{ display:none; }
}
