* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #090909;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    line-height: 1.8;
    text-align: center;
}

body.rtl-layout {
    direction: rtl;
}

body.ltr-layout {
    direction: ltr;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

html.scroll-effects-ready .scroll-depth-section {
    position: relative;
    z-index: var(--depth-layer, 0);
    opacity: var(--depth-opacity, 0.14);
    filter: blur(var(--depth-blur, 10px));
    transform: scale(var(--depth-scale, 0.78));
    transform-origin: center center;
    transition:
        opacity 0.12s linear,
        filter 0.12s linear,
        transform 0.12s linear;
    will-change: opacity, filter, transform;
}

.site-header {
    width: 100%;
}

.topbar {
    background: rgba(9, 9, 9, 0.96);
    border-bottom: 1px solid #171717;
    padding: 14px 16px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-floating {
    position: sticky;
    top: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 14px;
    background: transparent;
    border: none;
    position: relative;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: transparent;
}

.menu-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: #d8d8d8;
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid #1d1d1d;
    font-size: 14px;
    transition: 0.25s;
    backdrop-filter: blur(6px);
}

.menu-link:hover {
    color: #ffffff;
    background: #161616;
    border-color: #2a2a2a;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 220px;
    padding: 12px 48px 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(83, 255, 249, 0.22);
    background: linear-gradient(135deg, #ffffff 0%, #eefefe 55%, #f7f7f7 100%);
    color: #050505;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    outline: none;
    text-align: center;
    text-align-last: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.22),
        0 0 18px rgba(83, 255, 249, 0.10),
        0 0 22px rgba(255, 0, 98, 0.05),
        inset 0 0 10px rgba(255, 255, 255, 0.55);
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.08),
        1px 0 rgba(83, 255, 249, 0.12);
    animation: langPulseGlitchWhite 2.8s infinite;
}

.lang-select:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(83, 255, 249, 0.38);
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.30),
        0 0 22px rgba(83, 255, 249, 0.14),
        0 0 26px rgba(255, 0, 98, 0.08),
        inset 0 0 10px rgba(255, 255, 255, 0.65);
}

.lang-select:focus,
.lang-select:focus-visible {
    border-color: rgba(83, 255, 249, 0.48);
    box-shadow:
        0 0 0 2px rgba(83,255,249,0.10),
        0 0 18px rgba(255,255,255,0.28),
        0 0 24px rgba(83,255,249,0.18),
        0 0 30px rgba(255,0,98,0.08),
        inset 0 0 10px rgba(255,255,255,0.65);
}

.lang-select,
.lang-select option {
    font-family: Arial, sans-serif;
}

.lang-select option {
    background: #070707;
    color: #ffffff;
    font-weight: 700;
    padding: 12px;
    text-align: center;
}

.menu-floating::after {
    content: "▾";
    position: absolute;
    bottom: 25px;
    right: calc(50% - 97px);
    pointer-events: none;
    color: #050505;
    font-size: 13px;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.20),
        1px 0 rgba(83, 255, 249, 0.22),
        0 0 8px rgba(255,255,255,0.12);
    animation: langArrowFlicker 1.8s infinite;
}

.hero {
    min-height: 82vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0;
}

.hero-overlay {
    width: 100%;
    max-width: 900px;
    padding: 34px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-logo-frame {
    position: relative;
    width: min(410px, 88vw);
    height: 215px;
    margin-bottom: 10px;
    overflow: hidden;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: contain;
    display: block;
    transform: translate(-52%, -58%);
    animation: brokenFlicker 2.8s infinite;
    filter:
        drop-shadow(0 0 6px rgba(255,255,255,0.35))
        drop-shadow(0 0 18px rgba(255,255,255,0.18))
        drop-shadow(0 0 32px rgba(255,255,255,0.10));
}

.hero-title {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-text {
    max-width: 700px;
    color: #d3d3d3;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.main-btn {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: black;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.25s;
}

.main-btn:hover {
    background: #dbdbdb;
    transform: translateY(-2px);
}

.ghost-btn {
    display: inline-block;
    padding: 12px 20px;
    background: transparent;
    color: white;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    font-size: 14px;
    transition: 0.25s;
}

.ghost-btn:hover {
    background: #141414;
    transform: translateY(-2px);
}

.container {
    width: 92%;
    max-width: 920px;
    margin: 28px auto 40px;
}

.section-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 26px 18px;
    margin-bottom: 18px;
    box-shadow: none;
}

.section-label {
    color: #8e8e8e;
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-text {
    max-width: 760px;
    margin: 0 auto;
    color: #cdcdcd;
    font-size: 17px;
}

.account-block {
    margin-top: 20px;
}

.youtube-main-btn {
    -webkit-tap-highlight-color: transparent;
}

.youtube-main-btn {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: transparent;
    color: white;
    border: none;
    border-radius: 0;
    padding: 14px 18px 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.25s;
    position: relative;
}

.youtube-main-btn::after {
    content: "▾";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: 0.25s;
}

.youtube-main-btn:hover,
.youtube-main-btn:active,
.youtube-main-btn:focus-visible,
.youtube-main-btn.open {
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(255,255,255,0.35),
        0 0 14px rgba(255,255,255,0.18),
        0 0 24px rgba(255,255,255,0.10);
}

.youtube-main-btn.open::after {
    content: "▴";
}

.youtube-main-btn img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.youtube-main-btn span {
    font-size: 16px;
    font-weight: bold;
}

.youtube-accounts {
    display: none;
    margin-top: 16px;
    gap: 14px;
    flex-direction: column;
}

.youtube-accounts.show-youtube {
    display: flex;
}

.mini-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px 0;
    box-shadow: none;
}

.mini-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.mini-card p {
    color: #cbcbcb;
    font-size: 15px;
    margin-bottom: 12px;
}

.small-link {
    display: inline-block;
    padding: 10px 16px;
    background: white;
    color: black;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.25s;
}

.small-link:hover {
    background: #d9d9d9;
}

.accounts-simple {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.simple-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 18px 0;
    box-shadow: none;
}

.simple-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 8px;
}

.simple-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.simple-card p {
    color: #cfcfcf;
    font-size: 15px;
    margin-bottom: 12px;
}

.projects-showcase {
    position: relative;
    width: 100%;
    margin: 42px 0 52px;
    padding: 22px 0 0;
    background: transparent;
}

.projects-heading {
    margin-bottom: 22px;
    padding: 0 32px;
    text-align: center;
}

.projects-showcase .section-title {
    margin-bottom: 0;
    animation: none;
}

.projects-grid {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    direction: ltr;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}

.projects-grid::after {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 50%;
    z-index: 5;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-0.5px);
    pointer-events: none;
}

.project-panel {
    --project-accent: #70fff8;
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 760px;
    overflow: hidden;
    background: transparent;
}

.project-panel-nsl {
    --project-accent: #67db4b;
    --project-gold: #e8b83f;
}

.project-panel-mnc {
    --project-accent: #70fff8;
}

.project-panel-backdrop,
.project-panel-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.project-panel-backdrop {
    z-index: -3;
    inset: -2%;
    background-position: center top;
    background-size: cover;
    opacity: 0;
    filter: brightness(0.58) saturate(0.84) contrast(1.1);
    transform: scale(1.04);
    transition: opacity 0.55s ease;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
}

.project-panel-backdrop.is-visible {
    opacity: 0.58;
}

.project-panel-shade {
    z-index: -2;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.32) 31%, rgba(0, 0, 0, 0.76) 58%, rgba(0, 0, 0, 0.22) 82%, transparent 100%);
}

.project-panel-content {
    min-height: 760px;
    padding: clamp(30px, 4.5vw, 68px);
    display: flex;
    flex-direction: column;
}

.rtl-layout .project-panel-copy,
.rtl-layout .project-media-block {
    direction: rtl;
    text-align: right;
}

.ltr-layout .project-panel-copy,
.ltr-layout .project-media-block {
    direction: ltr;
    text-align: left;
}

.rtl-layout .project-action-row {
    direction: rtl;
}

.project-logo-shell {
    min-height: 285px;
    padding: 26px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo-art {
    width: min(92%, 620px);
    max-height: 205px;
    object-fit: contain;
    filter:
        drop-shadow(-2px 0 rgba(255, 0, 98, 0.34))
        drop-shadow(2px 0 rgba(83, 255, 249, 0.38))
        drop-shadow(0 12px 26px rgba(0, 0, 0, 0.6));
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-panel-copy {
    margin-top: auto;
    padding: 18px 0 4px;
}

.project-media-block {
    margin-top: 18px;
}

.project-media-label {
    margin-bottom: 8px;
    color: #bdbdbd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.project-media-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 12px;
    overflow: hidden;
    background: #000000;
    border-radius: 16px;
}

.project-media-preview > img,
.project-media-preview > video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: inherit;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.project-media-preview > video {
    background: #000000;
}

.project-media-preview > img {
    cursor: zoom-in;
}

.project-media-preview > img:focus-visible {
    outline: 2px solid var(--project-accent);
    outline-offset: -4px;
}

.project-media-preview.is-changing > img,
.project-media-preview.is-changing > video {
    opacity: 0;
}

.project-media-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 12px;
}

.project-media-strip.is-scrollable {
    display: flex;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--project-accent) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.project-media-strip.is-scrollable .project-media-thumb {
    flex: 0 0 clamp(92px, 8vw, 122px);
    scroll-snap-align: start;
}

.project-media-thumb {
    position: relative;
    height: clamp(58px, 5.2vw, 82px);
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 10px;
    opacity: 0.48;
    cursor: pointer;
    transition: opacity 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.project-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: saturate(0.82) contrast(1.08);
}

.project-media-thumb.is-video::after {
    content: "▶";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.project-media-strip.is-scrollable::-webkit-scrollbar {
    height: 6px;
}

.project-media-strip.is-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.project-media-strip.is-scrollable::-webkit-scrollbar-thumb {
    background: var(--project-accent);
    border-radius: 999px;
}

.project-media-thumb:hover,
.project-media-thumb:focus-visible,
.project-media-thumb.is-active {
    opacity: 1;
    border-color: var(--project-accent);
    transform: translateY(-3px);
    box-shadow: none;
}

body.image-lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: clamp(10px, 2vw, 28px);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-lightbox-shell {
    width: min(1500px, 100%);
    height: min(940px, 100%);
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
}

.image-lightbox-header,
.image-lightbox-footer {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.image-lightbox-header {
    justify-content: space-between;
}

.image-lightbox-title {
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-lightbox-close,
.image-lightbox-nav,
.image-lightbox-zoom button {
    display: grid;
    place-items: center;
    padding: 0;
    color: #ffffff;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.image-lightbox-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 28px;
    line-height: 1;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible,
.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible,
.image-lightbox-zoom button:hover,
.image-lightbox-zoom button:focus-visible {
    color: #000000;
    background: #ffffff;
    border-color: #ffffff;
    outline: none;
}

.image-lightbox-stage {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: clamp(8px, 1.6vw, 20px);
}

.image-lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 38px;
    line-height: 1;
}

.image-lightbox-viewport {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 14px;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.025);
    border-radius: 18px;
    scrollbar-color: rgba(255, 255, 255, 0.56) transparent;
    scrollbar-width: thin;
}

.image-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 16px;
    transform: scale(var(--image-lightbox-zoom, 1));
    transform-origin: center;
    transition: transform 0.16s ease, opacity 0.16s ease;
    user-select: none;
    cursor: zoom-in;
}

.image-lightbox-image.is-zoomed {
    cursor: zoom-out;
}

.image-lightbox-footer {
    justify-content: space-between;
}

.image-lightbox-counter {
    min-width: 72px;
    color: #d7d7d7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.image-lightbox-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.image-lightbox-zoom button {
    width: 42px;
    height: 42px;
    font-size: 22px;
}

.image-lightbox-zoom .image-lightbox-zoom-value {
    width: 72px;
    font-size: 12px;
    font-weight: 800;
}

.image-lightbox-zoom button:disabled {
    opacity: 0.35;
    cursor: default;
}

.image-lightbox-hint {
    color: #a8a8a8;
    font-size: 11px;
    text-align: right;
}

@media (max-width: 700px) {
    .image-lightbox {
        padding: 8px;
    }

    .image-lightbox-shell {
        gap: 8px;
    }

    .image-lightbox-stage {
        position: relative;
        display: block;
    }

    .image-lightbox-viewport {
        height: 100%;
        padding: 8px;
        border-radius: 14px;
    }

    .image-lightbox-nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 42px;
        height: 42px;
        font-size: 32px;
        transform: translateY(-50%);
    }

    .image-lightbox-nav:hover,
    .image-lightbox-nav:focus-visible {
        transform: translateY(-50%);
    }

    .image-lightbox-prev {
        left: 8px;
    }

    .image-lightbox-next {
        right: 8px;
    }

    .image-lightbox-footer {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    .image-lightbox-counter {
        min-width: 56px;
    }

    .image-lightbox-hint {
        width: 100%;
        text-align: center;
    }
}

.project-action-row {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.project-page-link {
    min-height: auto;
    padding: 10px 18px;
    flex: 0 1 auto;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    box-shadow: none;
}

.project-page-link:hover,
.project-page-link:focus-visible {
    color: #050505;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: none;
    transform: translateY(-1px);
}

.project-wait-group {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: ltr;
}

.project-wait-button,
.project-wait-count {
    min-height: auto;
}

.project-wait-button {
    padding: 10px 18px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.22s ease;
}

.project-wait-button:hover:not(:disabled),
.project-wait-button:focus-visible:not(:disabled) {
    color: #050505;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.project-wait-button.is-waiting,
.project-wait-button:disabled {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    cursor: default;
    opacity: 0.84;
}

.project-wait-count {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.project-display-title {
    color: #ffffff;
    font-size: clamp(36px, 3.8vw, 58px);
    line-height: 0.98;
    letter-spacing: -1.8px;
    text-shadow: 0 15px 35px rgba(0, 0, 0, 0.75);
}

.project-display-vibe {
    margin-top: 13px;
    color: #d8e9ed;
    font-size: 15px;
    font-weight: 700;
}

.project-description-wrap {
    position: relative;
    margin-top: 18px;
}

.project-description {
    max-height: 7.6em;
    overflow: hidden;
    color: #d3d3d3;
    font-size: 14px;
    line-height: 1.9;
    text-align: start;
    text-wrap: pretty;
    transition: max-height 520ms ease;
}

.project-description.is-expanded {
    max-height: 2200px;
    overflow: visible;
}

.project-description p {
    margin: 0;
}

.project-description p + p,
.project-description-list + p {
    margin-top: 13px;
}

.project-description-heading {
    margin: 21px 0 7px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-description-heading.is-warning {
    color: var(--project-accent);
}

.project-description-warning s {
    text-decoration-thickness: 1px;
}

.project-description-list {
    margin: 9px 0 0;
    padding-inline-start: 22px;
}

.project-description-list li + li {
    margin-top: 4px;
}

.description-toggle {
    margin-top: 11px;
    padding: 0 0 3px;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.description-toggle:hover,
.description-toggle:focus-visible {
    color: var(--project-accent);
    border-color: var(--project-accent);
}

.project-credits {
    width: fit-content;
    margin-top: 14px;
    margin-inline-end: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    direction: ltr;
    color: #ffffff;
    text-align: left;
}

.project-credits-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.project-credit-person {
    min-height: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-credit-details {
    min-width: 126px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.project-credit-name {
    font-size: 13px;
    line-height: 1;
}

.project-credit-role {
    color: rgba(255, 255, 255, 0.64);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.project-credit-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-credit-links a {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.72;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.project-credit-links a:hover,
.project-credit-links a:focus-visible {
    border-color: rgba(255, 255, 255, 0.72);
    opacity: 1;
    transform: translateY(-1px);
}

.project-credit-links img {
    width: 12px;
    height: 12px;
    display: block;
    object-fit: contain;
}

.footer {
    padding: 18px 14px 26px;
    border-top: 1px solid #151515;
    text-align: center;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.footer-icons a {
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}

.footer-icons a:hover {
    transform: translateY(-2px);
}

.footer-icons img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-copy {
    font-size: 13px;
    color: #9b9b9b;
}

@media (min-width: 900px) {
    .topbar {
        padding: 16px 30px 10px;
    }

    .menu-floating {
        padding: 12px 30px 16px;
    }

    .logo-img {
        width: 68px;
        height: 68px;
    }

    .hero-logo-frame {
        width: 470px;
        height: 250px;
    }

    .hero-logo {
        width: 560px;
        max-width: none;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-text {
        font-size: 20px;
    }

    .section-title {
        font-size: 40px;
    }
}

@keyframes brokenFlicker {
    0% {
        opacity: 1;
        filter:
            drop-shadow(0 0 6px rgba(255,255,255,0.35))
            drop-shadow(0 0 18px rgba(255,255,255,0.18))
            drop-shadow(0 0 32px rgba(255,255,255,0.10));
    }

    4% {
        opacity: 0.45;
        filter:
            drop-shadow(0 0 2px rgba(255,255,255,0.10))
            drop-shadow(0 0 6px rgba(255,255,255,0.06));
    }

    8% {
        opacity: 1;
        filter:
            drop-shadow(0 0 10px rgba(255,255,255,0.45))
            drop-shadow(0 0 24px rgba(255,255,255,0.22))
            drop-shadow(0 0 40px rgba(255,255,255,0.12));
    }

    11% {
        opacity: 0.2;
        filter: none;
    }

    14% {
        opacity: 0.95;
    }

    27% {
        opacity: 1;
    }

    30% {
        opacity: 0.55;
    }

    32% {
        opacity: 1;
    }

    58% {
        opacity: 0.92;
    }

    60% {
        opacity: 0.35;
        filter:
            drop-shadow(0 0 2px rgba(255,255,255,0.08))
            drop-shadow(0 0 8px rgba(255,255,255,0.05));
    }

    64% {
        opacity: 1;
        filter:
            drop-shadow(0 0 10px rgba(255,255,255,0.40))
            drop-shadow(0 0 22px rgba(255,255,255,0.18))
            drop-shadow(0 0 38px rgba(255,255,255,0.10));
    }

    100% {
        opacity: 1;
        filter:
            drop-shadow(0 0 6px rgba(255,255,255,0.35))
            drop-shadow(0 0 18px rgba(255,255,255,0.18))
            drop-shadow(0 0 32px rgba(255,255,255,0.10));
    }
}

@keyframes imagePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

.youtube-main-btn span {
    position: relative;
    display: inline-block;
    transition: 0.25s;
}

.youtube-main-btn:hover span,
.youtube-main-btn:active span,
.youtube-main-btn:focus-visible span,
.youtube-main-btn.open span {
    color: #ffffff;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.40),
        1px 0 rgba(83, 255, 249, 0.55),
        0 0 8px rgba(255,255,255,0.28),
        0 0 18px rgba(83,255,249,0.12);
    animation: textGlitchGlow 0.9s infinite;
}

@keyframes textGlitchGlow {
    0% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }

    18% {
        transform: translateX(0.4px);
        text-shadow:
            -2px 0 rgba(255, 0, 98, 0.45),
            2px 0 rgba(83, 255, 249, 0.55),
            0 0 10px rgba(255,255,255,0.26);
    }

    21% {
        transform: translateX(-0.6px);
    }

    24% {
        transform: translateX(0);
    }

    55% {
        transform: translateX(0.3px);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.38),
            1px 0 rgba(83, 255, 249, 0.52),
            0 0 12px rgba(83,255,249,0.14);
    }

    58% {
        transform: translateX(-0.4px);
    }

    61% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }
}

.section-title,
.mini-card h4,
.simple-card h4 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    animation: titleGlitchWhite 1.2s infinite;
}

@keyframes titleGlitchWhite {
    0% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }

    12% {
        transform: translateX(0.5px);
        text-shadow:
            -2px 0 rgba(255, 0, 98, 0.42),
            2px 0 rgba(83, 255, 249, 0.55),
            0 0 10px rgba(255,255,255,0.24);
    }

    15% {
        transform: translateX(-0.7px);
    }

    18% {
        transform: translateX(0);
    }

    46% {
        transform: translateX(0.4px);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.36),
            1px 0 rgba(83, 255, 249, 0.50),
            0 0 12px rgba(83,255,249,0.14);
    }

    49% {
        transform: translateX(-0.5px);
    }

    52% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        text-shadow:
            -1px 0 rgba(255, 0, 98, 0.35),
            1px 0 rgba(83, 255, 249, 0.45),
            0 0 6px rgba(255,255,255,0.20);
    }
}

@keyframes langPulseGlitchWhite {
    0% {
        transform: translateX(0);
        opacity: 1;
        box-shadow:
            0 0 10px rgba(255, 255, 255, 0.22),
            0 0 18px rgba(83, 255, 249, 0.10),
            0 0 22px rgba(255, 0, 98, 0.05),
            inset 0 0 10px rgba(255, 255, 255, 0.55);
    }

    10% {
        box-shadow:
            0 0 12px rgba(255, 255, 255, 0.28),
            0 0 20px rgba(83, 255, 249, 0.12),
            0 0 24px rgba(255, 0, 98, 0.06),
            inset 0 0 10px rgba(255, 255, 255, 0.65);
    }

    14% {
        transform: translateX(0.5px);
    }

    16% {
        transform: translateX(-0.6px);
    }

    18% {
        transform: translateX(0);
    }

    50% {
        opacity: 0.96;
    }

    53% {
        opacity: 0.82;
        box-shadow:
            0 0 6px rgba(255, 255, 255, 0.16),
            0 0 10px rgba(83, 255, 249, 0.06),
            0 0 12px rgba(255, 0, 98, 0.03),
            inset 0 0 8px rgba(255, 255, 255, 0.42);
    }

    57% {
        opacity: 1;
    }

    70% {
        transform: translateX(0.35px);
    }

    73% {
        transform: translateX(-0.4px);
    }

    76% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
        box-shadow:
            0 0 10px rgba(255, 255, 255, 0.22),
            0 0 18px rgba(83, 255, 249, 0.10),
            0 0 22px rgba(255, 0, 98, 0.05),
            inset 0 0 10px rgba(255, 255, 255, 0.55);
    }
}

@keyframes langArrowFlicker {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    8% {
        opacity: 0.55;
    }

    12% {
        opacity: 1;
        transform: translateY(0.5px);
    }

    30% {
        opacity: 1;
    }

    34% {
        opacity: 0.4;
    }

    38% {
        opacity: 1;
    }

    60% {
        transform: translateY(-0.5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Jolt announcement ticker */
body:not(.announcement-hidden) {
    padding-top: 28px;
}

.announcement-hidden .announcement-ticker {
    display: none;
}

.announcement-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    z-index: 5000;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    color: #030303;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.35),
        0 0 18px rgba(83, 255, 249, 0.08),
        0 0 22px rgba(255, 0, 98, 0.04);
    animation: announcementBarGlow 2.4s infinite;
}

.announcement-close {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #000000;
    font-size: 16px;
    line-height: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s;
}

.announcement-close:hover {
    background: rgba(0, 0, 0, 0.14);
    transform: translateY(-50%) scale(1.08);
}

.announcement-marquee-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #030303;
}

.announcement-marquee-window {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 70px;
    height: 28px;
    min-width: max-content;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-shadow:
        -1px 0 rgba(255, 0, 98, 0.12),
        1px 0 rgba(83, 255, 249, 0.16),
        0 0 6px rgba(255, 255, 255, 0.22);
}

.rtl-layout .announcement-marquee-track {
    animation: announcementMoveRTL 15s linear infinite;
}

.ltr-layout .announcement-marquee-track {
    animation: announcementMoveLTR 15s linear infinite;
}

@keyframes announcementBarGlow {
    0% {
        opacity: 1;
        filter: brightness(1);
        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.28),
            0 0 14px rgba(83, 255, 249, 0.07),
            0 0 18px rgba(255, 0, 98, 0.03);
    }

    48% {
        opacity: 0.78;
        filter: brightness(0.94);
        box-shadow:
            0 0 3px rgba(255, 255, 255, 0.12),
            0 0 8px rgba(83, 255, 249, 0.04),
            0 0 10px rgba(255, 0, 98, 0.02);
    }

    54% {
        opacity: 1;
        filter: brightness(1.08);
        box-shadow:
            0 0 13px rgba(255, 255, 255, 0.42),
            0 0 22px rgba(83, 255, 249, 0.10),
            0 0 26px rgba(255, 0, 98, 0.05);
    }

    100% {
        opacity: 1;
        filter: brightness(1);
        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.28),
            0 0 14px rgba(83, 255, 249, 0.07),
            0 0 18px rgba(255, 0, 98, 0.03);
    }
}

@keyframes announcementMoveRTL {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes announcementMoveLTR {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100vw);
    }
}

@media (max-width: 980px) {
    .projects-showcase {
        width: 100%;
        margin-top: 28px;
        padding-top: 20px;
    }

    .projects-grid {
        max-width: 760px;
        grid-template-columns: 1fr;
    }

    .projects-grid::after {
        display: none;
    }

    .project-panel,
    .project-panel-content {
        min-height: 720px;
    }

    .project-panel + .project-panel {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 560px) {
    .projects-showcase {
        width: 100%;
        padding-top: 22px;
    }

    .projects-heading {
        margin-bottom: 18px;
        padding: 0 16px;
    }

    .project-panel,
    .project-panel-content {
        min-height: 700px;
    }

    .project-panel-content {
        padding: 20px 15px 24px;
    }

    .project-logo-shell {
        min-height: 245px;
        padding: 38px 12px 16px;
    }

    .project-logo-art {
        width: 94%;
        max-height: 155px;
    }

    .project-media-thumb {
        height: 57px;
        border-radius: 8px;
    }

    .project-action-row {
        flex-direction: column;
    }

    .project-page-link,
    .project-wait-group {
        width: auto;
        flex-basis: auto;
        align-self: center;
    }

    .project-display-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .project-display-vibe {
        font-size: 13px;
    }

    .project-description {
        font-size: 13px;
        max-height: 7.6em;
    }

    .project-credit-details {
        min-width: 118px;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-description {
        transition: none;
    }

    html.scroll-effects-ready .scroll-depth-section {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }

    .project-panel-backdrop,
    .project-media-thumb,
    .project-logo-art {
        transition: none;
    }
}
