@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
    --lux-bg: #03040a;
    --lux-bg-deep: #000000;
    --lux-panel: rgba(10, 14, 24, 0.88);
    --lux-panel-strong: rgba(7, 11, 20, 0.96);
    --lux-border: rgba(88, 116, 180, 0.22);
    --lux-border-strong: rgba(154, 176, 226, 0.42);
    --lux-accent: #28457c;
    --lux-accent-soft: rgba(40, 69, 124, 0.16);
    --lux-text: #f4f7fb;
    --lux-muted: rgba(220, 229, 242, 0.8);
    --lux-display: 'Cinzel', 'Times New Roman', serif;
    --lux-body: 'Cormorant Garamond', Georgia, serif;
    --lux-radius: 12px;
    --lux-shadow: 0 18px 45px rgba(0, 0, 0, 0.54);
    --lux-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.34);
    --marquee-frame-h: calc(var(--marquee-h) + 22px);
    --marquee-frame-offset: 8px;
    --center-rail-clearance: clamp(30px, 4vh, 46px);
    --center-content-gap: clamp(88px, 13vh, 130px);
    --headshot-card-w: min(280px, 18vw, calc((100vw - 120px) / 3));
    --headshot-card-h: min(
        clamp(300px, 46vh, 540px),
        calc(100vh - var(--marquee-frame-h) - var(--marquee-frame-h) - var(--center-content-gap))
    );
    --mobile-marquee-speed: 30s;
    --mobile-marquee-distance: 200vw;
    --mobile-marquee-duration: var(--mobile-marquee-speed);
    --lux-header-top: #ffffff;
    --lux-header-mid: #cfe0ff;
    --lux-header-glow: rgba(80, 119, 210, 0.3);
}

html {
    background: var(--lux-bg-deep);
}

body {
    font-family: var(--lux-body);
    color: var(--lux-text);
    background:
        radial-gradient(circle at 50% 20%, rgba(40, 69, 124, 0.14), transparent 22%),
        radial-gradient(circle at top, rgba(40, 69, 124, 0.18), transparent 30%),
        radial-gradient(circle at bottom, rgba(21, 38, 71, 0.14), transparent 24%),
        linear-gradient(180deg, #05060a 0%, #020308 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.03), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 50% 50%, transparent 46%, rgba(0, 0, 0, 0.34) 100%);
    opacity: 0.9;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 8%),
        linear-gradient(0deg, rgba(40, 69, 124, 0.07), transparent 28%);
    mix-blend-mode: screen;
    opacity: 0.42;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.page-loader {
    background:
        radial-gradient(circle at 50% 20%, rgba(40, 69, 124, 0.16), transparent 28%),
        linear-gradient(180deg, #070b12 0%, #000000 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(88, 116, 180, 0.1);
}

.loader-logo,
.loading-text {
    font-family: var(--lux-display);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lux-text);
    text-shadow: 0 0 14px rgba(40, 69, 124, 0.22);
}

.loading-spinner {
    filter: drop-shadow(0 0 10px rgba(40, 69, 124, 0.16));
}

.spinner-ring {
    border-top-color: var(--lux-accent);
}

.spinner-ring:nth-child(2) {
    border-top-color: rgba(88, 116, 180, 0.72);
}

.spinner-ring:nth-child(3) {
    border-top-color: rgba(154, 176, 226, 0.42);
}

.background-marquees {
    background:
        linear-gradient(180deg, rgba(4, 7, 13, 0.88), rgba(2, 4, 9, 0.84)),
        radial-gradient(circle at 50% 0%, rgba(40, 69, 124, 0.08), transparent 35%),
        radial-gradient(circle at 50% 100%, rgba(21, 38, 71, 0.08), transparent 32%);
}

@keyframes slideRight {
    0% { transform: translate3d(-50%, 0, 0); opacity: 0; }
    2% { opacity: 1; }
    98% { opacity: 1; }
    100% { transform: translate3d(0%, 0, 0); opacity: 0; }
}

@keyframes slideLeft {
    0% { transform: translate3d(0%, 0, 0); opacity: 0; }
    2% { opacity: 1; }
    98% { opacity: 1; }
    100% { transform: translate3d(-50%, 0, 0); opacity: 0; }
}

.background-marquees::before,
.background-marquees::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100vw;
    height: var(--marquee-frame-h);
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(110deg, transparent 0%, rgba(205, 218, 250, 0.04) 18%, transparent 34%),
        linear-gradient(180deg, rgba(14, 27, 56, 0.86), rgba(7, 14, 31, 0.88) 48%, rgba(10, 23, 50, 0.88));
    background-size: 420px 100%, 100% 100%;
    border-top: 1px solid rgba(205, 218, 250, 0.1);
    border-bottom: 1px solid rgba(80, 119, 210, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 0 0 1px rgba(88, 116, 180, 0.08),
        inset 0 -1px 0 rgba(80, 119, 210, 0.16),
        0 0 22px rgba(40, 69, 124, 0.14),
        0 12px 26px rgba(0, 0, 0, 0.24);
}

.background-marquees::before {
    top: var(--marquee-frame-offset);
}

.background-marquees::after {
    bottom: var(--marquee-frame-offset);
}

.marquee {
    display: flex;
    align-items: center;
    gap: 18px;
    height: var(--marquee-frame-h);
    padding: 11px 18px;
    box-sizing: border-box;
    background:
        linear-gradient(110deg, transparent 0%, rgba(220, 230, 255, 0.18) 18%, transparent 34%),
        repeating-linear-gradient(90deg, transparent 0 210px, rgba(108, 137, 205, 0.2) 210px 212px, transparent 212px 238px),
        linear-gradient(180deg, rgba(24, 46, 90, 0.94), rgba(9, 19, 42, 0.95) 48%, rgba(15, 34, 72, 0.94));
    background-size: 420px 100%, auto, 100% 100%;
    border-top: 1px solid rgba(205, 218, 250, 0.32);
    border-bottom: 1px solid rgba(80, 119, 210, 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(88, 116, 180, 0.12),
        inset 0 -1px 0 rgba(80, 119, 210, 0.28),
        0 0 26px rgba(40, 69, 124, 0.22),
        0 12px 26px rgba(0, 0, 0, 0.3);
    backface-visibility: hidden;
    contain: layout paint style;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(154, 176, 226, 0.08);
    pointer-events: none;
}

.marquee::before {
    left: 12px;
}

.marquee::after {
    right: 12px;
}

.marquee img {
    background:
        linear-gradient(180deg, rgba(11, 16, 28, 0.96), rgba(6, 9, 17, 0.98));
    border-radius: 14px;
    height: calc(var(--marquee-h) - 22px);
    margin: 0;
    filter: saturate(0.95) contrast(1.03) brightness(0.93);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.42),
        0 0 22px rgba(40, 69, 124, 0.24),
        0 0 0 1px rgba(154, 176, 226, 0.24);
    border: 1px solid rgba(154, 176, 226, 0.24);
    position: relative;
    z-index: 2;
    backface-visibility: hidden;
}

.marquee-right {
    top: var(--marquee-frame-offset);
    animation-delay: 0s;
}

.marquee-left {
    bottom: var(--marquee-frame-offset);
}

@media (max-width: 768px) {
    body {
        background:
            radial-gradient(circle at 50% 38%, rgba(38, 66, 126, 0.26), transparent 34%),
            radial-gradient(circle at 18% 42%, rgba(22, 43, 85, 0.22), transparent 28%),
            radial-gradient(circle at 82% 52%, rgba(40, 69, 124, 0.18), transparent 30%),
            linear-gradient(180deg, #050914 0%, #030711 48%, #020409 100%);
    }

    body::before {
        background:
            linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.02)),
            radial-gradient(circle at 50% 48%, rgba(31, 58, 112, 0.24), transparent 42%),
            radial-gradient(circle at 50% 50%, transparent 44%, rgba(0, 0, 0, 0.28) 100%);
        opacity: 1;
    }

    body::after {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 10%),
            linear-gradient(0deg, rgba(40, 69, 124, 0.12), transparent 34%);
        opacity: 0.5;
    }

    @keyframes slideRightMobile {
        0% { transform: translate3d(calc(-1 * var(--mobile-marquee-distance)), 0, 0); opacity: 0; }
        2% { opacity: 1; }
        98% { opacity: 1; }
        100% { transform: translate3d(0%, 0, 0); opacity: 0; }
    }

    @keyframes slideLeftMobile {
        0% { transform: translate3d(0%, 0, 0); opacity: 0; }
        2% { opacity: 1; }
        98% { opacity: 1; }
        100% { transform: translate3d(calc(-1 * var(--mobile-marquee-distance)), 0, 0); opacity: 0; }
    }

    .marquee {
        width: max-content !important;
        min-width: 300vw !important;
        height: 138px !important;
        padding: 9px 14px !important;
        gap: 12px;
    }

    .marquee-right {
        animation: slideRightMobile var(--mobile-marquee-duration) linear infinite !important;
    }

    .marquee-left {
        animation: slideLeftMobile var(--mobile-marquee-duration) linear infinite !important;
    }

    .marquee img {
        height: 104px !important;
        margin: 0 !important;
    }

    .background-marquees::before,
    .background-marquees::after {
        height: 138px;
    }

    .headshot-container {
        top: 164px !important;
        bottom: 176px !important;
    }

    .social-media {
        transform: translateY(-6px);
    }
}

.headshot-container {
    top: calc(var(--marquee-frame-h) + var(--center-rail-clearance));
    bottom: calc(var(--marquee-frame-h) + var(--center-rail-clearance));
}

.headshots-gallery {
    align-items: center;
}

.headshot-item {
    width: var(--headshot-card-w);
    height: var(--headshot-card-h);
    align-self: center;
    flex: 0 0 auto;
}

.headshot-item:first-child,
.headshot-item:last-child {
    width: var(--headshot-card-w);
    height: var(--headshot-card-h);
}

.headshot-item,
.photo-item,
.video-wrapper,
.contact-card,
.navigation-modal,
.actor-measurements,
.credit-item,
.training-skills p,
.skills-list p {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 18, 31, 0.9), rgba(6, 9, 17, 0.95));
    border: 1px solid var(--lux-border);
    box-shadow:
        var(--lux-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(88, 116, 180, 0.08);
}

.headshot-item {
    border-radius: 14px;
}

.navigation-modal::before,
.contact-card::before,
.video-wrapper::before,
.photo-item::before,
.credit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 26%);
    opacity: 0.9;
    z-index: 0;
}

.navigation-modal > *,
.contact-card > *,
.video-wrapper > *,
.photo-item > *,
.credit-item > * {
    position: relative;
    z-index: 1;
}

.headshot {
    filter: saturate(0.96) contrast(1.04) brightness(0.98);
}

.actor-name-center,
.work-page-title,
.column-title,
.resume-section-block h3,
.contact-header h2,
.contact-section h3,
.actor-header h2,
.back-button,
.nav-link {
    font-family: var(--lux-display);
}

.work-page-title,
.about-page-title,
.photos-page-title,
.reel-page-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--lux-header-top) 0%, var(--lux-header-mid) 48%, var(--lux-header-top) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 10px rgba(205, 218, 250, 0.2),
        0 0 22px var(--lux-header-glow),
        0 0 42px rgba(24, 46, 90, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.22);
    letter-spacing: 0.22em;
    white-space: nowrap;
    margin: 0;
}

.actor-name-center {
    color: #f7fbff;
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 5px;
    text-shadow:
        0 0 10px rgba(44, 74, 140, 0.34),
        0 0 24px rgba(44, 74, 140, 0.28),
        0 0 46px rgba(16, 29, 55, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.78);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: currentColor;
}

.actor-title {
    font-family: var(--lux-display);
    color: rgba(214, 224, 240, 0.78);
    letter-spacing: 0.55em;
    text-shadow: 0 0 14px rgba(40, 69, 124, 0.16);
}

.work-page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 15px 30px;
    height: 70px;
    box-sizing: border-box;
    background:
        linear-gradient(180deg, rgba(18, 30, 54, 0.96), rgba(8, 13, 24, 0.95));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(114, 145, 214, 0.3);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.24),
        0 0 30px rgba(40, 69, 124, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(114, 145, 214, 0.12);
}

.page-transition-active::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(40, 69, 124, 0.2), transparent 42%),
        linear-gradient(180deg, rgba(3, 6, 14, 0.1), rgba(0, 0, 0, 0.72));
    animation: luxPageVeil 0.78s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes luxPageVeil {
    0% {
        opacity: 0;
    }
    72% {
        opacity: 0.28;
    }
    100% {
        opacity: 0.64;
    }
}

.navigation-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navigation-modal::before {
    content: none;
    display: none;
}

.main-navigation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
    grid-row: 2;
}

.name-item {
    row-gap: 22px;
    height: var(--headshot-card-h);
    align-self: center;
}

.nav-menu {
    width: min(100%, 440px);
    gap: 16px 28px;
}

.nav-link {
    background: linear-gradient(180deg, rgba(13, 18, 32, 0.98), rgba(7, 10, 18, 0.96));
    border: 1px solid rgba(88, 116, 180, 0.26);
    color: var(--lux-text);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(88, 116, 180, 0.1);
    letter-spacing: 0.08em;
    border-radius: 8px;
    padding: 12px 18px;
    min-height: 52px;
    font-size: 0.95em;
}

.nav-link:hover {
    background: linear-gradient(180deg, rgba(20, 34, 60, 0.98), rgba(10, 16, 30, 0.98));
    border-color: rgba(154, 176, 226, 0.44);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(154, 176, 226, 0.18),
        0 0 18px rgba(40, 69, 124, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.nav-text {
    font-family: var(--lux-display);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-align: center;
}

.download-link {
    background: linear-gradient(180deg, rgba(24, 40, 73, 0.98), rgba(13, 22, 41, 0.96));
    border-color: rgba(88, 116, 180, 0.42);
}

.download-link:hover {
    background: linear-gradient(180deg, rgba(36, 61, 110, 0.98), rgba(17, 28, 52, 0.98));
}

.social-link {
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.36),
        0 0 20px rgba(40, 69, 124, 0.16);
}

.imdb-link {
    border-color: rgba(88, 116, 180, 0.42) !important;
    background: linear-gradient(180deg, #16253f 0%, #0b1323 100%) !important;
    color: #f5f8ff !important;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.36),
        0 0 22px rgba(88, 116, 180, 0.18) !important;
}

.imdb-link:hover {
    border-color: rgba(154, 176, 226, 0.54) !important;
}

.instagram-link {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.contact-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 620px);
    max-width: 620px;
    max-height: min(78vh, 760px);
    overflow: auto;
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.96), rgba(4, 7, 13, 0.98));
    border-color: rgba(88, 116, 180, 0.18);
    z-index: 1200;
}

.contact-header h2,
.contact-section h3,
.actor-header h2,
.column-title,
.resume-section-block h3 {
    background: linear-gradient(180deg, var(--lux-header-top) 0%, var(--lux-header-mid) 48%, var(--lux-header-top) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 10px rgba(205, 218, 250, 0.16),
        0 0 22px var(--lux-header-glow),
        0 0 36px rgba(24, 46, 90, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.18);
    letter-spacing: 0.18em;
}

.contact-section a,
.article-content p,
.credit-item p,
.credit-details,
.physical-stats,
.age-stats {
    color: var(--lux-muted);
}

.contact-section a:hover,
.phone-link:hover,
.email-link:hover {
    color: #d7e2f4 !important;
    text-shadow: 0 0 10px rgba(40, 69, 124, 0.24);
}

.back-button {
    background: linear-gradient(180deg, rgba(14, 20, 34, 0.98), rgba(7, 11, 20, 0.96));
    border: 1px solid rgba(88, 116, 180, 0.26);
    color: var(--lux-text);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(88, 116, 180, 0.1);
    letter-spacing: 0.08em;
    border-radius: 4px;
    min-height: 44px;
    padding: 10px 20px;
}

.back-button:hover {
    background: linear-gradient(180deg, rgba(24, 40, 73, 0.98), rgba(12, 18, 33, 0.98));
    border-color: rgba(154, 176, 226, 0.46);
    transform: translateY(-1px);
}

@media (max-height: 850px) and (min-width: 769px) {
    :root {
        --center-content-gap: clamp(72px, 11vh, 112px);
    }

    .name-content {
        margin-top: 10px;
    }

    .name-item {
        row-gap: 14px;
    }

    .actor-name-center {
        font-size: 2.75em;
        line-height: 1;
        margin-bottom: 12px;
        letter-spacing: 4px;
    }

    .actor-title {
        font-size: 1.08em;
        letter-spacing: 0.46em;
        line-height: 1.1;
    }

    .main-navigation {
        padding-top: 4px;
    }

    .nav-menu {
        width: min(100%, 400px);
        gap: 12px 24px;
    }

    .nav-link {
        min-height: 46px;
        padding: 10px 16px;
        font-size: 0.86em;
    }

    .download-link {
        gap: 8px;
    }
}

@media (max-height: 760px) and (min-width: 769px) {
    :root {
        --center-content-gap: clamp(62px, 10vh, 96px);
    }

    .name-item {
        row-gap: 10px;
    }

    .actor-name-center {
        font-size: 2.45em;
        margin-bottom: 8px;
        letter-spacing: 3px;
    }

    .actor-title {
        font-size: 0.98em;
        letter-spacing: 0.38em;
    }

    .nav-menu {
        width: min(100%, 370px);
        gap: 10px 18px;
    }

    .nav-link {
        min-height: 42px;
        padding: 9px 14px;
        font-size: 0.82em;
    }
}

.actor-measurements,
.credit-item,
.training-skills p,
.skills-list p,
.photo-item,
.video-wrapper,
.modal-image,
.featured-headshot-float {
    border-radius: 14px;
}

.column-title,
.resume-section-block h3 {
    border-bottom-color: rgba(88, 116, 180, 0.24);
}

.gallery-thumbnail,
.gallery-photo {
    filter: saturate(0.96) contrast(1.03) brightness(0.96);
}

.photo-item:hover {
    border-color: rgba(154, 176, 226, 0.36);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.46), 0 0 18px rgba(40, 69, 124, 0.1);
}

.video-wrapper {
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(40, 69, 124, 0.1);
}

.modal {
    background-color: rgba(0, 0, 0, 0.92);
}

.close-button {
    background: rgba(10, 14, 24, 0.94);
    color: var(--lux-text);
    border: 1px solid rgba(88, 116, 180, 0.22);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.close-button:hover {
    color: #d7e2f4;
}

@media (max-width: 768px) {
    .actor-name-center,
    .work-page-title {
        letter-spacing: 0.16em;
    }

    .work-page-title {
        max-width: calc(100vw - 150px);
        font-size: clamp(1.05rem, 5.4vw, 1.65rem);
        letter-spacing: clamp(0.08em, 1.4vw, 0.15em);
        line-height: 1.08;
        white-space: nowrap;
    }

    .work-page-header {
        padding: 15px 20px;
        min-height: 70px;
        height: auto;
    }

    .nav-link {
        letter-spacing: 0.06em;
    }

    .header-spacer {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .name-item {
        row-gap: 16px;
    }

    .main-navigation {
        padding-top: 8px;
    }

    .nav-menu {
        width: 100%;
        gap: 12px 14px;
    }

    .nav-link {
        flex-direction: row !important;
        padding: 12px 14px !important;
        min-height: 48px !important;
        font-size: 0.92em !important;
        color: var(--lux-text) !important;
        background: linear-gradient(180deg, rgba(13, 18, 32, 0.98), rgba(7, 10, 18, 0.96)) !important;
        border: 1px solid rgba(88, 116, 180, 0.3) !important;
        border-radius: 8px !important;
        box-shadow:
            0 12px 24px rgba(0, 0, 0, 0.44),
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            inset 0 -1px 0 rgba(88, 116, 180, 0.12) !important;
        letter-spacing: 0.06em !important;
        text-shadow: none !important;
    }

    .nav-text {
        font-family: var(--lux-display) !important;
        font-size: 1em !important;
        letter-spacing: 0.06em !important;
        white-space: nowrap !important;
    }

    .download-link {
        background: linear-gradient(180deg, rgba(24, 40, 73, 0.98), rgba(13, 22, 41, 0.96)) !important;
        border-color: rgba(88, 116, 180, 0.48) !important;
        color: var(--lux-text) !important;
        gap: 7px !important;
    }

    .download-link .nav-text {
        font-size: 0.92em !important;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        background: linear-gradient(180deg, rgba(20, 34, 60, 0.98), rgba(10, 16, 30, 0.98)) !important;
        border-color: rgba(154, 176, 226, 0.44) !important;
        box-shadow:
            0 16px 30px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(154, 176, 226, 0.18),
            0 0 18px rgba(40, 69, 124, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        color: var(--lux-text) !important;
    }

    .navigation-modal {
        width: 100%;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .navigation-modal::before {
        content: none !important;
        display: none !important;
    }

    .contact-card {
        width: min(92vw, 420px);
        max-width: 420px;
        max-height: min(78vh, 660px);
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 22px;
    }

    .contact-header {
        min-height: 42px;
        padding: 0 52px;
        margin-bottom: 18px;
        justify-content: center;
        position: relative;
    }

    .contact-header h2,
    .contact-card h2 {
        max-width: 100%;
        margin: 0 !important;
        font-size: clamp(1.05rem, 5vw, 1.28rem) !important;
        line-height: 1.1;
        white-space: normal;
        text-align: center;
    }

    .contact-header h2 {
        font-size: 0 !important;
    }

    .contact-header h2::after {
        content: "Contact";
        display: inline-block;
        font-size: clamp(1.05rem, 5vw, 1.28rem);
        line-height: 1.1;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .close-contact {
        top: 0 !important;
        right: 0 !important;
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 24px !important;
        line-height: 1 !important;
        background: rgba(10, 14, 24, 0.86) !important;
        border: 1px solid rgba(88, 116, 180, 0.26) !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28) !important;
        color: var(--lux-text) !important;
    }

    .back-button {
        width: auto;
        height: auto;
        border-radius: 4px;
        padding: 9px 16px;
        min-height: 40px;
    }
}
