/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  .container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
  }
  
  .input-group {
    position: relative;
    margin-bottom: 25px;
  }
  
  input[type='text'] {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  input[type='text']:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.1);
  }
  
  label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
  }
  
  #videoInfo {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
  }
  
  #videoInfo.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  #videoTitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
  }
  
  #videoThumbnail {
    width: 100%;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  #videoThumbnail:hover {
    transform: scale(1.02);
  }
  
  select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
  }
  
  select:focus {
    outline: none;
    border-color: #ff6b6b;
  }
  
  button {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px 0;
  }
  
  button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
  }
  
  button:active {
    transform: translateY(0);
  }
  
  #progressContainer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    display: none;
  }
  
  #progressBar {
    width: 0%;
    height: 6px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    border-radius: 10px;
    transition: width 0.3s ease;
  }
  
  #progressText {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
  }
  
  #downloadLink {
    display: none;
    margin-top: 20px;
  }
  
  #downloadLink a {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  #downloadLink a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  
  #message {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    min-height: 20px;
  }
  
  /* Copyright styles */
  .copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
  }
  
  .copyright a {
    color: #ff8e53;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .copyright a:hover {
    color: #ff6b6b;
  }