@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: #f5f7ff;
    background: #000;
    font-family: "DM Sans", Arial, sans-serif;
}

.profile-shell {
    display: grid;
    min-height: 100vh;
    padding: 32px 20px;
    box-sizing: border-box;
    place-items: center;
}

.profile-card {
    width: min(100%, 540px);
    padding: 48px 38px 40px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: #000;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h1 span {
    color: transparent;
    background: linear-gradient(90deg, #6d93ff, #d5e0ff, #4e7cff, #6d93ff);
    background-size: 250% auto;
    background-clip: text;
    animation: shine 4s linear infinite;
}

.intro {
    margin: 16px 0 28px;
    color: #959caf;
    font-size: 16px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-button {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    color: #e9ecf5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-button:hover {
    transform: translateY(-3px);
    border-color: rgba(109, 147, 255, 0.55);
    background: rgba(67, 105, 214, 0.16);
}

.social-button:focus-visible {
    outline: 3px solid rgba(109, 147, 255, 0.4);
    outline-offset: 3px;
}

.social-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.youtube:hover {
    border-color: rgba(255, 75, 75, 0.6);
    background: rgba(255, 35, 35, 0.1);
}

.discord:hover {
    border-color: rgba(123, 139, 255, 0.7);
    background: rgba(88, 101, 242, 0.13);
}

@keyframes shine {
    to {
        background-position: 250% center;
    }
}

@media (max-width: 560px) {
    .profile-shell {
        padding: 20px 14px;
    }

    .profile-card {
        padding: 38px 20px 28px;
        border-radius: 20px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    h1 span {
        animation: none;
    }

    .social-button {
        transition: none;
    }
}
