body {
    margin: 0;
    padding: 0;
    background: black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

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

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.youtube-container {
    max-width: 50vw;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.youtube-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    display: block;
}

.input-container {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.query-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #FFD700;
    border-radius: 8px;
    background: black;
    color: #00BFFF;
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: none;
    overflow: hidden;
    font-family: inherit;
    line-height: 1.2;
}

.query-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    background: black;
}

.query-input::placeholder {
    color: #00BFFF;
    opacity: 0.7;
    font-style: italic;
    white-space: pre-wrap;
    line-height: 1.2;
}

.error-message {
    color: #FF3333;
    font-style: italic;
    white-space: pre-wrap;
    line-height: 1.2;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
    min-height: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.error-message.show {
    opacity: 1;
}

.input-description {
    margin-top: 15px;
    text-align: center;
    color: #FFD700;
    font-family: inherit;
}

.arrows {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.description-text {
    font-size: 1rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .youtube-container {
        max-width: 98vw;
        margin-bottom: 1rem;
    }
    .youtube-container iframe {
        height: 250px;
    }
    .input-container {
        max-width: 98vw;
    }
    .query-input {
        font-size: 1rem;
        padding: 10px 8px;
    }
} 