body{
  margin:0;
  overflow:hidden;
  background:#050510;
  font-family:sans-serif;
  color:white;
}

.ui-container{
  position:fixed;
  top:20%;
  left:50%;
  transform:translate(-50%,-50%);
  width:95%;        /* чуть больше процентов экрана */
  max-width:1600px;  /* можно увеличить до 800px или больше */
  min-width:300px; 
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

/* стеклянная панель по центру */
.panel{
  width:95%;
  max-width:1200px;
  min-width:300px;
  backdrop-filter: blur(15px);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:14px;
  padding:20px;
  box-shadow:
  0 0 10px rgba(255,140,0,1),
  0 0 20px rgba(255,140,0,0.7);
}

.title{
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;   /* отступ до видео */
  text-shadow: 0 0 10px orange, 0 0 25px orange;
}

.tabs{
  display:flex;
  gap:10px;
  margin-bottom:10px;
  justify-content:center;
}

.tab{
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
  background:rgba(255,255,255,0.08);
  font-weight: bold;   /* жирный */
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
  box-shadow:0 0 6px rgba(255,140,0,0.8);
}

.tab.active{
  background:rgba(255,255,255,0.2);
  box-shadow:
  0 0 10px rgba(255,140,0,1),
  0 0 20px rgba(255,140,0,0.7);
}

.content{
  display:none;
  font-size:14px;
  line-height:1.4;
}

.content.active{
  display:block;
}

.side-panel{
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-panel button{
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: white;
    padding: 12px 18px;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    font-size: 18px;     /* увеличивает текст */
    font-weight: bold;   /* жирный */
    box-shadow:
    0 0 8px rgba(255,140,0,0.9),
    0 0 16px rgba(255,140,0,0.6);

    cursor: pointer;
    transition: 0.2s;
}

.side-panel button:hover{
    background: rgba(255,255,255,0.25);
}