* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: #e8e8e8;
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.screen {
  background-color: #1a1a1a;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 30px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.introduction, .conclusion {
  margin-bottom: 30px;
  font-style: italic;
  color: #b8860b;
  border-left: 3px solid #b8860b;
  padding-left: 20px;
}

.conclusion {
  margin-bottom: 0;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.tale-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tale-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.tale-text {
  font-size: 16px;
  line-height: 1.8;
  color: #d0d0d0;
}

.generate-button {
  background-color: #2a2a2a;
  color: #fff;
  border: 2px solid #444;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  transition: all 0.2s ease;
  align-self: center;
}

.generate-button:hover {
  background-color: #3a3a3a;
  border-color: #666;
}

.generate-button:active {
  transform: scale(0.98);
}

@media (max-width: 600px) {
  .screen {
    padding: 25px;
    min-height: 500px;
  }
  
  .tale-title {
    font-size: 20px;
  }
  
  .tale-text {
    font-size: 15px;
  }
}

