/* ============================================
   HOMEPAGE — Celestial Wheel
   ============================================ */

/* Header */
.home-header {
  text-align: center;
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  animation: fadeUp 0.8s var(--ease-out-expo) both;
}

.home-header__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.home-header__line {
  width: 60px;
  height: 1px;
}

.home-header__line--left {
  background: linear-gradient(90deg, transparent, var(--color-gold));
}

.home-header__line--right {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.home-header__est {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 6px;
  font-weight: 100;
  color: var(--color-gold-dim);
}

.home-header__title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.home-header__subtitle {
  font-family: var(--font-reading);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  line-height: 1.8;
}

/* ============================================
   WHEEL + INFO PANEL (2-column)
   ============================================ */

.wheel-section {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding: var(--space-lg) var(--space-2xl) var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Wheel container */
.wheel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinIn 1.2s var(--ease-out-expo) 0.2s both;
}

.wheel {
  position: relative;
  width: 500px;
  height: 500px;
}

/* Concentric rings */
.wheel__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 197, 169, 0.06);
}

.wheel__ring--1 { left: 50px; top: 50px; width: 400px; height: 400px; border-color: rgba(212, 197, 169, 0.08); }
.wheel__ring--2 { left: 100px; top: 100px; width: 300px; height: 300px; border-color: rgba(212, 197, 169, 0.10); }
.wheel__ring--3 { left: 150px; top: 150px; width: 200px; height: 200px; border-color: rgba(212, 197, 169, 0.12); }
.wheel__ring--4 { left: 200px; top: 200px; width: 100px; height: 100px; border-color: rgba(212, 197, 169, 0.14); }

/* Cross lines */
.wheel__crossline {
  position: absolute;
  left: 250px;
  top: 50px;
  width: 1px;
  height: 400px;
  background: rgba(212, 197, 169, 0.05);
  transform-origin: 0 200px;
}

/* Center dot */
.wheel__center {
  position: absolute;
  left: 246px;
  top: 246px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold-glow);
}

/* Sign circles on wheel */
.wheel-sign {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s;
  border: 1px solid rgba(212, 197, 169, 0.2);
  background: rgba(212, 197, 169, 0.04);
  font-size: 22px;
  color: var(--color-gold);
  z-index: 1;
}

.wheel-sign:hover {
  border-color: var(--color-gold);
  background: rgba(212, 197, 169, 0.12);
  box-shadow: 0 0 20px rgba(212, 197, 169, 0.2);
}

.wheel-sign:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 2px;
}

.wheel-sign--active {
  border-color: var(--color-gold);
  background: rgba(212, 197, 169, 0.15);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px var(--color-gold-glow);
}

/* Info panel */
.info-panel {
  padding: 0 var(--space-xl);
  animation: slideInRight 1s var(--ease-out-expo) 0.4s both;
  min-height: 300px;
}

.info-panel__counter {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--color-gold-dim);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.info-panel__glyph {
  font-size: 72px;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 0 12px var(--color-gold-glow));
  color: var(--color-gold);
}

.info-panel__name {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--color-gold);
}

.info-panel__desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  color: rgba(212, 197, 169, 0.6);
  max-width: 400px;
}

.info-panel__meta {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-lg);
}

.info-panel__meta-label {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(212, 197, 169, 0.3);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-panel__meta-value {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--color-gold);
}

.info-panel__placeholder {
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 100;
  font-style: italic;
  color: rgba(212, 197, 169, 0.3);
  line-height: 2;
}

/* ============================================
   ZODIAC CARD GRID
   ============================================ */

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: var(--space-xl) var(--space-3xl) var(--space-4xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.zodiac-card {
  cursor: pointer;
  border: 1px solid var(--color-gold-border);
  padding: 28px;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  background: var(--color-bg-card);
}

.zodiac-card:hover {
  border-color: var(--color-gold-bright);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.1);
}

.zodiac-card:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: -2px;
}

.zodiac-card--active {
  border-color: var(--color-gold-bright);
  background: rgba(201, 169, 110, 0.08);
  animation: goldPulse 3s ease-in-out infinite;
}

.zodiac-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.zodiac-card__glyph {
  font-size: 36px;
  color: var(--color-gold-bright);
  opacity: 0.8;
}

.zodiac-card__element {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.zodiac-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--color-text);
}

.zodiac-card__dates {
  font-size: 13px;
  color: var(--color-text-dim);
  font-weight: 300;
  font-style: italic;
}

.zodiac-card__horoscope {
  margin-top: 16px;
  font-family: var(--font-reading);
  font-size: 15px;
  line-height: 1.7;
  color: #9a8e7e;
  font-style: italic;
  animation: fadeUp 0.4s ease;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: var(--space-2xl) var(--space-3xl);
  border-top: 1px solid var(--color-gold-border);
  display: flex;
  justify-content: space-between;
  color: #3a3530;
  font-size: 12px;
  font-family: var(--font-heading);
  letter-spacing: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .wheel-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-lg);
  }

  .wheel {
    width: 400px;
    height: 400px;
  }

  .wheel__ring--1 { left: 0; top: 0; width: 400px; height: 400px; }
  .wheel__ring--2 { left: 50px; top: 50px; width: 300px; height: 300px; }
  .wheel__ring--3 { left: 100px; top: 100px; width: 200px; height: 200px; }
  .wheel__ring--4 { left: 150px; top: 150px; width: 100px; height: 100px; }

  .wheel__center {
    left: 196px;
    top: 196px;
  }

  .info-panel {
    text-align: center;
    padding: 0;
  }

  .info-panel__desc {
    max-width: 100%;
  }

  .info-panel__meta {
    justify-content: center;
  }

  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .home-header__title {
    font-size: 24px;
    letter-spacing: 8px;
  }

  .wheel {
    width: 320px;
    height: 320px;
  }

  .wheel__ring--1 { left: 0; top: 0; width: 320px; height: 320px; }
  .wheel__ring--2 { left: 35px; top: 35px; width: 250px; height: 250px; }
  .wheel__ring--3 { left: 85px; top: 85px; width: 150px; height: 150px; }
  .wheel__ring--4 { left: 135px; top: 135px; width: 50px; height: 50px; }

  .wheel__center {
    left: 156px;
    top: 156px;
  }

  .wheel-sign {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .info-panel__glyph { font-size: 48px; }
  .info-panel__name { font-size: 32px; letter-spacing: 4px; }

  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zodiac-card {
    padding: 20px;
  }

  .site-footer {
    padding: var(--space-xl) var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .zodiac-grid {
    grid-template-columns: 1fr;
  }

  .wheel {
    width: 280px;
    height: 280px;
  }

  .wheel__ring--1 { left: 0; top: 0; width: 280px; height: 280px; }
  .wheel__ring--2 { left: 25px; top: 25px; width: 230px; height: 230px; }
  .wheel__ring--3 { left: 65px; top: 65px; width: 150px; height: 150px; }
  .wheel__ring--4 { left: 115px; top: 115px; width: 50px; height: 50px; }

  .wheel__center {
    left: 136px;
    top: 136px;
  }

  .wheel-sign {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
