* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --fg: #e0e0e0;
    --subtle: #666;
    --accent: #4a9eff;
    --accent-hover: #6ab4ff;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--fg);
}

.hidden {
    display: none !important;
}

/* Landing page */
.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

h1 {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.tagline {
    font-size: 1rem;
    color: var(--subtle);
    margin-bottom: 3rem;
    font-style: italic;
}

.actions {
    margin-bottom: 3rem;
}

.primary-btn {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.primary-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.primary-btn:active {
    transform: scale(0.98);
}

.info {
    color: var(--subtle);
    font-size: 0.9rem;
    line-height: 1.8;
}

.info .subtle {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Room container */
#room-container {
    height: 100%;
    width: 100%;
    position: relative;
}

#jitsi-container {
    height: 100%;
    width: 100%;
}

#jitsi-container iframe {
    border: none;
}

.leave-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--fg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1000;
}

.leave-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .primary-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}
