/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: #1a1a2e;
    color: #eaeaea;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    max-width: 800px;
    margin: 20px;
    padding: 40px;
    background: #16213e;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h1 {
    font-size: 32px;
    color: #00c7fc;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.text-display {
    font-size: 24px;
    margin: 20px 0;
    padding: 20px;
    border-radius: 15px;
    background: #0f3460;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    text-align: left;
    color: #eaeaea;
}

.text-display span.correct {
    background: #28a745;
    color: #eaeaea;
}

.text-display span.incorrect {
    background: #dc3545;
    color: #eaeaea;
}

.typing-input {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #10121b;
    color: #eaeaea;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.typing-input:focus {
    border-color: #00c7fc;
    box-shadow: 0 0 0 3px rgba(0, 199, 252, 0.1);
    outline: none;
}

#stats {
    margin-top: 20px;
    font-size: 18px;
    color: #666;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.airplane-container {
    width: 100%;
    height: 80px;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}

.airplane {
    width: 100px;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: left 0.5s ease-in-out;
}

#refresh-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background: #00c7fc;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#refresh-btn:hover {
    background: #0099cc;
    transform: scale(1.05);
}

#refresh-btn:active {
    transform: scale(0.95);
}
