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

/* GitHub Projects */
.github-projects {
    margin-top: 20px;
    text-align: center;
}

.github-projects h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    max-width: 100%;
    padding: 0 15px;
}

.project-link {
    display: block;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.project-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    color: #fff;
}

.hidden {
    display: none !important;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    z-index: 1000;
    cursor: pointer;
}

.splash-content {
    text-align: center;
}

.splash-text {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    animation: pulse 1.5s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* Main Content */
.main-content {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/aniyuki-anime-girl-77-1551132480.gif');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.7);
}

/* Profile Card */
.profile-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.profile-description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    min-height: 1.5em;
    position: relative;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Music Player */
.music-player {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.song-info {
    margin-bottom: 1rem;
    text-align: center;
}

#song-title {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

#play-pause-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    background: #fff;
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 0.1s linear;
}

.volume-container {
    display: flex;
    align-items: center;
}

#volume-slider {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-card, .music-player {
        width: 85%;
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 2.5rem;
    }
    
    .profile-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-card, .music-player {
        width: 90%;
        padding: 1.2rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .control-btn svg {
        width: 20px;
        height: 20px;
    }
}

