* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  background-color: #121212;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.header {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.flame-logo {
  transition: all 0.5s ease;
  animation: flameAnimation 2s infinite;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-left: 8px;
  color: #ff4500;
}

.prompt-box {
  width: 100%;
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prompt-box:hover {
  background-color: #2a2a2a;
}

.prompt-text {
  font-size: 18px;
  padding: 10px;
  z-index: 2;
}

.placeholder-text {
  color: #999;
}

.button {
  background-color: #cc0000;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.button:hover {
  background-color: #990000;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

.button:disabled {
  background-color: #555;
  cursor: not-allowed;
}

.generate-text {
  display: block;
}

.loading-text {
  display: none;
  animation: pulse 1.5s infinite;
}

.loading-prompts-text {
  display: none;
  animation: pulse 1.5s infinite;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-button {
  position: absolute;
  top: 10px;
  right: 70px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prompt-box:hover .copy-button {
  opacity: 1;
}

.prompt-box:hover .share-button {
  opacity: 1;
}

.copy-button:hover {
  background-color: #444;
}

.share-button:hover {
  background-color: #444;
}

.history-container {
  width: 100%;
  margin-top: 30px;
}

.history-title {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 15px;
  text-align: center;
}

.history-item {
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.history-item:hover {
  background-color: #2a2a2a;
}

.fire-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, #ff4500, transparent);
  opacity: 0;
  transition:
    height 0.3s ease,
    opacity 0.3s ease;
}

.prompt-box.generated .fire-effect {
  height: 30%;
  opacity: 0.3;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes flameAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.social-media-links {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}
.social-media-links a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.social-media-links a:hover {
  transform: scale(1.1);
}
.social-media-links svg {
  width: 32px; /* Adjust size as needed */
  height: 32px; /* Adjust size as needed */
  fill: #aaa; /* Adjust color as needed */
  transition: fill 0.3s ease;
}
.social-media-links a:hover svg {
  fill: #ff4500; /* Hover color - matches title */
}

.lang-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
}
.lang-toggle button {
  background: none;
  border: none;
  color: #ff4500;
  cursor: pointer;
  font-weight: bold;
  margin-right: 8px;
}
