* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #0f0a1f 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #ff9ec7, #c8a2ff, #9ee7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(200, 162, 255, 0.5));
}
main {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: column;
    gap: 30px;
}
.photo, .gif_non {
    text-align: center;
}

.photo img, .gif_non img {
    max-width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(200, 162, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo img:hover, .gif_non img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 0 50px rgba(255, 158, 199, 0.6);
}
.my p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    text-align: justify;
}

.my strong {
    color: #ff9ec7;
    text-shadow: 0 0 15px rgba(255, 158, 199, 0.7);
}
.frend h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #c8a2ff;
    text-shadow: 0 0 15px rgba(200, 162, 255, 0.5);
}

.friends-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.friend-card {
    flex: 1;
    min-width: 220px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;
    color: #fff;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.friend-card:hover {
    background: rgba(255, 158, 199, 0.12);
    border-color: rgba(255, 158, 199, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 158, 199, 0.25);
}

.friend-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 158, 199, 0.5);
    box-shadow: 0 0 15px rgba(255, 158, 199, 0.4);
    flex-shrink: 0;
}

.friend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-name {
    font-weight: 600;
    font-size: 15px;
}

.friend-user {
    font-size: 13px;
    color: #c8a2ff;
    margin-top: 2px;
}
@media (max-width: 600px) {
    header h1 {
        font-size: 32px;
    }

    main {
        padding: 25px 18px;
    }

    .friends-grid {
        flex-direction: column;
    }
}
.photo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(200, 162, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
footer {
    max-width: 750px;
    margin: 30px auto 40px;
    padding: 25px;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    text-align: center;
}

footer p {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    background: linear-gradient(90deg, #ff9ec7, #c8a2ff, #9ee7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.model h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: #c8a2ff;
    text-shadow: 0 0 15px rgba(200, 162, 255, 0.5);
    letter-spacing: 2px;
}

.model {
    text-align: center;
}

.gif_3D,
.pechat,
.site {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    min-width: 180px;
    margin: 10px 1%;
    padding: 15px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);

    transition: all 0.3s ease;
}

.gif_3D:hover,
.pechat:hover,
.site:hover {
    transform: translateY(-5px);
    background: rgba(255, 158, 199, 0.1);
    border-color: rgba(255, 158, 199, 0.5);
    box-shadow: 0 12px 35px rgba(255, 158, 199, 0.3);
}

.gif_3D img,
.pechat img,
.site img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gif_3D p,
.pechat p,
.site p {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(90deg, #ff9ec7, #c8a2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.facts > div {
    padding: 30px 25px;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);

    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.facts > div::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 162, 255, 0.25), transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0.6;
}

.facts > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(255, 158, 199, 0.25);
    border-color: rgba(255, 158, 199, 0.4);
}

.facts > div:hover::before {
    opacity: 1;
}

.facts h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    background: linear-gradient(90deg, #ff9ec7, #c8a2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.facts img {
    display: block;
    max-width: 100%;
    width: 220px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.facts > div:hover img {
    transform: scale(1.03);
}

.facts p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
    text-align: justify;
}

.facts p:last-child {
    margin-bottom: 0;
}
