* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: white;
    overflow: hidden;
    height: 100vh;
    cursor: url('pointer.cur') 16 16, auto;
}

.start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.start-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.3);
    transform: scale(1.1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.start-screen.bg-loaded::before {
    opacity: 1;
}

.start-text {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.hidden {
    display: none;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.background-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
    transform: scale(1.1);
}

.background-media.active {
    opacity: 1;
}

.background-media.preload {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
}

.bio-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 32px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    animation: slideUp 0.8s ease-out;
    transform: translateY(0);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-picture {
    margin-bottom: 16px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.profile-picture img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.username {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeIn 1s ease-out 0.5s both;
    transition: color 0.3s ease;
}

.username:hover {
    color: rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px) scale(1.1);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: all 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.social-icon:hover svg {
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    animation: fadeIn 1s ease-out 0.7s both;
}

.location-icon {
    font-size: 12px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.music-player {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 6px;
    animation: fadeIn 1s ease-out 1.1s both;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: 320px;
    width: 100%;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.music-player:hover {
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.time-display {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    min-width: 35px;
    font-family: 'Courier New', monospace;
}

.timeline-container {
    flex: 1;
    position: relative;
}

.timeline {
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.timeline:hover {
    height: 4px;
}

.timeline-progress {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    width: 10%;
    transition: width 0.1s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.timeline-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.timeline-handle {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 2px;
    cursor: pointer;
    transition: left 0.1s ease, opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
}

.timeline:hover .timeline-handle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-pause-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.play-pause-btn:hover {
    opacity: 0.7;
}

.play-pause-btn:active {
    opacity: 0.5;
}

.pause-icon {
    display: flex;
    gap: 2px;
}

.pause-bar {
    width: 2px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    animation: pauseBarPulse 1.5s ease-in-out infinite alternate;
}

.pause-bar:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes pauseBarPulse {
    from {
        opacity: 0.9;
    }
    to {
        opacity: 0.6;
    }
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 10px solid rgba(255, 255, 255, 0.9);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
    animation: playIconGlow 2s ease-in-out infinite;
}

@keyframes playIconGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.copy-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.copy-notification span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-notification span::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
}

.social-icon.litecoin-copy,
.social-icon.discord-copy {
    background: none;
    border: none;
    cursor: pointer;
}

.social-icon.discord-copy svg {
    width: 22px;
    height: 22px;
}

.discord-activity {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 16px 20px;
    max-width: 320px;
    width: 100%;
    margin-top: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out 1.3s both;
    transition: all 0.3s ease;
}

.discord-activity:hover {
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.discord-user-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.discord-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.discord-icon {
    width: 16px;
    height: 16px;
    color: #5865f2;
}

.activity-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #747f8d;
    transition: background 0.3s ease;
}

.status-indicator.online {
    background: #3ba55d;
}

.status-indicator.idle {
    background: #faa81a;
}

.status-indicator.dnd {
    background: #ed4245;
}

.activity-content {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.loading {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.activity-text {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-activity {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
}

.error-message {
    color: rgba(255, 100, 100, 0.8);
    font-size: 12px;
    text-align: center;
}

.setup-instructions {
    text-align: center;
    font-size: 12px;
}

.setup-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 6px;
}

.setup-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.setup-steps {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    font-size: 11px;
}

@media (max-width: 480px) {
    .bio-card {
        padding: 24px 20px;
        margin: 20px;
        max-width: 280px;
    }
    
    .username {
        font-size: 22px;
    }
    
    .music-player {
        gap: 8px;
        padding: 6px 12px;
    }
    
    .time-display {
        font-size: 11px;
        min-width: 30px;
    }
    
    .copy-notification {
        top: 10px;
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .discord-activity {
        padding: 12px 16px;
        max-width: 280px;
    }
    
    .activity-header {
        margin-bottom: 8px;
    }
    
    .activity-title {
        font-size: 13px;
    }
}