* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: url("../photo/background.jpg") no-repeat center center / cover;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow-x: hidden;
}

/* затемнення + blur */
body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 0;
}

/* glow ефект */
body::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.25), transparent);
    top: 20%;
    left: 10%;
    filter: blur(100px);
    z-index: 0;
}

/* логотип */
.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 28px;
    letter-spacing: 3px;
    font-weight: 600;
    z-index: 2;
    text-decoration: none;
    color: white;
}

/* центр */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
}

/* контент */
.content {
    max-width: 700px;
    width: 100%;
    text-align: center;
    animation: fadeUp 0.8s ease;
}

/* блок */
.text {
    margin-top: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* аватар */
.text img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: 0.3s;
}

/* hover аватар */
.text img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(139,92,246,0.5);
}

/* текст */
.text p {
    font-size: 18px;
    line-height: 1.6;
}

/* кнопка як в index */
.btn {
    position: relative;
    margin-top: 25px;
    padding: 20px 45px;
    width: 280px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);

    color: white;
    font-size: 18px;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: 0.3s;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* glow рамка */
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;

    background: linear-gradient(
        120deg,
        transparent 30%,
        #8b5cf6,
        transparent 70%
    );

    background-size: 200% 200%;

    -webkit-mask: 
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    opacity: 0;
}

/* hover */
.btn:hover::before {
    opacity: 1;
    animation: borderRun 1.2s linear infinite;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 25px rgba(139,92,246,0.5);
}

/* натискання */
.btn:active {
    transform: scale(0.95);
    background: rgba(139,92,246,0.2);
}

body::before,
body::after {
    pointer-events: none;
}

/* анімації */
@keyframes borderRun {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        min-height: 100svh;
        overflow-y: auto;
        background-attachment: scroll;
    }

    body::before {
        width: 320px;
        height: 320px;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        filter: blur(80px);
    }

    .logo {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        margin: 24px auto 8px;
        width: fit-content;
        font-size: 22px;
        letter-spacing: 2px;
    }

    .container {
        min-height: auto;
        padding: 16px 16px 32px;
    }

    .text {
        margin-top: 12px;
        padding: 20px 18px;
        border-radius: 22px;
    }

    .text img {
        width: 140px;
        height: 140px;
    }

    .text p {
        font-size: 16px;
    }

    .btn {
        width: min(100%, 340px);
        padding: 18px 24px;
        font-size: 16px;
    }

    .btn:hover {
        transform: none;
    }
}
