:root[data-theme="mocha"] {
  --background: #1e1e2e;
  --text: #cdd6f4;
  --peach: #fab387;
  --blue: #89b4fa;
  --surface0: #313244;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1e1e2e, #313244 80%);
  color: var(--text);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

img {
  max-width: 80%;
  height: auto;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--peach), var(--blue));
  margin: 10px auto;
  border-radius: 2px;
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scaleX(1); }
  100% { opacity: 1; transform: scaleX(1.3); }
}

.footer-text {
  font-size: 1rem;
  margin: 5px 0;
}


.error-code {
  font-size: 6rem;
  font-weight: bold;
  margin: 0;
  background: linear-gradient(90deg, var(--peach), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glitch 2s infinite;
}

.error-text {
  font-size: 1.5rem;
  margin: 10px 0 30px;
}

.glitch {
  display: inline-block;
  position: relative;
}

@keyframes glitch {
  0% { transform: translate(0px, 0px); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0px, 0px); }
}

.home-link {
  color: var(--peach);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s;
}

.home-link:hover {
  color: var(--blue);
}

#tux {
  transition: transform 0.3s ease;
  cursor: pointer;
}

#tux:hover {
  transform: scale(1.1); 
}
