* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(to bottom, #000000, #0a192f);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@keyframes shooting-star {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-100vw) translateY(-100vh) rotate(-45deg);
        opacity: 0;
    }
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
}

.constellation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 80px 120px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 110px 130px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 140px 80px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes twinkle {
    50% { opacity: 0.4; }
}

header {
    background: rgba(10, 25, 47, 0.95);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(66, 134, 244, 0.3);
}

header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(66, 134, 244, 0.5),
                 0 0 20px rgba(66, 134, 244, 0.3),
                 0 0 30px rgba(66, 134, 244, 0.1);
    animation: glow 2s ease-in-out infinite alternate;
    letter-spacing: 2px;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(66, 134, 244, 0.5),
                    0 0 20px rgba(66, 134, 244, 0.3),
                    0 0 30px rgba(66, 134, 244, 0.1);
    }
    to {
        text-shadow: 0 0 20px rgba(66, 134, 244, 0.7),
                    0 0 30px rgba(66, 134, 244, 0.5),
                    0 0 40px rgba(66, 134, 244, 0.3);
    }
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.instagram-container {
    margin: 2rem auto;
    max-width: 450px;
    background: rgba(13, 28, 54, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(66, 134, 244, 0.2);
    backdrop-filter: blur(10px);
    transform: scale(0.6);
    transform-origin: center;
}

.profile-section {
    background: rgba(13, 28, 54, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(66, 134, 244, 0.2);
    backdrop-filter: blur(10px);
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.profile-section:hover {
    transform: translateZ(10px) scale(1.01);
}

.profile-content {
    color: #ccd6f6;
    font-size: 1.1rem;
    line-height: 1.8;
}

.profile-content strong {
    color: #64ffda;
    font-weight: 500;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info a {
    color: #64ffda;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.contact-section {
    background: rgba(13, 28, 54, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 0 20px rgba(66, 134, 244, 0.2);
    backdrop-filter: blur(10px);
}

.contact-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.contact-link {
    color: #64ffda;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #64ffda;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 28, 54, 0.8);
}

::-webkit-scrollbar-thumb {
    background: #64ffda;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4db3a4;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .profile-section {
        padding: 1.5rem;
        margin: 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .instagram-container {
        margin: 1rem;
        padding: 1rem;
    }
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #64ffda;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.apod {
    margin: 2rem auto;
    max-width: 800px;
    background: rgba(13, 28, 54, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(66, 134, 244, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
}

.apod-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.apod-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.apod-video {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
