@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Outfit:wght@500;700&display=swap');

:root {
    --bg-dark: #1a1a1e;
    --accent-primary: #a78bfa;
    --text-main: #ffffff;
    --text-dim: #9ca3af;
    --border-color: #3f3f46;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
}

#counter {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main);
    z-index: 100;
    user-select: none;
}

#stream {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-dark);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
}

.popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 50;
    padding: 40px;
    box-sizing: border-box;
}

.popup h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2em;
    margin-bottom: 20px;
    max-width: 600px;
}

.popup p {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.popup a {
    color: var(--accent-primary);
    text-decoration: none;
}

.popup a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

.clickable {
    cursor: pointer;
}

noscript .popup {
    display: block !important;
}

video::-webkit-media-controls {
    display: none !important;
}