@font-face {
  font-family: 'DTMSans';
  src: url('../assets/fonts/DTM-Sans.otf') format('opentype');
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'DTMSans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #f0f0f0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ======================== 
   Link Styles 
   ======================== */
a {
  color: #4a9eff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(74, 158, 255, 0.3);
}

a:hover {
  color: #6bb6ff;
  text-shadow: 0 0 12px rgba(107, 182, 255, 0.5);
  text-decoration: underline;
}

a:active {
  color: #3a8eff;
  text-shadow: 0 0 6px rgba(58, 142, 255, 0.4);
}

.navigation-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 25px;
  position: relative;
  max-width: 900px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 20px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navigation-header .return-button {
  position: absolute;
  left: 25px;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
}

.main-title {
  margin: 0;
  text-align: center;
  width: 100%;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-viewport {
  margin-top: 30px;
  image-rendering: pixelated;
  background: #000;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  max-width: 85vw;
  max-height: 70vh;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.image-viewport:hover {
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.15);
}

input[type="file"] {
  display: none;
}

.upload-trigger,
.action-button {
  display: inline-block;
  font-family: 'DTMSans', sans-serif;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #f0f0f0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  cursor: pointer;
  margin: 15px;
  text-align: center;
  user-select: none;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.upload-trigger:hover,
.action-button:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.upload-trigger:active,
.action-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.control-group,
.toggle-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  min-width: 300px;
}

.range-slider {
  appearance: none;
  width: 180px;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  cursor: pointer;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.range-slider:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  backdrop-filter: blur(5px);
}

.switch-track:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

input:checked + .switch-track {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-color: rgba(0, 0, 0, 0.2);
}

input:checked + .switch-track:before {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  transform: translate(26px, -50%);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.info-section {
  max-width: 600px;
  text-align: center;
  font-size: 15px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  line-height: 1.6;
}

.faq-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.question-card {
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.question-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.question-card .question-text {
  margin: 0 0 15px 0;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
}

.question-card .question-text::before {
  content: "Q:";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 700;
}

.question-card .answer-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 30px;
}

.navigation-links {
  margin: 20px 0;
  text-align: center;
}

.return-button {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.return-button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-2px);
}

.page-footer {
  margin-top: 40px;
  padding: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: center;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  font-weight: 500;
  letter-spacing: 0.5px;
}