/* ================================================================
   СЛАВЯНСКИЕ ЧАСЫ — СТИЛИЗАЦИЯ ПОД СТАРИНУ
   ================================================================ */

.sc-root { padding: 28px 32px; }

@media (max-width: 640px) {
    .sc-root { padding: 18px 14px; }
}

/* ---------- Основной блок ---------- */
.sc-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .sc-main { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Циферблат ---------- */
.sc-clock-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(180deg, #E8D9C0 0%, #D9C09A 100%);
    border-radius: 28px;
    border: 3px solid #6B4226;
    box-shadow: inset 0 0 30px rgba(107, 66, 38, .2), 0 12px 28px -12px rgba(0,0,0,.4);
}

.sc-clock {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
}

#scHand {
    transition: transform 1.2s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Информация о часе ---------- */
.sc-info {
    padding: 28px 30px;
    background: linear-gradient(135deg, #F5E6C8 0%, #E8D9C0 100%);
    border: 3px solid #6B4226;
    border-radius: 24px;
    box-shadow: inset 0 0 20px rgba(107, 66, 38, .1), 0 8px 20px -10px rgba(0,0,0,.3);
    position: relative;
}

.sc-info::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid #A0724A;
    border-radius: 18px;
    pointer-events: none;
    opacity: 0.5;
}

.sc-info__period {
    display: inline-block;
    padding: 4px 14px;
    background: #3E2723;
    color: #C6A87C;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.sc-info__name {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 38px;
    color: #3E2723;
    margin: 0 0 8px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.sc-info__rune {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #6B4226;
    margin-bottom: 12px;
    font-weight: 700;
}

.sc-info__time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    color: #6B6470;
    margin-bottom: 16px;
}

.sc-info__time strong {
    color: #3E2723;
    font-size: 17px;
}

.sc-info__meaning {
    font-size: 15px;
    line-height: 1.65;
    color: #1A1420;
    margin: 0 0 18px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .5);
    border-radius: 12px;
    border-left: 4px solid #C6A87C;
}

.sc-info__progress-wrap {
    margin-top: 18px;
}

.sc-info__progress-label {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #6B6470;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.sc-info__progress-bar {
    width: 100%;
    height: 10px;
    background: #D9C09A;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #A0724A;
}

.sc-info__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6B4226 0%, #C6A87C 100%);
    border-radius: 999px;
    transition: width .6s ease;
}

/* ---------- Блок биоритмов ---------- */
.sc-biorhythm {
    padding: 24px 28px;
    background: #FFF8E1;
    border: 3px solid #A0724A;
    border-radius: 22px;
    margin-bottom: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: inset 0 0 16px rgba(160, 114, 74, .1);
}

@media (max-width: 640px) {
    .sc-biorhythm { flex-direction: column; gap: 12px; padding: 18px; }
}

.sc-biorhythm__icon {
    font-size: 42px;
    line-height: 1;
    flex-shrink: 0;
}

.sc-biorhythm__title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 19px;
    color: #6B4226;
    margin: 0 0 8px;
}

.sc-biorhythm__text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #1A1420;
    margin: 0;
}

/* ---------- Справочник ---------- */
.sc-reference {
    margin-top: 8px;
}

.sc-reference__title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 24px;
    color: #3E2723;
    margin: 0 0 18px;
}

.sc-reference__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.sc-ref-card {
    padding: 14px 16px;
    background: linear-gradient(180deg, #F5E6C8 0%, #E8D9C0 100%);
    border: 2px solid #A0724A;
    border-radius: 14px;
    transition: border-color .2s, transform .15s, box-shadow .2s;
    cursor: pointer;
}

.sc-ref-card:hover {
    border-color: #6B4226;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -6px rgba(107, 66, 38, .4);
}

.sc-ref-card.is-current {
    border-color: #C6A87C;
    background: #EDE4FF;
    box-shadow: 0 0 0 2px #C6A87C;
}

.sc-ref-card__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #6B6470;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.sc-ref-card__name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 15px;
    color: #3E2723;
    margin: 0 0 4px;
}

.sc-ref-card__rune {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: #6B4226;
    margin-bottom: 4px;
}

.sc-ref-card__time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #6B6470;
}

.sc-ref-card__icon {
    margin-top: 8px;
    width: 32px;
    height: 32px;
}

.sc-ref-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------- Адаптив ---------- */
@media (max-width: 640px) {
    .sc-reference__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .sc-ref-card__name { font-size: 13px; }
    .sc-info__name { font-size: 28px; }
    .sc-info { padding: 20px; }
}