@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,500;0,600;0,700;1,600;1,700&family=Rajdhani:wght@500;600;700&display=swap');

/* ==========================================================================
   URNM - TYPOGRAPHY & FONT IMPORTS
   ========================================================================== */
@font-face {
  font-family: 'Metaor Aftershift';
  src: url('../metaor-aftershift-font (3)/MetaorAftershift-BLvA5.otf') format('opentype'),
       url('../metaor-aftershift-font (3)/MetaorAftershift-8OnAz.ttf') format('truetype'),
       url('./metaor-aftershift-font (3)/MetaorAftershift-BLvA5.otf') format('opentype'),
       url('./metaor-aftershift-font (3)/MetaorAftershift-8OnAz.ttf') format('truetype'),
       url('/metaor-aftershift-font (3)/MetaorAftershift-BLvA5.otf') format('opentype'),
       url('/metaor-aftershift-font (3)/MetaorAftershift-8OnAz.ttf') format('truetype'),
       url('../fonts/MetaorAftershift.otf') format('opentype'),
       url('../fonts/MetaorAftershift.ttf') format('truetype'),
       url('./fonts/MetaorAftershift.otf') format('opentype'),
       url('/fonts/MetaorAftershift.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Metaor Aftershift';
  src: url('../metaor-aftershift-font (3)/MetaorAftershift-BLvA5.otf') format('opentype'),
       url('../metaor-aftershift-font (3)/MetaorAftershift-8OnAz.ttf') format('truetype'),
       url('./metaor-aftershift-font (3)/MetaorAftershift-BLvA5.otf') format('opentype'),
       url('./metaor-aftershift-font (3)/MetaorAftershift-8OnAz.ttf') format('truetype'),
       url('/metaor-aftershift-font (3)/MetaorAftershift-BLvA5.otf') format('opentype'),
       url('/metaor-aftershift-font (3)/MetaorAftershift-8OnAz.ttf') format('truetype'),
       url('../fonts/MetaorAftershift.otf') format('opentype'),
       url('../fonts/MetaorAftershift.ttf') format('truetype'),
       url('./fonts/MetaorAftershift.otf') format('opentype'),
       url('/fonts/MetaorAftershift.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* Google Sans Static Weights for Navigation & Interface */
@font-face {
  font-family: 'Google Sans';
  src: url('../Html/fonts/static/GoogleSans-Regular.ttf') format('truetype'),
       url('./fonts/static/GoogleSans-Regular.ttf') format('truetype'),
       url('/Html/fonts/static/GoogleSans-Regular.ttf') format('truetype'),
       url('../fonts/static/GoogleSans-Regular.ttf') format('truetype'),
       url('../fonts/GoogleSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('../Html/fonts/static/GoogleSans-Italic.ttf') format('truetype'),
       url('./fonts/static/GoogleSans-Italic.ttf') format('truetype'),
       url('/Html/fonts/static/GoogleSans-Italic.ttf') format('truetype'),
       url('../fonts/static/GoogleSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('../Html/fonts/static/GoogleSans-Medium.ttf') format('truetype'),
       url('./fonts/static/GoogleSans-Medium.ttf') format('truetype'),
       url('/Html/fonts/static/GoogleSans-Medium.ttf') format('truetype'),
       url('../fonts/static/GoogleSans-Medium.ttf') format('truetype'),
       url('../fonts/GoogleSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('../Html/fonts/static/GoogleSans-SemiBold.ttf') format('truetype'),
       url('./fonts/static/GoogleSans-SemiBold.ttf') format('truetype'),
       url('/Html/fonts/static/GoogleSans-SemiBold.ttf') format('truetype'),
       url('../fonts/static/GoogleSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('../Html/fonts/static/GoogleSans-Bold.ttf') format('truetype'),
       url('./fonts/static/GoogleSans-Bold.ttf') format('truetype'),
       url('/Html/fonts/static/GoogleSans-Bold.ttf') format('truetype'),
       url('../fonts/static/GoogleSans-Bold.ttf') format('truetype'),
       url('../fonts/GoogleSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   URNM - NAVIGATION PANEL (WEBSITE THEME & GRID MATCH)
   Directly inherits the Unreal Nightmare (UrNm) design system:
   - Tokens: var(--background), var(--surface), var(--border), var(--primary)
   - Grid Pattern: Hairline tactical grid matching website's architectural styling
   - Typography: 'Metaor Aftershift' (Brand) + 'Google Sans' (Eyebrow & Interface)
   - Form: Completely rigid, 0px border-radius, clean hairline borders
   ========================================================================== */

:root {
  /* Website Brand Tokens Fallback Alignment */
  --urnm-nav-bg: var(--background, #000000);
  --urnm-nav-surface: var(--surface, #0A0A0A);
  --urnm-nav-surface-2: var(--surface-2, #111111);
  --urnm-nav-border: var(--border, oklch(100% 0 0 / 0.12));
  --urnm-nav-hairline: var(--hairline, oklch(100% 0 0 / 0.08));
  --urnm-nav-primary: var(--primary, #D01722);
  --urnm-nav-primary-fg: var(--primary-foreground, #FFFFFF);
  --urnm-nav-foreground: var(--foreground, #FFFFFF);
  --urnm-nav-muted: var(--muted-foreground, rgba(255, 255, 255, 0.57));
}

/* Base Sidebar Container - Rigid, Clean, Matching Website Surface & Grid */
.urnm-sidebar {
  width: 340px;
  max-width: 100%;
  background-color: #0a0a0a;
  background-color: var(--urnm-nav-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--urnm-nav-border);
  border-radius: 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--urnm-nav-foreground);
  font-family: 'Google Sans', system-ui, -apple-system, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: var(--urnm-nav-primary) transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.urnm-sidebar::-webkit-scrollbar {
  width: 3px;
}
.urnm-sidebar::-webkit-scrollbar-thumb {
  background: var(--urnm-nav-primary);
  border-radius: 0 !important;
}

/* ==========================================================================
   WEBSITE GRID PATTERN OVERLAY
   Uses the website's hairline architectural grid lines (32px x 32px)
   and precision intersection points.
   ========================================================================== */

/* Hairline Grid Lines */
.urnm-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Precision Grid Dots & Ambient Red Vignette */
.urnm-sidebar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(208, 23, 34, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(208, 23, 34, 0.08) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  background-position: 0 0, 0 0, -1px -1px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HEADER SECTION - MATCHES WEBSITE WORDMARK
   ========================================================================== */

.urnm-sidebar .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--urnm-nav-border);
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.urnm-sidebar .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.urnm-sidebar .logo-icon {
  color: var(--urnm-nav-primary);
  font-size: 26px;
  filter: drop-shadow(0 0 10px rgba(208, 23, 34, 0.6));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar .logo-container:hover .logo-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(208, 23, 34, 0.85));
}

.urnm-sidebar .logo-text h1 {
  font-family: 'Metaor Aftershift', sans-serif !important;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--urnm-nav-foreground);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.urnm-sidebar .logo-text h1 .logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--urnm-nav-primary);
  border-radius: 0 !important;
  box-shadow: 0 0 8px var(--urnm-nav-primary);
}

.urnm-sidebar .logo-text p {
  font-family: 'Google Sans', system-ui, sans-serif !important;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--urnm-nav-muted);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

/* Rigid Square Close Button */
.urnm-sidebar .close-btn {
  background: var(--urnm-nav-surface);
  border: 1px solid var(--urnm-nav-border);
  border-radius: 0 !important;
  color: var(--urnm-nav-foreground);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar .close-btn:hover {
  color: #fff;
  border-color: var(--urnm-nav-primary);
  background: var(--urnm-nav-primary);
  box-shadow: 0 0 16px rgba(208, 23, 34, 0.6);
  transform: rotate(90deg);
}

/* ==========================================================================
   NAVIGATION MENU - MATCHES WEBSITE EYEBROW & TYPOGRAPHY WITH DYNAMIC MOTION
   ========================================================================== */

.urnm-sidebar .menu {
  list-style: none;
  padding: 18px 0;
  margin: 0;
  position: relative;
  z-index: 2;
  flex: 1;
}

.urnm-sidebar .menu li {
  margin-bottom: 4px;
  position: relative;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Staggered entrance animation when drawer opens */
.urnm-sidebar.is-open .menu li,
.menu-open .urnm-sidebar .menu li,
.urnm-standalone-nav-body .urnm-sidebar .menu li {
  opacity: 1;
  transform: translateX(0);
}

.urnm-sidebar.is-open .menu li:nth-child(1),
.menu-open .urnm-sidebar .menu li:nth-child(1),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(1) { transition-delay: 0.06s; }

.urnm-sidebar.is-open .menu li:nth-child(2),
.menu-open .urnm-sidebar .menu li:nth-child(2),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(2) { transition-delay: 0.11s; }

.urnm-sidebar.is-open .menu li:nth-child(3),
.menu-open .urnm-sidebar .menu li:nth-child(3),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(3) { transition-delay: 0.16s; }

.urnm-sidebar.is-open .menu li:nth-child(4),
.menu-open .urnm-sidebar .menu li:nth-child(4),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(4) { transition-delay: 0.21s; }

.urnm-sidebar.is-open .menu li:nth-child(5),
.menu-open .urnm-sidebar .menu li:nth-child(5),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(5) { transition-delay: 0.26s; }

.urnm-sidebar.is-open .menu li:nth-child(6),
.menu-open .urnm-sidebar .menu li:nth-child(6),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(6) { transition-delay: 0.31s; }

.urnm-sidebar.is-open .menu li:nth-child(7),
.menu-open .urnm-sidebar .menu li:nth-child(7),
.urnm-standalone-nav-body .urnm-sidebar .menu li:nth-child(7) { transition-delay: 0.36s; }

.urnm-sidebar .menu a {
  display: flex;
  align-items: center;
  padding: 13px 24px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Google Sans', system-ui, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.22s ease,
              background-color 0.22s ease,
              padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-left-color 0.22s ease;
  position: relative;
  border-radius: 0 !important;
  border-left: 3px solid transparent;
  background: transparent;
  overflow: hidden;
}

/* Subtle sweep flare behind hovered item */
.urnm-sidebar .menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(208, 23, 34, 0.12) 0%, rgba(208, 23, 34, 0.02) 70%, transparent 100%);
  opacity: 0;
  transform: translateX(-15%);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}

/* Hover effect */
.urnm-sidebar .menu a:hover {
  color: var(--urnm-nav-foreground);
  border-left-color: var(--urnm-nav-primary);
  padding-left: 30px;
}

.urnm-sidebar .menu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.urnm-sidebar .menu-icon {
  width: 22px;
  font-size: 15px;
  text-align: center;
  margin-right: 14px;
  color: var(--urnm-nav-muted);
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar .menu a:hover .menu-icon {
  color: var(--urnm-nav-primary);
  filter: drop-shadow(0 0 10px rgba(208, 23, 34, 0.85));
  transform: scale(1.12);
}

.urnm-sidebar .menu-text {
  flex-grow: 0;
  white-space: nowrap;
  letter-spacing: 0.14em;
}

/* Hairline Connecting Line */
.urnm-sidebar .menu-line {
  height: 1px;
  background-color: var(--urnm-nav-border);
  flex-grow: 1;
  margin: 0 14px;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.urnm-sidebar .menu-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--urnm-nav-primary);
  box-shadow: 0 0 8px var(--urnm-nav-primary);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar .menu a:hover .menu-line::after {
  width: 100%;
}

.urnm-sidebar .menu a:hover .menu-line {
  background-color: rgba(208, 23, 34, 0.3);
}

.urnm-sidebar .menu-chevron {
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
}

.urnm-sidebar .menu a:hover .menu-chevron {
  color: var(--urnm-nav-primary);
  transform: translateX(4px);
  filter: drop-shadow(0 0 6px rgba(208, 23, 34, 0.6));
}

/* Active State - Website Primary Block */
.urnm-sidebar .menu li.active a,
.urnm-sidebar .menu a.is-active {
  background: linear-gradient(90deg, rgba(208, 23, 34, 0.22) 0%, rgba(208, 23, 34, 0.05) 75%, transparent 100%);
  border-left: 3px solid var(--urnm-nav-primary) !important;
  color: var(--urnm-nav-foreground);
  padding-left: 28px;
}

.urnm-sidebar .menu li.active .menu-icon,
.urnm-sidebar .menu a.is-active .menu-icon {
  color: var(--urnm-nav-primary);
  filter: drop-shadow(0 0 12px rgba(208, 23, 34, 0.95));
  transform: scale(1.08);
}

.urnm-sidebar .menu li.active .menu-line,
.urnm-sidebar .menu a.is-active .menu-line {
  background: linear-gradient(90deg, var(--urnm-nav-primary) 0%, rgba(208, 23, 34, 0.2) 100%);
}

.urnm-sidebar .menu li.active .menu-line::after,
.urnm-sidebar .menu a.is-active .menu-line::after {
  width: 40%;
}

.urnm-sidebar .menu li.active .menu-chevron,
.urnm-sidebar .menu a.is-active .menu-chevron {
  color: var(--urnm-nav-primary);
  transform: translateX(2px);
}

/* Badge (e.g., for Merch) */
.urnm-sidebar .menu-badge {
  font-size: 9px;
  letter-spacing: 0.12em;
  background: rgba(208, 23, 34, 0.15);
  border: 1px solid var(--urnm-nav-primary);
  color: var(--urnm-nav-primary);
  padding: 2px 7px;
  border-radius: 0 !important;
  margin-left: 8px;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(208, 23, 34, 0.2);
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar .menu a:hover .menu-badge {
  background: var(--urnm-nav-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(208, 23, 34, 0.5);
}

/* ==========================================================================
   FOOTER SECTION - MATCHES WEBSITE FOOTER STYLING & ANIMATION
   ========================================================================== */

.urnm-sidebar .footer {
  padding: 22px 24px 26px;
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-top: 1px solid var(--urnm-nav-border);
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar.is-open .footer,
.menu-open .urnm-sidebar .footer,
.urnm-standalone-nav-body .urnm-sidebar .footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.urnm-sidebar .footer-divider {
  height: 2px;
  background: var(--urnm-nav-primary);
  margin-bottom: 16px;
  width: 36px;
  box-shadow: 0 0 10px rgba(208, 23, 34, 0.6);
}

.urnm-sidebar .footer-heading {
  font-family: 'Google Sans', system-ui, sans-serif !important;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--urnm-nav-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Rigid Square Social Icons matching website */
.urnm-sidebar .social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.urnm-sidebar .social-icons a {
  color: var(--urnm-nav-muted);
  text-decoration: none;
  font-size: 14px;
  width: 36px;
  height: 36px;
  border-radius: 0 !important;
  background: var(--urnm-nav-surface);
  border: 1px solid var(--urnm-nav-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-sidebar .social-icons a:hover {
  color: #ffffff;
  background: var(--urnm-nav-primary);
  border-color: var(--urnm-nav-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 16px rgba(208, 23, 34, 0.55);
}

.urnm-sidebar .social-icons svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Partner CTA in Drawer matching website button */
.urnm-sidebar .drawer-partner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 11px 16px;
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--urnm-nav-primary);
  color: var(--urnm-nav-primary);
  background: rgba(208, 23, 34, 0.04);
  border-radius: 0 !important;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.urnm-sidebar .drawer-partner-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--urnm-nav-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.urnm-sidebar .drawer-partner-btn:hover {
  color: #fff;
  border-color: var(--urnm-nav-primary);
  box-shadow: 0 0 20px rgba(208, 23, 34, 0.5);
  transform: translateY(-1px);
}

.urnm-sidebar .drawer-partner-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.urnm-sidebar .brand-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--urnm-nav-border);
}

.urnm-sidebar .brand-text h2 {
  font-family: 'Google Sans', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--urnm-nav-foreground);
  margin: 0;
}

.urnm-sidebar .brand-text p {
  font-family: 'Google Sans', system-ui, sans-serif !important;
  font-size: 10px;
  color: var(--urnm-nav-muted);
  letter-spacing: 0.14em;
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

.urnm-sidebar .brand-bg-logo {
  font-size: 38px;
  color: var(--urnm-nav-primary);
  opacity: 0.85;
  filter: drop-shadow(0 0 12px rgba(208, 23, 34, 0.45));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.urnm-sidebar .brand-info:hover .brand-bg-logo {
  transform: scale(1.12) rotate(6deg);
  filter: drop-shadow(0 0 20px rgba(208, 23, 34, 0.85));
}

/* ==========================================================================
   SITE DRAWER FLYOUT INTEGRATION & DYNAMIC GLOW
   ========================================================================== */

/* Fullscreen Backdrop Blur Overlay matching website */
.urnm-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s ease;
}

.urnm-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slide-out Drawer Container - Rigid 0px, Website Surface & Red Hairline Border */
.urnm-sidebar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: calc(100vw - 12px);
  height: 100vh;
  z-index: 9999;
  border-radius: 0 !important;
  border-right: none;
  border-top: none;
  border-bottom: none;
  border-left: 2px solid var(--urnm-nav-primary) !important;
  transform: translateX(105%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.95);
  will-change: transform;
}

.urnm-sidebar-drawer.is-open {
  transform: translateX(0);
  box-shadow: -25px 0 70px rgba(0, 0, 0, 0.98),
              -8px 0 35px rgba(208, 23, 34, 0.28);
}

/* Desktop & Mobile Menu Button in Header matching website button style */
.urnm-header-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--urnm-nav-surface);
  border: 1px solid var(--urnm-nav-border);
  border-radius: 0 !important;
  color: var(--urnm-nav-foreground);
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.urnm-header-menu-btn:hover {
  background: var(--urnm-nav-primary);
  border-color: var(--urnm-nav-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(208, 23, 34, 0.5);
  transform: translateY(-1px);
}

.urnm-header-menu-btn:active {
  transform: translateY(0) scale(0.98);
}

.urnm-header-menu-btn svg,
.urnm-header-menu-btn i {
  font-size: 14px;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.urnm-header-menu-btn:hover svg,
.urnm-header-menu-btn:hover i {
  transform: rotate(90deg);
}

/* Standalone Page View Styling */
.urnm-standalone-nav-body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Google Sans', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 50px 20px;
  position: relative;
  overflow-x: hidden;
}

/* Standalone Page Background - Hairline Grid matching website */
.urnm-standalone-nav-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, rgba(208, 23, 34, 0.16) 0%, transparent 65%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
  pointer-events: none;
}

/* ==========================================================================
   NEW PROTOCOL / CARD-BASED MOBILE NAVIGATION SUPPORT
   ========================================================================== */

/* 2-Bar Tactical Mobile Menu Toggle */
#menu-btn,
.mobile-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 45;
  padding: 4px;
}

#menu-btn span,
.mobile-menu-toggle span {
  display: block;
  background-color: #ffffff;
  width: 100%;
  height: 2px;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#menu-btn span:first-child,
.mobile-menu-toggle span:first-child {
  margin-bottom: 0;
}

#menu-btn:hover span,
.mobile-menu-toggle:hover span {
  background-color: #D01722;
}

/* Hide mobile toggle on desktop (1024px and up) */
@media (min-width: 1024px) {
  #menu-btn,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Fullscreen Backdrop Blur Overlay */
#menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 99990 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#menu-overlay.opacity-100,
#menu-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Mobile Side Navigation Drawer */
#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 420px;
  height: 100% !important;
  height: 100dvh !important;
  background-color: #0A0A0A !important;
  z-index: 99999 !important;
  transform: translateX(100%) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.95) !important;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: #FFFFFF;
  overflow: hidden !important;
}

@media (min-width: 640px) {
  #mobile-menu {
    width: 420px !important;
  }
}

#mobile-menu.translate-x-0,
#mobile-menu.is-open,
#mobile-menu.menu-open {
  transform: translateX(0) !important;
}

#mobile-menu.translate-x-full {
  transform: translateX(100%) !important;
}

/* Mobile Menu Header */
#mobile-menu .menu-header,
#mobile-menu [data-menu-header] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

#mobile-menu .menu-header-logo {
  display: flex;
  flex-direction: column;
}

#mobile-menu .menu-header-logo a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
}

#mobile-menu .menu-header-dot {
  width: 12px;
  height: 12px;
  background-color: #D01722;
  box-shadow: 0 0 10px rgba(208, 23, 34, 0.6);
}

#mobile-menu .menu-header-subtitle {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  margin-top: 4px;
  text-transform: uppercase;
}

#close-menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

#close-menu-btn:hover {
  background-color: #D01722;
  border-color: #D01722;
  color: #000000;
}

#close-menu-btn svg,
#close-menu-btn i {
  width: 20px;
  height: 20px;
  color: inherit;
}

/* Mobile Menu Content Area & Grid */
#mobile-menu .menu-content,
#mobile-menu [data-menu-content] {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  position: relative !important;
  padding: 20px 0 !important;
  min-height: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: #D01722 #0A0A0A;
}

#mobile-menu .menu-grid-bg,
#mobile-menu [data-menu-grid] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: 
    linear-gradient(to right, #222222 1px, transparent 1px),
    linear-gradient(to bottom, #222222 1px, transparent 1px);
  background-size: 40px 40px;
}

#mobile-menu .menu-list,
#mobile-menu [data-menu-list] {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 24px;
  list-style: none;
  margin: 0;
}

/* Staggered Card Slide-in Animation */
.nav-item-enter {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 8px;
  position: relative;
  will-change: transform, opacity;
}

#mobile-menu.menu-open .nav-item-enter,
#mobile-menu.is-open .nav-item-enter {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

#mobile-menu.menu-open .nav-item-enter:nth-child(1),
#mobile-menu.is-open .nav-item-enter:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.menu-open .nav-item-enter:nth-child(2),
#mobile-menu.is-open .nav-item-enter:nth-child(2) { transition-delay: 0.10s; }
#mobile-menu.menu-open .nav-item-enter:nth-child(3),
#mobile-menu.is-open .nav-item-enter:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.menu-open .nav-item-enter:nth-child(4),
#mobile-menu.is-open .nav-item-enter:nth-child(4) { transition-delay: 0.20s; }
#mobile-menu.menu-open .nav-item-enter:nth-child(5),
#mobile-menu.is-open .nav-item-enter:nth-child(5) { transition-delay: 0.25s; }
#mobile-menu.menu-open .nav-item-enter:nth-child(6),
#mobile-menu.is-open .nav-item-enter:nth-child(6) { transition-delay: 0.30s; }
#mobile-menu.menu-open .nav-item-enter:nth-child(7),
#mobile-menu.is-open .nav-item-enter:nth-child(7) { transition-delay: 0.35s; }

/* Nav Card Links */
.nav-card-link {
  display: block;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-card-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Active State */
.nav-card-link.is-active,
.nav-item-enter.is-active .nav-card-link {
  background-color: #1A1A1A !important;
  border-color: rgba(208, 23, 34, 0.5) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.nav-card-title {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 5px;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-card-link:hover .nav-card-title {
  color: #D01722;
}

.nav-card-link.is-active .nav-card-title,
.nav-item-enter.is-active .nav-card-title {
  color: #D01722 !important;
}

.nav-card-desc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-card-link:hover .nav-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

.nav-card-link.is-active .nav-card-desc,
.nav-item-enter.is-active .nav-card-desc {
  color: #ffffff;
}

.nav-card-desc i,
.nav-card-desc svg {
  width: 14px;
  height: 14px;
}

/* Footer Section */
#mobile-menu .menu-footer,
#mobile-menu [data-menu-footer] {
  padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  background: #0A0A0A !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  align-items: center !important;
}

#mobile-menu .menu-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

#mobile-menu .menu-socials a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#mobile-menu .menu-socials a:hover {
  color: #D01722;
  transform: scale(1.18);
}

#mobile-menu .menu-socials svg,
#mobile-menu .menu-socials i {
  width: 22px;
  height: 22px;
}

#mobile-menu .menu-footer-btn {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D01722;
  border: 1px solid #D01722;
  text-decoration: none;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

#mobile-menu .menu-footer-btn:hover {
  background-color: #D01722;
  color: #000000;
  box-shadow: 0 0 15px rgba(208, 23, 34, 0.4);
}

/* ==========================================================================
   URNM ESPORTS NAVIGATION BAR - THEME UI & DYNAMIC ANIMATIONS
   Minimal, angled esports aesthetics with dynamic laser slide indicators,
   glowing edge accents, and high-performance hardware-accelerated transitions.
   ========================================================================== */

:root {
  --urnm-nav-bg: #0a0a0a;
  --urnm-nav-darker: #000000;
  --urnm-accent-red: #D01722;
  --urnm-accent-red-glow: transparent;
  --urnm-accent-red-bright: #D01722;
  --urnm-text-light: #ffffff;
  --urnm-text-muted: rgba(255, 255, 255, 0.56);
  --urnm-border-color: rgba(255, 255, 255, 0.08);
  --urnm-nav-height: 76px;
  --urnm-nav-height-scrolled: 64px;
}

/* Header Outer Wrapper */
.esports-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.esports-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 0;
}

.navbar {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: var(--urnm-nav-height);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.96) 0%, rgba(10, 10, 10, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--urnm-border-color);
  font-family: 'Chakra Petch', 'Rajdhani', sans-serif;
  transition: height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.esports-header.is-scrolled .navbar {
  height: var(--urnm-nav-height-scrolled);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Red accents on the far left and right edges */
.edge-accent-left, .edge-accent-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 60px;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.edge-accent-left {
  left: 0;
}

.edge-accent-right {
  right: 0;
}

.edge-accent-left::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -20px;
  width: 40px;
  height: 120%;
  background: linear-gradient(90deg, transparent, var(--urnm-accent-red));
  transform: skewX(-30deg);
  opacity: 0.6;
}

.edge-accent-left::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 15px;
  width: 2px;
  height: 60%;
  background: var(--urnm-accent-red);
  transform: skewX(-30deg);
}

.edge-accent-right::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -20px;
  width: 40px;
  height: 120%;
  background: linear-gradient(-90deg, transparent, var(--urnm-accent-red));
  transform: skewX(30deg);
  opacity: 0.6;
}

.edge-accent-right::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 15px;
  width: 2px;
  height: 60%;
  background: var(--urnm-accent-red);
  transform: skewX(30deg);
}

/* Brand Section with Angled Cutout */
.brand {
  display: flex;
  align-items: center;
  padding: 0 36px 0 45px;
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}

/* Red vertical line separating brand from nav links */
.brand::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--urnm-accent-red);
  z-index: 25;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4px 0;
}

.brand-logo:hover {
  transform: scale(1.03);
}

/* Brand Wordmark (Metaor Aftershift) */
.brand-wordmark {
  font-family: 'Metaor Aftershift', sans-serif !important;
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  display: inline-block;
}

/* Red Square Accent Dot (Baseline Aligned) */
.brand-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--urnm-accent-red);
  margin-left: 2px;
  margin-bottom: 2px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-dot {
  transform: scale(1.2);
}

/* Nav links container */
.nav-links {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0 10px;
  background: transparent;
  position: relative;
}

/* Dynamic Sliding Indicator Underline */
.nav-indicator-slider {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--urnm-accent-red);
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}

.nav-indicator-slider::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--urnm-accent-red);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav-item {
  display: flex;
  align-items: stretch;
  position: relative;
}

/* Subtle hairline separators between links */
.nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 32%;
  height: 36%;
  width: 1px;
  background-color: var(--urnm-border-color);
  pointer-events: none;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 2.6px;
  padding: 0 26px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

/* Minimal hover underline animation */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 36px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  pointer-events: none;
}

.nav-item:not(.active) .nav-link:hover {
  color: #ffffff;
}

.nav-item:not(.active) .nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* Active Nav Item */
.nav-item.active .nav-link {
  color: #ffffff;
}

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 2px;
  background-color: var(--urnm-accent-red);
}

/* External Link Badge */
.nav-badge-ext {
  display: inline-flex;
  align-items: center;
  font-size: 8px;
  padding: 1px 4px;
  margin-left: 6px;
  background: rgba(208, 23, 34, 0.2);
  border: 1px solid rgba(208, 23, 34, 0.5);
  color: var(--urnm-accent-red-bright);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}

/* Nav Actions Section */
.nav-actions {
  display: flex;
  align-items: center;
  padding: 0 35px 0 26px;
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}

/* Glow separator on left of actions */
.nav-actions::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--urnm-border-color);
  z-index: 25;
}

/* Social icons container */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.action-icon {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
}

.action-icon:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.action-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Separator between action groups */
.action-separator {
  width: 1px;
  height: 24px;
  background-color: var(--urnm-border-color);
  margin: 0 16px;
}

/* Angled Contact/Partner CTA Button */
.btn-contact-wrapper {
  position: relative;
  width: 160px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(208, 23, 34, 0.25));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-contact-wrapper:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 15px rgba(208, 23, 34, 0.6));
}

.btn-contact {
  background: transparent;
  color: white;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Metaor Aftershift', sans-serif !important;
  font-weight: 700;
  letter-spacing: 2.5px;
  font-size: 0.95rem;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none;
}

/* The complex angled polygon border shape */
.btn-contact-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--urnm-accent-red);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  z-index: 0;
  transition: filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The inner dark crimson background */
.btn-contact-bg {
  position: absolute;
  top: 1px;
  left: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  background: linear-gradient(135deg, #1A1A1A 0%, #050505 100%);
  clip-path: polygon(13.5px 0, 100% 0, calc(100% - 13.5px) 100%, 0 100%);
  z-index: 1;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Shine animation overlay */
.btn-contact-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects for contact button */
.btn-contact-wrapper:hover .btn-contact-bg {
  background: linear-gradient(135deg, #D01722 0%, #8B0000 100%);
}

.btn-contact-wrapper:hover .btn-contact-bg::after {
  left: 150%;
}

.btn-contact-wrapper:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  z-index: 30;
  padding: 0;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn:hover {
  border-color: var(--urnm-accent-red);
}

.mobile-menu-btn-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.mobile-menu-bar {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: opacity, transform, background-color, border-color, color, box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn.is-active .mobile-menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--urnm-accent-red);
}

.mobile-menu-btn.is-active .mobile-menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.is-active .mobile-menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--urnm-accent-red);
}

/* Responsive Breakpoints */
@media (max-width: 1360px) {
  .nav-link { padding: 0 18px; letter-spacing: 2px; }
  .brand { padding: 0 28px 0 35px; }
  .nav-actions { padding: 0 28px 0 20px; }
  .btn-contact-wrapper { width: 140px; }
}

@media (max-width: 1140px) {
  .nav-socials { display: none; }
  .action-separator { display: none; }
  .nav-link { padding: 0 12px; font-size: 0.72rem; letter-spacing: 1.5px; }
  .brand-wordmark { font-size: 1.55rem; }
  .brand-dot { width: 8px; height: 8px; }
}

@media (max-width: 960px) {
  .edge-accent-left, .edge-accent-right { display: none; }
  .nav-links { display: none; }
  .nav-actions .btn-contact-wrapper { display: none; }
  .action-separator { display: none; }
  .brand {
    clip-path: none;
    padding: 0 20px;
    flex-grow: 1;
    background: transparent;
  }
  .brand::after { display: none; }
  .nav-actions {
    clip-path: none;
    background: transparent;
    padding: 0 15px 0 0;
  }
  .nav-actions::before { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
}





/* Compact, accessible mobile navigation using original URNM artwork. */
#mobile-menu { background:#0c0c0e !important; font-family:'Google Sans',system-ui,sans-serif; }
#mobile-menu .menu-header { padding:22px 22px 18px; background:#0c0c0e; }
#mobile-menu .drawer-brand-logo { display:block; width:114px; height:34px; object-fit:contain; object-position:left center; }
#mobile-menu .menu-header-subtitle { margin-top:9px; font-size:9px; letter-spacing:.13em; color:#909096; }
#close-menu-btn { width:44px; height:44px; border-radius:0; background:#19191c; border-color:#303035; }
#close-menu-btn:hover { color:white; }
#mobile-menu .menu-content { padding:14px 0 !important; overscroll-behavior:contain; }
#mobile-menu .menu-grid-bg { opacity:.06; }
#mobile-menu .menu-list { padding:0 18px; gap:6px; counter-reset:menu-link; }
#mobile-menu .menu-list .nav-item-enter { margin:0; transition-delay:0s; }
#mobile-menu .nav-card-link { position:relative; min-height:66px; padding:12px 18px 12px 52px; border-radius:0; background:transparent; border-color:transparent; box-shadow:none; }
#mobile-menu .nav-card-link::before { counter-increment:menu-link; content:counter(menu-link,decimal-leading-zero); position:absolute; left:16px; top:18px; font:11px/1.5 monospace; color:#66666f; }
#mobile-menu .nav-card-title { font-family:'Google Sans',system-ui,sans-serif; font-size:22px; line-height:1.15; font-style:normal; font-weight:700; letter-spacing:-.035em; margin-bottom:4px; color:#f4f4f5 !important; }
#mobile-menu .nav-card-desc { font-size:9px; line-height:1.3; font-weight:500; letter-spacing:.06em; color:#8d8d98; }
#mobile-menu .nav-card-desc svg { position:absolute; right:16px; top:23px; width:16px; height:16px; color:#72727c; }
#mobile-menu .nav-card-link:hover { background:#19191d; border-color:#303037; }
#mobile-menu .nav-card-link.is-active { background:#d01722 !important; border-color:#d01722 !important; box-shadow:none !important; }
#mobile-menu .nav-card-link.is-active::before { color:#fff; }
#mobile-menu .nav-card-link.is-active .nav-card-title { color:#fff !important; }
#mobile-menu .nav-card-link.is-active .nav-card-desc { color:#fff; }
#mobile-menu .nav-card-link.is-active .nav-card-desc svg { color:#fff; }
#mobile-menu .menu-footer { margin:0; padding:14px 22px max(18px,env(safe-area-inset-bottom)) !important; gap:12px !important; background:#101013 !important; }
#mobile-menu .menu-socials { width:100%; gap:10px; justify-content:space-between; }
#mobile-menu .menu-socials a { width:44px; height:44px; border:1px solid #2b2b32; border-radius:0; background:#19191d; }
#mobile-menu .menu-socials img { width:19px; height:19px; object-fit:contain; filter:brightness(0) invert(1); opacity:.8; }
#mobile-menu .menu-socials a:hover { transform:translateY(-2px); border-color:#e32437; }
#mobile-menu .menu-socials a:hover img { opacity:1; }
#mobile-menu .menu-footer-btn { min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:0; background:#d01722; color:#fff; border-color:#d01722; font-size:10px; letter-spacing:.12em; }
#mobile-menu a:focus-visible,#mobile-menu button:focus-visible { outline:2px solid #ff6674; outline-offset:3px; }
@media(max-height:720px) { #mobile-menu .menu-header { padding:14px 20px; } #mobile-menu .nav-card-link { min-height:58px; padding-top:9px; padding-bottom:9px; } #mobile-menu .nav-card-title { font-size:20px; } #mobile-menu .menu-content { padding:8px 0 !important; } }
@media(prefers-reduced-motion:reduce) { #mobile-menu,#mobile-menu * { transition:none !important; animation:none !important; } }

#mobile-menu,#mobile-menu * { box-sizing:border-box; }
#mobile-menu .menu-content { overflow-x:hidden !important; }
#mobile-menu .drawer-brand-logo { width:54px; height:48px; object-position:center; }
#mobile-menu .menu-header-logo a { gap:10px; }
#mobile-menu .drawer-brand-name { font-size:26px; letter-spacing:-.05em; font-weight:800; color:white; }
#mobile-menu .nav-card-link > div { margin-bottom:0; }
#mobile-menu .nav-card-link > div > span:not(.nav-card-title) { font:9px/1.2 monospace; letter-spacing:.08em; color:#aaa; background:#26262c; padding:4px 6px; margin-right:20px; border-radius:0; }

/* Footer social links: consistent touch targets and solid brand states. */
.footer-social-grid {
 display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;
 width:100%; min-width:0;
}
.footer-social-grid > a {
 display:flex; align-items:center; gap:10px; min-width:0; min-height:48px;
 padding:12px; border:1px solid #333338; border-radius:0;
 background:#111113; color:#e8e8eb; text-decoration:none;
 font-family:'Google Sans',sans-serif; font-size:12px; font-weight:600; line-height:1.3;
 transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.footer-social-grid > a:last-child:nth-child(odd) { grid-column:1 / -1; }
.footer-social-grid > a > span:first-child {
 display:flex; align-items:center; justify-content:center; flex:0 0 18px;
 width:18px; height:18px; color:inherit; transform:none;
}
.footer-social-grid svg { display:block; width:18px; height:18px; max-width:none; fill:currentColor; }
.footer-social-grid > a > span:last-child { min-width:0; overflow:visible; text-overflow:clip; white-space:nowrap; }
@media(hover:hover) {
 .footer-social-grid > a:hover { background:#d01722; border-color:#d01722; color:#fff; }
 .footer-social-grid > a:hover > span:first-child { color:#fff; transform:none; }
}
.footer-social-grid > a:focus-visible { outline:2px solid #fff; outline-offset:3px; background:#d01722; color:#fff; border-color:#d01722; }
.footer-social-grid > a:active { background:#a9121b; border-color:#a9121b; color:#fff; }
@media(prefers-reduced-motion:reduce) { .footer-social-grid > a,.footer-social-grid > a > span { transition:none; } }

/* ==========================================================================
   APPLE DEVICES (iPhone / iPad) & TABLET NAVIGATION REFINEMENTS
   Unifies the 1024px tablet/desktop boundary and adds safe-area support
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-socials { display: none !important; }
  .action-separator { display: none !important; }
  .nav-link { padding: 0 11px; font-size: 0.72rem; letter-spacing: 1.4px; }
  .brand { padding: 0 22px 0 26px; }
  .nav-actions { padding: 0 22px 0 14px; }
}

@media (max-width: 1023px) {
  .edge-accent-left, .edge-accent-right { display: none !important; }
  .nav-links { display: none !important; }
  .nav-actions .btn-contact-wrapper { display: none !important; }
  .action-separator { display: none !important; }
  .brand {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    padding: 0 20px 0 max(20px, env(safe-area-inset-left)) !important;
    flex-grow: 1;
    background: transparent !important;
  }
  .brand::after { display: none !important; }
  .nav-actions {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    background: transparent !important;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 0 !important;
  }
  .nav-actions::before { display: none !important; }
  #menu-btn,
  .mobile-menu-btn,
  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    touch-action: manipulation;
  }
}

/* ==========================================================================
   MINIMAL HAMBURGER ICON (#menu-btn / .mobile-menu-btn / .mobile-menu-toggle)
   Clean, borderless, uniform 3-bar minimal icon with smooth morphing
   ========================================================================== */
#menu-btn,
.mobile-menu-btn,
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  position: relative;
  z-index: 45;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#menu-btn::before,
.mobile-menu-btn::before,
#menu-btn::after,
.mobile-menu-btn::after {
  display: none !important;
  content: none !important;
}

#menu-btn:hover,
.mobile-menu-btn:hover,
.mobile-menu-toggle:hover,
#menu-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.mobile-menu-toggle:focus-visible {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

#menu-btn:active,
.mobile-menu-btn:active,
.mobile-menu-toggle:active {
  transform: scale(0.92);
}

#menu-btn .mobile-menu-btn-inner,
.mobile-menu-btn .mobile-menu-btn-inner,
.mobile-menu-toggle .mobile-menu-btn-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  width: 22px !important;
  height: 16px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

#menu-btn span.mobile-menu-bar,
.mobile-menu-btn span.mobile-menu-bar,
.mobile-menu-toggle span.mobile-menu-bar {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  border-radius: 1px !important;
  transform-origin: center center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background-color 0.2s ease !important;
}

#menu-btn span.mobile-menu-bar:nth-child(1),
.mobile-menu-btn span.mobile-menu-bar:nth-child(1),
#menu-btn span.mobile-menu-bar:nth-child(2),
.mobile-menu-btn span.mobile-menu-bar:nth-child(2),
#menu-btn span.mobile-menu-bar:nth-child(3),
.mobile-menu-btn span.mobile-menu-bar:nth-child(3) {
  width: 22px !important;
  background-color: #ffffff !important;
}

#menu-btn:hover span.mobile-menu-bar,
.mobile-menu-btn:hover span.mobile-menu-bar,
.mobile-menu-toggle:hover span.mobile-menu-bar {
  background-color: #D01722 !important;
}

/* Minimal X morph when menu is open (.is-active) */
#menu-btn.is-active,
.mobile-menu-btn.is-active,
.mobile-menu-toggle.is-active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#menu-btn.is-active span.mobile-menu-bar:nth-child(1),
.mobile-menu-btn.is-active span.mobile-menu-bar:nth-child(1),
.mobile-menu-toggle.is-active span.mobile-menu-bar:nth-child(1) {
  width: 22px !important;
  transform: translateY(7px) rotate(45deg) !important;
  background-color: #ffffff !important;
}

#menu-btn.is-active span.mobile-menu-bar:nth-child(2),
.mobile-menu-btn.is-active span.mobile-menu-bar:nth-child(2),
.mobile-menu-toggle.is-active span.mobile-menu-bar:nth-child(2) {
  width: 22px !important;
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

#menu-btn.is-active span.mobile-menu-bar:nth-child(3),
.mobile-menu-btn.is-active span.mobile-menu-bar:nth-child(3),
.mobile-menu-toggle.is-active span.mobile-menu-bar:nth-child(3) {
  width: 22px !important;
  transform: translateY(-7px) rotate(-45deg) !important;
  background-color: #ffffff !important;
}

#menu-btn.is-active:hover span.mobile-menu-bar,
.mobile-menu-btn.is-active:hover span.mobile-menu-bar,
.mobile-menu-toggle.is-active:hover span.mobile-menu-bar {
  background-color: #D01722 !important;
}

@media (min-width: 640px) and (max-width: 1023px) {
  #mobile-menu {
    width: min(420px, 85vw) !important;
    max-width: 420px !important;
  }
}

/* Safe-area support for notched iPhones & iPads */
#mobile-menu .menu-header {
  padding-top: max(22px, env(safe-area-inset-top)) !important;
  padding-right: max(22px, env(safe-area-inset-right)) !important;
}
#mobile-menu .menu-list {
  padding-right: max(18px, env(safe-area-inset-right)) !important;
}
#mobile-menu .menu-footer {
  padding-right: max(22px, env(safe-area-inset-right)) !important;
}

/* Landscape mobile devices (iPhone landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  #mobile-menu .menu-header { padding: 10px max(18px, env(safe-area-inset-right)) 10px 18px !important; }
  #mobile-menu .drawer-brand-logo { width: 42px; height: 36px; }
  #mobile-menu .drawer-brand-name { font-size: 20px; }
  #mobile-menu .menu-header-subtitle { display: none; }
  #mobile-menu .nav-card-link { min-height: 48px; padding: 8px 16px 8px 46px; }
  #mobile-menu .nav-card-title { font-size: 18px; margin-bottom: 2px; }
  #mobile-menu .menu-footer {
    padding: 10px max(18px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) 18px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  #mobile-menu .menu-socials { width: auto; gap: 8px; }
  #mobile-menu .menu-socials a { width: 38px; height: 38px; }
  #mobile-menu .menu-footer-btn { width: auto; min-height: 38px; padding: 0 16px; }
}
