* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background-color: #000000;
}

/* Background Video */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.bg-video.visible {
    opacity: 0.4;
}

/* Enter Screen */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.enter-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-content {
    text-align: center;
}

.enter-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: lowercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Intro Animation */
.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.intro-animation.active {
    display: flex;
    opacity: 1;
}

.intro-animation.fade-out {
    opacity: 0;
}

.intro-animation.bg-white {
    background: #ffffff;
}

.intro-animation.bg-black {
    background: #000000;
}

.intro-animation.bg-fade-out {
    background: #000000;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.intro-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.intro-word {
    font-size: 6rem;
    font-weight: 300;
    opacity: 0;
    position: absolute;
    text-transform: lowercase;
    letter-spacing: 3px;
}

.intro-word.show {
    opacity: 1;
}

.intro-word.hide {
    opacity: 0;
}

.intro-word.text-white {
    color: #ffffff;
}

.intro-word.text-black {
    color: #000000;
}

.intro-word.word-fade-out {
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Profile Section */
.profile-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.profile-section.visible {
    opacity: 1;
    pointer-events: all;
}

.profile-card {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: slideUpAndBlur 1s ease forwards;
}

@keyframes slideUpAndBlur {
    from {
        transform: translateY(30px);
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        transform: translateY(0);
        opacity: 1;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Profile Picture */
.profile-picture {
    margin: 0 auto 25px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name */
.profile-name {
    color: rgba(255, 255, 255, 0.95);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* About Me */
.profile-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 5px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.profile-about-sub {
    color: rgba(112, 112, 112, 0.6);
    font-size: 0.65rem;
    line-height: 1.6;
    margin-bottom: 5px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-btn {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.3));
}

.social-btn i {
    transition: transform 0.3s ease;
}

/* Volume Control */
.volume-control {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    width: 48px;
    transition: width 0.3s ease, background 0.3s ease;
}

.volume-control:hover {
    width: 190px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.volume-btn {
    min-width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-control:hover .volume-btn {
    color: rgba(255, 255, 255, 0.9);
}

.volume-slider-container {
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.volume-control:hover .volume-slider-container {
    opacity: 1;
    width: 130px;
    pointer-events: all;
    padding-right: 15px;
}

.volume-slider {
    width: 120px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-card {
        padding: 30px 20px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .enter-text {
        font-size: 2rem;
    }

    .volume-control {
        top: 20px;
        left: 20px;
    }

    .social-btn {
        font-size: 1.8rem;
    }

    .intro-word {
        font-size: 2.5rem;
    }

    .intro-text-container {
        gap: 15px;
    }
}
