html,
body {
  margin: 0;
  font-family: 'Inter';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
}

a {
  text-decoration: none;
  color: inherit;
}

.legal a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top {
  padding: 8px 24px;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 26px;
  letter-spacing: -2px;
  font-weight: 600;
  font-family: 'Poppins';
}

.upload {
  font-size: 15px;
  margin-left: 20px;
  padding: 8px 20px;
  border-radius: 48px;
  font-weight: 600;
  background-color: #e7e7e7;
  cursor: pointer;
}

.upload:active, .upload:hover {
  background-color: #dddddd;
}

.text {
  margin-top: 64px;
  padding: 0 24px;
}

.main-line {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.second-line {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.footer {
  font-size: 13px;
  color: #302f2f;
  margin-top: 64px;
  text-align: center;
  margin-top: auto;
  padding: 32px 16px;
}

.outline {
  width: 427px;
  height: 240px;
  border: 2px solid grey;
  border-radius: 4px;
  margin: 0 auto;
  margin-top: 32px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  margin-top: 32px;
  text-align: center;
}

.box-upload {
  background-color: black;
  border-radius: 48px;
  color: white;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  width: 165px;
  margin: 0 auto;
}

.copyright {
  font-weight: 500;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.box-upload.animate {
  background: linear-gradient(270deg, #000000, #333333, #2a2a2a);
  background-size: 600% 600%;
  animation: gradient 1.5s ease infinite;
}

.more {
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.legal {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  font-size: 12px;
  color: #5a5858;
}

.legal .item {
  margin: 0 8px;
}

body.dragging::before {
  content: "Drop the file anywhere on this page";
  position: fixed;
  left: 0;
  width: 100%;
  top: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  background-color: rgba(78, 78, 78, .72);
  pointer-events: none;
  color: #e0e0e0;
  text-align: center;
  font-weight: 600
}

.email {
  margin-top: 72px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.video {
  margin-top: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
}

video {
  border-radius: 8px;
  max-height: calc(100vh - 64px);
}

.video-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 720px;
}
.as {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  margin-top: 8px;
}

.legal-text {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  margin-top: 64px;
}

.upload-error {
  color: #cc0000;
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
}

.video-error {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
}

.video-error-container {
  padding: 16px 16px 24px 16px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 8px;
}

.video-error-reasons {
  font-size: 15px;
}

.email-collect {
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 12px;
  text-decoration: underline;
  color: #50506b;
  font-weight: 500;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.modal-content {
  background-color: #ffffff;
  color: #000000;
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #e5e5e5;
  width: 90%;
  max-width: 450px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
  color: #000000;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  color: #000000;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-content #emailForm {
  margin-top: 1.5rem;
}

.modal-content #emailInput {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background-color: #ffffff;
  color: #000000;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.modal-content #emailInput:focus {
  border-color: #000000;
  outline: none;
}

.modal-content #emailInput::placeholder {
  color: #666666;
}

.modal-content #emailForm button {
  width: 100%;
  padding: 12px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-content #emailForm button:hover {
  opacity: 0.9;
}

.report-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.report-options label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}

.report-options input[type="radio"] {
  margin-right: 10px;
  cursor: pointer;
}

#reportForm button {
  width: 100%;
  padding: 12px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#reportForm button:hover {
  opacity: 0.9;
}

@media (max-width: 992px) {
  .video {
    margin-top: 0;
  }
  .legal-text {
    margin-top: 24px;
  }
}

@media (max-width: 744px) {
  video {
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .modal-content {
    margin: 5% auto;
    padding: 1.5rem;
    width: 85%;
  }
  
  .modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  
  .modal-close {
    right: 1.2rem;
    top: 0.8rem;
  }
}

@media (max-height: 700px) {
  .modal-content {
    margin: 5% auto;
  }
}

.modal-content #partnerForm button {
  width: 100%;
  padding: 12px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-content #partnerForm textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background-color: #ffffff;
  color: #000000;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.modal-content #partnerForm textarea:focus {
  border-color: #000000;
  outline: none;
}

.modal-content #partnerForm textarea::placeholder {
  color: #666666;
}

.partner-button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  margin: 24px auto 0;
  display: block;
  font-weight: 600;
}