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

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #111;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

h1 {
  font-size: 28px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  margin-bottom: 20px;
  background-color: #333;
  color: #fff;
  outline: none;
  box-sizing: border-box;
}

input[type="text"]:focus {
  border: 2px solid #ff5e57;
}

button {
  width: 100%;
  padding: 15px;
  background-color: #ff5e57;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-sizing: border-box;
}

button:hover {
  background-color: #ff3b2f;
}

.result {
  margin-top: 20px;
  background-color: #2a2a2a;
  padding: 15px;
  border-radius: 10px;
  display: none;
}

.result video {
  width: 100%;
  max-height: 400px;
  border-radius: 10px;
  object-fit: cover;
}

.result button {
  width: 48%;
  margin: 10px 1%;
}

a {
  display: block;
  font-size: 16px;
  color: #ff5e57;
  text-decoration: none;
  margin-top: 15px;
}

a:hover {
  text-decoration: underline;
}

.footer {
  font-size: 14px;
  color: #bbb;
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  width: 100%;
}

@media (max-width: 600px) {
  .container {
    padding: 15px;
  }

  input[type="text"], button {
    font-size: 16px;
  }

  .result button {
    width: 48%;
    margin: 10px 1%;
  }

  .result video {
    height: auto;
    max-height: 250px;
  }
}