﻿:root {
    --bg-dark: #050505;
    --card-bg: #121212;
    --item-bg: #1c1c1e;
    --accent: #7c3aed;
    --green: #10b981;
}

body {
    margin: 0; padding: 0;
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
.avatar-wrap, .avatar-wrap img { pointer-events: auto; }
.qr-img { pointer-events: auto; }

#cursor-glow {
    position: fixed; top: 0; left: 0; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
    z-index: 1; transition: opacity 0.3s;
}

.click-particle {
    position: absolute; width: 4px; height: 4px; background: var(--accent);
    border-radius: 50%; pointer-events: none; z-index: 99;
    animation: burst 0.8s forwards ease-out;
}
@keyframes burst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.bg-gradient { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: radial-gradient(circle at 50% 0%, #1e1b2e 0%, #050505 60%); }
#network-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.3; pointer-events: none; }

.container { width: 100%; max-width: 400px; padding: 20px; perspective: 1000px; position: relative; z-index: 10; }

.profile-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px; padding: 40px 20px; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transform-style: preserve-3d; position: relative; overflow: hidden;
    transition: transform 0.1s;
}
.spotlight {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(600px circle at var(--x) var(--y), rgba(255,255,255,0.06), transparent 40%);
    pointer-events: none; z-index: 1;
}

.avatar-wrap {
    position: relative; width: 110px; height: 110px; margin: 0 auto 15px;
    border-radius: 50%; padding: 3px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateZ(20px); position: relative; z-index: 5;
    cursor: zoom-in; transition: transform 0.3s;
}
.avatar-wrap:hover { transform: translateZ(20px) scale(1.05); }
.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--card-bg); display: block; }
.status-badge { position: absolute; bottom: 5px; right: 5px; background: var(--green); color: #000; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 10px; border: 3px solid var(--card-bg); transform: translateZ(25px); }

.header-row { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 10px; transform: translateZ(10px); z-index: 5; }
h1 { font-size: 24px; font-weight: 700; margin: 0; color: white; display: flex; align-items: center; gap: 6px; }
.verified { color: #3b82f6; font-size: 18px; }

.header-btns { position: absolute; right: 0; top: 0; display: flex; gap: 8px; }
.icon-btn {
    background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1);
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: #fff; color: #000; }
.lang-text { font-size: 0.75rem; font-weight: 700; }

.trust-stats { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; transform: translateZ(15px); position: relative; z-index: 5; }
.stat-badge { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: var(--green); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }

.info-list { display: flex; flex-direction: column; gap: 12px; text-align: left; transform: translateZ(30px); position: relative; z-index: 5; }
.item {
    display: flex; align-items: center; gap: 15px; padding: 14px 18px;
    background: var(--item-bg); border: 1px solid rgba(255,255,255,0.03);
    border-radius: 14px; transition: 0.2s ease;
}
.item:hover { background: #252529; border-color: rgba(255,255,255,0.1); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.icon-box { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.icon-box.lock { color: #9ca3af; } .icon-box.note { color: #c084fc; } .icon-box.globe { color: #38bdf8; } 
.icon-box.smile { color: #e5e7eb; } .icon-box.mobile { color: #fbbf24; } .icon-box.planet { color: #fb923c; }

.text-wrap { flex: 1; overflow: hidden; }
.label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; margin-bottom: 2px; display: block; font-weight: 600; }
.value { font-size: 1rem; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.value-link { color: #38bdf8; text-decoration: none; transition: 0.2s; }
.value-link:hover { color: #7dd3fc; text-decoration: underline; }

.copy-btn { background: transparent; border: none; color: #555; cursor: pointer; padding: 5px; transition: 0.2s; }
.copy-btn:hover { color: #fff; }

.blur-text { filter: blur(5px); transition: 0.3s; cursor: pointer; user-select: none; }
.item:hover .blur-text { filter: blur(0); }

.typing::after { content: '|'; animation: blink 1s infinite; color: var(--accent); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.modal, .avatar-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(8px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal.active, .avatar-modal.active { opacity: 1; pointer-events: all; }

.modal-box { background: #18181b; border: 1px solid #333; padding: 25px; border-radius: 20px; text-align: center; transform: scale(0.8); transition: 0.3s; color: white; width: 320px; }
.modal.active .modal-box { transform: scale(1); }
.qr-img { width: 150px; height: 150px; }

.avatar-full { max-width: 90%; max-height: 90%; border-radius: 50%; box-shadow: 0 0 50px rgba(124, 58, 237, 0.5); transform: scale(0.5); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.avatar-modal.active .avatar-full { transform: scale(1); }

.close-modal { margin-top: 15px; background: #333; color: white; border: none; padding: 10px 25px; border-radius: 12px; cursor: pointer; font-weight: bold; transition: 0.2s; }
.close-modal:hover { background: #fff; color: #000; }

.calc-group { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.calc-label { width: 50px; font-weight: bold; color: #888; text-align: left; }
.calc-input { flex: 1; padding: 10px; background: #000; border: 1px solid #333; border-radius: 8px; color: white; text-align: right; font-size: 1.1rem; }
.calc-input:focus { border-color: var(--accent); outline: none; }
.calc-result { font-size: 1.2rem; color: var(--green); font-weight: bold; margin-top: 5px; text-align: right; padding-right: 10px; }
.hr-line { border-top: 1px solid #333; margin: 15px 0; }

@media (max-width: 768px) {
    body { overflow-y: auto; align-items: flex-start; padding: 20px 0; }
    .container { padding: 15px; margin-top: 0; }
    .profile-card { padding: 30px 15px; }
    #cursor-glow { display: none !important; }
    .icon-btn { width: 42px; height: 42px; font-size: 1.2rem; }
    h1 { font-size: 22px; }
    .value { font-size: 0.95rem; }
    .modal-box { width: 85%; }
    .qr-img { width: 120px; height: 120px; }
}
