/* ════════════════════════════════════════
       SECTION 5 — BUTTON + LINK ONLY
    ════════════════════════════════════════ */
#s5 {
    background: linear-gradient(
        180deg,
        #080200 0%,
        #220c00 22%,
        #4c2000 46%,
        #8c3c00 66%,
        #c06200 84%,
        #d67800 100%
    );
    flex-direction: column;
}

.pride-rock {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ── CTA WRAPPER — button + link, nothing else ── */
.s5-cta-wrap {
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(22px, 4vw, 44px);
}

/* ── MAIN BUTTON — edit text & onclick below ── */
.cta-btn {
    font-family: "Fredoka One", cursive;
    font-size: clamp(20px, 3.8vw, 40px);
    letter-spacing: 2px;
    color: #1a0600;
    background: linear-gradient(160deg, #ffe050 0%, #ffba00 55%, #ffe050 100%);
    border: 4px solid #7a3c00;
    border-radius: 60px;
    padding: clamp(18px, 3vw, 32px) clamp(48px, 10vw, 120px);
    cursor: pointer;
    box-shadow:
        0 9px 0 #562a00,
        0 16px 34px rgba(0, 0, 0, 0.48);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.15s;
    animation: ctaPop 0.7s 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ctaPop {
    from {
        opacity: 0;
        transform: scale(0.38) rotate(-8deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.cta-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 215, 0.22);
    transform: skewX(-14deg);
    transition: left 0.4s ease;
}

.cta-btn:hover::after {
    left: 130%;
}

.cta-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 14px 0 #562a00,
        0 22px 44px rgba(0, 0, 0, 0.52);
}

.cta-btn:active {
    transform: translateY(5px) scale(0.96);
    box-shadow:
        0 2px 0 #562a00,
        0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ── CLICKABLE LINK — edit href & text below ── */
.s5-link {
    font-family: "Fredoka One", cursive;
    font-size: clamp(14px, 2.2vw, 22px);
    letter-spacing: 2px;
    color: rgba(255, 218, 80, 0.78);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition:
        color 0.2s,
        transform 0.2s;
    animation: ctaPop 0.7s 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.s5-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: right 0.28s ease;
}

.s5-link:hover {
    color: #ffe060;
    transform: scale(1.08);
}

.s5-link:hover::after {
    right: 0;
}
