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

body {
    background-color: #080808;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background-image:
        radial-gradient(1px 1px at 10% 20%, #fff 99%, transparent),
        radial-gradient(1px 1px at 30% 70%, #aaa 99%, transparent),
        radial-gradient(2px 2px at 50% 40%, #fff 99%, transparent),
        radial-gradient(1px 1px at 70% 15%, #ccc 99%, transparent),
        radial-gradient(2px 2px at 85% 65%, #fff 99%, transparent),
        radial-gradient(1px 1px at 20% 90%, #fff 99%, transparent),
        radial-gradient(1px 1px at 90% 30%, #aaa 99%, transparent),
        radial-gradient(2px 2px at 60% 85%, #fff 99%, transparent),
        radial-gradient(1px 1px at 40% 10%, #aaa 99%, transparent);

    background-size:
        250px 250px,
        300px 300px,
        350px 350px,
        280px 280px,
        320px 320px,
        260px 260px,
        400px 400px,
        330px 330px,
        290px 290px;

    animation: starShimmer 5s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background-image:
        radial-gradient(1px 1px at 15% 45%, #fff 99%, transparent),
        radial-gradient(2px 2px at 45% 80%, #aaa 99%, transparent),
        radial-gradient(1px 1px at 75% 55%, #fff 99%, transparent),
        radial-gradient(1px 1px at 95% 85%, #ccc 99%, transparent);

    background-size:
        300px 300px,
        350px 350px,
        270px 270px,
        400px 400px;

    animation: starTwinkle 3s ease-in-out infinite alternate;
}

@keyframes starShimmer {
    0% {
        opacity: 0.35;
        filter: brightness(0.7);
    }

    50% {
        opacity: 0.8;
        filter: brightness(1.2);
    }

    100% {
        opacity: 0.45;
        filter: brightness(0.8);
    }
}

@keyframes starTwinkle {
    0% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.25;
    }
}

.header {
    text-align: center;
    padding: 65px 20px 45px;
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 7px;
}

.header p {
    color: #777;
    font-size: 13px;
    margin-top: 12px;
    letter-spacing: 2px;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.members-section {
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid #292929;
    border-radius: 12px;

    padding: clamp(20px, 4vw, 45px);
}

.section-heading {
    display: flex;
    justify-content: space-between;

    color: #777;
    font-size: 11px;
    letter-spacing: 2px;

    border-bottom: 1px solid #292929;
    padding-bottom: 20px;
    margin-bottom: 35px;
}

.members-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 190px), 1fr));

    gap: clamp(20px, 3vw, 35px);
}


.member {
    text-align: center;
    min-width: 0;
}

.member-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    background: #202020;
    border: 1px solid #333;
    border-radius: 8px;

    overflow: hidden;
    margin-bottom: 18px;

    transition: border-color 0.3s ease;
}

.member-image:hover {
    border-color: #777;
}

.member-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    position: relative;
    z-index: 2;
}

.image-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #555;
    font-size: clamp(30px, 5vw, 55px);
    font-weight: bold;
    letter-spacing: 3px;
}

.member h2 {
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 600;
    margin-bottom: 7px;
}

.member-role {
    color: #777;
    font-size: 12px;
    margin-bottom: 15px;
}

.telegram-link, .pgp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #aaa;
    text-decoration: none;
    font-size: 12px;

    padding: 9px 15px;

    border: 1px solid #333;
    border-radius: 5px;

    transition: all 0.2s ease;
}

.telegram-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.telegram-icon {
    font-size: 15px;
}

.pgp-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.pgp-icon {
    font-size: 15px;
}

footer {
    text-align: center;
    padding: 35px 15px;

    color: #555;
    font-size: 10px;
    letter-spacing: 2px;

    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {

    .header {
        padding-top: 45px;
    }

    .members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 15px;
    }

    .members-section {
        padding: 18px;
    }

    .section-heading {
        font-size: 9px;
    }

}

@media (prefers-reduced-motion: reduce) {

    body::before,
    body::after {
        animation: none;
    }

    * {
        transition: none !important;
    }

}
