.superhero-generator-container {
background: rgba(15, 15, 35, 0.85);
border-radius: 12px;
padding: 30px;
color: #fff;
box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
max-width: 800px;
margin: 0 auto;
border: 1px solid rgba(170, 70, 230, 0.3);
} .superhero-generator-container h2 {
color: #fff;
text-align: center;
margin-bottom: 25px;
font-size: 28px;
text-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
} .form-layout-row {
display: flex;
margin-bottom: 20px;
gap: 20px;
}
.form-layout-column {
flex: 1;
min-width: 0; }
.full-width-column {
flex-basis: 100%;
} .form-group {
margin-bottom: 5px;
} .form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
} .form-group input[type="text"],
.form-group select,
.form-group textarea,
.custom-field input[type="text"] {
width: 100%;
padding: 12px 15px;
border-radius: 8px;
border: 1px solid rgba(170, 70, 230, 0.4);
background-color: rgba(20, 20, 40, 0.7);
color: white;
font-size: 14px;
transition: all 0.3s ease;
box-sizing: border-box;
min-height: 45px;
appearance: none; } .form-group select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23bb86fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 16px;
padding-right: 35px;
} .form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus,
.custom-field input[type="text"]:focus {
outline: none;
border-color: rgba(170, 70, 230, 0.8);
box-shadow: 0 0 10px rgba(170, 70, 230, 0.4);
} .form-group textarea {
min-height: 100px;
resize: vertical;
} .custom-field {
margin-top: 10px;
} .popular-links {
font-size: 13px;
margin-top: 8px;
color: rgba(255, 255, 255, 0.7);
}
.theme-link,
.power-link {
color: #bb86fc;
text-decoration: none;
transition: color 0.3s ease;
}
.theme-link:hover,
.power-link:hover {
color: #e1bee7;
text-decoration: underline;
} .button-row {
margin-top: 10px;
justify-content: space-between;
} #reset-form,
#generate-button {
padding: 12px 24px;
border-radius: 8px;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
font-size: 15px;
}
#reset-form {
background-color: rgba(60, 60, 80, 0.7);
color: white;
flex: 1;
max-width: 200px;
}
#generate-button {
background: linear-gradient(135deg, #9c27b0, #e91e63);
color: white;
box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
flex: 2;
}
#reset-form:hover {
background-color: rgba(80, 80, 100, 0.9);
}
#generate-button:hover {
background: linear-gradient(135deg, #8e24aa, #d81b60);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(138, 43, 226, 0.6);
} #result {
margin-top: 30px;
padding: 20px;
background: rgba(20, 20, 40, 0.6);
border-radius: 10px;
border: 1px solid rgba(170, 70, 230, 0.3);
}
#result h3 {
color: #fff;
margin-bottom: 15px;
text-align: center;
}
#superhero-name, #superhero-description {
font-size: 1em;
font-weight: normal;
color: rgba(255,255,255,0.95);
margin-bottom: 0;
background: #3d2566;
border-radius: 8px;
padding: 12px 18px;
box-shadow: none;
line-height: 1.6;
}
.superhero-backstory-label {
display: block;
font-weight: bold;
color: #fff;
margin-bottom: 12px;
font-size: 1.35em;
letter-spacing: 0.5px;
text-align: left;
} #loading {
text-align: center;
margin: 20px 0;
color: #f5f5f5;
font-style: italic;
} #countdown-timer {
font-size: 48px;
font-weight: bold;
color: rgba(170, 70, 230, 0.9);
text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
margin-bottom: 10px;
animation: pulse 1s infinite alternate;
}
@keyframes pulse {
from { opacity: 0.7; }
to { opacity: 1; }
}
#loading-message {
margin-bottom: 8px;
font-size: 16px;
}
#network-note {
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
font-style: italic;
} .copy-button {
display: block;
margin: 20px auto 0;
background-color: rgba(170, 70, 230, 0.2);
color: white;
border: 1px solid rgba(170, 70, 230, 0.4);
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
}
.copy-button:hover {
background-color: rgba(170, 70, 230, 0.4);
transform: translateY(-2px);
}
.copy-button:active {
transform: translateY(0);
} #error-message {
background-color: rgba(220, 53, 69, 0.2);
border: 1px solid rgba(220, 53, 69, 0.5);
color: #fff;
padding: 10px 15px;
border-radius: 8px;
margin: 15px 0;
} @media (max-width: 767px) {
.form-layout-row {
flex-direction: column;
gap: 15px;
}
.form-layout-column {
width: 100%;
}
.button-row {
flex-direction: column;
}
#reset-form,
#generate-button {
width: 100%;
max-width: none;
}
#reset-form {
margin-bottom: 10px;
}
#countdown-timer {
font-size: 36px;
}
}
.feedback-section {
margin-top: 30px;
padding: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
}
.feedback-section h4 {
margin: 0 0 15px 0;
color: #fff;
font-size: 1.1em;
}
.feedback-buttons {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.feedback-button {
padding: 8px 20px;
border: none;
border-radius: 4px;
background: #4a5568;
color: white;
cursor: pointer;
transition: all 0.3s ease;
min-width: 80px;
}
.feedback-button:hover {
background: #2d3748;
transform: translateY(-1px);
}
.feedback-button:disabled {
background: #718096;
cursor: not-allowed;
opacity: 0.7;
transform: none;
}
.feedback-form {
display: none;
margin-top: 15px;
}
.negative-feedback-fields {
display: none;
margin-bottom: 12px;
}
.feedback-form select,
.feedback-form textarea {
width: 100%;
padding: 10px;
margin-bottom: 12px;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 4px;
background: rgba(0, 0, 0, 0.2);
color: white;
transition: all 0.3s ease;
}
.feedback-form select:focus,
.feedback-form textarea:focus {
border-color: rgba(170, 70, 230, 0.6);
outline: none;
box-shadow: 0 0 5px rgba(170, 70, 230, 0.3);
}
.feedback-form select option {
background: #2d3748;
color: white;
padding: 8px;
}
.feedback-form textarea {
min-height: 80px;
resize: vertical;
font-family: inherit;
}
.category-required {
margin: -8px 0 10px;
}
.required-text {
color: #f56565;
font-size: 0.85em;
}
#submit-feedback {
padding: 10px 24px;
border: none;
border-radius: 4px;
background: #6b46c1;
color: white;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
}
#submit-feedback:hover {
background: #553c9a;
transform: translateY(-1px);
}
#submit-feedback:disabled {
background: #9f7aea;
cursor: not-allowed;
opacity: 0.7;
transform: none;
}
.feedback-success {
display: none;
margin-top: 15px;
padding: 15px;
background: rgba(72, 187, 120, 0.2);
border-radius: 4px;
color: #48bb78;
text-align: center;
animation: fadeIn 0.3s ease;
}
.feedback-error {
margin-top: 15px;
padding: 15px;
background: rgba(245, 101, 101, 0.2);
border-radius: 4px;
color: #f56565;
text-align: center;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.identity-title {
font-size: 1.5em;
font-weight: bold;
text-align: center;
margin-bottom: 22px;
color: #fff;
letter-spacing: 0.5px;
}
.superhero-section {
margin-bottom: 18px;
}
.superhero-label {
font-size: 1.08em;
font-weight: bold;
color: #fff;
margin-bottom: 4px;
text-align: left;
}