/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #0b0b0b, #121212);
  color: #f0f0f0;
  line-height: 1.6;
  padding: 40px 20px;
  max-width: 960px;
  margin: auto;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 50px;
}

h1 {
  font-size: 2.75rem;
  color: #800000;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.2rem;
  color: #bbb;
}

/* Section headings */
h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  color: #f0f0f0;
  border-bottom: 2px solid #800000;
  padding-bottom: 5px;
}

/* Tool sections */
section.tool {
  margin-bottom: 50px;
}

/* Inputs */
input[type="file"],
input[type="text"],
input[type="datetime-local"] {
  display: block;
  margin: 10px 0 20px;
  padding: 14px;
  font-size: 16px;
  width: 100%;
  max-width: 640px;
  border: 1px solid #800000;
  border-radius: 6px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]::placeholder {
  color: #888;
}

input:focus {
  border-color: #a00000;
  box-shadow: 0 0 5px rgba(160, 0, 0, 0.5);
  outline: none;
}

/* Buttons */
button {
  padding: 14px 28px;
  font-size: 16px;
  background-color: #800000;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
  background-color: #a00000;
  transform: translateY(-1px);
}

/* Base link style */
a {
  color: #b30404; /* Maroon */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* Hover and focus states */
a:hover,
a:focus {
  color: #e60303; /* Brighter maroon */
  text-decoration: underline;
}

/* Active state */
a:active {
  color: #f60202; /* Even brighter on click */
}

footer a,
.about a {
  color: #b30404;
}

footer a:hover,
.about a:hover {
  color: #e60303;
}
