/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

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

/* Main Content */
.main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: none;
    overflow: hidden;
}

.main-content.active {
    display: block;
}

/* Background Container */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-image: url('background.gif'); /* GIF background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6) contrast(1.1); /* Adjusted for better visibility */
    opacity: 0.5; /* Adjusted for better visibility */
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(20, 20, 40, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

/* Content Container */
.content-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.profile-section {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Username */
.username {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

/* Description */
.description {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.social-icon:nth-child(1):hover {
    background: rgba(114, 137, 218, 0.3);
    border-color: #7289da;
    box-shadow: 0 10px 25px rgba(114, 137, 218, 0.3);
}

.social-icon:nth-child(2):hover {
    background: rgba(0, 136, 204, 0.3);
    border-color: #0088cc;
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.3);
}

.social-icon:nth-child(3):hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.social-icon:nth-child(4):hover {
    background: rgba(100, 100, 100, 0.3); /* Neutral grey for terms */
    border-color: #888;
    box-shadow: 0 10px 25px rgba(100, 100, 100, 0.3);
}

/* View Counter */
.view-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #888;
    animation: fadeIn 1s ease-out 2s both;
}

.view-counter i {
    font-size: 1rem;
}

/* Audio Controls Box */
.audio-control-box {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Position to bottom-left */
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.audio-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.volume-slider {
    width: 0; /* Initially hidden */
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    -webkit-appearance: none; /* Remove default styling */
    appearance: none;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    outline: none;
}

.audio-control-box:hover .volume-slider {
    width: 100px; /* Show on hover */
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #e0e0e0;
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .username {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .profile-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .username {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
}

/* Custom Scrollbar (if needed) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Additional Effects */
.profile-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



