@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    background-color: #050505; color: #fff;
    height: 100vh; display: flex; justify-content: center; align-items: center;
    font-family: 'Inter', sans-serif; overflow: hidden; user-select: none;
}

#bg-video {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    object-fit: cover; z-index: -2; pointer-events: none;
}

.bg-overlay {
    position: fixed; inset: 0; z-index: -1;
    background: rgba(10, 10, 10, 0.6); backdrop-filter: blur(8px);
}

#enter-screen {
    position: fixed; inset: 0; background: #000;
    display: flex; justify-content: center; align-items: center;
    z-index: 999; cursor: pointer; transition: opacity 0.2s ease;
}

.enter-text { font-size: 14px; letter-spacing: 2px; color: #fff; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }

#main-content {
    z-index: 10; width: 100%; display: flex; justify-content: center;
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.profile-container {
    display: flex; gap: 40px; align-items: center; max-width: 900px; width: 100%; padding: 20px;
}

.discord-card {
    background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px;
    padding: 30px 25px; width: 320px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.avatar-wrapper { position: relative; width: 110px; height: 110px; margin: 0 auto 15px; }
#discord-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.status-dot {
    position: absolute; bottom: 5px; right: 5px; width: 22px; height: 22px;
    background-color: #747f8d; border: 4px solid #141414; border-radius: 50%;
}
.status-online { background-color: #43b581; }
.status-idle { background-color: #faa61a; }
.status-dnd { background-color: #f04747; }

.discord-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.discord-handle { font-size: 13px; color: #aaa; margin-bottom: 2px; }
.discord-id { font-size: 11px; color: #555; margin-bottom: 15px; }

.owner-badge-clean {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    color: #eee; border-radius: 8px; padding: 6px 12px; font-size: 10px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px; letter-spacing: 1px;
    margin: 0 auto 15px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.owner-badge-clean i { color: #FFD700; font-size: 11px; }

.local-time { font-size: 11px; color: #888; font-weight: 600; margin-bottom: 15px; display: flex; justify-content: center; align-items: center; gap: 5px; }

.tooltip-container { position: relative; cursor: default; }
.tooltip-text {
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(15, 15, 15, 0.95); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); color: #ddd; padding: 6px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.5px; white-space: nowrap;
    opacity: 0; visibility: hidden; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}
.tooltip-text::after {
    content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px;
    border-width: 5px; border-style: solid;
    border-color: rgba(15, 15, 15, 0.95) transparent transparent transparent;
}
.tooltip-container:hover .tooltip-text { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.activity-box {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; padding: 12px; font-size: 12px; color: #aaa; margin-bottom: 10px;
}
.device-status { font-size: 11px; color: #666; display: flex; align-items: center; justify-content: center; gap: 5px; }

.info-card { display: flex; flex-direction: column; justify-content: center; }
.huge-name { font-size: 65px; font-weight: 800; letter-spacing: -2px; margin-bottom: -5px; color: #e0e0e0; }
.subtitle { font-size: 18px; color: #aaa; font-weight: 500; margin-bottom: 25px; }

.crypto-row { display: flex; gap: 10px; margin-bottom: 20px; }
.crypto-pill {
    background: rgba(20, 20, 20, 0.5); border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 8px; backdrop-filter: blur(10px); cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.crypto-pill:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* Litecoin-Logo als SVG: sauber, scharf und immer exakt zentriert */
.litecoin-icon {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.litecoin-pill-icon {
    width: 16px;
    height: 16px;
}

.modal-litecoin-icon {
    width: 27px;
    height: 27px;
}

.link-button {
    background: rgba(20, 20, 20, 0.5); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 15px;
    display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: #fff; margin-bottom: 10px;
    backdrop-filter: blur(10px); transition: background 0.2s; width: 400px;
}
.link-button:hover { background: rgba(255, 255, 255, 0.05); }
.link-left { display: flex; align-items: center; gap: 12px; }
.server-icon { width: 40px; height: 40px; border-radius: 8px; }
.link-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.link-text p { font-size: 11px; color: #888; display: flex; align-items: center; }
.online-dot { width: 6px; height: 6px; background: #43b581; border-radius: 50%; display: inline-block; margin-right: 4px; }
.link-right { background: #5865F2; padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.clean-link { justify-content: flex-start; gap: 10px; font-size: 14px; font-weight: 500; }

.view-counter {
    position: fixed; bottom: 20px; left: 20px; background: rgba(20, 20, 20, 0.6);
    padding: 8px 15px; border-radius: 20px; font-size: 12px; color: #aaa;
    display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.05);
}

.music-player {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(25, 25, 25, 0.8); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px;
    padding: 10px; display: flex; align-items: center; gap: 12px;
    width: 200px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-cover { width: 45px; height: 45px; border-radius: 10px; object-fit: cover; transition: all 0.4s; }
.player-details { flex: 1; overflow: hidden; }
.player-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.player-titles h4 { font-size: 13px; font-weight: 600; white-space: nowrap; margin-bottom: 2px; }
.player-titles p { font-size: 11px; color: #888; white-space: nowrap; }

.player-controls { display: flex; align-items: center; gap: 10px; opacity: 0; width: 0; overflow: hidden; transition: all 0.3s ease; }
#play-pause-btn {
    background: rgba(255,255,255,0.1); border: none; color: #fff; width: 28px; height: 28px;
    border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: background 0.2s;
}
#play-pause-btn:hover { background: rgba(255,255,255,0.2); }
.volume-icon { font-size: 11px; color: #888; }

input[type=range] { -webkit-appearance: none; background: transparent; outline: none; }

#volume-slider { width: 50px; height: 4px; border-radius: 2px; background: linear-gradient(to right, #fff 20%, rgba(255, 255, 255, 0.1) 20%); cursor: pointer; }
#volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 0.2s; }
.music-player:hover #volume-slider::-webkit-slider-thumb { opacity: 1; }

.progress-container { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #888; font-family: monospace; }
.time { opacity: 0; width: 0; overflow: hidden; transition: all 0.3s; }
#progress-slider { flex: 1; height: 3px; border-radius: 2px; background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.1) 0%); cursor: pointer; transition: height 0.3s; }
#progress-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 0.2s; }
.music-player:hover #progress-slider::-webkit-slider-thumb { opacity: 1; }

.music-player:hover { width: 380px; padding: 12px; }
.music-player:hover .player-cover { width: 55px; height: 55px; }
.music-player:hover .player-controls { opacity: 1; width: auto; }
.music-player:hover .time { opacity: 1; width: auto; }
.music-player:hover #progress-slider { height: 4px; }

.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center; z-index: 1000; transition: opacity 0.3s;
}
.crypto-modal-content {
    background: #0f0f0f; border: 1px solid #1f1f1f; border-radius: 16px;
    width: 420px; padding: 25px; position: relative; font-family: 'Inter', sans-serif;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.close-modal {
    position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.05); border: none;
    color: #888; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; transition: 0.2s;
}
.close-modal:hover { background: rgba(255,255,255,0.1); color: #fff; }

.crypto-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.crypto-icon-box {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    overflow: hidden;
}
.crypto-icon-box > i,
.crypto-icon-box > img {
    grid-area: 1 / 1;
}
.crypto-title h2 { font-size: 18px; font-weight: 700; }
.crypto-title p { font-size: 13px; color: #888; font-weight: 600; }

.crypto-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.crypto-price-row h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.change-badge { font-size: 13px; font-weight: 700; }
.change-positive { color: #14F195; }
.change-negative { color: #f04747; }

.crypto-chart-container { width: 100%; height: 120px; margin-bottom: 25px; }

.crypto-section h3 { font-size: 11px; color: #666; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.address-box {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px; padding: 12px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px;
}
#modal-address { font-size: 12px; color: #ccc; font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
#copy-btn {
    background: #e0e0e0; color: #111; border: none; padding: 8px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: 0.2s;
}
#copy-btn:hover { background: #fff; transform: scale(1.05); }

.verify-input {
    width: 100%; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    padding: 14px; border-radius: 10px; color: #fff; font-size: 12px; outline: none; margin-bottom: 8px;
}
.verify-input:focus { border-color: rgba(255,255,255,0.15); }
.verify-hint { font-size: 11px; color: #555; }
/* Discord server embed */
#discord-server-icon {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.05);
}

#discord-server-stats {
    min-height: 14px;
}

/* ---------- Clean motion system ---------- */
:root {
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

#enter-screen::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
    transform: translateY(28px) scaleX(.25);
    animation: enterLine 1.8s var(--ease-out) infinite;
}

@keyframes enterLine {
    0%, 100% { opacity: .2; transform: translateY(28px) scaleX(.25); }
    50% { opacity: 1; transform: translateY(28px) scaleX(1); }
}

.profile-container > * {
    opacity: 0;
    transform: translateY(22px) scale(.985);
}

#main-content:not(.hidden) .discord-card {
    animation: cardReveal .8s var(--ease-out) .05s forwards;
}

#main-content:not(.hidden) .info-card {
    animation: cardReveal .8s var(--ease-out) .16s forwards;
}

@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.discord-card,
.link-button,
.crypto-pill,
.music-player,
.view-counter,
.crypto-modal-content {
    will-change: transform, opacity;
}

.discord-card {
    transition: transform .45s var(--ease-out), border-color .35s ease, box-shadow .45s var(--ease-out);
}

.discord-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.11);
    box-shadow: 0 28px 65px rgba(0,0,0,.62);
}

.avatar-wrapper {
    transition: transform .45s var(--ease-out);
}

.discord-card:hover .avatar-wrapper {
    transform: scale(1.035);
}

.crypto-pill {
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease-out), background .3s ease, border-color .3s ease;
}

.crypto-pill::after,
.link-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.09) 48%, transparent 70%);
    transform: translateX(-130%);
    transition: transform .7s var(--ease-out);
    pointer-events: none;
}

.crypto-pill:hover::after,
.link-button:hover::after {
    transform: translateX(130%);
}

.crypto-pill:active,
.link-button:active {
    transform: scale(.98);
}

.link-button {
    position: relative;
    overflow: hidden;
    transition: transform .32s var(--ease-out), background .3s ease, border-color .3s ease, box-shadow .32s var(--ease-out);
}

.link-button:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 14px 35px rgba(0,0,0,.32);
}

.link-right {
    transition: transform .3s var(--ease-out), background .3s ease;
}

.link-button:hover .link-right {
    transform: translateX(2px);
    background: #6571f5;
}

.tiktok-link i {
    font-size: 17px;
    transition: transform .35s var(--ease-out);
}

.tiktok-link:hover i {
    transform: rotate(-7deg) scale(1.12);
}

.status-online {
    animation: statusPulse 2.1s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(67,181,129,.3); }
    50% { box-shadow: 0 0 0 7px rgba(67,181,129,0); }
}

.modal-overlay:not(.hidden) .crypto-modal-content {
    animation: modalReveal .42s var(--ease-out) forwards;
}

@keyframes modalReveal {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-modal {
    transition: transform .3s var(--ease-out), background .2s ease, color .2s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.music-player:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,.4);
}

.view-counter {
    animation: softFloat 4s ease-in-out infinite;
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 820px) {
    body { overflow-y: auto; align-items: flex-start; }
    .profile-container { flex-direction: column; gap: 24px; padding: 70px 18px 130px; }
    .discord-card { width: min(100%, 360px); }
    .info-card { width: min(100%, 420px); }
    .huge-name { font-size: clamp(48px, 16vw, 65px); }
    .link-button { width: 100%; }
    .crypto-row { flex-wrap: wrap; }
    .music-player { bottom: 14px; max-width: calc(100vw - 28px); }
    .view-counter { top: 14px; bottom: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
