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

:root {
--primary: #8B5CF6;
--secondary: #EC4899;
--accent: #06B6D4;
--text: #FFFFFF;
--text-secondary: rgba(255, 255, 255, 0.7);
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--shadow: rgba(0, 0, 0, 0.3);
--bg-dark: #000000;
}

html, body {
background-color: var(--bg-dark) !important;
color-scheme: dark !important;
cursor: crosshair;
}

html[data-darkreader-mode],
html[data-darkreader-scheme] {
background: var(--bg-dark) !important;
filter: none !important;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: #000;
color: var(--text);
overflow: hidden;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}

#mouse-glow {
position: fixed;
top: -500px;
left: -500px;
width: 600px;
height: 600px;
margin-left: -300px;
margin-top: -300px;
background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 30%, transparent 70%);
pointer-events: none;
z-index: 100;
mix-blend-mode: screen;
transition: opacity 0.3s ease;
}

.entrance-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
cursor: crosshair;
transition: opacity 0.8s ease, visibility 0.8s ease;
}

.entrance-overlay.hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
}

.entrance-content {
text-align: center;
animation: entrancePulse 2s ease-in-out infinite;
}

.entrance-title {
font-size: 48px;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 16px;
}

.entrance-subtitle {
font-size: 16px;
color: var(--text-secondary);
font-weight: 300;
letter-spacing: 2px;
}

@keyframes entrancePulse {
0%, 100% {
opacity: 0.8;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.02);
}
}

.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
background: #000;
overflow: hidden;
pointer-events: none;
}

.stars-container {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}

.star {
position: absolute;
width: 4px;
height: 4px;
border-radius: 50%;
background: #fff;
box-shadow: 0 0 10px #fff, 0 0 20px #fff;
opacity: 0;
}

.star::before {
content: '';
position: absolute;
top: 50%;
left: 100%;
width: 0;
height: 2px;
background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
transform: translateY(-50%);
}

@keyframes shootStar {
0% {
opacity: 0;
transform: translate(0, 0) rotate(-45deg);
}
10% {
opacity: 1;
}
90% {
opacity: 0.8;
}
100% {
opacity: 0;
transform: translate(-800px, 800px) rotate(-45deg);
}
}

@keyframes growTail {
0% {
width: 0;
}
20% {
width: 150px;
}
90% {
width: 150px;
}
100% {
width: 0;
}
}

.star {
animation: shootStar 4s ease-out infinite;
}

.star::before {
animation: growTail 4s ease-out infinite;
}

.star:nth-child(1) {
top: 5%;
left: 10%;
animation-delay: 0s;
animation-duration: 4.5s;
}

.star:nth-child(1)::before {
animation-delay: 0s;
animation-duration: 4.5s;
}

.star:nth-child(2) {
top: 15%;
left: 30%;
animation-delay: 1s;
animation-duration: 5s;
}

.star:nth-child(2)::before {
animation-delay: 1s;
animation-duration: 5s;
}

.star:nth-child(3) {
top: 25%;
left: 50%;
animation-delay: 2s;
animation-duration: 4.2s;
}

.star:nth-child(3)::before {
animation-delay: 2s;
animation-duration: 4.2s;
}

.star:nth-child(4) {
top: 10%;
left: 70%;
animation-delay: 3s;
animation-duration: 4.8s;
}

.star:nth-child(4)::before {
animation-delay: 3s;
animation-duration: 4.8s;
}

.star:nth-child(5) {
top: 35%;
left: 20%;
animation-delay: 1.5s;
animation-duration: 5.2s;
}

.star:nth-child(5)::before {
animation-delay: 1.5s;
animation-duration: 5.2s;
}

.star:nth-child(6) {
top: 8%;
left: 85%;
animation-delay: 2.5s;
animation-duration: 4.6s;
}

.star:nth-child(6)::before {
animation-delay: 2.5s;
animation-duration: 4.6s;
}

.star:nth-child(7) {
top: 40%;
left: 40%;
animation-delay: 3.5s;
animation-duration: 4.3s;
}

.star:nth-child(7)::before {
animation-delay: 3.5s;
animation-duration: 4.3s;
}

.star:nth-child(8) {
top: 18%;
left: 60%;
animation-delay: 0.5s;
animation-duration: 4.9s;
}

.star:nth-child(8)::before {
animation-delay: 0.5s;
animation-duration: 4.9s;
}

.star:nth-child(9) {
top: 30%;
left: 15%;
animation-delay: 1.8s;
animation-duration: 5.1s;
}

.star:nth-child(9)::before {
animation-delay: 1.8s;
animation-duration: 5.1s;
}

.star:nth-child(10) {
top: 12%;
left: 90%;
animation-delay: 2.8s;
animation-duration: 4.4s;
}

.star:nth-child(10)::before {
animation-delay: 2.8s;
animation-duration: 4.4s;
}

.view-counter {
position: fixed;
top: 20px;
left: 20px;
background: var(--glass-bg);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 12px;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 8px;
z-index: 100;
opacity: 0;
transform: translateY(-20px);
transition: all 0.6s ease;
}

.view-counter.show {
opacity: 1;
transform: translateY(0);
}

.eye-icon {
width: 18px;
height: 18px;
stroke: var(--primary);
}

#view-count {
font-size: 13px;
font-weight: 600;
color: var(--text);
}

.volume-control {
position: fixed;
top: 20px;
right: 20px;
background: var(--glass-bg);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 12px;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 10px;
z-index: 100;
opacity: 0;
transform: translateY(-20px);
transition: all 0.6s ease 0.1s;
}

.volume-control.show {
opacity: 1;
transform: translateY(0);
}

.volume-icon {
width: 18px;
height: 18px;
stroke: var(--primary);
flex-shrink: 0;
transition: all 0.3s ease;
cursor: pointer;
}

.volume-icon:hover {
stroke: var(--secondary);
transform: scale(1.1);
}

.volume-icon.muted {
stroke: #ED4245;
}

.volume-icon.muted #wave1 {
opacity: 0;
}

.volume-slider {
width: 100px;
height: 4px;
-webkit-appearance: none;
appearance: none;
background: rgba(255, 255, 255, 0.2);
border-radius: 2px;
outline: none;
transition: background 0.3s ease;
cursor: pointer;
}

.volume-slider.muted {
background: rgba(237, 66, 69, 0.2);
}

.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
background: var(--primary);
border-radius: 50%;
cursor: pointer;
box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
transition: background 0.3s ease;
}

.volume-slider.muted::-webkit-slider-thumb {
background: #ED4245;
box-shadow: 0 2px 6px rgba(237, 66, 69, 0.4);
}

.volume-slider::-moz-range-thumb {
width: 14px;
height: 14px;
background: var(--primary);
border-radius: 50%;
cursor: pointer;
border: none;
box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
transition: background 0.3s ease;
}

.volume-slider.muted::-moz-range-thumb {
background: #ED4245;
box-shadow: 0 2px 6px rgba(237, 66, 69, 0.4);
}

#volume-percent {
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
min-width: 35px;
text-align: right;
transition: color 0.3s ease;
}

#volume-percent.muted {
color: #ED4245;
}

.lastfm-trigger {
position: fixed;
bottom: 20px;
right: 20px;
background: var(--glass-bg);
backdrop-filter: blur(20px);
border: 1px solid rgba(186, 0, 0, 0.3);
border-radius: 12px;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 10px;
z-index: 100;
transition: all 0.3s ease;
opacity: 0;
transform: translateY(20px);
cursor: pointer;
}

.lastfm-trigger.show {
opacity: 1;
transform: translateY(0);
transition: all 0.6s ease 0.2s, transform 0.3s ease, background 0.3s ease;
}

.lastfm-trigger:hover {
background: rgba(186, 0, 0, 0.1);
border-color: rgba(186, 0, 0, 0.5);
transform: translateY(-2px);
}

.lastfm-icon {
width: 20px;
height: 20px;
fill: #BA0000;
}

.lastfm-label {
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
}

.lastfm-dropdown {
position: fixed;
bottom: 75px;
right: 20px;
background: var(--glass-bg);
backdrop-filter: blur(40px);
border: 1px solid rgba(186, 0, 0, 0.3);
border-radius: 16px;
padding: 16px;
min-width: 300px;
max-width: 350px;
z-index: 99;
opacity: 0;
transform: translateY(10px) scale(0.95);
pointer-events: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lastfm-dropdown.show {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: all;
}

.widget-loading {
display: flex;
align-items: center;
gap: 12px;
justify-content: center;
}

.loader {
width: 20px;
height: 20px;
border: 2px solid rgba(255, 255, 255, 0.1);
border-top-color: #BA0000;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}

@keyframes spin {
to { transform: rotate(360deg); }
}

.widget-loading span {
font-size: 13px;
color: var(--text-secondary);
}

.lastfm-content {
display: flex;
gap: 14px;
}

.track-art {
width: 70px;
height: 70px;
border-radius: 8px;
object-fit: cover;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.track-info {
flex: 1;
min-width: 0;
}

.track-label {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #BA0000;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 6px;
font-weight: 600;
}

.track-name {
font-size: 15px;
font-weight: 600;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text);
}

.track-artist {
font-size: 13px;
color: var(--text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.track-time {
font-size: 11px;
color: var(--text-secondary);
margin-top: 6px;
}

.card {
width: 450px;
max-width: 90vw;
background: var(--glass-bg);
backdrop-filter: blur(40px);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 40px 32px;
box-shadow: 0 20px 60px var(--shadow);
position: relative;
overflow: hidden;
opacity: 0;
transform: scale(0.9);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
}

.card.show {
opacity: 1;
transform: scale(1);
}

.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(90deg, transparent, var(--primary), transparent);
opacity: 0.5;
}

.profile-section {
text-align: center;
margin-bottom: 24px;
}

.avatar-container {
position: relative;
width: 100px;
height: 100px;
margin: 0 auto 16px;
}

.avatar {
width: 100%;
height: 100%;
border-radius: 50%;
border: 3px solid var(--glass-border);
object-fit: cover;
position: relative;
z-index: 2;
transition: transform 0.5s ease;
cursor: pointer;
}

.avatar-ring {
position: absolute;
top: -4px;
left: -4px;
width: calc(100% + 8px);
height: calc(100% + 8px);
border-radius: 50%;
background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
opacity: 0.6;
filter: blur(8px);
animation: rotate 3s linear infinite;
z-index: 1;
}

@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

.username {
font-size: 28px;
font-weight: 700;
margin-bottom: 12px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.bio {
font-size: 14px;
color: var(--text-secondary);
line-height: 1.6;
}

.discord-status {
background: rgba(88, 101, 242, 0.1);
border: 1px solid rgba(88, 101, 242, 0.2);
border-radius: 16px;
padding: 16px;
margin-bottom: 20px;
min-height: 80px;
display: flex;
align-items: center;
}

.status-loading {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
justify-content: center;
}

.status-loading span {
font-size: 13px;
color: var(--text-secondary);
}

.discord-content {
display: flex;
align-items: center;
gap: 14px;
width: 100%;
}

.discord-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid rgba(88, 101, 242, 0.4);
position: relative;
}

.discord-info {
flex: 1;
min-width: 0;
}

.discord-username {
font-size: 15px;
font-weight: 600;
margin-bottom: 4px;
}

.discord-activity {
font-size: 12px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 2px;
}

.discord-custom-status {
font-size: 11px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 4px;
margin-top: 4px;
}

.status-indicator {
width: 10px;
height: 10px;
border-radius: 50%;
border: 2px solid rgba(0, 0, 0, 0.3);
position: absolute;
bottom: 0;
right: 0;
}

.status-online { background: #3BA55D; }
.status-idle { background: #FAA81A; }
.status-dnd { background: #ED4245; }
.status-offline { background: #747F8D; }

.social-links {
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 20px;
}

.social-link {
width: 44px;
height: 44px;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
cursor: pointer;
}

.social-link::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--primary), var(--secondary));
opacity: 0;
transition: opacity 0.3s ease;
}

.social-link:hover::before {
opacity: 0.2;
}

.social-link:hover {
transform: translateY(-3px);
border-color: var(--primary);
box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.social-link svg {
width: 20px;
height: 20px;
position: relative;
z-index: 1;
}

.footer-credit {
text-align: center;
font-size: 12px;
color: var(--text-secondary);
padding-top: 16px;
border-top: 1px solid var(--glass-border);
}

.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 600;
}

.small-text {
font-size: 10px;
color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
.entrance-title {
font-size: 36px;
}

.card {
width: 95vw;
padding: 32px 24px;
}

.view-counter, .volume-control, .lastfm-trigger {
padding: 10px 12px;
}

.view-counter {
top: 12px;
left: 12px;
}

.volume-control {
top: 12px;
right: 12px;
}

.volume-slider {
width: 60px;
}

#volume-percent {
display: none;
}

.lastfm-trigger {
bottom: 12px;
right: 12px;
}

.lastfm-dropdown {
bottom: 65px;
right: 12px;
min-width: calc(100vw - 24px);
max-width: calc(100vw - 24px);
}

.lastfm-label {
display: none;
}

.avatar-container {
width: 90px;
height: 90px;
}

.username {
font-size: 24px;
}

.social-links {
gap: 10px;
}

.social-link {
width: 40px;
height: 40px;
}

.social-link svg {
width: 18px;
height: 18px;
}
}

@media (max-width: 480px) {
.card {
padding: 28px 20px;
}

.discord-content {
flex-direction: row;
}

.track-art {
width: 60px;
height: 60px;
}
}