/* Общий стиль для страницы */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
  }
  
  /* Контейнер для кнопок */
  #button-container {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9999;
  }
  
  /* Стиль для кнопок */
  .button {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
  }
  
  .button:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
  }
  
  /* Стиль активной кнопки */
  .button.active {
    background: rgba(255, 0, 0, 0.6);
    border-color: rgba(255, 0, 0, 0.6);
    color: white;
  }
  
  /* Стиль для оверлея */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .logo-container {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .overlay h2 {
    font-size: 24px;
    max-width: 90%;
    margin: 0 auto 20px auto;
    padding: 0 10px;
  }
  
  .overlay a {
    color: white;
    background-color: #0088cc;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
  }
  
  .overlay a:hover {
    background-color: #006699;
  }
  
  #timer {
    font-size: 20px;
    margin-top: 15px;
  }
  
  /* Адаптивность для мобильных устройств */
  @media (max-width: 768px) {
    .logo-container {
      width: 80px;
      height: 80px;
    }
  
    .overlay h2 {
      font-size: 20px;
      margin-bottom: 15px;
    }
  
    .overlay a {
      font-size: 16px;
      padding: 10px 20px;
    }
  
    #timer {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .logo-container {
      width: 70px;
      height: 70px;
    }
  
    .overlay h2 {
      font-size: 16px;
      margin-bottom: 10px;
      line-height: 1.4;
    }
  
    .overlay a {
      font-size: 14px;
      padding: 8px 15px;
    }
  
    #timer {
      font-size: 14px;
    }
  
    .overlay {
      padding: 10px;
    }
  }