* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    background: #000;
}

.rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.drop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(transparent, rgba(174, 194, 224, 0.5));
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.click-text {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.container {
    padding: 20px;
    transition: opacity 0.5s ease;
    perspective: 1000px;
}

.card {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 30px 40px;
    width: 520px;
    max-width: 90vw;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.card-top {
    margin-bottom: 12px;
}

.pfp-wrapper {
    position: relative;
    display: inline-block;
}

.pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pfp:hover {
    transform: scale(1.05);
}

.copy-tooltip {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.copy-tooltip.show {
    opacity: 1;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid rgba(30, 30, 30, 0.9);
    background: #747f8d;
}

.status-dot.online { background: #3ba55c; }
.status-dot.idle { background: #faa61a; }
.status-dot.dnd { background: #ed4245; }
.status-dot.offline { background: #747f8d; }

.card-info {
    text-align: left;
}

.username {
    color: #d4e6e6;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.cursor {
    animation: blink 1s infinite;
    margin-left: 2px;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.discord-status {
    color: rgba(212, 230, 230, 0.7);
    font-size: 14px;
    display: none;
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(212, 230, 230, 0.12);
    margin: 20px 0;
}

.activity-section {
    display: none;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(212, 230, 230, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.activity-header i {
    font-size: 14px;
}

.activity-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.album-art {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.activity-name {
    color: #d4e6e6;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-details {
    color: rgba(212, 230, 230, 0.7);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-state {
    color: rgba(212, 230, 230, 0.5);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .card {
        width: 100%;
        padding: 20px;
    }
    
    .pfp {
        width: 80px;
        height: 80px;
    }
    
    .username {
        font-size: 26px;
    }
    
    .album-art {
        width: 60px;
        height: 60px;
    }
}

.username-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badges {
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
