.astro-container {
    font-family: var(--astro-body-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: var(--astro-base-size, 16px);
    font-weight: var(--astro-body-weight, 400);
    color: var(--astro-text, #475569);
    max-width: var(--astro-container, 1000px);
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.astro-container *,
.astro-container *::before,
.astro-container *::after {
    box-sizing: border-box;
}

.astro-form-wrapper {
    background: var(--astro-background, #ffffff);
    border-radius: var(--astro-radius, 12px);
    box-shadow: var(--astro-shadow, 0 4px 20px rgba(0, 0, 0, 0.12));
    overflow: hidden;
}

.astro-form-header {
    background: linear-gradient(135deg, var(--astro-gradient-start, #1E3A8A) 0%, var(--astro-gradient-end, #0F172A) 100%);
    padding: 40px;
    text-align: center;
    position: relative;
}

.astro-form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.astro-icon-stars {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.astro-icon-stars svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.9);
    animation: astro-float 3s ease-in-out infinite;
}

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

.astro-form-header h2 {
    font-family: var(--astro-heading-font, inherit);
    font-size: calc(var(--astro-base-size, 16px) * var(--astro-heading-mult, 2));
    font-weight: var(--astro-heading-weight, 700);
    color: #ffffff;
    margin: 0 0 12px 0;
    position: relative;
    z-index: 1;
}

.astro-form-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.astro-form {
    padding: var(--astro-spacing, 24px) 40px 40px;
}

.astro-form-group {
    margin-bottom: 24px;
}

.astro-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--astro-heading, #fff);
    margin-bottom: 10px;
    font-size: 14px;
}

.astro-form-group label svg {
    width: 18px;
    height: 18px;
    color: var(--astro-primary, #3b82f6);
    flex-shrink: 0;
}

.astro-form-group input[type="text"],
.astro-form-group input[type="date"],
.astro-form-group input[type="time"],
.astro-form-group input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
    border-radius: calc(var(--astro-radius, 12px) / 1.5);
    font-size: 16px;
    font-family: inherit;
    color: var(--astro-heading, #fff);
    background: var(--astro-background, #ffffff);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.astro-form-group input:focus {
    outline: none;
    border-color: var(--astro-primary, #3b82f6);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.astro-form-group input[readonly] {
    background: #f8fafc;
    cursor: not-allowed;
    color: #64748b;
}

.astro-form-group input::placeholder {
    color: #94a3b8;
}

.astro-form-group small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 13px;
}

.astro-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.astro-coords-row {
    opacity: 0.7;
    transition: opacity 0.3s;
}



.astro-location-input {
    display: flex;
    gap: 12px;
}

.astro-location-input input {
    flex: 1;
}

.astro-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #f1f5f9;
    color: var(--astro-heading, #fff);
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
    border-radius: var(--astro-btn-radius, 8px);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.astro-btn-secondary svg {
    width: 18px;
    height: 18px;
}

.astro-btn-secondary:hover {
    background: var(--astro-primary, #3b82f6);
    color: #ffffff;
    border-color: var(--astro-primary, #3b82f6);
    transform: translateY(-2px);
}

.astro-btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.astro-form-actions {
    margin-top: 32px;
}

.astro-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--astro-gradient-start, #3b82f6) 0%, var(--astro-gradient-end, #1e40af) 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--astro-btn-radius, 8px);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.astro-btn-primary svg {
    width: 20px;
    height: 20px;
}

.astro-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.astro-btn-primary:active {
    transform: translateY(-1px);
}

.astro-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.astro-message {
    padding: 16px 20px;
    border-radius: calc(var(--astro-radius, 12px) / 1.5);
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: astro-slideIn 0.3s ease;
}

@keyframes astro-slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.astro-message.success {
    display: block;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #86efac;
}

.astro-message.error {
    display: block;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.astro-loading {
    text-align: center;
    padding: 30px 20px;
    color: var(--astro-primary, #3b82f6);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.astro-spinner {
    animation: astro-spin 1s linear infinite;
}

.astro-spinner svg {
    width: 32px;
    height: 32px;
}

@keyframes astro-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.astro-results {
    margin-top: 30px;
    animation: astro-fadeIn 0.5s ease;
}

@keyframes astro-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.astro-results-container {
    background: var(--astro-background, #ffffff);
    border-radius: var(--astro-radius, 12px);
    overflow: hidden;
    box-shadow: var(--astro-shadow, 0 4px 20px rgba(0, 0, 0, 0.12));
}

.astro-results-header {
    background: linear-gradient(145deg, #0F172A 0%, #1E3A8A 100%);
    padding: 40px;
    text-align: center;
    position: relative;
}

.astro-header-decoration {
    margin-bottom: 16px;
}

.astro-header-decoration svg {
    width: 40px;
    height: 40px;
    color: #60a5fa;
    animation: astro-float 3s ease-in-out infinite;
}

.astro-results-header h2 {
    font-family: var(--astro-heading-font, inherit);
    font-size: calc(var(--astro-base-size, 16px) * var(--astro-heading-mult, 2));
    font-weight: var(--astro-heading-weight, 700);
    color: #ffffff!important;
    margin: 0 0 20px 0;
}

.astro-profile-info {
    color: #fff;
}

.astro-profile-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.astro-profile-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    color: #fff!important;
    font-size: 14px;
}

.astro-profile-info p svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.astro-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid var(--astro-border, #e2e8f0);

    -webkit-overflow-scrolling: touch;
}

.astro-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.astro-tab svg {
    width: 18px;
    height: 18px;
}

.astro-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    transition: background 0.2s ease;
}

.astro-tab:hover {
    color: var(--astro-primary, #3b82f6);
    background: rgba(59, 130, 246, 0.05);
}

.astro-tab.active {
    color: var(--astro-primary, #3b82f6);
}

.astro-tab.active::after {
    background: var(--astro-primary, #3b82f6);
}

.astro-tab-content {
    display: none;
    padding: var(--astro-spacing, 24px);
    animation: astro-fadeIn 0.3s ease;
}

.astro-tab-content.active {
    display: block;
}

.astro-section {
    margin-bottom: var(--astro-spacing, 24px);
}

.astro-section:last-child {
    margin-bottom: 0;
}

.astro-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--astro-heading-font, inherit);
    font-size: 20px;
    font-weight: var(--astro-heading-weight, 700);
    color: var(--astro-heading, #ffffff);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--astro-border, #e2e8f0);
}

.astro-section-title svg {
    width: 24px;
    height: 24px;
    color: var(--astro-primary, #3b82f6);
}

.astro-big-three {
    display: grid;
    grid-template-columns: repeat(var(--astro-columns, 3), 1fr);
    gap: 20px;
}

/* Premium "Big Three" card */
.astro-big-three-card {
  /* Brand tokens (easy to tweak) */
  --astro-card-radius: 14px;
  --astro-card-border: rgba(255, 255, 255, 0.10);
  --astro-card-border-hover: rgba(255, 255, 255, 0.18);
  --astro-card-shadow: 0 14px 40px rgba(2, 6, 23, 0.45);
  --astro-card-shadow-hover: 0 18px 55px rgba(2, 6, 23, 0.55);
  --astro-card-glow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 10px 30px rgba(37, 99, 235, 0.18);

  /* Premium gradient */
  background: linear-gradient(145deg, #0F172A 0%, #1E3A8A 100%);

  border-radius: var(--astro-radius, var(--astro-card-radius));
  padding: 14px 14px;

  /* Structure */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  /* Premium surface details */
  border: 1px solid var(--astro-card-border);
  box-shadow: var(--astro-card-shadow);
  position: relative;
  overflow: hidden;

  /* Type & readability */
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* Motion */
  transform: translateZ(0);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
}

/* Subtle premium highlight sheen */
.astro-big-three-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(1200px 280px at 20% 0%,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.06) 35%,
      rgba(255, 255, 255, 0.00) 60%),
    radial-gradient(900px 240px at 80% 120%,
      rgba(59, 130, 246, 0.18) 0%,
      rgba(37, 99, 235, 0.08) 35%,
      rgba(37, 99, 235, 0.00) 65%);
  opacity: 0.85;
  pointer-events: none;
}

/* Fine noise = "expensive" texture (very subtle) */
.astro-big-three-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Keep content above overlays */
.astro-big-three-card > * {
  position: relative;
  z-index: 1;
}

/* Premium hover */
.astro-big-three-card:hover {
  transform: translateY(-4px);
  border-color: var(--astro-card-border-hover);
  box-shadow: var(--astro-card-shadow-hover), var(--astro-card-glow);
  filter: saturate(1.06) contrast(1.02);
}

/* Keyboard focus (important for UX + perceived quality) */
.astro-big-three-card:focus-within {
  outline: none;
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--astro-card-shadow-hover), 0 0 0 4px rgba(59, 130, 246, 0.18);
}

/* Optional: tighten common text elements inside card */
.astro-big-three-card .label,
.astro-big-three-card .subtitle {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.astro-big-three-card .title,
.astro-big-three-card .value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.astro-big-three-card .meta,
.astro-big-three-card .small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

/* Optional: icon bubble/pill inside card (if you have an icon element) */
.astro-big-three-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.35);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .astro-big-three-card {
    transition: none;
  }
  .astro-big-three-card:hover {
    transform: none;
  }
}


.astro-big-three-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.astro-zodiac-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.astro-zodiac-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.astro-zodiac-icon .astro-zodiac-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.astro-zodiac-icon .astro-zodiac-svg svg {
    width: 32px;
    height: 32px;
    max-width: 100%;
    max-height: 100%;
}

.astro-big-three-card .astro-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

.astro-big-three-card .astro-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.astro-big-three-card .astro-degrees {
    font-size: 14px;
    color: #60a5fa;
    font-weight: 500;
}

.astro-big-three-card .astro-house {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.astro-big-three-card .astro-ascendant-label {
    font-size: 11px;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: -4px;
}

.astro-planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.astro-planet-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f8fafc;
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
    border-radius: calc(var(--astro-radius, 12px) / 1.5);
    transition: all 0.2s ease;
}

.astro-planet-card:hover {
    border-color: var(--astro-primary, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.astro-planet-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--astro-gradient-start, #3b82f6) 0%, var(--astro-gradient-end, #1e40af) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.astro-planet-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.astro-planet-icon .astro-planet-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.astro-planet-icon .astro-planet-svg svg {
    width: 28px;
    height: 28px;
    max-width: 100%;
    max-height: 100%;
}

.astro-planet-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.astro-planet-name {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.astro-planet-sign {
    font-size: 16px;
    font-weight: 700;
    color: var(--astro-heading, #fff);
}

.astro-planet-degrees {
    font-size: 13px;
    color: var(--astro-primary, #3b82f6);
    font-weight: 500;
}

.astro-planet-house {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

.astro-collapsible {
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
    border-radius: var(--astro-radius, 12px);
    overflow: hidden;
}

.astro-collapse-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.astro-collapse-trigger:hover {
    background: #f1f5f9;
}

.astro-collapse-trigger .astro-section-title {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 16px;
}

.astro-collapse-trigger > svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.astro-collapsible.open .astro-collapse-trigger > svg {
    transform: rotate(180deg);
}

.astro-collapse-content {
    display: none;
    padding: 20px;
    background: var(--astro-background, #ffffff);
}

.astro-collapsible.open .astro-collapse-content {
    display: block;
    animation: astro-slideDown 0.3s ease;
}

@keyframes astro-slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.astro-houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.astro-house-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    background: #f8fafc;
    border: 1px solid var(--astro-border, #e2e8f0);
    border-radius: 8px;
    text-align: center;
}

.astro-house-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--astro-primary, #3b82f6);
    background: rgba(59, 130, 246, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.astro-house-sign {
    font-size: 14px;
    font-weight: 600;
    color: var(--astro-heading, #fff);
}

.astro-house-degrees {
    font-size: 12px;
    color: #64748b;
}

.astro-numerology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.astro-num-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: #f8fafc;
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
    border-radius: var(--astro-radius, 12px);
    text-align: center;
    transition: all 0.2s ease;
}

.astro-num-card:hover {
    border-color: var(--astro-primary, #3b82f6);
    transform: translateY(-2px);
}

.astro-num-card.astro-master-number {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.astro-num-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.astro-num-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--astro-heading, #fff);
    line-height: 1;
}

.astro-master-number .astro-num-value {
    color: #b45309;
}

.astro-master-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b45309;
    background: rgba(180, 83, 9, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: 700;
}

.astro-chinese-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: var(--astro-radius, 12px);
    margin-bottom: 24px;
}

.astro-chinese-animal {
    flex-shrink: 0;
}

.astro-animal-emoji {
    font-size: 64px;
    line-height: 1;
}

.astro-chinese-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.astro-chinese-element {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.astro-chinese-sign {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
}

.astro-chinese-year {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.astro-element-wood { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.astro-element-fire { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.astro-element-earth { background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%); }
.astro-element-metal { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.astro-element-water { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }

.astro-chinese-traits {
    background: #f8fafc;
    border-radius: var(--astro-radius, 12px);
    padding: 24px;
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
}

.astro-chinese-traits h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--astro-heading, #fff);
    margin: 0 0 16px 0;
}

.astro-traits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.astro-trait-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.astro-trait-tag:hover {
    transform: scale(1.05);
}

.astro-login-notice,
.astro-no-results {
    background: #f8fafc;
    border: var(--astro-border-width, 2px) solid var(--astro-border, #e2e8f0);
    border-radius: var(--astro-radius, 12px);
    padding: 40px;
    text-align: center;
    color: var(--astro-text, #475569);
}

@media (max-width: 768px) {
    .astro-container {
        padding: 16px;
    }

    .astro-form-header {
        padding: 30px 20px;
    }

    .astro-form-header h2 {
        font-size: 24px;
    }

    .astro-form {
        padding: 20px;
    }

    .astro-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .astro-location-input {
        flex-direction: column;
    }

    .astro-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .astro-results-header {
        padding: 30px 20px;
    }

    .astro-results-header h2 {
        font-size: 24px;
    }

    .astro-tabs {
        padding: 0 8px;
    }

    .astro-tab {
        padding: 14px 16px;
        font-size: 13px;
    }

    .astro-tab span {
        display: none;
    }

    .astro-tab svg {
        width: 22px;
        height: 22px;
    }

    .astro-tab-content {
        padding: 20px 16px;
    }

    .astro-big-three {
        grid-template-columns: 1fr;
    }

    .astro-big-three-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 20px;
        gap: 16px;
    }

    .astro-zodiac-icon {
        margin-bottom: 0;
    }

    .astro-big-three-card > div:last-child {
        display: flex;
        flex-direction: column;
    }

    .astro-planets-grid {
        grid-template-columns: 1fr 1fr;
    }

    .astro-planet-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 12px;
    }

    .astro-planet-info {
        align-items: center;
    }

    .astro-houses-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .astro-chinese-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .astro-chinese-info {
        align-items: center;
    }

    .astro-chinese-sign {
        font-size: 26px;
    }
}

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

    .astro-houses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .astro-numerology-grid {
        grid-template-columns: 1fr;
    }

    .astro-num-card {
        flex-direction: row;
        justify-content: space-between;
        padding: 16px 20px;
    }

    .astro-num-value {
        font-size: 32px;
    }

    .astro-master-badge {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .astro-num-card.astro-master-number {
        position: relative;
    }
}