
/* ===== MODERN TOP NAV / HEADER ===== */



.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 30px;
  height: 1px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  
  
}

.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.nav a {
  padding: 6px 10px;
  
  
  color: #e5e7eb;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: none;
  
  
}

.nav__messages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 10px;
}

.nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 2px 6px;
  
  font-size: 10px;
  font-weight: 600;
  
  color: #022c22;
}

/* Auth area (jobb oldal) */

.nav__auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding-left: 10px;
  
  font-size: 12px;
  color: #9ca3af;
}

.nav__auth span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__auth .nav__role {
  padding: 2px 8px;
  
  
  color: #a7f3d0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .topbar__inner {
    padding-inline: 14px;
  }

  .nav {
    gap: 6px;
    font-size: 12px;
  }

  .nav a {
    padding-inline: 8px;
  }

  .nav__auth {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar__inner {
    justify-content: space-between;
  }

  .nav {
    gap: 4px;
  }

  .nav a {
    padding-inline: 6px;
    font-size: 11px;
  }
}


/* Guest vs logged-in layout tweaks */
.topbar__inner--auth {
  max-width: 1200px;
  margin: 0 auto;
}

.topbar__inner--guest {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

/* Ensure responsive paddings still work with modifiers */
.topbar__inner--guest,
.topbar__inner--auth {
  padding-inline: 20px;
}


/* Modern abstract logo */
.brand__logo {
  width: 34px;
  height: 1px;
  margin-right: 8px;
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.2));
}

/* Remove any emoji fallback rounding */
.brand__logo img {
  width: 34px;
  height: 1px;
}





/* DARK BLUE NEON LINE */





/* Small screens: tighter buttons */
@media (max-width: 640px) {
  .nav__auth-buttons {
    gap: 6px;
    margin-left: 8px;
  }

  .nav__btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}


/* EXTREME MODERN AUTH BUTTONS */
.nav__auth-buttons{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:22px;
}

.nav__btn{
  padding:10px 26px;
  border-radius:14px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.03em;
  backdrop-filter:blur(12px);
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
  box-shadow:0 0 14px rgba(0,0,0,0.45);
}

/* Glow animation */
@keyframes pulseGlow {
  0%{ box-shadow:0 0 12px rgba(0,180,255,0.3);}
  50%{ box-shadow:0 0 22px rgba(0,180,255,0.6);}
  100%{ box-shadow:0 0 12px rgba(0,180,255,0.3);}
}

/* LOGIN BUTTON – FROSTED CYAN GLASS */
.nav__btn--login{
  
  border:1px solid rgba(0,160,255,0.6);
  color:#eaf8ff;
  animation:pulseGlow 2.6s infinite ease-in-out;
}
.nav__btn--login:hover{
  transform:translateY(-2px) scale(1.04);
  filter:brightness(1.25);
  border-color:#5ac8ff;
  box-shadow:0 0 28px rgba(0,150,255,0.9);
}

/* REGISTER BUTTON – PREMIUM NEON GRADIENT PILL */



/* Tiny devices */
@media(max-width:640px){
  .nav__auth-buttons{gap:8px; margin-left:6px;}
  .nav__btn{padding:7px 14px; font-size:12px;}
}


/* === NEW ULTRA MODERN FLOATING HEADER BAR === */



.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 10px auto 6px;
  padding: 10px 20px;
  border-radius: 999px;
  
  backdrop-filter: blur(22px);
}

/* Guest: slightly wider, still rounded */
.topbar__inner--guest {
  max-width: 1180px;
  width: 100%;
}

/* Brand area */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 32px;
  height: 1px;
  border-radius: 999px;
  overflow: hidden;
}

.brand__name {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: #e5e7eb;
  opacity: 0.92;
}

/* Main nav */
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* User menu compacter */
.nav__user-menu {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  
  border: 1px solid rgba(148,163,184,0.3);
  font-size: 12px;
}

.user-avatar {
  width: 22px;
  height: 1px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  font-size: 12px;
}

.user-dropdown {
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  border-radius: 12px;
  
  box-shadow: 0 18px 50px rgba(15,23,42,0.85);
}

/* Messages icon inline */
.nav__messages {
  padding: 6px 10px;
  border-radius: 999px;
  
}

/* Small screens */
@media (max-width: 768px) {
  .topbar__inner {
    padding-inline: 14px;
    border-radius: 16px;
    margin: 6px 8px;
  }
  .brand__name {
    letter-spacing: 0.12em;
    font-size: 12px;
  }
}

/* Guest wide layout */
.topbar__inner--guest {
    max-width: 1600px !important;
    width: 100%;
    margin: 0 auto;
    padding-inline: 40px;
    gap: 24px;
    justify-content: space-between;
}
.topbar__inner--guest .brand { flex-grow:1; }
.topbar__inner--guest .nav__auth-buttons { gap:18px; }
.topbar__inner--guest .nav a { padding-inline:14px; }

/* Dark blue register button */



/* ICONS FOR AUTH BUTTONS */
.nav__icon-login,
.nav__icon-register {
    margin-right: 6px;
    font-size: 15px;
    display: inline-block;
    transform: translateY(1px);
}







.topbar {
    position: sticky;
    top:0;
    z-index:999;
    background: linear-gradient(
        90deg,
        #02040A 0%,    /* almost black navy */
        #040A18 20%,   /* deep midnight blue */
        #0A1128 45%,   /* darker navy */
        #3A2A00 70%,   /* deep muted gold-brown */
        #B38600 85%,   /* dark gold */
        #D4A417 100%   /* warm gold highlight */
    );
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    border-bottom: none;
}

.topbar::after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        #02040A 0%,   /* near black blue */
        #08204A 25%,  /* cold deep blue */
        #A67C00 75%,  /* dark gold */
        #D4A417 100%  /* warm gold */
    );
    box-shadow:
        0 0 10px rgba(10,40,100,0.7),
        0 0 14px rgba(180,140,20,0.7);
}

/* FULL PREMIUM TWO‑COLOR REGISTER BUTTON */




/* DARK BLUE PREMIUM REGISTER BUTTON */




/* ULTRA DARK BLUE REGISTER BUTTON */




/* DARK BLUE + GOLD-YELLOW Register Button */




/* ULTRA DARK BLUE + PURE GOLD Register Button */
.nav__btn--register {
    background: linear-gradient(135deg, #00040D 0%, #00142E 35%, #F5C400 100%);
    color: #ffffff;
    border: 1px solid rgba(255,200,40,0.35);
    padding: 10px 30px;
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.045em;

    box-shadow:
        0 0 14px rgba(0,25,80,0.7),
        0 0 26px rgba(255,190,0,0.55);

    transition: all .25s ease;
}

.nav__btn--register:hover {
    transform: translateY(-2px) scale(1.07);
    filter: brightness(1.13);
    box-shadow:
        0 0 22px rgba(20,70,200,0.95),
        0 0 34px rgba(255,210,60,0.9);
}

/* FORCE override for register button (very dark blue + yellow) */
.topbar .nav__btn--register {
    background: linear-gradient(135deg, #00040D 0%, #00142E 35%, #F5C400 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255,200,40,0.35) !important;
    box-shadow:
        0 0 14px rgba(0,25,80,0.7),
        0 0 26px rgba(255,190,0,0.55) !important;
}


/* === Frontend sidebar – transparent background + hardcore pro toggle === */
body.has-sidebar {
  padding-left: 80px;
  transition: padding-left 0.25s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 72px;
  height: 100vh;
  background: rgba(15,23,42,0.32); /* átlátszóbb háttér */
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  gap: 8px;
  z-index: 98;
  transition: width 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

/* Gombok maradjanak tömörek, ne legyenek átlátszóak */
.sidebar__item {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #0b1120, #020617);
  box-shadow:
    0 0 10px rgba(15,23,42,0.9),
    0 0 18px rgba(15,23,42,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sidebar__item .icon {
  font-size: 20px;
}

.sidebar__label {
  display: none; /* csak ikon, profi minimal */
}

/* Hardcore profi becsukó nyíl a legszélén */
.sidebar__collapse-toggle {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 48px;
  border-radius: 0 999px 999px 0;
  border: none;
  padding: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #020617, #0b1120);
  box-shadow:
    0 0 10px rgba(15,23,42,0.9),
    0 0 18px rgba(15,23,42,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
}

.sidebar__collapse-arrow {
  font-size: 14px;
  transition: transform 0.25s ease;
}

/* Összecsukott állapot */
body.has-sidebar.sidebar-collapsed {
  padding-left: 30px;
}

body.sidebar-collapsed .sidebar {
  width: 24px;
  padding-top: 60px;
  background: rgba(15,23,42,0.8); /* vékony sáv, kicsit erősebb */
}

body.sidebar-collapsed .sidebar__item {
  opacity: 0;
  pointer-events: none;
}

body.sidebar-collapsed .sidebar__collapse-arrow {
  transform: rotate(180deg);
}

/* Mobilon amúgy is tűnjön el az oldalmenü */
@media (max-width: 900px) {
  body.has-sidebar {
    padding-left: 0;
  }
  .sidebar {
    display: none;
  }
}


/* Csillagos brand logó a headerben */
.brand-logo-star {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin-right: 14px;
  margin-left: -8px;
  margin-top: -18px; /* kicsit kilóg felfelé a headerből */
  flex-shrink: 0;
  overflow: visible;
}

.brand-logo-star__glow {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(250,204,21,0.55), transparent 55%),
    radial-gradient(circle at bottom, rgba(59,130,246,0.65), transparent 60%);
  opacity: 0.9;
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.8),
    0 0 32px rgba(250,204,21,0.75),
    0 0 60px rgba(59,130,246,0.6);
}

.brand-logo-star__icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transform: translateY(-2px);
}

/* --- Ultra-modern átlátszó (glass) logó háttér --- */
.brand-logo-star {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(250,204,21,0.35);
}

.brand-logo-star__glow {
  opacity: 0.65; /* finomabb glow */
  filter: blur(2px);
}

.brand-logo-star__icon {
  text-shadow: 0 0 12px rgba(250,204,21,0.85), 0 0 24px rgba(59,130,246,0.65);
}


/* Brand logó belső rétegek – play gomb + film ikonok */
.brand-logo-star__core {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.brand-logo-star__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transform: translateY(-1px);
}

.brand-logo-star__film {
  position: absolute;
  font-size: 14px;
  opacity: 0.9;
}

.brand-logo-star__film--top {
  top: 6px;
  right: 4px;
  transform: rotate(-10deg);
}

.brand-logo-star__film--bottom {
  bottom: 4px;
  left: 6px;
  transform: rotate(8deg);
}


/* === New orbit/equalizer brand logo (no play icon) === */

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main, #f9fafb);
}

.brand-logo-orbit {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  flex-shrink: 0;
  overflow: visible;
}

.brand-logo-orbit__glow {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, rgba(248, 250, 252, 0.35), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(129, 140, 248, 0.45), transparent 55%);
  opacity: 0.9;
  filter: blur(6px);
  pointer-events: none;
}

.brand-logo-orbit__core {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 25% 0%, var(--accent-strong, #a855f7) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, var(--accent, #6366f1) 0%, transparent 45%),
    radial-gradient(circle at 50% 120%, #020617 0%, #000 55%);
  box-shadow:
    0 0 16px rgba(15, 23, 42, 0.9),
    0 0 26px rgba(56, 189, 248, 0.55);
}

.brand-logo-orbit__ring {
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(248, 250, 252, 0.18);
  transform: skewX(-16deg) rotate(-8deg);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.brand-logo-orbit__bars {
  position: absolute;
  inset: 11px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
}

.brand-logo-orbit__bar {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7), rgba(248, 250, 252, 0.95));
  box-shadow:
    0 0 6px rgba(248, 250, 252, 0.4),
    0 0 10px rgba(56, 189, 248, 0.55);
  animation: orbit-bars-pulse 1.8s ease-in-out infinite;
}

.brand-logo-orbit__bar--1 {
  height: 7px;
  animation-delay: 0s;
}

.brand-logo-orbit__bar--2 {
  height: 13px;
  animation-delay: 0.12s;
}

.brand-logo-orbit__bar--3 {
  height: 9px;
  animation-delay: 0.24s;
}

@keyframes orbit-bars-pulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.82;
  }
  40% {
    transform: translateY(-2px);
    opacity: 1;
  }
  60% {
    transform: translateY(1px);
    opacity: 0.9;
  }
}



/* === Modern, prémium brand name === */
.brand__name {
    font-family: "Inter", "Poppins", "Segoe UI", sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    background: linear-gradient(90deg,
        var(--accent-strong, #a855f7),
        var(--accent, #6366f1)
    );
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    padding-left: 4px;
    padding-right: 4px;
    text-shadow:
        0 0 18px rgba(99,102,241,0.55),
        0 0 8px rgba(168,85,247,0.45);
    transition: transform .25s ease, letter-spacing .25s ease;
}

.brand__link:hover .brand__name {
    transform: translateY(-1px) scale(1.03);
    letter-spacing: -0.6px;
}


/* === User dropdown – click to open on name/avatar === */
.nav__user-menu {
  position: relative;
}

.user-trigger {
  cursor: pointer;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  padding: 8px 0;
  border-radius: 14px;
  background: var(--bg-elevated, #020617);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow:
    0 18px 45px rgba(15,23,42,0.95),
    0 0 0 1px rgba(15,23,42,0.9);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 40;
}

.nav__user-menu--open .user-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text-main, #e5e7eb);
}

.user-dropdown a:hover {
  background: radial-gradient(circle at 0% 0%, rgba(59,130,246,0.12), transparent 55%);
}
