:root {
    --bg-color: #050505;
    --accent-color: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.07);
    --card-hover-bg: rgba(255, 255, 255, 0.06);
    --status-online: #43b581;
    --status-idle: #faa61a;
    --status-dnd: #f04747;
    --status-offline: #747f8d;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: white;
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
    user-select: none;
    /* Disable text selection */
    -webkit-user-select: none;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    filter: brightness(0.2) contrast(1.1);
}

.overlay-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    padding: 80px 0;
    z-index: 10;
}

header {
    text-align: center;
    margin-bottom: 80px;
}

header h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -3px;
    margin: 0;
    text-transform: lowercase;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

header .subtitle {
    font-size: 0.9rem;
    color: var(--accent-dim);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 400;
}

#profiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.profile-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
    animation: breathing-glow 4s ease-in-out infinite;
}

@keyframes breathing-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.07);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.profile-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.profile-card:hover::before {
    left: 100%;
}

.avatar-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
}

.avatar-container .avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    /* Organic shape */
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.profile-card:hover .avatar-img {
    border-radius: 50%;
    transform: rotate(5deg);
}

.decoration {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 2;
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #111;
    z-index: 3;
}

.status-online {
    background: var(--status-online);
}

.status-idle {
    background: var(--status-idle);
}

.status-dnd {
    background: var(--status-dnd);
}

.status-offline {
    background: var(--status-offline);
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.lanyard-card {
    margin-top: 20px;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
    transition: var(--transition);
}

.lanyard-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.lanyard-card .title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-dim);
    font-weight: 800;
}

.lanyard-card .main-text {
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lanyard-card .sub-text {
    color: var(--accent-dim);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lanyard-card .progress-bg {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.lanyard-card .progress-bar {
    height: 100%;
    background: white;
    transition: width 1s linear;
}

.lanyard-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px;
    margin-top: 15px;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.lanyard-card .title {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 800;
    margin-bottom: 4px;
}

.lanyard-card .main-text {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lanyard-card .sub-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.profile-card:hover .lanyard-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.view-btn {
    margin-top: 25px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.profile-card:hover .view-btn {
    background: white;
    color: black;
    letter-spacing: 7px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cursor-dot::after {
    content: '✦';
    font-family: serif;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.particle {
    position: fixed;
    pointer-events: none;
    background: white;
    border-radius: 50%;
    z-index: 9999;
}

/* Music Player */
.music-player.modern {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transition: var(--transition);
}

.music-player.modern:hover {
    background: rgba(20, 20, 20, 0.8);
    transform: scale(1.05);
}

#mainPlayBtn {
    background: white;
    border: none;
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
}

#mainPlayBtn:hover {
    transform: scale(1.1);
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}