body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.header label {
    color: white;
    font-size: 16px;
}

.language-select {
    padding: 8px;
    border: 2px solid #4a4a4a;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #4a4a4a;
    font-size: 16px;
    cursor: pointer;
}

.language-select:hover {
    background-color: rgba(255, 255, 255, 1);
}

.language-select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 5px rgba(102, 102, 102, 0.5);
}

h1 {
    font-family: 'Frijole', cursive;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

a {
    color: #88aacc;
}

.generate-btn {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.generate-btn:hover {
    background-color: #45a049;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    50% {
        transform: scale(0.95);
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.generate-btn.clicked {
    animation: buttonPulse 0.3s ease-out;
}

.mission-result {
    margin-top: 20px;
    padding: 20px;
    font-size: 16px;
}

.mission-card {
    margin: 15px 0;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: left;
}

.mission-content {
    color: #333;
    line-height: 1.6;
    font-size: 1.1em;
}

.label {
    font-family: 'Frijole', cursive;
    color: #4CAF50;
    margin-right: 5px;
}
