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

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#bgVideo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 50%;
    min-height: 10%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: contain;
    background-color: #000;
}

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s ease;
    cursor: pointer;
}

.blur-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.click-text {
    color: white;
    font-size: 3.5rem;
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                 0 0 20px rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
    letter-spacing: 2px;
    position: relative;
    padding: 10px;
}

.click-text::before {
    content: 'Click to show';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.1);
    filter: blur(8px);
    transform: translateY(2px);
    z-index: -1;
}

.blur-overlay:hover .click-text {
    opacity: 1;
    transform: rotate(-1deg) scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4),
                 0 0 30px rgba(255, 255, 255, 0.2);
}

.container {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.5s ease;
}

.container.visible {
    opacity: 1;
    transform: scale(1);
}

.profile-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    position: relative;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1),
                0 0 30px rgba(255, 255, 255, 0.05),
                inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.name-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                 0 0 20px rgba(255, 255, 255, 0.2),
                 0 0 30px rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badges-container {
    margin-left: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05),
                inset 0 0 5px rgba(255, 255, 255, 0.02);
}

.badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: help;
    transition: all 0.2s ease;
}

.badge img {
    width: 14px;
    height: 14px;
    transition: all 0.2s ease;
    filter: brightness(0) invert(1);
}

.badge.medal img {
    filter: brightness(0) saturate(100%) invert(83%) sepia(72%) saturate(552%) hue-rotate(359deg) brightness(103%) contrast(107%);
}

.badge.diamond img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1860%) hue-rotate(242deg) brightness(89%) contrast(88%);
}

.badge.fish img {
    filter: brightness(0) saturate(100%) invert(87%) sepia(87%) saturate(3500%) hue-rotate(155deg) brightness(104%) contrast(104%);
    width: 14px;
    height: 14px;
}

.badge.v {
    font-family: monospace;
    font-size: 12px;
    color: #ff0000;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge.v span {
    transform: translateY(-1px);
}

.badge:hover {
    transform: translateY(-2px);
}

.badge:hover img {
    transform: scale(1.1);
}

.badge:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bio {
    color: #888;
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
    background: linear-gradient(90deg, #4a9eff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3),
                 0 0 20px rgba(74, 158, 255, 0.2);
}

.bio .letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(20px);
    animation: slideFadeIn 0.4s ease forwards;
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.bio.finished {
    background: linear-gradient(90deg, #4a9eff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3),
                 0 0 20px rgba(74, 158, 255, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(74, 158, 255, 0.3),
                    0 0 20px rgba(74, 158, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 15px rgba(74, 158, 255, 0.4),
                    0 0 25px rgba(74, 158, 255, 0.3);
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgba(255, 255, 255, 0.75) }
}

.social-links {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 15px;
    z-index: 2;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visitors {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.9rem;
}

.visitors svg {
    opacity: 0.6;
}

.visitor-count {
    color: #fff;
    font-weight: 500;
}

.bottom-containers {
    display: flex;
    width: 100%;
    margin-top: 10px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.3s;
}

.status-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.08),
                0 0 25px rgba(255, 255, 255, 0.05),
                inset 0 0 10px rgba(255, 255, 255, 0.03);
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    min-width: 250px;
}

.divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
}

.discord-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discord-avatar[src] {
    opacity: 1;
}

.status-indicator {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.8);
    bottom: 0;
    left: 34px;
    opacity: 0;
    transition: all 0.3s ease;
}

.status-indicator.online {
    background-color: #3ba55c;
    opacity: 1;
}

.status-indicator.idle {
    background-color: #faa81a;
    opacity: 1;
}

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

.status-indicator.offline {
    background-color: #747f8d;
    opacity: 1;
}

.discord-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discord-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discord-name:not(:empty) {
    opacity: 1;
}

.discord-activity {
    color: rgb(223, 28, 109);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discord-activity:not(:empty) {
    opacity: 1;
}

.spotify-embed {
    flex: 1;
    min-width: 0;
}

.spotify-embed iframe {
    border: none;
    max-height: 80px;
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
    }
    
    h1 {
        font-size: 1.25rem;
    }
    
    .bio {
        font-size: 0.9rem;
    }

    .social-links {
        top: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .status-container {
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .spotify-embed iframe {
        max-height: 80px;
    }
} 