* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29, #1a1a2e);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: twinkle var(--duration) infinite ease-in-out;
    animation-delay: var(--delay);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.moon {
    position: fixed;
    top: 15%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: #f5f3ce;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(245, 243, 206, 0.4);
    z-index: -1;
    animation: moon-float 8s infinite alternate ease-in-out;
}

.moon::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    background: #d9d7b8;
    border-radius: 50%;
}

.moon::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 20px;
    width: 15px;
    height: 15px;
    background: #d9d7b8;
    border-radius: 50%;
}

@keyframes moon-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.night-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.moonlight {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, 
        rgba(245, 243, 206, 0.1) 0%, 
        transparent 60%);
    animation: moon-glow 8s infinite alternate ease-in-out;
}

@keyframes moon-glow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.constellation {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, white 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, white 1px, transparent 1px);
    background-size: 200px 200px;
    opacity: 0.15;
}

.fog {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 60%, rgba(138, 58, 185, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(100, 140, 200, 0.1) 0%, transparent 40%);
    animation: fog-move 20s infinite alternate linear;
}

@keyframes fog-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 3%); }
}

.container {
    width: 90%;
    max-width: 500px;
    padding: 3rem 2rem;
    background-color: rgba(26, 26, 46, 0.7);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(224, 224, 224, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(224, 224, 224, 0.03) 0%, transparent 70%);
    z-index: -1;
}

h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    letter-spacing: 1px;
    color: #f5f3ce;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(245, 243, 206, 0.3);
    animation: title-pulse 6s infinite ease-in-out;
}

@keyframes title-pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(245, 243, 206, 0.3); }
    50% { text-shadow: 0 0 20px rgba(245, 243, 206, 0.6); }
}

.subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #a1a1c2;
    font-style: italic;
    font-size: 1rem;
}

.social-links {
    list-style: none;
}

.social-links li {
    margin-bottom: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    background-color: rgba(31, 31, 56, 0.5);
    border: 1px solid rgba(224, 224, 224, 0.1);
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
    z-index: -1;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(100, 140, 200, 0.3);
    background-color: rgba(47, 47, 82, 0.7);
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f3ce;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.social-btn:hover .social-icon {
    transform: scale(1.2);
    text-shadow: 0 0 8px currentColor;
}

.social-name {
    font-weight: 500;
    flex-grow: 1;
    text-align: left;
    letter-spacing: 0.5px;
}

.social-arrow {
    color: #a1a1c2;
    font-weight: bold;
    transition: all 0.4s ease;
}

.social-btn:hover .social-arrow {
    transform: translateX(3px);
    opacity: 0.8;
    color: #f5f3ce;
}

.social-links li:nth-child(1) .social-btn:hover { border-color: #0088cc; }
.social-links li:nth-child(2) .social-btn:hover { border-color: #6e5494; }
.social-links li:nth-child(3) .social-btn:hover { border-color: #daf3ff; }
.social-links li:nth-child(4) .social-btn:hover { border-color: #5865F2; }

@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .moon {
        width: 70px;
        height: 70px;
        top: 10%;
        right: 10%;
    }
    
    .social-btn {
        padding: 0.8rem 1rem;
    }
}

.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff);
    border-radius: 50%;
    pointer-events: none;
    animation: shoot var(--shoot-duration) linear infinite;
    animation-delay: var(--shoot-delay);
    filter: drop-shadow(0 0 2px #fff);
}

@keyframes shoot {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(200px) translateY(100px); opacity: 0; }
}