@font-face {
  font-family: "Silk Remington";
  src: url("/fonts/SilkRemington-SBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  background-color: #050505;
  background-image: url("/images/bg-texture.png");
  background-repeat: repeat;
  background-attachment: fixed;
  color: #f2f2f2;
  font-family: "Silk Remington", "Helvetica", Arial, sans-serif;
  margin: 0;
  padding: 0 0 90px 0;
}

header {
  padding: 40px 0 10px 0;
  text-align: center;
}

.logo {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.logo-dot {
  color: #CFE8FF;
}

.greeting {
  font-size: 20px;
  margin: 10px 0 30px 0;
  padding: 0 20px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

a.linkbutton {
  color: #CFE8FF;
  text-decoration: none;
  transition: color 150ms linear;
}
a.linkbutton:hover {
  color: #FFFFFF;
}

.noscriptalert {
  text-align: center;
  color: #ff5c5c;
  margin-bottom: 20px;
}

form.dropzone {
  width: min(70%, 640px);
  min-height: 160px;
  padding: 35px;
  border: 2px dashed #1c2e3b;
  border-radius: 18px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(13, 22, 28, 0.92);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 150ms linear, border-color 150ms linear;
}
form.dropzone:hover,
form.dropzone.dragover {
  background-color: rgba(28, 46, 59, 0.9);
  border-color: #CFE8FF;
}

.dz-message {
  color: #ffffff;
  font-size: 18px;
}

.dz-preview-list {
  margin-top: 15px;
  text-align: left;
  width: 100%;
}
.dz-preview-list:empty {
  margin-top: 0;
}

.dz-preview {
  background-color: #11181d;
  border: 1px solid #15232c;
  border-radius: 12px;
  padding: 10px 15px;
  margin-top: 8px;
  font-size: 14px;
  word-break: break-all;
}

.dz-preview .dz-filename { font-weight: 600; }
.dz-preview .dz-progress-track {
  height: 6px;
  background: #15232c;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}
.dz-preview .dz-progress-bar {
  height: 100%;
  width: 0%;
  background: #CFE8FF;
  transition: width 120ms linear;
}
.dz-preview.success .dz-progress-bar { background: #23B748; }
.dz-preview.error .dz-progress-bar { background: #FF5C5C; }
.dz-preview .dz-result-link {
  display: block;
  margin-top: 8px;
  color: #CFE8FF;
  cursor: pointer;
}
.dz-preview .dz-error-message {
  color: #FF5C5C;
  margin-top: 6px;
}

.expiryRow {
  margin-top: 16px;
  text-align: center;
}
.expiryBtn {
  background: rgba(13, 22, 28, 0.92);
  border: 1px solid #1c2e3b;
  border-radius: 8px;
  color: #CFE8FF;
  padding: 6px 16px;
  margin: 0 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: background-color 150ms linear, border-color 150ms linear;
}
.expiryBtn:hover {
  border-color: #CFE8FF;
}
.expiryBtn.active {
  background: #1c2e3b;
  border-color: #CFE8FF;
  color: #ffffff;
}

.expiryWarning {
  margin-top: 10px;
  color: #FF5C5C;
  font-size: 14px;
}

.urlUploads {
  text-align: center;
  margin-top: 25px;
}

form.urlUploadForm {
  width: min(45%, 480px);
  margin: 5px auto;
  padding: 5px;
}

form.urlUploadForm input[type=text] {
  width: 60%;
  height: 30px;
  font-size: 15px;
  background-color: #0d161c;
  border: 2px solid #1c2e3b;
  border-radius: 6px;
  color: white;
  padding: 0 8px;
}

form.urlUploadForm button {
  height: 34px;
  padding: 0 16px;
  background-color: #1c2e3b;
  border: 2px solid #0f1a22;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background-color 150ms linear;
}
form.urlUploadForm button:hover {
  background-color: #2f4d61;
}

.urlUploadResponse {
  margin-top: 10px;
  word-break: break-all;
}

.linkrow {
  font-size: 14px;
  margin-top: 30px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0,0,0,0.85);
  text-align: center;
}

.credit {
  font-size: 12px;
  color: #CFE8FF;
  opacity: 0.9;
}

.mascot {
  position: fixed;
  right: 0;
  bottom: 0;
  max-width: 320px;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.mascot img {
  max-width: 100%;
  display: block;
}

.legalRow {
  text-align: center;
  margin: 25px 0;
  font-size: 14px;
}
.legalRowText {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 4px;
  border: 1px solid #1c2e3b;
  border-radius: 8px;
  color: #CFE8FF;
  cursor: pointer;
  background: rgba(0,0,0,0.35);
}
.legalRowText:hover {
  color: #FFFFFF;
}
.legalRowText.active {
  color: #ffffff;
  background: #0d161c;
  border-color: #CFE8FF;
  text-decoration: none;
}

.legalContainer {
  max-width: 760px;
  margin: 0 auto 90px auto;
  padding: 0 20px;
}
.legalSection {
  background: rgba(15, 24, 29, 0.94);
  border: 1px solid #15232c;
  border-radius: 16px;
  padding: 30px 35px;
  line-height: 1.6;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
.legalSection h1 { color: #CFE8FF; margin-top: 0; }
.legalSection h3, .legalSection h4 { color: #ffffff; margin-bottom: 6px; }
.legalSection p, .legalSection li { color: #dddddd; }
.legalSection b { color: #ffffff; }

.notfound {
  max-width: 500px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}
.notfound-code {
  font-size: 96px;
  font-weight: 700;
  color: #CFE8FF;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  line-height: 1;
  margin-bottom: 10px;
}
.notfound p {
  font-size: 16px;
  color: #dddddd;
}

.dropzone:focus-visible {
  outline: 2px solid #CFE8FF;
  outline-offset: 3px;
}
