: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;
    cursor: none !important;
}

*::selection {
    background: #333333;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--text-dim);
    border-radius: 50%;
    opacity: 0.3;
    animation: float linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 30s; animation-delay: 5s; width: 2px; height: 2px; }
.particle:nth-child(3) { left: 35%; animation-duration: 20s; animation-delay: 10s; }
.particle:nth-child(4) { left: 50%; animation-duration: 28s; animation-delay: 2s; }
.particle:nth-child(5) { left: 65%; animation-duration: 22s; animation-delay: 8s; width: 1.5px; height: 1.5px; }
.particle:nth-child(6) { left: 80%; animation-duration: 26s; animation-delay: 12s; }
.particle:nth-child(7) { left: 15%; animation-duration: 24s; animation-delay: 6s; }
.particle:nth-child(8) { left: 90%; animation-duration: 32s; animation-delay: 15s; }

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0;
    }
}

.ambient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    z-index: 0;
    animation: ambientPulse 15s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}


.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-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    display: inline-flex;
}

.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;
}

.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333333;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 10000;
}

.audio-control.visible {
    display: flex !important;
}

.audio-control:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #555555;
    transform: scale(1.1);
}

.audio-control.muted {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff4444;
}

.audio-control.muted .fas {
    color: #ff4444;
}

.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;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-color: #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
}

.notification.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #22c55e;
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}


.social-link.copying {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.05);
}