@import url("./landing-page-2.5.4383.css");

/* 2.5.4384 — resilient public navigation, compact animated actions, and logical carousel arrows. */
.arena-nav-inner {
  width: min(1680px, calc(100vw - 32px)) !important;
  max-width: none !important;
  min-height: 82px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(14px, 1.5vw, 28px) !important;
}

.arena-brand {
  min-width: 0 !important;
  max-width: min(340px, 25vw);
}

.arena-brand img {
  flex: 0 0 auto;
}

.arena-brand-copy {
  min-width: 0;
}

.arena-brand-copy strong,
.arena-brand-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-nav-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.2vw, 24px);
}

.arena-nav-links {
  min-width: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(10px, .95vw, 20px) !important;
}

.arena-nav-links a {
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(.76rem, .72vw, .9rem) !important;
  line-height: 1.2;
}

.arena-nav-actions {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px !important;
  min-width: max-content;
}

.arena-nav-icon-action {
  position: relative;
  width: 50px;
  height: 50px;
  min-width: 50px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 12px 32px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.025);
  cursor: pointer;
  overflow: visible;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.arena-nav-icon-action:hover,
.arena-nav-icon-action:focus-visible,
.arena-nav-icon-action.is-expanded {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(255,255,255,.46);
  box-shadow: 0 18px 44px rgba(0,0,0,.34), 0 0 28px rgba(255,47,146,.22);
  outline: none;
}

.arena-nav-action-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 1.12rem;
  animation: arena-nav-icon-float 2.8s ease-in-out infinite;
}

.arena-nav-account-action .arena-nav-action-icon {
  color: #7ee8ff;
  background: linear-gradient(145deg, rgba(37,216,255,.18), rgba(125,60,255,.22));
  box-shadow: inset 0 0 0 1px rgba(37,216,255,.22), 0 0 20px rgba(37,216,255,.12);
}

.arena-nav-event-action .arena-nav-action-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--arena-pink), #de36df 52%, var(--arena-orange));
  box-shadow: 0 0 26px rgba(255,47,146,.38);
  animation-delay: -.85s;
}

.arena-nav-icon-action::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: 13px;
  border: 1px solid currentColor;
  opacity: .18;
  animation: arena-nav-action-pulse 2.4s ease-out infinite;
}

.arena-nav-event-action::before { animation-delay: -.75s; }

.arena-nav-action-copy {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 120;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  padding: 12px 14px;
  display: grid;
  gap: 3px;
  text-align: start;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(8,3,18,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px) scale(.97);
  transform-origin: top right;
  transition: opacity .14s ease, visibility .14s ease, transform .14s ease;
}

body[dir="rtl"] .arena-nav-action-copy {
  transform-origin: top left;
}

.arena-nav-action-copy::before {
  content: "";
  position: absolute;
  top: -6px;
  inset-inline-end: 18px;
  width: 11px;
  height: 11px;
  border-inline-start: 1px solid rgba(255,255,255,.16);
  border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(8,3,18,.96);
  transform: rotate(45deg);
}

.arena-nav-action-copy strong {
  font-size: .84rem;
  line-height: 1.25;
}

.arena-nav-action-copy small {
  color: #bfb3cb;
  font-size: .68rem;
  line-height: 1.45;
  white-space: normal;
}

.arena-nav-icon-action:hover .arena-nav-action-copy,
.arena-nav-icon-action:focus-visible .arena-nav-action-copy,
.arena-nav-icon-action.is-expanded .arena-nav-action-copy {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.arena-nav-ripple {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  pointer-events: none;
  animation: arena-nav-ripple .52s ease-out forwards;
}

.arena-lang-switch {
  min-width: 50px;
  min-height: 50px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.arena-lang-switch:hover,
.arena-lang-switch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,47,146,.5);
  background: rgba(255,47,146,.1);
  outline: none;
}

.arena-lang-switch i { color: var(--arena-pink); }

@keyframes arena-nav-icon-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(2deg); }
}

@keyframes arena-nav-action-pulse {
  0% { transform: scale(.86); opacity: .28; }
  75%, 100% { transform: scale(1.42); opacity: 0; }
}

@keyframes arena-nav-ripple {
  from { transform: scale(0); opacity: .8; }
  to { transform: scale(12); opacity: 0; }
}

/* Logical placement: next follows reading direction; previous is opposite. */
.arena-carousel-next {
  left: auto !important;
  right: auto !important;
  inset-inline-end: 12px !important;
}

.arena-carousel-prev {
  left: auto !important;
  right: auto !important;
  inset-inline-start: 12px !important;
}

body[dir="rtl"] .arena-carousel-next,
body[dir="rtl"] .arena-carousel-prev {
  left: auto !important;
  right: auto !important;
}

body[dir="rtl"] .arena-carousel-arrow i {
  transform: none !important;
}

@media (max-width: 1399.98px) {
  .arena-nav-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 74px !important;
  }

  .arena-brand {
    max-width: min(360px, calc(100vw - 90px));
  }

  .arena-mobile-toggle {
    display: grid !important;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    margin: 0 !important;
    cursor: pointer;
  }

  .arena-nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 16px;
    z-index: 140;
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(7,3,15,.98);
    box-shadow: 0 24px 70px rgba(0,0,0,.46);
    backdrop-filter: blur(20px);
  }

  .arena-nav.is-open .arena-nav-panel {
    display: grid !important;
  }

  .arena-nav-links,
  .arena-nav.is-open .arena-nav-links {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .arena-nav-links a,
  .arena-nav.is-open .arena-nav-links a {
    min-height: 44px;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    white-space: normal;
  }

  .arena-nav-actions,
  .arena-nav.is-open .arena-nav-actions {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto !important;
    gap: 10px !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,.09) !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .arena-nav-icon-action,
  .arena-nav.is-open .arena-nav-icon-action {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 58px;
    padding: 8px 12px !important;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
  }

  .arena-nav-action-copy {
    position: static;
    width: auto;
    max-width: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .arena-nav-action-copy::before { display: none; }
  .arena-nav-action-copy strong,
  .arena-nav-action-copy small { display: block; }

  .arena-lang-switch {
    min-height: 58px;
    align-self: stretch;
  }
}

@media (max-width: 767.98px) {
  .arena-nav-inner {
    width: min(100% - 20px, 1680px) !important;
  }

  .arena-brand-copy strong { font-size: .86rem; }
  .arena-brand-copy small { display: none !important; }

  .arena-nav-panel {
    inset-inline: 10px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .arena-nav-links,
  .arena-nav.is-open .arena-nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arena-nav-actions,
  .arena-nav.is-open .arena-nav-actions {
    grid-template-columns: 1fr !important;
  }

  .arena-lang-switch {
    width: 100% !important;
  }

  .arena-carousel-next {
    inset-inline-end: 6px !important;
    inset-inline-start: auto !important;
  }

  .arena-carousel-prev {
    inset-inline-start: 6px !important;
    inset-inline-end: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arena-nav-action-icon,
  .arena-nav-icon-action::before {
    animation: none !important;
  }
}
