:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-color: #0088cc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene {
    position: relative;
    width: 70%;
    height: 100%;
    background-image: url('img/arkaplan.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tv-container {
    position: relative;
    width: 45%;
    /* Adjusted based on visual estimation of the background image */
    aspect-ratio: 16 / 9;
    transform: translateY(-13%);
    /* Fine-tuning vertical position */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(0, 136, 204, 0.1);
    border-radius: 12px;
    /* Slightly more rounded corners for modern TV */
    background: #0d0d0d;
    /* Bezel color */
    padding: 12px;
    /* Bezel thickness */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Outer edge highlight */
    overflow: hidden;
}

/* Add a subtle inner shadow to the bezel for depth */
.tv-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    pointer-events: none;
    z-index: 3;
}

/* Subtle LED light at the bottom center */
.tv-container::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(0, 136, 204, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 136, 204, 0.8);
    z-index: 4;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    /* Inner screen rounding */
}

.overlay-ui {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.logo-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease-out;
}

.logo-container img {
    height: 60px;
}

.controls {
    display: flex;
    gap: 10px;
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow effect on the TV */
.tv-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46%;
    height: 27%;
    background: var(--accent-color);
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

