:root {
  --bg: #f8f6f2;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: rgba(17,17,17,.08);
  --card: rgba(255,255,255,.76);
  --shadow: 0 18px 50px rgba(0,0,0,.07);
  --wa: #25D366;
  --wa-dark: #128C7E;
  --soft: #f3f1ec;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(0,0,0,.03), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0,0,0,.02), transparent 24%),
    var(--bg);
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.birth-bottom-sheet.sheet-minimized {
  transform: translateY(calc(100% - 58px));
}

.birth-bottom-sheet.sheet-hidden {
  transform: translateY(calc(100% + 30px));
  pointer-events: none;
}

.birth-bottom-sheet {
  transition: transform .22s ease;
}
.glass {
  background: var(--card);
  backdrop-filter: blur(12px);
}

.shadow-luxe {
  box-shadow: var(--shadow);
}

.fade-up {
  animation: fadeUp .7s ease both;
}

.wa-gradient {
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-dark) 100%);
}

.tab-btn {
  min-height: 46px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(17,17,17,.58);
  transition: all .18s ease;
}

.tab-btn.active-tab {
  background: #111;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.zodiac-scroll {
    
  display: flex;
 
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

.zodiac-scroll::-webkit-scrollbar {
  display: none;
}

.zodiac-scroll .zodiac-chip {
  min-width: 178px;
  scroll-snap-align: start;
}

.zodiac-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  transition: all .18s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.03);
}

.zodiac-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(17,17,17,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.zodiac-chip.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.zodiac-chip-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f3f1ec;
  font-size: 22px;
  flex-shrink: 0;
}

.zodiac-chip.active .zodiac-chip-symbol {
  background: rgba(255,255,255,.14);
}

.zodiac-chip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.zodiac-chip-name {
  font-size: 15px;
  font-weight: 700;
}

.zodiac-chip-date {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(17,17,17,.45);
}

.zodiac-chip.active .zodiac-chip-date {
  color: rgba(255,255,255,.72);
}

.big-sign-card {
  border-radius: 26px;
  border: 1px solid rgba(17,17,17,.10);
  background: linear-gradient(180deg, #fff 0%, #f7f5ef 100%);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.big-sign-symbol {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #111;
  color: #fff;
  font-size: 28px;
  flex-shrink: 0;
}

.birth-shell {
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,.015) 0%, rgba(255,255,255,.88) 100%);
}

.birth-bottom-sheet {
  position: sticky;
  bottom: 12px;
  z-index: 60;
  margin-top: 18px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.13);
}

.birth-bottom-sheet.sheet-minimized {
  transform: translateY(calc(100% - 58px));
}

.birth-field {
  position: relative;
}

.birth-input {
  width: 100%;
  min-height: 64px;
  border-radius: 20px;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
  padding: 14px 14px 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: all .18s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.03);
}

.birth-input:focus {
  border-color: #111;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.birth-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,17,17,.35);
  pointer-events: none;
}

.month-combo {
  position: relative;
}

.month-combo-wrap {
  position: relative;
}

.month-main-input {
  padding-right: 54px;
}

.month-helper-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,.08);
  background: #f3f1ec;
  color: rgba(17,17,17,.55);
  font-size: 28px;
  line-height: 1;
  transition: all .18s ease;
}

.month-helper-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 90;
  border-radius: 22px;
  border: 1px solid rgba(17,17,17,.08);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  padding: 14px;
}

.month-helper-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(17,17,17,.42);
  margin-bottom: 10px;
}

.month-helper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.month-option {
  width: 100%;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,.08);
  background: #fff;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  transition: all .16s ease;
}

.month-option:hover {
  background: #111;
  color: #fff;
}

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

@media (max-width: 640px) {
  body {
    padding-bottom: 175px;
  }

  .birth-bottom-sheet {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .birth-input {
    min-height: 52px;
    font-size: 16px !important;
  }

  .birth-label {
    font-size: 9px;
  }

  .zodiac-scroll .zodiac-chip {
    min-width: 155px;
  }

  .zodiac-chip {
    min-height: 60px;
    padding: 12px 14px;
    gap: 10px;
  }

  .zodiac-chip-symbol {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .month-helper-grid {
    grid-template-columns: 1fr;
  }
}