/* =============================================
   Jump To Recipe — Stylesheet v3.0
   Author: Kevwe Samuel
   Mobile-first | Lightweight | Zero dependencies
   ============================================= */

/* Centered wrapper — sits above everything */
.jtr-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 0 24px 0;
    padding: 4px 16px;
    box-sizing: border-box;
    line-height: 1;
}

/* ── Button ── */
.jtr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;

    /* Size */
    padding: 20px 52px;
    border-radius: 60px;
    width: auto;
    max-width: 100%;

    /* Bold red */
    background: linear-gradient(160deg, #D40000 0%, #FF0000 50%, #B50000 100%);
    color: #FFFFFF !important;

    /* Typography */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;

    /* Shadow & depth */
    box-shadow:
        0 6px 28px rgba(180, 0, 0, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);

    /* Attention-grabbing pulse */
    animation: jtr-pulse 2.2s ease-in-out infinite;

    /* Interaction */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.jtr-button:hover,
.jtr-button:focus {
    background: linear-gradient(160deg, #E80000 0%, #FF2222 50%, #CC0000 100%);
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 12px 36px rgba(210, 0, 0, 0.7),
        0 4px 14px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}

.jtr-button:active {
    transform: translateY(1px) scale(0.97);
    box-shadow:
        0 4px 16px rgba(180, 0, 0, 0.5),
        0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Glow pulse */
@keyframes jtr-pulse {
    0%, 100% {
        box-shadow:
            0 6px 28px rgba(180, 0, 0, 0.6),
            0 2px 10px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow:
            0 8px 44px rgba(220, 0, 0, 0.85),
            0 4px 16px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .jtr-button {
        padding: 18px 36px;
        font-size: 1.15rem;
        letter-spacing: 0.7px;
    }
}

@media (max-width: 480px) {
    .jtr-btn-wrap {
        padding: 4px 10px;
    }
    .jtr-button {
        padding: 16px 24px;
        font-size: 1rem;
        letter-spacing: 0.5px;
        border-radius: 50px;
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 360px) {
    .jtr-button {
        font-size: 0.92rem;
        padding: 14px 18px;
    }
}

/* Invisible anchor target */
#jtr-target {
    display: block;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
}
