:root {
    --primary: #00f2ff;
    --bg: #050505;
    --panel: rgba(20, 20, 20, 0.8);
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.ui-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

header h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.input-container {
    pointer-events: auto;
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    background: var(--panel);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    font-size: 1rem;
    outline: none;
}

button {
    background: var(--primary);
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

.status {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary);
}

.info-panel {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--panel);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(10px);
    max-width: 300px;
}

.hidden {
    display: none;
}

#youtube-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Between canvas and UI */
    width: 80vw;
    max-width: 900px;
    aspect-ratio: 16/9;
}

#youtube-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.3);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
