@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(-100vh) rotate(45deg);
        opacity: 0;
    }
}

@keyframes backgroundHue {
    0% { background-color: rgba(88, 0, 88, 0.1); }
    50% { background-color: rgba(88, 0, 88, 0.2); }
    100% { background-color: rgba(88, 0, 88, 0.1); }
}

@keyframes starTrail {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(4);
        opacity: 0.4;
    }
    100% {
        transform: scale(8);
        opacity: 0;
    }
}

@keyframes starTrail2 {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(6);
        opacity: 0.2;
    }
    100% {
        transform: scale(12);
        opacity: 0;
    }
}

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

body {
    min-height: 100vh;
    background-color: #000;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(88, 0, 88, 0.1);
    animation: backgroundHue 10s infinite;
    filter: blur(10px);
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: shootingStar 3s linear infinite;
    filter: blur(1px);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
}

.star::before,
.star::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    filter: blur(2px);
}

.star::before {
    animation: starTrail 3s linear infinite;
    transform-origin: center;
}

.star::after {
    animation: starTrail2 3s linear infinite;
    transform-origin: center;
}

.container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.profile {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.2s;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    object-position: center;
    display: block;
}

.title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.4s;
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.6s;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.8s;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #8a2be2;
    border-radius: 9999px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.button:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5),
                0 0 30px rgba(88, 0, 88, 0.3);
    backdrop-filter: blur(10px);
}

.button i {
    font-size: 1.2rem;
}

.discord-button {
    cursor: pointer;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #8a2be2;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-header h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.1);
}

.popup-body {
    padding: 1.5rem;
}

.popup-body p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.popup-button {
    cursor: pointer;
}

.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1s;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.footer p {
    margin: 0;
} 