@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    outline: none;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --text-color: #333333;
    --msg-title-color: #8E2DE2;
    --input-color: #495057;
    --btn-color: #8E2DE2;
    --hover-color: #7b1fd8;
    --gradient-purple: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --tran-05: all 0.3s ease;
    --scrollbar-bg: #8E2DE2;
    --border: 1px solid #e0e0e0;
    --border-radius: 12px;
    --box-shadow: 0 8px 32px rgba(142, 45, 226, 0.1);
    --box-shadow-hover: 0 12px 48px rgba(142, 45, 226, 0.15);
}

body {
    min-height: 100vh;
    background-color: var(--primary-color);
    overflow: auto;
    transition: var(--tran-05);
}

body.dark {
    --primary-color: #121212;
    --secondary-color: #1e1e1e;
    --text-color: #f5f5f5;
    --msg-title-color: #a855f7;
    --input-color: #d1d5db;
    --btn-color: #a855f7;
    --hover-color: #9333ea;
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-light: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    --border: 1px solid #333333;
    --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Original elements from your CSS */
.container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.container video {
    z-index: 1;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.video-off {
    z-index: 2;
    position: absolute;
    visibility: hidden;
    top: 50%;
    left: 50%;
    width: 15vh;
    height: 15vh;
    transform: translate(-50%, -50%);
}

video {
    background: #000;
}

video:fullscreen {
    object-fit: contain;
}

.mirror {
    transform: rotateY(180deg);
}

.not-selectable {
    user-select: none;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hidden {
    display: none !important;
}

.full-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.awaiting-broadcaster {
    z-index: 1;
    position: absolute;
    width: 100%;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 1rem;
    pointer-events: none;
    text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 10px;
}

/* Animations */
.fadeIn {
    animation: fadeIn ease-in 1;
    animation-fill-mode: forwards;
    animation-duration: 1s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Utility Classes */
.color-red {
    color: #ef4444 !important;
}

.color-green {
    color: #10b981 !important;
}