@import url('https://fonts.cdnfonts.com/css/vcr-osd-mono');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #040404 50%, #0a0a0a 75%, #000000 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #287575;
    font-family: 'VCR OSD Mono', monospace;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Moving Dots Background */
.dots-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, #287575 0%, #1a5656 100%);
    border-radius: 50%;
    opacity: 0.4;
    animation: float linear infinite;
    box-shadow: 0 0 3px rgba(40, 117, 117, 0.3);
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10px) translateX(var(--random-x));
        opacity: 0;
    }
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

.splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.enter-text {
    color: #ffffff;
    font-size: 3.5rem;
    font-family: 'VCR OSD Mono', monospace;
    font-weight: normal;
    letter-spacing: 3px;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(40, 117, 117, 0.2),
        0 0 30px rgba(40, 117, 117, 0.1);
    animation: etherealPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.enter-text:hover {
    transform: scale(1.05);
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(40, 117, 117, 0.4),
        0 0 45px rgba(40, 117, 117, 0.2);
}

@keyframes etherealPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.main-content.show {
    opacity: 1;
    transform: translateY(0);
}

/* Bio Container */
.bio-container {
    background: rgba(1, 1, 1, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(40, 117, 117, 0.25);
    padding: 40px;
    margin: 8px;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(40, 117, 117, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 50%;
    max-width: 400px;
    text-align: center;
    animation: slideInUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
    position: relative;
    overflow: hidden;
}

.bio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(40, 117, 117, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.bio-container:hover::before {
    left: 100%;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: block;
    object-fit: cover;
    border: 3px solid rgba(40, 117, 117, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: fadeIn 1.2s ease-out 0.5s both;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(40, 117, 117, 0.2);
}

.profile-image:hover {
    border-color: #287575;
    transform: scale(1.08);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(40, 117, 117, 0.4),
        0 0 0 1px rgba(40, 117, 117, 0.3);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.7) rotateY(20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.profile-name {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-family: 'VCR OSD Mono', monospace;
    animation: slideInLeft 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.7s both;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(40, 117, 117, 0.3);
    letter-spacing: 1px;
}

.profile-subtitle {
    color: #287575;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'VCR OSD Mono', monospace;
    opacity: 0.9;
    animation: slideInRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.socials-header {
    color: #4db8b8;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: 'VCR OSD Mono', monospace;
    animation: slideInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.9s both;
    text-shadow: 0 0 8px rgba(77, 184, 184, 0.3);
    letter-spacing: 0.5px;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: slideInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s both;
}

.social-link {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    background: rgba(40, 117, 117, 0.08);
    border: 1px solid rgba(40, 117, 117, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(40, 117, 117, 0.1) 0%,
        rgba(40, 117, 117, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(40, 117, 117, 0.15);
    border-color: rgba(40, 117, 117, 0.4);
    box-shadow:
        0 10px 25px rgba(40, 117, 117, 0.2),
        0 0 20px rgba(40, 117, 117, 0.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(1.1) saturate(1.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.social-link:hover .social-icon {
    filter: brightness(1.4) saturate(1.4);
    transform: scale(1.1);
}

/* Footer */
.footer {
    text-align: center;
    color: #8a8a8a;
    margin-top: 50px;
    font-family: 'VCR OSD Mono', monospace;
    animation: fadeIn 1s ease-out 1.2s both;
}

.domain-text {
    margin-top: 10px;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.domain-link {
    color: #287575;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px rgba(40, 117, 117, 0.2);
}

.domain-link:hover {
    color: #4db8b8;
    text-shadow:
        0 0 10px rgba(40, 117, 117, 0.5),
        0 0 20px rgba(40, 117, 117, 0.3);
    transform: translateY(-1px);
}

.domain-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #287575, #4db8b8);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.domain-link:hover:after {
    width: 100%;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #287575 0%, #4db8b8 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-family: 'VCR OSD Mono', monospace;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1001;
    box-shadow:
        0 10px 30px rgba(40, 117, 117, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-container {
        width: 80%;
        padding: 30px;
    }

    .enter-text {
        font-size: 2.5rem;
    }

    .main-content {
        padding: 15px;
    }

    .social-links {
        gap: 15px;
    }

    .profile-image {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 480px) {
    .bio-container {
        width: 95%;
        padding: 25px;
    }

    .enter-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .profile-name {
        font-size: 1.4rem;
    }

    .copy-notification {
        top: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #287575, #4db8b8);
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4db8b8, #287575);
}

/* Enhanced glowing effect for interactive elements */
.bio-container:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(40, 117, 117, 0.3),
        0 0 40px rgba(40, 117, 117, 0.15);
    transform: translateY(-2px);
}
