/* ============================================================
   BLAKE'S EMPORIUMS — GLOBAL STYLES
   Standalone theme, no parent required.
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #04101e;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── HEADER ─────────────────────────────────────────────── */
.be-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4, 16, 30, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 300ms ease, box-shadow 300ms ease;
}

.be-header.is-scrolled {
    background: rgba(4, 16, 30, 0.97);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

.be-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    gap: 1.5rem;
}

/* ── LOGO ───────────────────────────────────────────────── */
.be-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    transition: opacity 200ms ease;
}
.be-logo:hover { opacity: 0.82; }

.be-logo__ring {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 200ms ease, background 200ms ease;
}
.be-logo:hover .be-logo__ring {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
}
.be-logo__ring span {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.be-logo__name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

/* ── DESKTOP NAV ────────────────────────────────────────── */
.be-nav {
    display: none;
    align-items: center;
    gap: 0.125rem;
    flex: 1;
    justify-content: center;
}

.be-nav__link {
    position: relative;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1.1rem;
    border-radius: 0.5rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 180ms ease, background 180ms ease;
}

/* animated underline */
.be-nav__link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 22px);
    height: 1.5px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 2px;
    transition: transform 200ms ease;
}

.be-nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}
.be-nav__link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.be-nav__link--active {
    color: #ffffff;
}
.be-nav__link--active::after {
    transform: translateX(-50%) scaleX(1);
    background: rgba(255, 255, 255, 0.85);
}

/* ── CTA BUTTON ─────────────────────────────────────────── */
.be-header__cta {
    display: none;
    align-items: center;
    flex-shrink: 0;
}

.be-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #071828;
    background: #ffffff;
    border: 2px solid #ffffff;
    padding: 9px 22px;
    border-radius: 0.5rem;
    white-space: nowrap;
    transition: background 180ms ease, border-color 180ms ease,
                color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.be-btn-primary:hover {
    background: #ddeef8;
    border-color: #ddeef8;
    color: #04101e;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}
.be-btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── HAMBURGER ──────────────────────────────────────────── */
.be-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    padding: 0;
    gap: 5px;
    z-index: 1001;
    flex-shrink: 0;
}
.be-hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: transform 250ms ease, opacity 250ms ease;
    transform-origin: center;
}
.be-hamburger.is-active .be-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.be-hamburger.is-active .be-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.be-hamburger.is-active .be-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ────────────────────────────────────────── */
.be-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #04101e;
    display: flex;
    flex-direction: column;
    padding: 88px 2rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms ease, visibility 250ms ease;
}
.be-mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.be-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.be-mobile-menu__link {
    font-weight: 700;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: -0.025em;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 150ms ease, padding-left 150ms ease;
}
.be-mobile-menu__link:hover,
.be-mobile-menu__link.is-active {
    color: #ffffff;
    padding-left: 0.875rem;
}

.be-mobile-menu__cta {
    margin-top: auto;
    padding-top: 2rem;
}
.be-mobile-menu__cta .be-btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: 0.625rem;
}

/* ── MAIN CONTENT WRAPPER ───────────────────────────────── */
.be-main {
    padding-top: 68px;
    min-height: 60vh;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (min-width: 1024px) {
    .be-nav         { display: flex; }
    .be-header__cta { display: flex; }
    .be-hamburger   { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
