body {
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    color: #e0e0ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

.container {
    background: rgba(10, 15, 30, 0.85);
    border: 2px solid #00d2ff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h2 {
    color: #ffd700;
}

input[type="text"] {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00d2ff;
    color: #fff;
    padding: 10px 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    width: 80%;
    margin-bottom: 20px;
}

button {
    background: #00d2ff;
    border: none;
    color: #000;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background: #00a8cc;
    box-shadow: 0 0 15px #00d2ff;
}

.puzzle-card {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.error {
    color: #ff4d4d;
    margin-bottom: 15px;
}

.success {
    color: #4dff4d;
}

.progress-indicator {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.puzzle-description {
    line-height: 1.6;
    margin-bottom: 20px;
}
