/**
 * R NexT Part — Frontend Styles
 * Story navigation buttons for any theme.
 */

/* =====================================================
   Story Continue Wrap
   ===================================================== */
.rnext-story-continue-wrap {
    text-align: center;
    margin: 40px 0 32px;
    padding: 0;
}

/* =====================================================
   Continue Button — gradient CTA
   ===================================================== */
.rnext-story-continue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #D93802, #e64a19);
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 48px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(236, 87, 37, 0.35);
    min-width: 280px;
    border: none;
    cursor: pointer;
    line-height: 1.3;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rnext-story-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(236, 87, 37, 0.45);
    color: #fff !important;
    text-decoration: none;
}

.rnext-story-continue-btn:active {
    transform: translateY(0);
}

.rnext-story-continue-btn,
.rnext-story-continue-btn:visited,
.rnext-story-continue-btn span,
.rnext-story-continue-btn svg {
    color: #fff !important;
}

.rnext-story-continue-btn svg {
    flex-shrink: 0;
}

/* =====================================================
   Meta text (Part X of Y)
   ===================================================== */
.rnext-story-continue-meta {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #9CA3AF;
}

.rnext-story-continue-meta.rnext-story-end {
    font-size: 14px;
    margin-top: 0;
}

/* =====================================================
   Back to Part 1 link
   ===================================================== */
.rnext-story-back-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #D93802;
    text-decoration: none;
}

.rnext-story-back-link:hover {
    text-decoration: underline;
}

/* =====================================================
   Responsive
   ===================================================== */
@media screen and (max-width: 480px) {
    .rnext-story-continue-btn {
        font-size: 16px;
        padding: 14px 32px;
        min-width: auto;
        width: 100%;
        border-radius: 10px;
    }
}
