@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Unbounded', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: none !important;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #020202;
    color: #ededed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 12px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

#bgVideo {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    transform: scale(1.02);
    z-index: -1;
}

.preview-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preview-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.preview-hint {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-dot svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.8));
    transition: transform 0.15s ease;
}

.cursor-dot.clicking svg {
    transform: scale(0.7) rotate(45deg);
}

.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.music-player {
    position: relative;
    z-index: 1;
    width: min(92vw, 660px);
    border: 1px solid #2f2f2f;
    background: rgba(16, 16, 16, 0.9);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.music-player::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.music-player > * {
    position: relative;
    z-index: 1;
}

.player-title {
    color: #f5f5f5;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.progress-container {
    flex: 1;
    position: relative;
    height: 4px;
    background: #1a1a1a;
    border: 1px solid #383838;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #5f5f5f;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    cursor: pointer;
    opacity: 0;
    z-index: 5;
}

.play-btn {
    background: none;
    border: none;
    color: #f5f5f5;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.15);
}

.play-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.card {
    position: relative;
    z-index: 1;
    width: min(92vw, 660px);
    border: 1px solid #2f2f2f;
    padding: 18px;
    background: #0d0d0d;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-header {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 14px;
    padding: 8px 10px;
    border: 1px solid #333;
    background: rgba(15, 15, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subpage-tag {
    color: #666;
    margin-left: 4px;
    font-weight: 400;
}

.avatar-link {
    display: flex;
    align-items: center;
}

.avatar-right {
    width: 16px;
    height: 16px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.8;
    transition: 0.2s ease;
}

.avatar-right:hover {
    opacity: 1;
    transform: scale(1.15);
}

.card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.link-block {
    display: grid;
    gap: 10px;
}

.link-item {
    display: block;
    color: #f5f5f5;
    text-decoration: none;
    padding: 10px 12px;
    border: 1px solid #383838;
    background: rgba(16, 16, 16, 0.9);
    transition: all 0.15s ease;
    font-size: 0.95rem;
}

.link-item:hover {
    border-color: #5f5f5f;
    background: rgba(26, 26, 26, 0.95);
    transform: translateY(-2px);
}

.content-block {
    border: 1px solid #2f2f2f;
    padding: 12px;
    min-height: 160px;
    background: rgba(15, 15, 15, 0.85);
    color: #d3d3d3;
    line-height: 1.45;
}

.caption {
    margin: 0;
    font-size: 0.92rem;
}