@view-transition {
  navigation: auto;
}

@layer base {
  html, body {
    margin: 0;
    padding: 0;
    background-color: #17130a;
    color: #ebe1d1;
  }
  body {
    overscroll-behavior: none;
    animation: ehoser-page-enter 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: opacity 0.18s cubic-bezier(0.4, 0, 1, 1), transform 0.18s cubic-bezier(0.4, 0, 1, 1), filter 0.18s ease;
  }
}

body.ehoser-leaving {
  opacity: 0;
  transform: translateY(-6px) scale(0.996);
  filter: blur(2px);
  pointer-events: none;
}

@keyframes ehoser-page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::view-transition-old(root) {
  animation: 180ms cubic-bezier(0.4, 0, 1, 1) both ehoser-vt-out;
}

::view-transition-new(root) {
  animation: 260ms cubic-bezier(0.22, 1, 0.36, 1) both ehoser-vt-in;
}

@keyframes ehoser-vt-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes ehoser-vt-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(17, 14, 6, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.35);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 193, 116, 0.65);
}

.gold-text-gradient {
  background: linear-gradient(180deg, #FFF7D6 0%, #FFD666 35%, #E09B1B 70%, #9E6307 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(245, 184, 46, 0.35));
}

.hero-logo-3d {
  background: linear-gradient(180deg, #FFF9E2 0%, #FFE07D 28%, #E6A11E 62%, #9C5E05 90%, #F7C95C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 0px #593302) drop-shadow(0 12px 24px rgba(255, 196, 54, 0.45));
}

.gold-glass-card {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 18, 12, 0.86) 0%, rgba(10, 8, 5, 0.92) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 184, 46, 0.35);
  box-shadow:
    0 0 18px rgba(245, 184, 46, 0.14),
    inset 0 1px 1px rgba(255, 230, 153, 0.22),
    inset 0 -1px 1px rgba(245, 184, 46, 0.12);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.gold-glass-card:hover {
  border-color: rgba(255, 215, 100, 0.72);
  box-shadow:
    0 0 28px rgba(245, 184, 46, 0.26),
    inset 0 1px 2px rgba(255, 230, 153, 0.32);
  transform: translateY(-2px);
}

.nav-active-pill {
  background: linear-gradient(180deg, rgba(245, 184, 46, 0.28) 0%, rgba(166, 106, 8, 0.18) 100%);
  border: 1px solid rgba(255, 214, 102, 0.75);
  box-shadow: 0 0 16px rgba(245, 184, 46, 0.4), inset 0 0 8px rgba(255, 214, 102, 0.2);
}

@keyframes ehoser-fade-in {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-fade-in {
  animation: ehoser-fade-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
