        * {
            box-sizing: border-box;
            font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
        }

        body {
            margin: 0;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            overflow: hidden;
            background: #000;
        }

        .background {
            position: fixed;
            inset: 0;
            background: url("static/jdonovan_yosemite.jpg") center / cover no-repeat;
            filter: brightness(0.8);
            transform: scale(1.1);
            z-index: -1;
            transition: background 1s ease;
        }

        .background.step2 {
            background: url("static/jdonovan_yosemite.jpg") center / cover no-repeat;
            animation: bgBlurPulse 0.9s ease-in-out;
        }

        @keyframes bgBlurPulse {
            0% { filter: blur(0px) brightness(0.7); }
            50% { filter: blur(100px) brightness(0.7); }
            100% { filter: blur(0px) brightness(0.7); }
        }

        .header-content {
            position: absolute;
            top: 60px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            pointer-events: none;
            z-index: 5;
        }

        .brand img {
            width: 450px;
            opacity: 0;
            animation: logoSlide 1.5s ease forwards;
        }

        .spec img {
            width: 700px;
            opacity: 0;
            animation: specSlide 1.5s ease forwards 1.5s;
        }

        @keyframes logoSlide {
            from { opacity: 0; transform: translateX(-500px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes specSlide {
            0% { opacity: 0; filter: blur(20px) brightness(0.1); }
            100% { opacity: 1; filter: blur(0px) brightness(1); }
        }

        .main-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            z-index: 10;
            position: relative;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .side-panel {
            width: 360px;
            padding: 26px;
            background: rgba(255, 255, 255, 0.14);
            backdrop-filter: blur(22px);
            border-radius: 30px;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
        }

        .screen {
            display: none;
        }

        .screen.active {
            display: block;
        }

        h2 {
            margin: 0 0 15px;
            font-size: 22px;
            text-align: center;
        }

        .lang-selector {
            position: relative;
            margin-bottom: 20px;
        }

        .lang-current {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.1);
            padding: 10px 15px;
            border-radius: 15px;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .lang-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .lang-flag {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

        .lang-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(30, 30, 30, 0.95);
            border-radius: 15px;
            margin-top: 5px;
            display: none;
            overflow: hidden;
            z-index: 100;
        }

        .lang-selector.open .lang-dropdown {
            display: block;
        }

        .lang-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            cursor: pointer;
        }

        .lang-option:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .field {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.18);
            border-radius: 20px;
            padding: 13px 16px;
            margin-bottom: 16px;
        }

        .field svg {
            width: 20px;
            height: 20px;
            fill: rgba(255, 255, 255, 0.8);
            flex-shrink: 0;
        }

        .field input {
            flex: 1;
            background: none;
            border: none;
            outline: none;
            color: white;
            font-size: 15px;
            margin-left: 12px;
        }

        button {
            /*width: 100%;*/
            /*padding: 14px;*/
            /*border: none;*/
            /*border-radius: 24px;*/
            /*background: white;*/
            /*color: black;*/
            /*font-size: 16px;*/
            /*font-weight: 600;*/
            /*cursor: pointer;*/
            /*transition: transform 0.2s;*/
            /*margin-bottom: 20px*/
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
            margin-bottom: 20px;

        }

        button:active {
            transform: scale(0.96);
        }

        .instruction-panel {
            width: 0;
            overflow: hidden;
            padding: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(15px);
            border-radius: 30px;
            color: #fff;
            font-size: 14px;
            line-height: 1.6;
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
        }

        .instruction-panel.show {
            width: 360px;
            padding: 26px;
            opacity: 1;
            margin-left: 30px;
        }

        .inc {
            animation: none;
        }

        @keyframes Inc {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        @media (max-width: 1000px) {
            .header-content { flex-direction: column; top: 20px; gap: 10px; }
            .brand img { width: 220px; }
            .spec img { width: 350px; }

            .main-container {
                flex-direction: column;
                justify-content: center;
                gap: 20px;
                padding-top: 120px;
            }

            .instruction-panel.show {
                width: 360px;
                margin-left: 0;
                margin-top: 10px;
            }
        }

        /* Links container styling */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.link-btn svg {
    flex-shrink: 0;
}

.link-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.link-btn:active {
    transform: translateY(0);
}

/* Back button styling */
.back-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Projects screen styling */
.projects-list {
    margin-bottom: 20px;
}

.project-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.project-item h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.project-item p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Screen transition animation */
.screen {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 26px;
}

.screen.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

/* Panel animation */
.side-panel {
    min-height: 300px;
    position: relative;
}
/* Стиль для всех <br> в панели - простая полупрозрачная линия */
.side-panel br {
    display: block !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    margin: 20px 0 !important;
    border: none !important;
    content: "" !important;
}

/* Для экрана с ссылками можно сделать тоньше */
#links br {
    margin: 18px 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Или вариант с градиентом для более мягкого вида */
.side-panel br {
    display: block !important;
    height: 1px !important;
    background: linear-gradient(
        to right,
        transparent 10%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 90%
    ) !important;
    margin: 20px 5px !important;
    border: none !important;
    content: "" !important;
}
.white-icon {
  filter: invert(100%) grayscale(100%); /* Или более точный фильтр для инверсии цвета */
}
/* ===== MOBILE VERSION ===== */
@media (max-width: 600px) {

    body {
        justify-content: flex-start;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .background {
        transform: scale(1);
        filter: brightness(0.6);
    }

    .header-content {
        position: relative;
        top: 0;
        margin-top: 20px;
        pointer-events: auto;
    }

    .brand img {
        width: 160px;
        animation: none;
        opacity: 1;
    }

    .main-container {
        padding: 20px 14px;
        align-items: stretch;
    }

    .side-panel {
        width: 100%;
        max-width: 100%;
        border-radius: 24px;
        padding: 20px;
        min-height: auto;
    }

    h2 {
        font-size: 20px;
    }

    button,
    .link-btn,
    .back-btn {
        font-size: 15px;
        padding: 14px;
        border-radius: 18px;
    }

    .screen {
        position: relative;
        padding: 0;
        transform: none;
    }

    .screen.active {
        transform: none;
    }

    /* отключаем тяжёлые анимации */
    /** {*/
    /*    animation: none !important;*/
    /*    transition: all 0.2s ease !important;*/
    /*}*/
}
.side-panel {
    width: 360px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px);
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);

    transition:
        height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s ease,
        box-shadow 0.3s ease;

    overflow: hidden;
}
@media (max-width: 600px) {
    .side-panel {
        max-height: 1000px;
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }
}
/* ===== GLASS NOTIFICATIONS ===== */
.notify-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.notify {
    min-width: 260px;
    max-width: 90vw;
    padding: 14px 18px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 14px;
    font-weight: 500;

    opacity: 0;
    transform: translateY(-20px) scale(0.98);
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* show state */
.notify.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.notify {
    position: relative;
    overflow: hidden;
}

/* progress bar */
.notify-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;

    background: linear-gradient(
        90deg,
        #3cff88,
        #2ddf73
    );

    opacity: 0.85;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform linear;
}

