body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #fff;
}

.ui.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #333;
}

.ui.huge.banner.icon.header {
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
    font-size: 3em;
}

.ui.huge.banner.icon.header .icon {
    color: #764ba2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
}

.overlay-content h2 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
}

.overlay-content p {
    color: #555;
    font-size: 1.2em;
    margin: 15px 0;
}

.overlay-content strong {
    color: #764ba2;
    font-size: 1.8em;
    font-weight: bold;
    display: block;
    margin: 10px 0;
    letter-spacing: 3px;
}

.overlay-content label {
    color: #333;
    font-weight: 600;
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.overlay-content input[type="text"],
.overlay-content select {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px 0;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.1em;
    transition: border-color 0.3s;
}

.overlay-content input[type="text"]:focus,
.overlay-content select:focus {
    outline: none;
    border-color: #667eea;
}

.ui.button {
    margin: 10px 5px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ui.primary.button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ui.primary.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.ui.secondary.button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.ui.secondary.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 87, 108, 0.4);
}

.ui.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ui.huge.button {
    padding: 20px 40px;
    font-size: 1.5em;
}

form {
    margin-top: 30px;
}

.ui.form .field label {
    color: #333;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.ui.form input[type="text"] {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.1em;
    transition: border-color 0.3s;
}

.ui.form input[type="text"]:focus {
    border-color: #667eea;
    outline: none;
}

.loading-overlay {
    display: none;
    background: rgba(102, 126, 234, 0.9);
    backdrop-filter: blur(5px);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.loading-overlay.is-active {
    display: flex;
}

.loading-overlay .fa-spinner {
    color: white;
}

label {
    margin-right: 10px;
}

.correct-title {
    margin-top: 15px;
    padding: 20px;
    font-size: 1.8em;
    color: white;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(56, 239, 125, 0.3);
}

.wrong-title {
    margin-top: 15px;
    padding: 20px;
    font-size: 1.8em;
    color: white;
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(235, 51, 73, 0.3);
}

.score-section {
    display: block;
    margin-top: 30px;
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    text-align: center;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.score-section #score {
    color: #764ba2;
    font-size: 1.5em;
}