/* style.css */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #1a1a1f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: 460px;
  text-align: center;
}

.title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #e5b667;
}

.subtitle {
  font-size: 1em;
  opacity: 0.85;
  margin-bottom: 1.5em;
  color: #d6d6e0;
}

input[type="text"] {
  padding: 0.7em;
  width: 80%;
  border-radius: 6px;
  border: 1px solid #444;
  font-size: 1em;
  background: #2a2a33;
  color: #fff;
  margin-bottom: 1em;
}

button {
  padding: 0.6em 1.5em;
  background: #e5b667;
  color: #1a1a1f;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

button:hover {
  background: #f3cc7a;
  color: #000;
}

.screen {
  transition: opacity 0.4s ease;
}

.fade-in {
  animation: fadeIn 0.4s forwards;
}

.fade-out {
  animation: fadeOut 0.4s forwards;
}

.hidden {
  display: none;
}

.card {
  background: #23232b;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 1.8em 1.4em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  text-align: left;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
}

.result-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 1em;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5em;
}

.result-title span {
  color: #e5b667;
}

.result-block {
  margin-bottom: 1.2em;
}

.label {
  color: #d6d6e0;
  font-weight: 500;
  font-size: 0.95em;
}

.value {
  color: #f0b6d3;
  font-weight: 600;
  font-size: 1em;
  margin-top: 0.2em;
}

.fantasy {
  font-style: italic;
  color: #e68cbf;
  margin-top: 0.3em;
  line-height: 1.5em;
}

.quote {
  font-style: italic;
  color: #d479af;
  margin-top: 0.3em;
  line-height: 1.5em;
}

.energy {
  font-weight: 600;
  font-size: 1.1em;
  color: #ff2e63;
  margin-top: 1.4em;
  text-align: center;
  letter-spacing: 0.5px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
.gambar_prm img {
    margin-top: 20px;
    width: 100%;
    height: auto;
}
.gambar_prm {
	text-align:left;
}