/* Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.container {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 500px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
  font-family: 'Poppins', sans-serif;
}

p {
  color: #666;
  line-height: 1.6;
}

/* Seções */
section {
  margin-top: 24px;
  text-align: left;
}

.upload-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

input[type="file"], textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  transition: border-color 0.3s ease;
}

input[type="file"]:focus, textarea:focus {
  border-color: #667eea;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 4rem;
}

button {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;
  width: 100%;
  margin-top: 16px;
  box-shadow: 0 8px 15px rgba(102,126,234,0.4);
}

button:hover {
  background: linear-gradient(135deg, #5a6dda, #612f8a);
  transform: translateY(-2px);
}

.output {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.output video {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media(min-width: 768px) {
  .container {
    max-width: 700px;
    padding: 4rem;
  }

  .output video {
    max-width: 320px;
  }
}

@media(min-width: 1024px) {
  .container {
    max-width: 900px;
    padding: 5rem;
  }

  .output video {
    max-width: 350px;
  }
}
