:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --card-bg: rgba(15, 15, 15, 0.9);
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-ice: #ffffff;
    --accent-frost: #e0e0e0;
    --accent-snow: #ffffff;
    --accent-dark: #2c2c2c;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.8);
    --gradient-ice: linear-gradient(135deg, #ffffff, #e0e0e0, #cccccc);
    --gradient-frost: linear-gradient(45deg, #ffffff, #e0e0e0);
}

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

* {
    cursor: none !important;
}

body, html {
    cursor: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snow {
    position: absolute;
    top: -10px;
    width: 2px;
    height: 2px;
    background: var(--accent-snow);
    border-radius: 50%;
    animation: snowfall linear infinite;
    opacity: 0.8;
}

.snow:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snow:nth-child(2) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
    width: 3px;
    height: 3px;
}

.snow:nth-child(3) {
    left: 50%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.snow:nth-child(4) {
    left: 70%;
    animation-duration: 15s;
    animation-delay: 1s;
    width: 1px;
    height: 1px;
}

.snow:nth-child(5) {
    left: 90%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.snow:nth-child(6) {
    left: 15%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    width: 2.5px;
    height: 2.5px;
}

.snow:nth-child(7) {
    left: 40%;
    animation-duration: 13s;
    animation-delay: 2.5s;
    width: 1.5px;
    height: 1.5px;
}

.snow:nth-child(8) {
    left: 60%;
    animation-duration: 7s;
    animation-delay: 0.5s;
    width: 3px;
    height: 3px;
    opacity: 0.6;
}

.snow:nth-child(9) {
    left: 25%;
    animation-duration: 14s;
    animation-delay: 4s;
    width: 1px;
    height: 1px;
}

.snow:nth-child(10) {
    left: 75%;
    animation-duration: 10s;
    animation-delay: 2s;
    width: 2px;
    height: 2px;
}

.snow:nth-child(11) {
    left: 5%;
    animation-duration: 12s;
    animation-delay: 1s;
    width: 1.5px;
    height: 1.5px;
}

.snow:nth-child(12) {
    left: 45%;
    animation-duration: 8s;
    animation-delay: 3.5s;
    width: 2.5px;
    height: 2.5px;
    opacity: 0.7;
}

.snow:nth-child(13) {
    left: 85%;
    animation-duration: 11s;
    animation-delay: 0.8s;
    width: 1px;
    height: 1px;
}

.snow:nth-child(14) {
    left: 35%;
    animation-duration: 9s;
    animation-delay: 2.2s;
    width: 2px;
    height: 2px;
}

.snow:nth-child(15) {
    left: 65%;
    animation-duration: 13s;
    animation-delay: 3.8s;
    width: 1.5px;
    height: 1.5px;
}

.snow:nth-child(16) {
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1.3s;
    width: 2.5px;
    height: 2.5px;
}

.snow:nth-child(17) {
    left: 55%;
    animation-duration: 12s;
    animation-delay: 2.8s;
    width: 1px;
    height: 1px;
    opacity: 0.6;
}

.snow:nth-child(18) {
    left: 80%;
    animation-duration: 8s;
    animation-delay: 0.3s;
    width: 2px;
    height: 2px;
}

.snow:nth-child(19) {
    left: 12%;
    animation-duration: 14s;
    animation-delay: 3.2s;
    width: 1.5px;
    height: 1.5px;
}

.snow:nth-child(20) {
    left: 72%;
    animation-duration: 11s;
    animation-delay: 1.7s;
    width: 2.5px;
    height: 2.5px;
    opacity: 0.7;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

.fog {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.05), transparent);
    z-index: -1;
    animation: fogMove 20s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

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

.status-widget {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    backdrop-filter: blur(20px);
    z-index: 1000;
    min-width: 300px;
    box-shadow: 0 8px 32px var(--shadow-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.status-widget.show {
    opacity: 1;
    transform: translateX(0);
}

.status-widget:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 12px 40px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.status-widget:hover .discord-username {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transition: all 0.3s ease;
}

.status-widget:hover .discord-avatar {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.discord-section,
.spotify-section {
    display: flex;
    flex-direction: column;
}

.widget-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

.discord-widget,
.spotify-widget {
    display: none;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.widget-header i {
    font-size: 16px;
}

	.status-widget .widget-header i {
	    color: #ffffff;
	}

	.discord-profile {
	    display: flex;
	    align-items: center;
	    gap: 12px;
	    margin-top: 12px;
	}

.avatar-container {
    position: relative;
    width: 50px; /* Aumentado de 38px para 50px */
    height: 50px;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0f0f0f;
}

.status-indicator.online { background: #43b581; }
.status-indicator.idle { background: #faa61a; }
.status-indicator.dnd { background: #f04747; }
.status-indicator.offline { background: #747f8d; }

.discord-info {
    display: flex;
    flex-direction: column;
}

.discord-username {
    font-size: 16px; /* Ajustado para 16px */
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.spotify-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.spotify-widget.no-music {
    min-width: 180px;
    padding: 12px;
}

.spotify-widget.no-music .spotify-content {
    justify-content: center; 
}

.spotify-widget.no-music .track-info {
    text-align: center; 
}

.spotify-widget.no-music .artist-name {
    display: none;
}

.spotify-content .track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spotify-content .track-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 0; 
}

.spotify-content .artist-name {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 0; 
}

.spotify-content .album-art {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    display: none;
    margin-left: 12px;
}

.spotify-content .album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-container {
    width: 100%;
}

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

.progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px var(--shadow-color);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

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

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 12px 40px var(--shadow-color);
    border-color: rgba(255, 255, 255, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    z-index: -1;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.profile-img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    animation: gentleFloat 6s ease-in-out infinite;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-ice);
}

.frost-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

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

.username {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.name-text {
    background: var(--gradient-ice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.bio {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
}

.cursor-blink {
    animation: blink 1s infinite;
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-ice);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.social-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.frost-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

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

.footer {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.footer p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.last-seen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    color: var(--text-muted);
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-ice);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-ice);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
}

.desktop-environment {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    animation: floatingIcon 4s infinite ease-in-out;
}

.icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-glass {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.main-icon {
    font-size: 38px;
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    z-index: 3;
    transition: transform 0.5s ease;
}

.icon-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 55%
    );
    transition: 0.8s;
    pointer-events: none;
}

.icon-base-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    filter: blur(15px);
    animation: baseGlowPulse 4s infinite ease-in-out;
}

.icon-label-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.icon-label {
    font-family: 'Fira Code', monospace;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.label-underline {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: width 0.4s ease;
    opacity: 0.5;
}

/* Hover Effects */
.desktop-icon:hover {
    transform: translateY(-10px) scale(1.05);
}

.desktop-icon:hover .icon-glass {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1);
}

.desktop-icon:hover .main-icon {
    transform: scale(1.1);
}

.desktop-icon:hover .icon-shine {
    top: -50%;
    left: -50%;
}

.desktop-icon:hover .icon-label {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    letter-spacing: 2.5px;
}

.desktop-icon:hover .label-underline {
    width: 100%;
}

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

@keyframes baseGlowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    backdrop-filter: blur(20px);
    z-index: 1000;
    min-width: 320px;
    box-shadow: 0 8px 32px var(--shadow-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.audio-player.show {
    opacity: 1;
    transform: translateY(0);
}

.audio-player:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 12px 40px var(--shadow-color);
    border-color: rgba(255, 255, 255, 0.5);
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.disc-spin {
    animation: spin 3s linear infinite;
    color: var(--accent-ice);
}

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

.player-track-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.player-controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.player-btn:hover {
    transform: scale(1.2);
    color: var(--accent-ice);
}

.player-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-time {
    font-size: 10px;
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
    min-width: 30px;
}

.player-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.player-progress-fill {
    height: 100%;
    background: var(--accent-ice);
    border-radius: 2px;
    width: 0%;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-container i {
    font-size: 12px;
    color: var(--text-muted);
    width: 15px;
}

#volume-slider {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: var(--accent-ice);
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .status-widget {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 400px;
    }
    
    .audio-player {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

/* CMD Loader Styles */
.cmd-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    padding: 20px;
    z-index: 20000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cmd-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

#cmd-lines {
    white-space: pre-wrap;
    line-height: 1.5;
    font-size: 14px;
}

.cmd-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInCmd 0.1s forwards;
}

.cmd-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #ffffff;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes fadeInCmd {
    to { opacity: 1; }
}

.cmd-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Animação de Abertura Estilo Janela Windows */
.app-opening {
    animation: iconFadeOut 0.3s ease-out forwards !important;
    pointer-events: none;
}

@keyframes iconFadeOut {
    to { transform: scale(0.8); opacity: 0; }
}

.container.show {
    opacity: 1;
    transform: scale(1);
    animation: windowOpen 0.4s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes windowOpen {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.desktop-environment.app-launching {
    opacity: 0;
    transition: opacity 0.4s ease;
}
