.zodiac-hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 5%;
  padding-top: 150px;
  background: var(--primary);
  overflow: hidden;
}

.zodiac-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.zodiac-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(114, 80, 168, 1) 0%, rgba(90, 63, 126, 0.95) 100%);
}

.zodiac-stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

.zodiac-stars i {
  position: absolute;
  color: rgba(255, 255, 255, 0.6);
  animation: twinkle 3s infinite ease-in-out;
}

.star-1 { top: 10%; left: 15%; font-size: 1.5rem; animation-delay: 0s; }
.star-2 { top: 20%; right: 20%; font-size: 1rem; animation-delay: 1s; }
.star-3 { bottom: 30%; left: 25%; font-size: 1.2rem; animation-delay: 2s; }
.star-4 { bottom: 15%; right: 15%; font-size: 1.8rem; animation-delay: 1.5s; }
.paw-constellation-1 { top: 40%; left: 10%; font-size: 2rem; opacity: 0.3; animation: float 6s infinite; }
.paw-constellation-2 { top: 60%; right: 10%; font-size: 2rem; opacity: 0.3; animation: float 8s infinite reverse; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.zodiac-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.zodiac-header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: pulse 2s infinite;
}

.header-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.zodiac-title {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.zodiac-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.zodiac-form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zodiac-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--accent);
}

.form-group input,
.form-group select {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--primary);
  color: var(--white);
}

.zodiac-submit-btn {
  position: relative;
  padding: 1.2rem 2rem;
  background: var(--accent);
  border: none;
  border-radius: 25px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.zodiac-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(239, 77, 152, 0.4);
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.loading-state {
  display: none;
  text-align: center;
  padding: 3rem;
  color: var(--white);
}

.loading-state.active {
  display: block;
}

.loading-spinner {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zodiac-result {
  display: none;
}

.zodiac-result.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
}

.result-icon {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.result-icon i {
  font-size: 3rem;
  color: var(--white);
}

.result-header h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.zodiac-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.zodiac-badge span {
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: var(--white);
  font-weight: 600;
}

.element-badge {
  background: var(--secondary) !important;
}

.reading-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
}

.reading-box h3 {
  color: #f9beff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.reading-title {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.reading-subtitle {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.reading-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.1rem;
}

.reading-text p {
  margin-bottom: 1rem;
  text-align: left;
}

.reading-text strong {
  color: var(--secondary);
  font-weight: 700;
}

.reading-text em {
  color: var(--accent);
  font-style: italic;
}

.reading-text p:last-child {
  margin-bottom: 0;
}

.result-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.stat-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

.result-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timestamp {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.new-reading-btn {
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--white);
  border-radius: 25px;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.new-reading-btn:hover {
  background: var(--white);
  color: var(--primary);
}

@media screen and (max-width: 1000px) {
  .zodiac-hero {
    padding-top: 180px;
  }
  
  .zodiac-title {
      font-size: 2rem;
  }

  .form-row {
      flex-direction: column;
  }

  .zodiac-form-wrapper {
      padding: 2rem 1.5rem;
  }

  .result-stats {
      flex-direction: column;
  }
}

@media screen and (max-width: 520px) {
  .zodiac-hero {
    padding-top: 250px;
  }

  .zodiac-form-wrapper {
    padding: 0;
  }
  .reading-box {
    padding: 1rem;
  }
}