/* Dienas kārts — atsevišķi stili, lai neietekmētu citus orākulus */
.daily-page {
    overflow: hidden;
}

.daily-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

.daily-wrapper .page-title {
    padding-top: 20px;
    margin-bottom: 22px;
    text-align: center;
    color: #6e573e;
}

.daily-intro {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
    color: #555;
    font-size: 18px;
    line-height: 1.8;
}

.daily-instructions {
    margin: 20px auto 25px;
    text-align: center;
    color: #6e573e;
    font-size: 17px;
    line-height: 1.6;
}

.daily-fan {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
    isolation: isolate;
}

.daily-fan-card {
    position: absolute;
    display: block;
    width: 84px;
    height: 146px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background-color: #21444a;
    background-image: url("/cards/back.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    transform-origin: bottom center;
    transition: margin-top 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.daily-fan-card:hover,
.daily-fan-card:focus-visible {
    margin-top: -24px;
    filter: brightness(1.12);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 28px rgba(151, 134, 74, 0.55);
    outline: 2px solid #97864a;
    outline-offset: 2px;
}

.daily-fan-card:focus-visible {
    z-index: 1000 !important;
}

.daily-result {
    max-width: 1000px;
    margin: 35px auto 0;
    padding: 28px;
    border: 1px solid rgba(151, 134, 74, 0.3);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 10px 28px rgba(45, 45, 45, 0.08);
    animation: dailyFadeIn 0.35s ease both;
}

.daily-result[hidden],
.daily-reversed-note[hidden],
.daily-fan[hidden],
.daily-instructions[hidden] {
    display: none !important;
}

.daily-result-eyebrow {
    margin: 0 0 24px;
    text-align: center;
    color: #97864a;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.daily-result-layout {
    display: grid;
    grid-template-columns: minmax(190px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 34px;
}

.daily-card-image {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.daily-card-image.is-reversed {
    transform: rotate(180deg);
}

.daily-result-copy h2 {
    margin: 0 0 8px;
    color: #2d2d2d;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    line-height: 1.2;
}

.daily-orientation {
    margin: 0 0 24px;
    color: #97864a;
    font-size: 15px;
    font-weight: 600;
}

.daily-result-copy h3 {
    margin: 22px 0 8px;
    color: #6e573e;
    font-size: 19px;
}

.daily-result-copy p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.daily-reversed-note {
    margin-top: 20px;
    padding: 2px 18px 18px;
    border-left: 3px solid #97864a;
    background: rgba(151, 134, 74, 0.08);
}

.daily-restart {
    display: block;
    margin: 30px auto 0;
    padding: 13px 28px;
    border: 0;
    border-radius: 10px;
    background: #97864a;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.daily-restart:hover {
    background: #806f3e;
    transform: translateY(-1px);
}

.daily-restart:focus-visible {
    outline: 3px solid rgba(151, 134, 74, 0.45);
    outline-offset: 3px;
}

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

@media (max-width: 900px) {
    .daily-fan {
        height: 410px;
    }

    .daily-fan-card {
        width: 70px;
        height: 122px;
    }

    .daily-result {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .daily-wrapper {
        padding: 20px 12px 40px;
    }

    .daily-wrapper .page-title {
        padding-top: 12px;
        margin-bottom: 16px;
    }

    .daily-intro {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 1.7;
    }

    .daily-instructions {
        padding: 0 10px;
        font-size: 15px;
    }

    .daily-fan {
        height: 260px;
        margin-top: 10px;
    }

    .daily-fan-card {
        width: 48px;
        height: 84px;
        border-radius: 6px;
    }

    .daily-result {
        padding: 18px 14px;
        margin-top: 20px;
    }

    .daily-result-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .daily-card-image {
        width: 180px;
        max-width: 70%;
    }

    .daily-result-copy h2 {
        text-align: center;
        font-size: 29px;
    }

    .daily-orientation {
        text-align: center;
    }

    .daily-result-copy h3 {
        font-size: 18px;
    }

    .daily-result-copy p {
        font-size: 15px;
    }

    .daily-restart {
        width: 100%;
        max-width: 280px;
    }
}
