:root {
    --bg-color: rgba(255, 255, 255, 0.05);
    --primary-color: #5a7bff;
    --secondary-color: rgba(255, 255, 255, 0.95);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.25s cubic-bezier(0.33, 1, 0.68, 1);
    --border-color: rgba(255, 255, 255, 0.12);
    --button-hover-bg: rgba(255, 255, 255, 0.15);
    --button-active-bg: rgba(255, 255, 255, 0.2);
  }
  
  .center-box {
    width: 85%;
    max-width: 1000px;
    margin: 60px auto 0;
  }
  
  .iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 25px;
    border: 4px solid rgba(92, 91, 91, 0.12);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }
  
  #app-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
  }
  
  .control-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 40px;
    padding: 4px 20px;
    margin-top: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    min-height: 52px;
  }
  
  .app-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  
  .app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .app-name {
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 0.2px;
  }
  
.control-buttons {
    display: flex;
    gap: 8px; 
    margin-left: 12px;
}

.control-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--secondary-color);
  transition: box-shadow 0.25s cubic-bezier(0.33, 1, 0.68, 1), transform 0.25s cubic-bezier(0.33, 1, 0.68, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.08);
}

.control-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1), transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  border-radius: 12px;
  transform: scale(0.95);
}

.control-btn:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 10px 24px rgba(90, 123, 255, 0.18), 0 0 12px rgba(255,255,255,0.13);
}

.control-btn:hover::after {
  opacity: 1;
  transform: scale(1.08);
}

.control-btn:active {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(0) scale(1);
  transition-duration: 0.12s;
  box-shadow: 0 0 6px var(--primary-color);
}

.control-btn i {
  font-size: 14px; 
  position: relative;
  z-index: 1;
  pointer-events: none;
}

  .ad-left, .ad-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 10;
  }
  
  .ad-left { left: 10px; }
  .ad-right { right: 10px; }
