:root {
    --primary-color: #007BFF;
    --primary-color-hover: #0056b3;
    --background-color: #f4f4f4;
    --text-color: #333;
    --border-color: #ccc;
    --container-bg: #fff;
    --container-shadow: rgba(0, 0, 0, 0.1);
    --font-family: Arial, sans-serif;
  }

  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 20px;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
  }
  
  .container {
    max-width: 640px;
    margin: 0 auto;
    background: var(--container-bg);
    padding: 20px;
    box-shadow: 0 0 10px var(--container-shadow);
    border-radius: 8px;
  }
  
  header h1 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  #status {
    font-size: 1.25rem;
    color: red;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  button {
    flex: 1 1 auto;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: var(--primary-color-hover);
  }
  
  button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  #progressContainer {
    width: 100%;
    background-color: #ddd;
    border: 1px solid #aaa;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
  }
  
  #progressBar {
    width: 0%;
    height: 20px;
    background-color: #4caf50;
    transition: width 0.3s ease;
  }  
  
  video {
    transform: scaleX(-1);
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    display: block;
    margin-top: 10px;
    clip-path: ellipse(30% 50% at 50% 50%);
    -webkit-clip-path: ellipse(30% 50% at 50% 50%);
  }
  
  @media (max-width: 480px) {
    body {
      padding: 10px;
    }
    .container {
      padding: 15px;
    }
    header h1 {
      font-size: 1.5rem;
    }
    #status {
      font-size: 1rem;
    }
    button {
      padding: 8px 16px;
      font-size: 0.9rem;
    }

    video {
        transform: scaleX(-1);
        clip-path: ellipse(45% 40% at 50% 50%);
        -webkit-clip-path: ellipse(45% 40% at 50% 50%);
      }
  }
  