﻿.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 42px);
  background: rgba(15,18,25,.96);
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: #f5f5f5;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.site-brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #d99b32;
  color: #171717;
  font-size: 22px;
  font-weight: 900;
}

.site-brand-gold { color: #d99b32; }
.site-nav-spacer { flex: 1; }

.site-theaters-link {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.site-theaters-link:hover,
.site-theaters-link[aria-current="page"] {
  color: #d99b32;
}

.site-pages { position: relative; }

.site-pages-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: #20242d;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-pages-button:hover,
.site-pages-button[aria-expanded="true"] {
  border-color: #d99b32;
}

.site-pages-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  max-height: min(70vh, 480px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #171b23;
  box-shadow: 0 16px 40px rgba(0,0,0,.38);
}

.site-pages-menu[hidden] { display: none !important; }

.site-pages-menu a,
.site-pages-menu button {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f4f4f4;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.site-pages-menu a:hover,
.site-pages-menu button:hover {
  background: rgba(217,155,50,.14);
  color: #e8b45b;
}

.site-pages-menu .site-menu-divider {
  height: 1px;
  margin: 6px 4px;
  background: rgba(255,255,255,.1);
}

.site-account {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f5;
  white-space: nowrap;
}

.site-account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d99b32;
}

.site-account-initials {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #303642;
  color: #d99b32;
  font-weight: 800;
  border: 2px solid #d99b32;
}

.site-account img[hidden],
.site-account span[hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .site-header { gap: 12px; padding: 12px 14px; }
  .site-brand { gap: 7px; font-size: 14px; }
  .site-brand-mark { width: 30px; height: 30px; font-size: 19px; }
  .site-theaters-link { font-size: 13px; }
  .site-pages-button { padding: 9px 10px; font-size: 13px; }
  .site-account { gap: 6px; font-size: 12px; }
  .site-account-avatar,
  .site-account-initials { width: 28px; height: 28px; }
}

@media (max-width: 420px) {
  .site-brand-name { display: none; }
  .site-account-welcome { display: none; }
}

/* Messages unread count in the universal dropdown */
.nav-unread-badge {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 999px;
  background: #d99b32;
  color: #171717;
  font-size: 11px;
  font-weight: 800;
  box-sizing: border-box;
}

.nav-unread-badge[hidden] {
  display: none !important;
}

/* Final universal header layout */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-theaters-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.site-account-dropdown {
  position: relative;
  margin-left: auto;
}

.site-account-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.site-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  max-height: 75vh;
  overflow-y: auto;
  background: #202020;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  z-index: 1000;
}

.site-account-menu a,
.site-account-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.site-account-menu a:hover,
.site-account-menu button:hover {
  background: rgba(255,255,255,.08);
}

.site-menu-divider {
  height: 1px;
  margin: 6px 4px;
  background: rgba(255,255,255,.12);
}

.site-account-menu[hidden] {
  display: none !important;
}

/* Uploaded profile photo in navigation */
.site-account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(217,155,50,.7);
}

.site-account-initials {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d99b32;
  color: #171717;
  font-weight: 800;
}

.site-account-initials[hidden] {
  display: none !important;
}


/* ==========================================
   POPCORNID - ACTUAL BLACK & GOLD NAV
   ========================================== */

.site-header {
    background: rgba(8, 8, 8, 0.97) !important;
    background-color: #080808 !important;
    border-bottom: 1px solid #D6A84B !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

/* Theatrical Releases */
.site-theaters-link {
    color: #F5F5F5;
}

.site-theaters-link:hover,
.site-theaters-link[aria-current="page"] {
    color: #D6A84B !important;
}

/* Account dropdown trigger */
.site-account-trigger {
    background: transparent !important;
    color: #F5F5F5 !important;
}

.site-account-trigger:hover {
    color: #D6A84B !important;
}

/* Account dropdown menu */
.site-account-menu {
    background: #101010 !important;
    border: 1px solid #D6A84B !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65) !important;
}

/* Dropdown links */
.site-account-menu a,
.site-account-menu button {
    color: #F5F5F5 !important;
    background: transparent !important;
}

.site-account-menu a:hover,
.site-account-menu button:hover {
    background: rgba(214, 168, 75, 0.14) !important;
    color: #D6A84B !important;
}

/* Dropdown separator */
.site-account-menu .site-menu-divider {
    background: rgba(214, 168, 75, 0.25) !important;
}

/* Gold account avatar ring */
.site-account-avatar {
    border-color: #D6A84B !important;
}
