:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --text-dim: #555555;
    --border-primary: #222222;
    --border-secondary: #333333;
    --border-hover: #444444;
    --shadow-light: rgba(255, 255, 255, 0.05);
    --shadow-dark: rgba(0, 0, 0, 0.8);
    
    --discord-online: #23a55a;
    --discord-idle: #f0b232;
    --discord-dnd: #f23f43;
    --discord-offline: #80848e;
    --spotify-green: #1db954;
}

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

input[type="range"], input[type="range"]:hover, input[type="range"]:focus, input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-slider-runnable-track, input[type="range"]::-webkit-slider-container, input[type="range"]::-webkit-slider-bar, input[type="range"]::-webkit-slider-track, input[type="range"]::-webkit-slider-tick, input[type="range"]::-webkit-slider-thumb:active, input[type="range"]::-webkit-slider-runnable-track:active, input[type="range"]::-webkit-slider-track:active, input[type="range"]::-webkit-slider-thumb:hover, input[type="range"]::-webkit-slider-runnable-track:hover, input[type="range"]::-webkit-slider-track:hover, input[type="range"]::-moz-range-thumb, input[type="range"]::-moz-range-track, input[type="range"]::-ms-thumb, input[type="range"]::-ms-fill-lower, input[type="range"]::-ms-fill-upper {
    cursor: none !important;
}

input[type="range"], #volume-slider {
    cursor: pointer !important;
    pointer-events: auto !important;
}

*::selection {
    background: #333333;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body, * {
    cursor: none !important;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    gap: 40px;
    padding: 40px;
    align-items: center;
    justify-content: center;
}

.widgets-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 320px;
    flex-shrink: 0;
}

.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px var(--shadow-dark);
    transition: all 0.3s ease;
    animation: slideInLeft 1s ease-out;
}

.widget:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px var(--shadow-dark);
    transform: translateY(-2px);
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-primary);
}

.widget-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
}

.widget-icon i {
    font-size: 14px;
    color: var(--text-secondary);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--discord-offline);
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.online { background: var(--discord-online); }
.status-indicator.idle { background: var(--discord-idle); }
.status-indicator.dnd { background: var(--discord-dnd); }
.status-indicator.offline { background: var(--discord-offline); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-container {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-secondary);
    transition: all 0.3s ease;
}

.avatar:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 20px var(--shadow-light);
}

.status-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    background: var(--discord-offline);
}

.status-badge.online { background: var(--discord-online); }
.status-badge.idle { background: var(--discord-idle); }
.status-badge.dnd { background: var(--discord-dnd); }
.status-badge.offline { background: var(--discord-offline); }

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

.username {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.spotify-widget .widget-icon {
    color: var(--spotify-green);
}

.playback-status {
    display: flex;
    align-items: center;
}

.play-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--discord-offline);
    animation: pulse 2s ease-in-out infinite;
}

.play-indicator.playing {
    background: var(--spotify-green);
    animation: pulse 1s ease-in-out infinite;
}

.spotify-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

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

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

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

.album-container {
    flex-shrink: 0;
}

.album-art {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid var(--border-secondary);
    object-fit: cover;
    transition: all 0.3s ease;
    display: none;
}

.album-art:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 20px var(--shadow-light);
}

.album-art.visible {
    display: block;
}

.album-container.hidden {
    display: none;
}

.progress-container {
    display: none;
}

.progress-container.visible {
    display: block;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--text-secondary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.profile-section {
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px var(--shadow-dark);
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-secondary), transparent);
}

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

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.main-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--border-secondary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.avatar-border {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.profile-avatar:hover .avatar-border {
    opacity: 1;
    transform: rotate(180deg);
}

.profile-avatar:hover .main-avatar-img {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--shadow-light);
}

.profile-details {
    flex: 1;
}

.display-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.name-text {
    color: var(--text-primary);
    position: relative;
}

.name-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-secondary);
    transition: width 0.3s ease;
}

.display-name:hover .name-text::after {
    width: 100%;
}

.bio-section {
    margin-bottom: 20px;
}

.bio-text {
    font-size: 18px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0;
}

.typing-text {
    display: inline;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--text-primary);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--discord-offline);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.online { background: var(--discord-online); }
.status-dot.idle { background: var(--discord-idle); }
.status-dot.dnd { background: var(--discord-dnd); }
.status-dot.offline { background: var(--discord-offline); }

.status-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
    margin: 30px 0;
}

.social-links {
    margin-bottom: 30px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::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: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover .link-icon {
    background: var(--bg-primary);
    border-color: var(--border-secondary);
    color: var(--text-primary);
}

.link-icon i {
    font-size: 18px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.social-link:hover .link-icon i {
    color: var(--text-primary);
}

.link-label {
    font-weight: 500;
    font-size: 16px;
    flex: 1;
}

.link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.social-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--text-primary);
}

.footer {
    border-top: 1px solid var(--border-primary);
    padding-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.copyright,
.last-seen {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copyright i,
.last-seen i {
    font-size: 12px;
}

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

.main-site * {
    cursor: none !important;
}

.entry-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.entry-page.fade-out {
    opacity: 0;
    pointer-events: none;
}

.entry-container {
    text-align: center;
    position: relative;
}

.entry-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    transition: opacity 0.3s ease;
    margin-bottom: 2rem;
    cursor: pointer;
}

.entry-text:hover {
    opacity: 0.7;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.cursor-ring {
    width: 24px;
    height: 24px;
    border: 1px solid white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.cursor.hover .cursor-dot {
    width: 6px;
    height: 6px;
}

.cursor.hover .cursor-ring {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .main-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .widgets-section {
        width: 100%;
        max-width: 600px;
        flex-direction: row;
        gap: 20px;
    }
    
    .widget {
        flex: 1;
        animation: fadeInUp 1s ease-out;
    }
}

@media (max-width: 768px) {
    .widgets-section {
        flex-direction: column;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .main-avatar-img {
        width: 100px;
        height: 100px;
    }
    
    .display-name {
        font-size: 28px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px;
    }
    
    .profile-card {
        padding: 25px 20px;
    }
    
    .widget {
        padding: 20px;
    }
    
    .display-name {
        font-size: 24px;
    }
    
    .particles-container {
        display: none;
    }
}

.main-site {
    animation: siteEnter 1s ease-out;
}

@keyframes siteEnter {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.notification {
    position: fixed;
    right: 40px;
    top: 32px;
    min-width: 180px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow-dark);
    padding: 12px 20px;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s, top 0.3s;
}
.notification.show {
    opacity: 1;
    top: 32px;
}
.notification.success {
    background: var(--bg-card);
    color: var(--text-secondary);
    border-color: var(--border-secondary);
}
.notification .notification-icon i {
    color: #888;
}

.volume-slider-container {
    position: fixed !important;
    top: 32px !important;
    right: 40px !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-primary) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 24px var(--shadow-dark) !important;
    padding: 16px 28px !important;
    min-width: 180px !important;
    pointer-events: auto !important;
}

.volume-slider-container * {
    cursor: auto !important;
}

.volume-slider-container, .volume-slider-container *, #volume-slider, #volume-percent, input[type="range"], input[type="range"]:hover, input[type="range"]:focus, input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-slider-runnable-track, input[type="range"]::-webkit-slider-container, input[type="range"]::-webkit-slider-bar, input[type="range"]::-webkit-slider-track, input[type="range"]::-webkit-slider-tick, input[type="range"]::-webkit-slider-thumb:active, input[type="range"]::-webkit-slider-runnable-track:active, input[type="range"]::-webkit-slider-track:active, input[type="range"]::-webkit-slider-thumb:hover, input[type="range"]::-webkit-slider-runnable-track:hover, input[type="range"]::-webkit-slider-track:hover, input[type="range"]::-moz-range-thumb, input[type="range"]::-moz-range-track, input[type="range"]::-ms-thumb, input[type="range"]::-ms-fill-lower, input[type="range"]::-ms-fill-upper {
    cursor: none !important;
}
input[type="range"]:hover, input[type="range"]:focus {
    cursor: none !important;
}
input[type="range"]::-webkit-slider-thumb {
    cursor: none !important;
}
input[type="range"]::-moz-range-thumb {
    cursor: none !important;
}
input[type="range"]::-ms-thumb {
    cursor: none !important;
}

#volume-slider {
    width: 140px !important;
    accent-color: #888 !important;
    background: var(--border-secondary) !important;
    border-radius: 6px !important;
    height: 8px !important;
    outline: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

#volume-percent {
    font-size: 18px !important;
    color: var(--text-secondary) !important;
    min-width: 40px !important;
    text-align: right !important;
    margin-left: 10px !important;
}