* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #4b30c2 0%, #4e14d4 100%);
    color: #fffeb4;
    line-height: 1.6;
    padding: 30px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ff0000;
    height: 10px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#progress {
    background: linear-gradient(90deg, #46e9ff, #f6ffc3, pink, rgb(159, 255, 103), rgb(185, 165, 255), rgba(253, 214, 141, 0.712), rgba(255, 55, 132, 0.637));
    height: 100%;
    transition: width 0.3s ease;
    border-color: transparent;
    width: 0%
}

h1.glow {
    font-size: 3rem;
    font-weight: 700;
    text-decoration: dotted;
    background: linear-gradient(45deg, #e7feff, #fffefc);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px #2a008d;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

h1.glow:hover {
    transform: scale(1.05);
    text-shadow:  rgba(4, 7, 148, 0.945) 10px 15px 20px;
}

.intro {
    font-size: 1.3rem;
    color: #ebe0ff;
    max-width: 700px;
     text-shadow: 0 0 20px #000000;
    margin: 15px auto;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 6s steps(40, end) infinite;
}

form {
    background:  linear-gradient(90deg,  #422b81, rgb(54, 55, 143), rgb(71, 47, 160));
    padding: 40px;
    border-radius: 0px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 0, 0, 0.3);
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, #6dbbff, hsl(0, 96%, 82%)) 1;
    animation: pulseBorder 3s ease-in-out infinite;
}

.question {
    background: #ffd6cb;
    padding: 25px;
    margin-bottom: 25px;
    border: 6px solid #5adeff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
}

.question:nth-child(1) { animation-delay: 0.1s; }
.question:nth-child(2) { animation-delay: 0.2s; }
.question:nth-child(3) { animation-delay: 0.3s; }
.question:nth-child(4

) { animation-delay: 0.4s; }
.question:nth-child(5) { animation-delay: 0.5s; }
.question:nth-child(6) { animation-delay: 0.6s; }
.question:nth-child(7) { animation-delay: 0.7s; }
.question:nth-child(8) { animation-delay: 0.8s; }
.question:nth-child(9) { animation-delay: 0.9s; }
.question:nth-child(10) { animation-delay: 1.0s; }
.question:nth-child(11) { animation-delay: 1.1s; }
.question:nth-child(12) { animation-delay: 1.2s; }
.question:nth-child(13) { animation-delay: 1.3s; }
.question:nth-child(14) { animation-delay: 1.4s; }
.question:nth-child(15) { animation-delay: 1.5s; }
.question:nth-child(16) { animation-delay: 1.6s; }

.question:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.4), 0 0 20px rgba(255, 82, 82, 0.3);
    border-color: #48ffd7;
}

.question h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c51ff;
    margin-bottom: 15px;
    animation: pulseText 3s ease-in-out infinite;
}

label {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #ffffff;
    margin: 12px 0;
    padding: 12px;
    border-radius: 10px;
    border-color:  rgb(57, 0, 133);
    border-style: double;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    background-color: #78d4ff;
    animation: pulseText 3s ease-in-out infinite;
}

label:hover {
    background: rgba(229, 255, 135, 0.918);
    transform: scale(1.02);
    border-width: 1px solid;
}

input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: #0059ff;
    animation: pulseRadio 1.5s ease-in-out infinite;
    border-width: solid 1px;
    content:orange;
}

button {
    display: block;
    margin: 40px auto 0;
    padding: 15px 50px;
    background: linear-gradient(45deg, #ffdf4f, #b0ff6f);
    color: #0059ff;
    font-size: 1.3rem;
    font-weight: 700;
   border-style: double;
   border-color: rgb(30, 0, 70);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

button:hover::after {
    width: 300px;
    height: 300px;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.7), 0 0 25px rgba(255, 82, 82, 0.5);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #FFD7C4;
    padding: 30px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(30, 136, 229, 0.4);
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, #1ee581, #33cfff) 1;
    text-align: center;
    position: relative;
    animation: scaleIn 0.5s ease;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    color: #263238;
    background: #FAF3E0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.close:hover {
    background: #FF5252;
    color: #FAF3E0;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #263238;
    margin-bottom: 20px;
}

.archetype-image {
    width: 180px;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin: 20px auto;
    border: 3px solid #1E88E5;
    box-shadow: 0 0 15px rgba(30, 136, 229, 0.6);
    transition: transform 0.3s ease;
}

.archetype-image:hover {
    transform: scale(1.1);
}

.modal-content p {
    font-size: 1.1rem;
    color: #263238;
    margin: 12px 0;
    line-height: 1.7;
    font-weight: 300;
}

#userSubmissionForm {
    margin-top: 25px;
}

#userSubmissionForm h3 {
    font-size: 1.4rem;
    color: #263238;
    margin-bottom: 15px;
}

#userSubmissionForm label {
    display: block;
    font-size: 1rem;
    color: #263238;
    margin-bottom: 8px;
    text-align: left;
}

label[type="question"] {
    border: transparent;
    border-style: transparent;
    background-color: transparent;
    animation: pulseForm 2s ease-in-out infinite;
    transform: translateY(-0px);

}


#userSubmissionForm input[type="text"],
#userSubmissionForm input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 2px solid #0dffcb;
    border-radius: 6px;
    font-size: 1rem;
    background: #FAF3E0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

h3 {
color: white; 
animation: pulseForm 3s ease-in-out infinite;
text-indent: 3px solid rgb(0, 0, 0);
}

#userSubmissionForm input[type="text"]:focus,
#userSubmissionForm input[type="email"]:focus {
    border-color: #ff52a8;
    box-shadow: 0 0 10px rgba(206, 82, 255, 0.3);
    outline: none;
}

#userSubmissionForm button {
    margin: 15px auto 0;
    padding: 10px 25px;
    font-size: 1.1rem;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 15px rgba(30, 136, 229, 0.6), 0 0 25px rgba(255, 82, 82, 0.4); }
    50% { text-shadow: 0 0 25px rgba(30, 136, 229, 0.8), 0 0 35px rgba(255, 82, 82, 0.6); }
}

@keyframes pulseText {
    0%, 100% { color:  #6200ff ; }
    50% { color:  #506aff ;}
}

@keyframes pulseForm {
    0%, 100% { color:  #fbff00 }
    50% { color:  #ffb547 ;}
}


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

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes slideIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseBorder {
    0%, 100% { border-image: linear-gradient(45deg, #00ffaa, #f717ff) 1; }
    50% { border-image: linear-gradient(45deg, #ee70ff, #eaff8a) 1; }
}

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    body { padding: 20px; }
    h1.glow { font-size: 2.5rem; }
    .intro { font-size: 1.1rem; }
    .question h2 { font-size: 1.3rem; }
    label { font-size: 1rem; }
    button { padding: 12px 40px; font-size: 1.2rem; }
    .modal-content { padding: 20px; max-width: 90%; }
    .modal-content h2 { font-size: 1.8rem; }
    .archetype-image { width: 150px; height: 150px; }
}

#userSubmissionForm button {
    margin: 15px auto 0;
    padding: 10px 25px;
    font-size: 1.1rem;
}

.pageclip-form__success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}