body {
  margin: 0;
  background-color: transparent;
}
#zodiacWidget {
  font-family: 'VT323', monospace;
  background: #0a0a0a;
  color: #00ffff;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.2);
  margin: 0 auto;
  position: relative;
}
#zodiacWidget h3 {
  margin: 0 0 15px 0;
  padding: 0;
  color: #00ffff;
  font-size: 18px;
  font-weight: normal;
}
.moon-phase, .moon-times {
  font-size: 14px;
  margin-bottom: 12px;
  color: #99ffff;
  line-height: 1.4;
}
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.tab-btn {
  background: #111;
  border: 1px solid #004444;
  border-radius: 6px;
  color: #00aaaa;
  font-size: 12px;
  padding: 6px 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: 'VT323', monospace;
  outline: none;
  text-decoration: none;
}
.tab-btn:hover, .tab-btn.active {
  background: #003333;
  color: #00ffff;
  border-color: #00ffff;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}
.zodiac-circle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.zodiac-button {
  background: #111;
  border: 1px solid #00ffff;
  border-radius: 6px;
  color: #00ffff;
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
  transition: 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  outline: none;
}
.zodiac-button:hover {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
}
.zodiac-button.selected {
  background: #004444;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
#horoscopeOutput, #luckyOutput, #compatibilityOutput, #constellationOutput {
  font-size: 14px;
  background: #111;
  padding: 12px;
  border-radius: 8px;
  border: 1px dashed #00ffff;
  box-shadow: inset 0 0 6px rgba(0, 255, 255, 0.2);
  color: #00ffff;
  line-height: 1.4;
}

/* --- START OF UPDATED CSS FOR TRIANGLE LAYOUT --- */
.lucky-numbers {
  display: block !important;
  margin: 12px 0 24px 0; /* Top, Right, Bottom, Left */
}
.lucky-row {
  display: flex !important;
  justify-content: center;
  margin-bottom: -5px;
}
.lucky-number {
  background: #003333;
  border: 1px solid #00aaaa;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #00ffff;
  animation: luckyGlow 2s ease-in-out infinite alternate;
  margin: 4px;
}
/* --- END OF UPDATED CSS --- */

@keyframes luckyGlow {
  from { box-shadow: 0 0 5px rgba(0, 255, 255, 0.3); }
  to { box-shadow: 0 0 15px rgba(0, 255, 255, 0.8); }
}
.lucky-header, .compatibility-header, .constellation-header {
  margin-bottom: 12px;
  font-size: 16px;
  color: #99ffff;
}
.compatibility-result {
  margin: 12px 0;
  font-size: 16px;
}
.compatibility-match {
  color: #ff99ff;
  font-weight: bold;
}
.compatibility-score {
  background: linear-gradient(45deg, #ff0066, #ff9900, #66ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
  font-weight: bold;
}
#starMap {
  width: 280px;
  height: 180px;
  background: #000011;
  border: 1px solid #00ffff;
  border-radius: 8px;
  margin: 8px auto;
  display: block;
  padding: 0;
  max-width: calc(100% - 24px);
}
.constellation-info {
  margin-top: 8px;
  font-size: 12px;
  color: #99ffff;
  line-height: 1.3;
}
#zodiacWidget img {
  display: none;
}
#zodiacWidget a {
  color: inherit;
  text-decoration: none;
}
#zodiacWidget div {
  line-height: inherit;
}
#luckyExtra {
  margin-top: 24px !important;
}