body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-image: url(imgs/fundo\ 1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    transition: background 0.8s ease;
}

body.quiz-active {
    background-image: url(imgs/fundo\ 2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.home-menu {
    text-align: center;
    padding: 40px 20px;
}

.home-menu h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.home-menu p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.start-button {
    background: rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 25px;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s;
}

.start-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.quiz-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.question {
    display: none;
    animation: fadeIn 0.5s;
}

.question.active {
    display: block;
}

.question-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 10px;
    animation: float 3s ease-in-out infinite;
}

.question-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.options {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

#result {
    display: none;
    text-align: center;
}

.pokemon-result {
    font-size: 2rem;
    margin: 20px 0;
    font-weight: bold;
}

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

.progress-container {
    position: relative;
    margin: 20px 0;
}

.progress-label {
    position: absolute;
    top: -20px;
    left: 0;
    color: white;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #333;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid #fff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
}

.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        #43e97b 0%,
        #38f9d7 100%
    );
    border-radius: 8px;
    transition: width 0.3s;
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: progressShine 1.5s linear infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.quiz-logo {
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
}

.quiz-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

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

.navigation-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.nav-button {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.credits-button {
    display: block; 
    margin: 10px auto; 
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 15px;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.credits-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.credits-container {
    display: none;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 20px;
    color: white;
    text-align: center;
}

.credits-content {
    max-width: 600px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.close-credits {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.developer-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.developer-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.developer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-info {
    flex: 1;
}