/* Reset default margins/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: black; /* Space background */
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stars container */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Don't block clicks */
}

.star {
    position: absolute;
    width: 2px;   /* size of the star */
    height: 2px;
    border-radius: 50%;
    background-color: white;
    opacity: 0;
    animation-name: twinkle;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Container for content */
.container {
    position: relative;
    z-index: 1; /* above stars */
    text-align: center;
}

/* Profile picture */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #000000;
}

/* Heading */
h1 {
    margin-bottom: 30px;
    color: #fff;
    font-size: 2rem;
}

/* Social buttons container */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Buttons */
.social {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    width: 220px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
    display: inline-block;
    line-height: 1.2;
    text-align: center;
}

.social:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255,255,255,0.3);
}

/* Subtext inside buttons */
.social .subtext {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}

/* Colors */
.tiktok { background-color: #000000; }
.instagram { background-color: #e1306c; }
.socialclub { background-color: #ffad00; }
.minecraft { background-color: #5eb140; }
.discord { background-color: #5865F2; }

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s;
}
