/**
 * daily.css — ASTRA Luck Banner Styles
 * Gradient banner, tabs, yi/ji tags, star ratings, responsive.
 */

.luck-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #4a4e7a 100%);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 20px;
  box-shadow: var(--shadow-lg); color: #fff; position: relative; overflow: hidden;
}
.luck-banner::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(201,160,79,0.18), transparent 70%);
  pointer-events: none;
}

.luck-tabs { display: flex; gap: 6px; margin-bottom: 16px; position: relative; z-index: 1; }
.luck-tab {
  padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.5px; cursor: pointer; background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); border: none; transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}
.luck-tab:hover { background: rgba(255,255,255,0.22); color: #fff; }
.luck-tab.active { background: rgba(255,255,255,0.9); color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }

.luck-date { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; position: relative; z-index: 1; }
.luck-date-gregorian { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; letter-spacing: 0.5px; }
.luck-date-lunar { font-size: 12px; opacity: 0.7; font-family: 'JetBrains Mono', monospace; }
.luck-ganzhi { font-size: 13px; opacity: 0.85; margin-left: auto; font-family: 'JetBrains Mono', monospace; letter-spacing: 1px; }

.luck-yiji { display: flex; gap: 16px; margin-bottom: 14px; position: relative; z-index: 1; }
.luck-yi, .luck-ji { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.luck-yi-label, .luck-ji-label { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.luck-yi-label { background: rgba(74,222,128,0.2); color: #86efac; }
.luck-ji-label { background: rgba(251,113,133,0.2); color: #fda4af; }

.luck-info { display: flex; gap: 20px; margin-bottom: 14px; position: relative; z-index: 1; }
.luck-info-item { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.85; }
.luck-info-icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; opacity: 0.7; }

.luck-energy { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; position: relative; z-index: 1; }
.luck-energy-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; }
.luck-stars { display: flex; gap: 3px; }
.luck-star { width: 16px; height: 16px; color: rgba(255,255,255,0.25); transition: color 0.3s ease; }
.luck-star.filled { color: #fbbf24; }

.luck-suggestion { font-size: 13px; line-height: 1.5; opacity: 0.9; position: relative; z-index: 1; padding-left: 14px; border-left: 2px solid rgba(201,160,79,0.5); }

.luck-cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; position: relative; z-index: 1; }
.luck-cta-link { color: var(--highlight); font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.luck-cta-link:hover { opacity: 0.85; text-decoration: underline; }
.luck-cta-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

.luck-week-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; position: relative; z-index: 1; }
.luck-week-day { text-align: center; padding: 8px 4px; background: rgba(255,255,255,0.08); border-radius: 6px; font-size: 11px; }
.luck-week-day .day-name { opacity: 0.6; font-size: 10px; margin-bottom: 4px; }
.luck-week-day .day-score { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 500; }
.luck-week-day.best { background: rgba(251,191,36,0.18); }

.luck-month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; position: relative; z-index: 1; }
.luck-month-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; border-radius: 4px; background: rgba(255,255,255,0.06); }
.luck-month-cell.high { background: rgba(74,222,128,0.18); }
.luck-month-cell.low { background: rgba(251,113,133,0.15); }
.luck-month-cell.today { outline: 1px solid rgba(201,160,79,0.5); }

@media (max-width: 600px) {
  .luck-banner { padding: 16px 18px; }
  .luck-date-gregorian { font-size: 18px; }
  .luck-yiji { flex-wrap: wrap; gap: 10px; }
  .luck-info { flex-wrap: wrap; gap: 12px; }
  .luck-week-list { grid-template-columns: repeat(4, 1fr); }
  .luck-month-grid { gap: 3px; }
  .luck-month-cell { font-size: 10px; }
}
