:root {
    --bg-color: #121212;
    --primary: #ff4081;
    --secondary: #00e5ff;
    --text-color: #e0e0e0;
    --border-radius: 12px;
}

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

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 600px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary);
    padding: 20px;
    text-align: center;
    border-radius: var(--border-radius);
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.screen {
    display: none;
    animation: screenFade 0.5s forwards;
}

.screen.active {
    display: block;
}

@keyframes screenFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#start-screen h2 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

#start-screen p {
    margin-bottom: 15px;
}

#start-screen div {
    margin: 20px 0;
}

#user-email {
    width: 80%;
    margin: 10px auto;
    padding: 15px;
    border: 1px solid var(--secondary);
    border-radius: var(--border-radius);
    background-color: transparent;
    color: var(--text-color);
    outline: none;
    transition: 0.3s ease;
    font-size: 1rem;
}

#user-email::placeholder {
    color: #999;
    opacity: 0.8;
}

#user-email:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.error-message {
    color: red;
    font-size: 0.9rem;
    height: 20px;
    text-align: center;
}

.input-field {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--text-color);
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.btn {
    padding: 12px 20px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    width: 100%;
}

.btn:hover {
    background-color: var(--primary);
    color: var(--bg-color);
}

.quiz-form h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.option input[type="radio"] {
    display: none;
}

.option .option-text {
    display: block;
    width: 100%;
    cursor: pointer;
}

.option.selected {
    background: var(--primary);
    color: var(--bg-color);
}

.option:hover {
    background: var(--primary);
    color: var(--bg-color);
}

.progress {
    margin: 15px auto;
    font-size: 0.9rem;
}

.result p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.witty-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.witty-btn {
    background: var(--secondary);
    color: var(--bg-color);
    border: 2px solid var(--secondary);
    padding: 10px 15px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.witty-btn:hover {
    background: transparent;
    color: var(--secondary);
}

.witty-content {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 250px;
    border: 2px solid var(--secondary);
    background: var(--bg-color);
    padding: 15px;
    text-align: center;
    border-radius: var(--border-radius);
}

.witty-content span {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-weight: bold;
}

#result-btn,
#score-display {
    margin: 15px auto;
}

#again-btn {
    display: none;
    margin: 15px auto;

}

@media (max-width: 600px) {
    .options {
        grid-template-columns: 1fr;
    }
}