/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #000000;
    --bg-secondary: #0a0a0a;
    --space-white: #ffffff;
    --space-gray: #cccccc;
    --space-silver: #e0e0e0;
    --space-dim: #666666;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --glow-white: 0 0 20px rgba(255, 255, 255, 0.6);
    --glow-silver: 0 0 15px rgba(224, 224, 224, 0.4);
    --neon-blue: #ffffff;
    --neon-purple: #e0e0e0;
    --neon-pink: #cccccc;
    --neon-green: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
    transition: background 0.5s ease;
    position: relative;
}

body.night-mode {
    background: #000000;
}

body.light-mode {
    background: #f5f5f5;
    color: #333;
}

body.light-mode .section-title,
body.light-mode .title,
body.light-mode .project-card h3,
body.light-mode .stat-card h3,
body.light-mode .highlight-item h4,
body.light-mode .timeline-content h3 {
    color: #222;
}

body.light-mode .subtitle,
body.light-mode .project-card p,
body.light-mode .stat-card p,
body.light-mode .highlight-item p,
body.light-mode .timeline-content p {
    color: #555;
}

body.light-mode .project-card,
body.light-mode .stat-card,
body.light-mode .highlight-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===== FUNDO 3D CANVAS ===== */
#bg3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.7;
}

/* ===== CAMPO DE ESTRELAS ===== */
.stars-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    animation: shoot 3s linear infinite;
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-300px) translateY(300px);
        opacity: 0;
    }
}

/* ===== CAMADAS DE PROFUNDIDADE ===== */
.depth-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.depth-layer-1 {
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: floatDepth1 20s ease-in-out infinite;
}

.depth-layer-2 {
    background: radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: floatDepth2 25s ease-in-out infinite;
}

.depth-layer-3 {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 60%);
    animation: floatDepth3 30s ease-in-out infinite;
}

@keyframes floatDepth1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
}

@keyframes floatDepth2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-30px, 30px) scale(1.15);
        opacity: 0.5;
    }
}

@keyframes floatDepth3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translate(20px, -20px) rotate(5deg);
        opacity: 0.4;
    }
}

/* ===== EFEITO DE VINHETA (REMOVIDO) ===== */
.vignette {
    display: none;
}

/* Tema espacial - sem variações de cor */

/* ===== LOGO CENTRAL ===== */
.logo-central {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.logo-central h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    letter-spacing: 5px;
    margin: 0;
}

.nav-link {
    color: #999999;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== SECÇÕES ===== */
.sections-container {
    position: relative;
    z-index: 10;
}

.section {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

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

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    gap: 40px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 15px;
}

.highlight-item h4 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.highlight-item p {
    font-size: 14px;
    color: #999999;
    margin: 0;
}

.skills-section {
    margin-top: 40px;
}

.skills-section h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tag {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    margin: 80px auto;
    padding: 40px;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.projects-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.project-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.project-card p {
    color: #999999;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.project-link:hover {
    color: var(--neon-blue);
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.contact-item i {
    font-size: 24px;
    color: #ffffff;
    margin-top: 5px;
}

.contact-item h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #999999;
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.submit-btn {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: none;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ===== CURSOR TIPO FLASH ===== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, transparent 70%);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 1),
        0 0 40px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.6);
    animation: cursorPulse 1.5s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.cursor-follower {
    display: none;
}

/* Rastro do cursor */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    animation: trailFade 0.5s ease-out forwards;
}

@keyframes trailFade {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.3);
        opacity: 0;
    }
}

/* ===== PARTÍCULAS DE FUNDO ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: float 10s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(50px);
    }
    50% {
        transform: translateY(-50px) translateX(-50px);
    }
    75% {
        transform: translateY(-150px) translateX(30px);
    }
}

/* ===== WIDGETS LATERAIS ===== */
.widgets-sidebar {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.widget-mini {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
    transition: all 0.3s ease;
    cursor: none;
}

.widget-mini:hover {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.widget-mini i {
    font-size: 24px;
    color: #ffffff;
}

.widget-mini-content {
    flex: 1;
}

.mini-song,
.mini-commits,
.mini-streak,
.mini-level,
.mini-coffee,
.mini-france-time {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.mini-date,
.mini-weather,
.mini-label {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cores especiais para widgets */
#spotifyWidget .mini-song {
    color: #1DB954;
}

#githubWidget .mini-commits {
    color: #00d4ff;
}

#streakWidget .mini-streak {
    color: #ff6b35;
}

#levelWidget .mini-level {
    color: #ffd700;
}

#coffeeWidget .mini-coffee {
    color: #8B4513;
}

#franceWidget .mini-france-time {
    color: #0055A4;
}

/* ===== PAINEL DE CONTROLO ===== */
.control-panel {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Volume Controls - Vertical Layout */
.volume-btn {
    display: none !important;
}

.volume-display {
    display: none;
}

.music-toggle {
    display: none;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    font-size: 24px;
    cursor: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.control-btn.active {
    animation: pulse 2s infinite;
    box-shadow: var(--glow-blue);
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

.theme-toggle.active {
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: var(--glow-green);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

/* ===== CONTAINER PRINCIPAL ===== */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    perspective: 1000px;
}

.content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    transform-style: preserve-3d;
    position: relative;
    background: none;
    background-color: transparent;
}

.content::before,
.content::after {
    display: none;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

/* ===== TÍTULO ===== */
.title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

/* ===== SUBTÍTULO ===== */
.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 2px;
}

.typing-text {
    display: inline-block;
    border-right: 2px solid var(--neon-blue);
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ===== REDES SOCIAIS ===== */
.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    perspective: 1000px;
}

.social-link {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 28px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-blue);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-link:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-10px) scale(1.15) rotateY(10deg);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4), var(--glow-blue);
    background: rgba(0, 212, 255, 0.1);
}

.social-link:hover::after {
    opacity: 0.8;
}

.social-link:nth-child(even):hover {
    border-color: var(--neon-purple);
    box-shadow: 0 20px 50px rgba(181, 55, 255, 0.4), var(--glow-purple);
    background: rgba(181, 55, 255, 0.1);
    transform: translateY(-10px) scale(1.15) rotateY(-10deg);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: rotate(360deg);
}

/* ===== LINHA DECORATIVA ===== */
.decoration-line {
    width: 200px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 10px var(--neon-blue);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--neon-purple);
    }
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 20px;
    color: #999999;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #ffffff;
    border-radius: 10px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.quote-text {
    font-size: 24px;
    color: #ffffff;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 20px 60px;
}

.quote-author {
    font-size: 18px;
    color: #999999;
    text-align: right;
    margin: 0;
}

/* ===== SKILLS PROGRESS BARS ===== */
.skills-container {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.skill-bar {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
}

.skill-progress {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #999999);
    border-radius: 10px;
    animation: fillBar 2s ease-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes fillBar {
    from {
        width: 0 !important;
    }
}

/* ===== TIMELINE ===== */
.timeline-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 1);
    }
}

.timeline-content h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    color: #999999;
    line-height: 1.6;
}

/* ===== TECH STACK ===== */
.tech-stack {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.tech-item i {
    font-size: 48px;
    color: #ffffff;
}

.tech-item span {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ACHIEVEMENTS SYSTEM ===== */
.achievements-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievements-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.achievement-card {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card.locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.achievement-card.unlocked {
    opacity: 1;
    filter: grayscale(0%);
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: unlockPulse 1s ease-out;
}

@keyframes unlockPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.achievement-card i {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
}

.achievement-card h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.achievement-card p {
    font-size: 14px;
    color: #999999;
    margin-bottom: 15px;
}

.achievement-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.achievement-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    width: 0%;
    transition: width 0.5s ease;
}

/* ===== LIVE STATS ===== */
.live-stats {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-box {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.stat-box i {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    min-width: 300px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-title {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-message {
    font-size: 14px;
    color: #ffffff;
}

/* ===== FLOATING ACTION BUTTON ===== */
.fab-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
}

.fab-main:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.7);
}

.fab-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-menu.active .fab-options {
    opacity: 1;
    pointer-events: all;
}

.fab-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fab-option:hover {
    background: #ffffff;
    color: #000000;
    transform: translateX(-10px);
}

.fab-option i {
    font-size: 18px;
}

.fab-option span {
    font-size: 14px;
}

/* ===== COPYRIGHT ===== */
.copyright {
    margin-top: 80px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 14px;
    color: #999999;
    margin: 10px 0;
}

.made-with {
    font-size: 16px;
    color: #ffffff;
}

.made-with i {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ===== CODE COUNTER ===== */
.code-counter {
    margin-top: 60px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-align: center;
}

.code-counter h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.counter-display {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.counter-subtitle {
    font-size: 18px;
    color: #999999;
    margin-top: 10px;
}

/* ===== BOTÃO SCROLL PARA CONTACTO ===== */
.scroll-to-contact {
    margin-top: 40px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.scroll-to-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.scroll-to-contact:hover::before {
    width: 300px;
    height: 300px;
}

.scroll-to-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* ===== BOTÃO CTA ===== */
.cta-button {
    margin-top: 40px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--neon-blue);
    border-radius: 50px;
    color: var(--neon-blue);
    font-size: 18px;
    font-weight: 600;
    cursor: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4), var(--glow-blue);
    transform: translateY(-5px) translateZ(20px);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--neon-purple);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(181, 55, 255, 0.4), var(--glow-purple);
    animation: modalSlideIn 0.5s ease;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    color: var(--neon-pink);
    font-size: 20px;
    cursor: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 110, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--neon-purple);
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.skills, .contact-info {
    margin-top: 30px;
}

.skills h3, .contact-info h3 {
    color: var(--neon-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 20px;
    color: var(--neon-blue);
    font-size: 14px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

/* ===== RELÓGIO DIGITAL ===== */
.digital-clock {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    padding: 15px 25px;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--glow-blue);
}

.clock-time {
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-blue);
    text-align: center;
    font-family: 'Courier New', monospace;
}

.clock-date {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 5px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
}

/* ===== MENSAGEM DE BOAS-VINDAS ===== */
.welcome-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 40px 60px;
    z-index: 3000;
    opacity: 1;
    animation: welcomeFade 4s ease forwards;
    pointer-events: none;
    box-shadow: var(--glow-blue);
}

@keyframes welcomeFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        display: none;
    }
}

.welcome-content h2 {
    font-size: 36px;
    color: var(--neon-blue);
    margin-bottom: 10px;
    text-align: center;
}

.welcome-content p {
    color: var(--text-secondary);
    text-align: center;
    font-size: 18px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-menu {
        gap: 20px;
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .widgets-sidebar {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }
    
    .widget-mini {
        min-width: 150px;
        padding: 12px;
    }
    
    .widget-mini i {
        font-size: 20px;
    }
    
    .mini-time,
    .mini-temp,
    .mini-visits {
        font-size: 16px;
    }
    
    .mini-date,
    .mini-weather,
    .mini-label {
        font-size: 10px;
    }
    
    .control-panel {
        top: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .widgets-toggle {
        bottom: 20px;
        left: 20px;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .control-btn,
    .social-link,
    .cta-button,
    .modal-close,
    .submit-btn,
    .nav-link {
        cursor: pointer;
    }
    
    .digital-clock {
        top: 20px;
        left: 20px;
        padding: 10px 15px;
    }
    
    .clock-time {
        font-size: 20px;
    }
    
    .clock-date {
        font-size: 10px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-message {
        padding: 30px 40px;
    }
    
    .welcome-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .subtitle {
        letter-spacing: 1px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 12px 30px;
    }
    
    .digital-clock {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== BOTÃO DE WIDGETS ===== */
.widgets-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-size: 24px;
    cursor: none;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-green);
}

.widgets-toggle:hover {
    transform: scale(1.1) rotate(90deg);
    background: rgba(0, 255, 136, 0.2);
}

/* ===== PAINEL DE WIDGETS ===== */
.widgets-panel {
    position: fixed;
    top: 0;
    left: -450px;
    width: 450px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    border-right: 2px solid var(--neon-blue);
    z-index: 2000;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(20px);
}

.widgets-panel.active {
    left: 0;
}

.widgets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 2px solid var(--neon-blue);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10;
}

.widgets-header h3 {
    color: var(--neon-blue);
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widgets-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    color: var(--neon-pink);
    font-size: 18px;
    cursor: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widgets-close:hover {
    background: rgba(255, 0, 110, 0.2);
    transform: rotate(90deg);
}

.widgets-grid {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== WIDGET BASE ===== */
.widget {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.widget:hover::before {
    left: 100%;
}

.widget:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3), var(--glow-blue);
    transform: translateX(5px) translateZ(10px);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--neon-blue);
    font-size: 18px;
    font-weight: 600;
}

.widget-body {
    color: var(--text-secondary);
}

/* ===== WIDGET CLIMA ===== */
.weather-info {
    text-align: center;
}

.weather-temp {
    font-size: 48px;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.weather-location {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.weather-desc {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.weather-refresh {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    color: var(--neon-blue);
    cursor: none;
    transition: all 0.3s ease;
}

.weather-refresh:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

/* ===== WIDGET SPOTIFY ===== */
.spotify-track {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.spotify-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    width: 45%;
    animation: progressMove 3s linear infinite;
}

@keyframes progressMove {
    0% { width: 0%; }
    100% { width: 100%; }
}

.progress-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== WIDGET NOTAS ===== */
.notes-input {
    width: 100%;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.notes-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.notes-save {
    width: 100%;
    padding: 10px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    color: var(--neon-blue);
    cursor: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notes-save:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

/* ===== WIDGET CALCULADORA ===== */
.calc-display {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--neon-purple);
    border-radius: 8px;
    color: var(--neon-purple);
    font-size: 24px;
    font-weight: 700;
    text-align: right;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.calc-btn {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: none;
    transition: all 0.2s ease;
}

.calc-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.calc-operator {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.calc-equals {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.calc-clear {
    background: rgba(255, 0, 110, 0.1);
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    grid-column: span 3;
}

/* ===== WIDGET TAREFAS ===== */
.task-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.task-input {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.task-input:focus {
    outline: none;
    border-color: var(--neon-blue);
}

.task-add {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    color: var(--neon-green);
    cursor: none;
    transition: all 0.3s ease;
}

.task-add:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.task-item.completed .task-text {
    text-decoration: line-through;
    opacity: 0.5;
}

.task-text {
    flex: 1;
    color: var(--text-primary);
}

.task-actions {
    display: flex;
    gap: 5px;
}

.task-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-secondary);
    cursor: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.task-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.task-btn.complete {
    color: var(--neon-green);
    border-color: var(--neon-green);
}

.task-btn.delete {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
}

/* ===== WIDGET CITAÇÃO ===== */
.quote-content {
    margin-bottom: 15px;
}

.quote-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 14px;
    color: var(--neon-purple);
    text-align: right;
}

.quote-refresh {
    width: 100%;
    padding: 10px;
    background: rgba(181, 55, 255, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 8px;
    color: var(--neon-purple);
    cursor: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quote-refresh:hover {
    background: rgba(181, 55, 255, 0.2);
    transform: scale(1.05);
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== BOTÃO DE INSTALAÇÃO ===== */
.app-download-btn {
    position: relative;
    width: auto;
    min-width: 200px;
    height: auto;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.app-download-btn .app-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.app-download-btn .app-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.app-download-btn .app-description {
    font-size: 12px;
    color: var(--text-secondary);
}

.app-download-btn:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 20px 50px rgba(0, 255, 127, 0.4), 0 0 20px rgba(0, 255, 127, 0.6);
    background: rgba(0, 255, 127, 0.1);
}

/* ===== CONTADOR DE VISITAS ===== */
.visit-counter {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
    display: block !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.visit-counter:hover {
    opacity: 1;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}


#franceTimeWidget:hover {
    border-color: #0055A4; /* Azul da bandeira francesa */
    box-shadow: 0 0 20px rgba(0, 85, 164, 0.3);
}

#franceTimeWidget i {
    font-size: 24px;
    color: #ffffff;
}

#franceTimeWidget .mini-france-time {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* Ajuste para o emoji de olho */
#visitsWidget span {
    margin-top: 3px;
    transition: transform 0.3s ease;
}

#visitsWidget:hover span {
transform: scale(1.1);
}

/* ===== BOTÃO SCROLL TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
}
