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

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Entry Screen */
.entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0d0d0d 100%);
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.entry-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(2);
    filter: blur(20px);
}

.glass-card {
    position: relative;
    z-index: 10;
    padding: 4rem 5rem;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(102, 126, 234, 0.2);
}

.click-here {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto 1.5rem;
}

.tap-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 300;
}

.entry-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.entry-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-up linear infinite;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 1;
    }
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe,
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.77vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: none;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
    object-fit: cover;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-left: 65rem;
    opacity: 0;
    filter: blur(30px);
    transition: all 1.2s ease-out 0.1s;
}

.main-content.visible {
    opacity: 1;
    filter: blur(0);
}

/* Profile Card */
.profile-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(25, 25, 25, 0.98));
    border-radius: 25px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    animation: shimmer 4s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(102, 126, 234, 0.15),
        inset 0 0 50px rgba(255, 255, 255, 0.03);
    border-color: rgba(102, 126, 234, 0.2);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-picture {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.2rem;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #667eea, #764ba2);
    padding: 3px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border-radius: 50%;
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    object-position: center;
}

.profile-picture:hover {
    transform: scale(1.1);
}

.profile-picture:hover img {
    transform: scale(1.05);
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-info {
    flex: 1;
}

.username-section {
    margin-bottom: 0.5rem;
}

.username {
    font-family: 'Pinyon Script', cursive;
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 20px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.username::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.profile-card:hover .username::after {
    width: 100%;
}

.profile-card:hover .username {
    text-shadow: 
        0 0 25px rgba(102, 126, 234, 0.8),
        0 0 50px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.badge.staff {
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.badge.developer {
    background: linear-gradient(135deg, #4a90e2, #63b3ed, #4a90e2);
    color: #fff;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.4);
}

.badge.creative {
    background: linear-gradient(135deg, #e91e63, #f06292, #e91e63);
    color: #fff;
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
}

.badge.legendary {
    background: linear-gradient(135deg, #9c27b0, #ba68c8, #9c27b0);
    color: #fff;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.4);
}

.slogan {
    color: #ddd;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.slogan::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 1.5rem;
    color: #667eea;
    opacity: 0.6;
}

.slogan::after {
    content: '"';
    font-size: 1.5rem;
    color: #667eea;
    opacity: 0.6;
    margin-left: 0.2rem;
}

.profile-card:hover .slogan {
    color: #fff;
    transform: translateX(5px);
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location:hover {
    color: #667eea;
    transform: translateX(5px);
}

.location i {
    transition: all 0.3s ease;
}

.location:hover i {
    transform: rotate(15deg) scale(1.2);
    color: #667eea;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon.discord:hover {
    background: linear-gradient(135deg, #7289da, #8b9dc3);
    box-shadow: 0 10px 25px rgba(114, 137, 218, 0.4);
}

.social-icon:nth-child(2):hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.social-icon:nth-child(3):hover {
    background: linear-gradient(135deg, #0088cc, #00aaff);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4);
}

.social-icon:nth-child(4):hover {
    background: linear-gradient(135deg, #e4405f, #f77737);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4);
}

.social-icon:nth-child(5):hover {
    background: linear-gradient(135deg, #333, #666);
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.4);
}

.social-icon:nth-child(6):hover {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.discord-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.dnd {
    background: #ed4245;
}

.status-text {
    font-weight: 600;
    color: #fff;
}

.status-type {
    color: #888;
    font-size: 0.8rem;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.volume-control,
.visibility-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.volume-control i,
.visibility-control i {
    color: #888;
}

input[type="range"] {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.skills-button {
    text-align: center;
}

#viewSkillsBtn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#viewSkillsBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 100;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(102, 126, 234, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    max-width: 350px;
}

.music-player::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(102, 126, 234, 0.05),
        transparent,
        rgba(118, 75, 162, 0.05),
        transparent
    );
    animation: shimmer 4s linear infinite;
    pointer-events: none;
}

.music-player:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(102, 126, 234, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

.music-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.music-info i {
    color: #667eea;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.music-player:hover .music-info i {
    color: #764ba2;
    transform: scale(1.2) rotate(15deg);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.song-title {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    position: relative;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.song-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.music-player:hover .song-title::after {
    width: 100%;
}

.music-player:hover .song-title {
    color: #667eea;
    transform: translateX(5px);
}

.music-controls {
    display: flex;
    gap: 0.8rem;
}

.music-controls button {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #fff;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.music-controls button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.music-controls button:hover::before {
    width: 100%;
    height: 100%;
}

.music-controls button:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.music-controls button:active {
    transform: scale(0.95);
}

#playPauseBtn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-color: rgba(102, 126, 234, 0.4);
}

#playPauseBtn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
    transform: scale(1.15) rotate(10deg);
}

/* Progress Bar */
.music-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Profile Music Controls */
.profile-music-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.profile-music-controls .music-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.profile-music-controls .music-info i {
    color: #667eea;
    font-size: 0.9rem;
}

.profile-music-controls .song-title {
    font-size: 0.75rem;
    color: #ccc;
    font-weight: 400;
    white-space: nowrap;
    overflow: visible;
}

.profile-music-controls .music-controls {
    display: flex;
    gap: 0.5rem;
}

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

.profile-music-controls .music-controls button:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: scale(1.1);
}

.profile-music-controls .music-controls button:active {
    transform: scale(0.95);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(20, 20, 20, 0.98));
    margin: 10% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #fff;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 500;
    color: #fff;
}

.skill-percentage {
    color: #667eea;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

/* Hidden YouTube Music Player */
#music-player-iframe {
    position: fixed;
    top: -200px;
    left: -200px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

#music-player-iframe iframe {
    width: 1px;
    height: 1px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: #666;
    font-size: 0.8rem;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .click-here {
        font-size: 3rem;
    }
    
    .profile-card {
        max-width: 350px;
        padding: 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-picture {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .music-player {
        width: 90%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .music-info {
        text-align: center;
    }
}
