.moon-page { min-height: 70vh; overflow-x: hidden; color: #17384b; background: #f3f8fa; }
.moon-page *, .moon-page *::before, .moon-page *::after { box-sizing: border-box; }
.moon-eyebrow { display: block; color: #1b7890; font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.moon-hero { position: relative; overflow: hidden; padding: 66px 0; color: #fff; background: radial-gradient(circle at 83% 34%, rgba(111,135,183,.26), transparent 22%), linear-gradient(118deg, #071f35 0%, #0c3c56 55%, #145b6b 100%); }
.moon-hero::before { position: absolute; top: -170px; right: -95px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); content: ''; }
.moon-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); gap: 60px; align-items: center; }
.moon-hero .moon-eyebrow { color: #79beb2; }
.moon-hero h1 { max-width: 790px; margin: 10px 0 16px; color: #fff; font-size: clamp(2.45rem,5vw,4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.moon-hero__copy > p { max-width: 720px; margin: 0; color: #d1e3e9; font-size: 1.08rem; line-height: 1.65; }
.moon-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.moon-hero__actions a { display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 11px; color: #fff; font-size: .88rem; font-weight: 800; text-decoration: none; }
.moon-hero__actions a:first-child { border-color: #4da88e; color: #082f2a; background: #55b197; }
.moon-hero__actions a:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); text-decoration: none; }
.moon-today { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; padding: 23px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.1); box-shadow: 0 22px 55px rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.moon-today__orb { display: grid; width: 78px; height: 78px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: inset 0 0 25px rgba(255,255,255,.06); font-size: 3.75rem; }
.moon-today > div:nth-child(2) > span { color: #bcd3db; font-size: .76rem; }
.moon-today h2 { margin: 4px 0; color: #fff; font-size: 1.5rem; }
.moon-today p { margin: 0; color: #d4e3e7; font-size: .82rem; }
.moon-today__fish { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.moon-today__fish span { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 11px 12px; border-radius: 11px; color: #bdd3da; background: rgba(5,31,48,.32); font-size: .74rem; }
.moon-today__fish i { grid-row: 1 / 3; align-self: center; color: #79beb2; }
.moon-today__fish strong { color: #fff; font-size: .86rem; }
.moon-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.moon-section-heading h2 { margin: 5px 0 0; color: #123047; font-size: clamp(1.55rem,3vw,2.2rem); line-height: 1.15; }
.moon-section-heading p { max-width: 570px; margin: 5px 0 0; color: #687f8a; line-height: 1.55; }
.moon-next { padding-top: 34px; padding-bottom: 34px; }
.moon-next__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.moon-next__grid article { display: flex; min-height: 92px; align-items: center; gap: 13px; padding: 16px; border: 1px solid #d3e3e8; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(14,49,67,.045); }
.moon-next__grid article > span { font-size: 2.35rem; }
.moon-next__grid strong, .moon-next__grid time { display: block; }
.moon-next__grid strong { color: #15364a; font-size: .9rem; }
.moon-next__grid time { margin-top: 3px; color: #6a818d; font-size: .72rem; }
.moon-calendar-section { padding: 42px 0 48px; background: #eaf2f5; scroll-margin-top: 70px; }
.moon-section-heading--calendar { align-items: center; }
.moon-year { display: flex; align-items: center; gap: 7px; }
.moon-year > a:not(.moon-year__today) { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #c7dbe1; border-radius: 10px; color: #174d61; background: #fff; text-decoration: none; }
.moon-year strong { min-width: 76px; color: #15364a; font-size: 1.25rem; text-align: center; }
.moon-year .moon-year__today { margin-left: 4px; color: #166b81; font-size: .82rem; font-weight: 800; }
.moon-calendar { padding: 22px; border: 1px solid #cddfe5; border-radius: 20px; background: #fff; box-shadow: 0 15px 35px rgba(14,49,67,.07); }
.moon-calendar__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.moon-fish-switch { display: flex; gap: 5px; padding: 5px; border: 1px solid #d2e2e7; border-radius: 12px; background: #f2f7f8; }
.moon-fish-switch button { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 9px; color: #58717c; background: transparent; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.moon-fish-switch button.is-active { color: #fff; background: #155f78; box-shadow: 0 5px 13px rgba(21,95,120,.2); }
.moon-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; color: #657d88; font-size: .72rem; }
.moon-legend span { display: inline-flex; align-items: center; gap: 5px; }
.moon-legend i { width: 11px; height: 11px; border-radius: 3px; }
.moon-legend .excellent { background: #197447; }.moon-legend .very-good { background: #176f82; }.moon-legend .good { background: #d79c0a; }.moon-legend .weak { background: #b84655; }
.moon-months { display: flex; gap: 6px; overflow-x: auto; margin: 18px 0 14px; padding: 2px 1px 8px; scrollbar-width: thin; }
.moon-months a { display: inline-flex; min-height: 39px; align-items: center; padding: 7px 12px; border: 1px solid #d1e2e7; border-radius: 9px; color: #315869; background: #fff; font: inherit; font-size: .78rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.moon-months a:hover { border-color: #227d94; }.moon-months a.is-active { border-color: #176f89; color: #fff; background: #176f89; }
.moon-scroll-hint { display: none; margin: 0 0 9px; color: #6a818c; font-size: .77rem; }
.moon-month-panel[hidden] { display: none; }
.moon-month-panel { max-width: 100%; overflow-x: auto; border: 1px solid #dae7eb; border-radius: 14px; background: #f6fafb; overscroll-behavior-inline: contain; }
.moon-grid { display: grid; min-width: 910px; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; padding: 7px; }
.moon-grid__weekday { padding: 8px; color: #657d88; font-size: .75rem; font-weight: 850; text-align: center; }
.moon-day { position: relative; display: flex; min-height: 134px; flex-direction: column; align-items: stretch; padding: 11px; border: 1px solid transparent; border-radius: 10px; color: #17384b; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .16s, transform .16s, box-shadow .16s; }
.moon-day:hover { z-index: 1; border-color: #438da0; box-shadow: 0 8px 20px rgba(18,65,83,.11); transform: translateY(-2px); }
.moon-day[aria-pressed="true"] { outline: 3px solid #164f68; outline-offset: -3px; }
.moon-day.is-today::after { position: absolute; top: 8px; left: 38px; padding: 2px 6px; border-radius: 999px; color: #0b4f44; background: #d8eee8; content: 'Сегодня'; font-size: .58rem; font-weight: 850; }
.moon-day__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.moon-day__top time { color: #17384b; font-size: .86rem; font-weight: 850; }.moon-day__top > span { font-size: 1.45rem; }
.moon-day__phase { min-height: 35px; margin-top: 6px; color: #607985; font-size: .7rem; line-height: 1.3; }
.moon-day strong { margin-top: auto; color: #17384b; font-size: .76rem; }.moon-day small { margin-top: 2px; color: #748a94; font-size: .62rem; }
.moon-day::before { position: absolute; right: 8px; bottom: 8px; width: 7px; height: 7px; border-radius: 50%; content: ''; }
.moon-day.quality-excellent::before { background: #197447; }.moon-day.quality-very-good::before { background: #176f82; }.moon-day.quality-good::before { background: #d79c0a; }.moon-day.quality-weak::before { background: #b84655; }
.moon-day--empty { border: 0; background: transparent; cursor: default; }.moon-day--empty::before { display: none; }
.moon-day-detail { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(300px,1fr) minmax(300px,1.25fr); gap: 12px; margin-top: 14px; }
.moon-day-detail > div { min-height: 112px; padding: 16px; border-radius: 13px; background: #eef5f7; }
.moon-day-detail__phase { display: flex; align-items: center; gap: 12px; }.moon-day-detail__phase > span { font-size: 2.8rem; }.moon-day-detail__phase small { color: #66808b; font-size: .7rem; }.moon-day-detail__phase h3 { margin: 3px 0; color: #15364a; font-size: 1.05rem; }.moon-day-detail__phase p { margin: 0; color: #6c818b; font-size: .7rem; }
.moon-day-detail__ratings { display: grid; gap: 7px; }.moon-day-detail__ratings span { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; color: #657d88; font-size: .72rem; }.moon-day-detail__ratings i { grid-row: 1 / 3; color: #237d94; }.moon-day-detail__ratings strong { color: #17384b; font-size: .84rem; }
.moon-day-detail__advice { display: flex; align-items: flex-start; gap: 12px; }.moon-day-detail__advice i { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 10px; color: #176f89; background: #dcecef; }.moon-day-detail__advice p { margin: 0; color: #4f6d79; font-size: .79rem; line-height: 1.55; }
.moon-guide, .moon-signs { padding-top: 48px; padding-bottom: 48px; }
.moon-phase-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.moon-phase-grid article { padding: 18px; border: 1px solid #d3e3e8; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(14,49,67,.04); }.moon-phase-grid article > span { font-size: 2.15rem; }.moon-phase-grid h3 { margin: 8px 0 12px; color: #15364a; font-size: 1rem; }.moon-phase-grid dl { display: grid; gap: 6px; margin: 0; }.moon-phase-grid dl div { display: flex; justify-content: space-between; gap: 8px; }.moon-phase-grid dt { color: #6a818c; font-size: .7rem; }.moon-phase-grid dd { margin: 0; color: #315968; font-size: .7rem; font-weight: 800; text-align: right; }.moon-phase-grid p { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid #e1ebee; color: #5f7782; font-size: .76rem; line-height: 1.45; }
.moon-factors { padding: 48px 0; background: #e8f1f3; }
.moon-factor-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }.moon-factor-grid article { padding: 20px; border-radius: 15px; background: #fff; }.moon-factor-grid i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; color: #176f89; background: #e1f0f3; }.moon-factor-grid h3 { margin: 13px 0 7px; color: #15364a; font-size: 1rem; }.moon-factor-grid p { margin: 0; color: #607985; font-size: .79rem; line-height: 1.55; }
.moon-factors__cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 14px; padding: 18px 20px; border-radius: 15px; color: #fff; background: linear-gradient(110deg,#0b344b,#155f73); }.moon-factors__cta > div { display: flex; align-items: center; gap: 13px; }.moon-factors__cta > div > i { font-size: 1.25rem; color: #78bdb2; }.moon-factors__cta span { display: grid; color: #cfe1e6; font-size: .8rem; }.moon-factors__cta strong { color: #fff; font-size: .95rem; }.moon-factors__cta a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 10px; color: #082f2a; background: #55b197; font-size: .82rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.moon-signs__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.moon-signs__grid article { display: flex; gap: 14px; padding: 19px; border: 1px solid #d3e3e8; border-radius: 15px; background: #fff; }.moon-signs__grid article > span { font-size: 1.8rem; }.moon-signs__grid h3 { margin: 0 0 6px; color: #15364a; font-size: .94rem; }.moon-signs__grid p { margin: 0; color: #627b87; font-size: .78rem; line-height: 1.55; }
.moon-truth { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; margin-bottom: 55px; padding: 28px; border: 1px solid #d3e3e8; border-radius: 18px; background: #fff; }.moon-truth h2 { margin: 5px 0 10px; color: #123047; font-size: 1.7rem; }.moon-truth > div > p { margin: 0; color: #58727f; line-height: 1.65; }.moon-truth aside { display: flex; gap: 13px; padding: 18px; border-radius: 14px; background: #eef6f8; }.moon-truth aside > i { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 11px; color: #176f89; background: #dcecef; }.moon-truth aside strong { color: #17384b; }.moon-truth aside p { margin: 5px 0 0; color: #5b7480; font-size: .8rem; line-height: 1.55; }
@media (max-width: 1100px) { .moon-hero__grid { grid-template-columns: 1fr .85fr; gap: 30px; }.moon-next__grid, .moon-phase-grid, .moon-factor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.moon-day-detail { grid-template-columns: 1fr 1fr; }.moon-day-detail__advice { grid-column: 1 / -1; }.moon-signs__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .moon-hero { padding: 45px 0; }.moon-hero__grid { grid-template-columns: 1fr; }.moon-hero h1 { font-size: clamp(2.25rem,12vw,3.4rem); }.moon-today { max-width: 540px; }.moon-section-heading, .moon-section-heading--calendar, .moon-calendar__toolbar { align-items: flex-start; flex-direction: column; }.moon-next__grid, .moon-phase-grid, .moon-factor-grid, .moon-signs__grid, .moon-truth { grid-template-columns: 1fr; }.moon-calendar { padding: 14px; }.moon-legend { justify-content: flex-start; }.moon-scroll-hint { display: block; }.moon-day-detail { grid-template-columns: 1fr; }.moon-day-detail__advice { grid-column: auto; }.moon-factors__cta { align-items: flex-start; flex-direction: column; }.moon-truth { margin-right: 12px; margin-left: 12px; padding: 21px; } }
@media (max-width: 430px) { .moon-hero__actions, .moon-fish-switch { width: 100%; }.moon-hero__actions a, .moon-fish-switch button { flex: 1; justify-content: center; }.moon-today { grid-template-columns: 1fr; }.moon-today__orb { width: 65px; height: 65px; font-size: 3rem; }.moon-today__fish { grid-column: auto; grid-template-columns: 1fr; }.moon-next__grid { grid-template-columns: 1fr; }.moon-year { width: 100%; }.moon-year strong { flex: 1; }.moon-fish-switch button { padding-right: 8px; padding-left: 8px; font-size: .75rem; } }
