.begin-journey {
 font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.2rem; /* balanced size for readability */
  line-height: 1.6;
  color: #f5e6ff; /* soft mystical lavender-white */
  background: rgba(36, 14, 56, 0.85); /* deep cosmic purple with transparency */
  border: 1px solid rgba(166, 126, 247, 0.4);
  border-radius: 12px;
  padding: 20px;
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
  box-shadow: 0 0 15px rgba(166, 126, 247, 0.3);
}
.tarot-reading input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid rgba(166, 126, 247, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f9fc;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.tarot-reading input[type="text"]:focus {
  border-color: #a67ef7;
  box-shadow: 0 0 12px rgba(166, 126, 247, 0.6);
  background: rgba(255, 255, 255, 0.12);
}
.tarot-reading input[type="text"]::placeholder {
  color: #c5c8d9;
  font-style: italic;
}
.tarot-reading p {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffd700;
  text-align: center;
  margin: 10px 0 15px;
  letter-spacing: 0.5px;
}

/* Floating overlay */
#readingOverlay {
  display: none; /* hidden at page load */
  position: fixed;
  top: 0;  left: 0;  right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#readingContent {
  background: linear-gradient(145deg, #1c1a29, #2a2540); 
  color: #f8f9fc;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  position: relative; /* Added for close button positioning */
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 25px rgba(166,126,247,0.5);
  animation: fadeIn 0.6s ease-in-out;
  font-family: 'Georgia', serif; /* trustworthy, elegant font */  
}
#readingContent img {
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3), 0 0 40px rgba(166, 126, 247, 0.4);
  background: rgba(255, 255, 255, 0.05); /* subtle glowing aura */
  padding: 8px;
}

#readingContent h3 {
  font-size: 1.6rem;
  color: #ffd700; /* golden accent */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

#readingContent #readingText {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e8e6f5;
  font-family: 'Georgia', serif;
  text-align: justify;
  margin-top: 10px;
}

/* Close button */
#closeOverlay {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  font-weight: bold;
  color: #f8f9fc;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
#closeOverlay:hover {
  transform: scale(1.2);
  color: #ffd700;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Close button styles */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}
.for-free {
  position: relative;
  padding: 8px 15px;
  border-radius: 50px;
  background: #6a0dad; /* deep mystical purple */
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px #5E0D5E, 0 0 10px #6E53A3, 0 0 10px #ffd700;
  }
  50% {
    box-shadow: 0 0 18px #5E0D5E, 0 0 16px #6E53A3, 0 0 22px #ffd700;
  }
  100% {
    box-shadow: 0 0 5px #5E0D5E, 0 0 10px #6E53A3, 0 0 10px #ffd700;
  }
}

.for-free-div{
    margin: 10px;  
}
.section-title {
  display: flex;               /* align children horizontally */
  justify-content: center;     /* center horizontally */
  align-items: center;         /* align to same vertical height */
  gap: 15px;                   /* spacing between items */
  flex-wrap: wrap;             /* wrap on smaller screens */
}

.user-widget {
  margin: 0;                   /* remove extra margin */
}

.user-avatar {
  width: 40px;                 /* bump size so it feels balanced with text */
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #a67ef7, #6c43d6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  overflow: hidden;
}
