* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Figtree', sans-serif;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

body.dark {
    background-color: #1a1a1a;
    color: #fff;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
            padding: 20px 50px;
            position: fixed;
            width: 100%;
            background-color: rgb(0, 106, 255);
            z-index: 1000;
            transition: background-color 0.3s ease;
        }

        .logo {
            position: absolute;
            left: 50px;
            display: flex;
            align-items: center;
        }

        .logo a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo img {
            height: 50px;
            width: auto;
            max-width: 200px;
            object-fit: contain;
        }

        .nav-itens {
            display: flex;
            list-style: none;
        }

        .nav-itens li {
            cursor: pointer;
            position: relative;
            color: white;
        }

        .nav-itens li a {
            margin: 0 15px;
            font-size: 14px;
            letter-spacing: 1px;
            text-decoration: none;
            color: white;
        }

        .autenticar {
            position: absolute;
            right: 50px;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .trilho {
            width: 50px;
            height: 25px;
            background-color: #ccc;
            border-radius: 25px;
            position: relative;
            cursor: pointer;
            transition: 0.3s ease;
            margin-right: 10px;
        }

        .trilho .indicador {
            width: 21px;
            height: 21px;
            background-color: white;
            border-radius: 50%;
            position: absolute;
            left: 2px;
            top: 2px;
            transition: 0.3s ease;
        }

        .trilho.dark .indicador {
            left: 27px;
            background-color: white;
        }

        .user-profile {
            display: flex;
            align-items: center;
        }

        .profile-pic {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-itens li:hover:after {
            width: 100%;
        }

.hero-section {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 120px 0 60px 0;
    text-align: center;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.quiz-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.app {
    background: white;
    border-radius: 20px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.quiz-header {
    background: linear-gradient(135deg, rgb(0, 106, 255), #0088cc);
    color: white;
    padding: 30px;
    text-align: center;
}

.quiz-header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress {
    background: white;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.question-counter {
    font-size: 1.1rem;
    font-weight: 500;
}

.quiz {
    padding: 40px;
}

.quiz h2 {
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.6;
}

#answer-buttons {
    margin-bottom: 30px;
}

.btn {
    background: #f8f9fa;
    color: #333;
    font-weight: 500;
    width: 100%;
    border: 2px solid #e9ecef;
    padding: 15px 20px;
    margin: 10px 0;
    text-align: left;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn:hover:not([disabled]) {
    background: rgb(0, 106, 255);
    color: white;
    border-color: rgb(0, 106, 255);
    transform: translateY(-2px);
}

.btn:disabled {
    cursor: not-allowed;
}

.btn.correct {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
    animation: correctPulse 0.6s ease;
}

.btn.incorrect {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
    animation: incorrectShake 0.6s ease;
}

@keyframes correctPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes incorrectShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.quiz-actions {
    text-align: center;
    margin-top: 20px;
}

#next-btn {
    background: linear-gradient(135deg, rgb(0, 106, 255), #0088cc);
    color: white;
    font-weight: 600;
    width: 200px;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    display: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 106, 255, 0.3);
}

#next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 255, 0.4);
}

/* Score Section */
.score-section {
    padding: 40px;
    text-align: center;
}

.score-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.score-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.score-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.score-item:last-child {
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
    font-weight: 700;
}

.score-label {
    color: #666;
}

.score-value {
    color: #333;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

#restart-btn, .btn-home {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
}

#restart-btn {
    background: linear-gradient(135deg, rgb(0, 106, 255), #0088cc);
    color: white;
}

.btn-home {
    background: #6c757d;
    color: white;
    display: inline-block;
}

#restart-btn:hover, .btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    width: 100%;
    background: white;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.footercontats {
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.footercontats h1 {
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-size: 2rem;
    color: rgb(0, 106, 255);
}

.footerlist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.footerlist h3 {
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.footerlist .footerlink {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: 0.25s;
    padding: 0.25rem 0;
}

.footerlist .footerlink:hover {
    color: rgb(0, 106, 255);
    transform: translateX(5px);
}

.footercopyright {
    display: flex;
    justify-content: center;
    font-family: sans-serif;
    padding: 1rem;
    border-top: 1px solid #eee;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .logo {
        left: 20px;
    }
    
    .autenticar {
        right: 20px;
    }
    
    .nav-itens {
        display: none;
    }
    
    .hero-section {
        padding: 100px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .quiz-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .quiz {
        padding: 30px 20px;
    }
    
    .quiz-header {
        padding: 20px;
    }
    
    .quiz-header h1 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    #next-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footercontats {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 30px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .app {
        margin: 0 10px;
    }
    
    .quiz {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}